1 #ifndef PHG4CYLINDERCELL_H
2 #define PHG4CYLINDERCELL_H
14 typedef std::map<PHG4HitDefs::keytype, float>
EdepMap;
17 typedef std::pair<EdepIterator, EdepIterator>
EdepRange;
28 virtual void identify(std::ostream& os = std::cout)
const {
29 os <<
"PHG4CylinderCell base class" << std::endl;
33 std::map <PHG4HitDefs::keytype, float> dummy;
34 return std::make_pair(dummy.begin(), dummy.end());
41 std::map <int, float> dummy;
42 return std::make_pair(dummy.begin(), dummy.end());
48 virtual void set_layer(
const unsigned int i) {
return;}
51 virtual unsigned int get_layer()
const {
return 0xFFFFFFFF;}
std::pair< ShowerEdepConstIterator, ShowerEdepConstIterator > ShowerEdepConstRange
std::pair< EdepConstIterator, EdepConstIterator > EdepConstRange
virtual void add_edep(const PHG4HitDefs::keytype g4hitid, const float edep)
virtual int get_stave_index() const
virtual void identify(std::ostream &os=std::cout) const
std::pair< EdepIterator, EdepIterator > EdepRange
virtual void set_light_yield(float lightYield)
virtual PHG4CylinderCellDefs::keytype get_cell_id() const
ShowerEdepMap::const_iterator ShowerEdepConstIterator
virtual void set_l_index(const int i)
virtual void set_j_index(const int i)
virtual int get_k_index() const
std::pair< ShowerEdepConstIterator, ShowerEdepConstIterator > ShowerEdepConstRange
virtual void set_fiber_ID(int fiberId)
virtual void set_ladder_phi_index(const int i)
virtual int get_ladder_phi_index() const
EdepMap::iterator EdepIterator
virtual double get_edep() const
virtual int get_pixel_index() const
virtual void add_shower_edep(const int g4showerid, const float edep)
std::pair< EdepConstIterator, EdepConstIterator > EdepConstRange
virtual int get_binphi() const
virtual void set_zbin(const int i)
virtual ShowerEdepConstRange get_g4showers()
virtual void set_cell_id(const PHG4CylinderCellDefs::keytype id)
virtual void set_stave_index(const int si)
virtual int get_j_index() const
virtual void set_sensor_index(const std::string &si)
virtual void set_ladder_z_index(const int i)
virtual float get_light_yield() const
virtual unsigned int get_layer() const
virtual int get_binz() const
std::map< PHG4HitDefs::keytype, float > EdepMap
EdepMap::const_iterator EdepConstIterator
virtual void set_chip_index(const int i)
virtual void set_pixel_index(const int i)
virtual void set_layer(const unsigned int i)
virtual int get_chip_index() const
virtual std::string get_sensor_index() const
virtual int get_l_index() const
virtual int get_bineta() const
virtual int get_half_stave_index() const
virtual int get_module_index() const
virtual ~PHG4CylinderCell()
virtual void set_k_index(const int i)
virtual int get_fiber_ID() const
virtual void set_half_stave_index(const int i)
virtual int get_ladder_z_index() const
std::map< int, float > ShowerEdepMap
virtual void set_phibin(const int i)
virtual void set_module_index(const int i)
std::pair< ShowerEdepIterator, ShowerEdepIterator > ShowerEdepRange
virtual EdepConstRange get_g4hits()
virtual void set_etabin(const int i)
ShowerEdepMap::iterator ShowerEdepIterator
virtual void add_edep(const PHG4HitDefs::keytype g4hitid, const float edep, const float light_yield)