15 typedef std::map<PHG4HitDefs::keytype, float>
EdepMap;
18 typedef std::pair<EdepIterator, EdepIterator>
EdepRange;
27 typedef std::pair<unsigned short,std::map<int,int> >
tpccompress;
28 typedef std::map<unsigned short,tpccompress>
tpctod;
33 virtual void identify(std::ostream& os = std::cout)
const;
51 std::map <PHG4HitDefs::keytype, float> dummy;
52 return std::make_pair(dummy.begin(), dummy.end());
56 std::map <int, float> dummy;
57 return std::make_pair(dummy.begin(), dummy.end());
105 virtual void print()
const {std::cout<<
"virtual PHG4Cell"<<std::endl;}
std::map< unsigned short, tpccompress > tpctod
virtual void set_property_nocheck(const PROPERTY prop_id, const unsigned int)
virtual void set_phibin(const int i)
virtual void set_half_stave_index(const int i)
short int get_layer() const
virtual int get_module_index() const
std::pair< ShowerEdepConstIterator, ShowerEdepConstIterator > ShowerEdepConstRange
virtual int get_property_int(const PROPERTY prop_id) const
virtual bool has_binning(const PHG4CellDefs::CellBinning) const
virtual unsigned int get_property_uint(const PROPERTY prop_id) const
std::pair< ShowerEdepIterator, ShowerEdepIterator > ShowerEdepRange
friend std::ostream & operator<<(std::ostream &stream, const PHG4Cell *cell)
virtual void add_edep(const PHG4HitDefs::keytype g4hitid, const int tbin, const float edep)
static std::string get_property_type(const PROPERTY_TYPE prop_type)
virtual void set_ladder_z_index(const int i)
static std::pair< const std::string, PROPERTY_TYPE > get_property_info(PROPERTY prop_id)
virtual double get_edep() const
virtual void Copy(PHG4Cell const &g4cell)
EdepMap::const_iterator EdepConstIterator
virtual float get_property_float(const PROPERTY prop_id) const
@ prop_edep
deposited energy
@ prop_MAX_NUMBER
max limit in order to fit into 8 bit unsigned number
@ prop_eion
ionizing energy loss
@ prop_stave_index
Maps coordinates.
@ prop_light_yield
for scintillation detectors, the amount of light produced
virtual unsigned int get_property_nocheck(const PROPERTY prop_id) const
std::pair< EdepConstIterator, EdepConstIterator > EdepConstRange
virtual void set_cellid(const PHG4CellDefs::keytype i)
virtual void set_ladder_phi_index(const int i)
static bool check_property(const PROPERTY prop_id, const PROPERTY_TYPE prop_type)
virtual int get_half_stave_index() const
virtual void identify(std::ostream &os=std::cout) const
virtual int get_chip_index() const
std::pair< unsigned short, std::map< int, int > > tpccompress
std::pair< EdepIterator, EdepIterator > EdepRange
virtual void add_eion(const float f)
virtual void set_pixel_index(const int i)
ShowerEdepMap::const_iterator ShowerEdepConstIterator
virtual void add_light_yield(const float lightYield)
virtual void print() const
virtual PHG4CellDefs::keytype get_cellid() const
virtual int get_ladder_phi_index() const
virtual void set_zbin(const int i)
virtual void set_module_index(const int i)
virtual void add_shower_edep(const int g4showerid, const float edep)
virtual int get_ladder_z_index() const
virtual void set_property(const PROPERTY prop_id, const int value)
virtual void set_property(const PROPERTY prop_id, const unsigned int value)
virtual void add_edep(const float f)
std::map< int, float > ShowerEdepMap
virtual short int get_detid() const
virtual float get_light_yield() const
virtual double get_eion() const
virtual void set_chip_index(const int i)
virtual int get_pixel_index() const
std::map< PHG4HitDefs::keytype, float > EdepMap
virtual void add_edep(const PHG4HitDefs::keytype g4hitid, const float edep)
virtual ShowerEdepConstRange get_g4showers()
virtual void set_property(const PROPERTY prop_id, const float value)
virtual bool has_property(const PROPERTY prop_id) const
ShowerEdepMap::iterator ShowerEdepIterator
virtual int get_stave_index() const
virtual void set_stave_index(const int i)
virtual int get_zbin() const
virtual EdepConstRange get_g4hits()
EdepMap::iterator EdepIterator
virtual int get_phibin() const
unsigned long long keytype