24 typedef std::map<int,std::set<PHG4HitDefs::keytype> >
HitIdMap;
32 virtual void identify(std::ostream& os = std::cout)
const {os <<
"PHG4Shower base class" << std::endl;}
39 virtual int get_id()
const {
return 0;}
48 virtual float get_x()
const {
return NAN;}
51 virtual float get_y()
const {
return NAN;}
54 virtual float get_z()
const {
return NAN;}
60 virtual float get_covar(
unsigned int i,
unsigned int j)
const {
return NAN;}
61 virtual void set_covar(
unsigned int i,
unsigned int j,
float entry) {}
63 virtual unsigned int get_nhits(
int volume)
const {
return 0;}
64 virtual void set_nhits(
int volume,
unsigned int nhits) {}
66 virtual float get_edep(
int volume)
const {
return NAN;}
67 virtual void set_edep(
int volume,
float edep) {}
69 virtual float get_eion(
int volume)
const {
return NAN;}
70 virtual void set_eion(
int volume,
float eion) {}
virtual float get_edep(int volume) const
HitIdMap::const_iterator HitIdConstIter
virtual ParticleIdIter begin_g4particle_id()
virtual VertexIdConstIter end_g4vertex_id() const
virtual int get_parent_particle_id() const
ParticleIdSet::iterator ParticleIdIter
virtual int get_parent_shower_id() const
virtual float get_covar(unsigned int i, unsigned int j) const
virtual void set_y(float y)
virtual VertexIdIter end_g4vertex_id()
virtual void set_eh_ratio(int volume, float eh_ratio)
HitIdMap::iterator HitIdIter
virtual size_t size_g4vertex_id() const
virtual void add_g4particle_id(int id)
virtual void set_id(int id)
virtual void set_eion(int volume, float eion)
std::set< int > VertexIdSet
virtual void set_position(unsigned int coor, float xi)
virtual bool empty_g4particle_id() const
std::set< int > ParticleIdSet
virtual size_t size_g4particle_id() const
virtual void set_parent_particle_id(int parent_particle_id)
virtual float get_eh_ratio(int volume) const
virtual void set_parent_shower_id(int parent_shower_id)
virtual void identify(std::ostream &os=std::cout) const
virtual void add_g4vertex_id(int id)
VertexIdSet::iterator VertexIdIter
virtual HitIdConstIter find_g4hit_id(int volume) const
virtual int get_id() const
virtual float get_x() const
virtual void set_x(float x)
virtual ParticleIdConstIter end_g4particle_id() const
virtual HitIdConstIter begin_g4hit_id() const
virtual VertexIdConstIter begin_g4vertex_id() const
virtual bool empty_g4hit_id() const
virtual void set_z(float x)
ParticleIdSet::const_iterator ParticleIdConstIter
virtual size_t remove_g4hit_volume(int volume)
std::map< int, std::set< PHG4HitDefs::keytype > > HitIdMap
virtual HitIdConstIter end_g4hit_id() const
virtual size_t remove_g4hit_id(int volume, PHG4HitDefs::keytype id)
virtual HitIdIter find_g4hit_id(int volume)
virtual void clear_g4vertex_id()
virtual size_t remove_g4particle_id(int id)
virtual VertexIdIter begin_g4vertex_id()
virtual bool empty_g4vertex_id() const
virtual void set_light_yield(int volume, float light_yield)
virtual float get_position(unsigned int coor) const
virtual void set_covar(unsigned int i, unsigned int j, float entry)
virtual void clear_g4hit_id()
virtual void clear_g4particle_id()
virtual void Reset()
Clear Event.
virtual ParticleIdConstIter begin_g4particle_id() const
virtual HitIdIter begin_g4hit_id()
virtual size_t remove_g4vertex_id(int id)
virtual float get_eion(int volume) const
virtual ParticleIdIter end_g4particle_id()
virtual float get_y() const
virtual float get_z() const
virtual void set_nhits(int volume, unsigned int nhits)
VertexIdSet::const_iterator VertexIdConstIter
virtual PHG4Shower * Clone() const
virtual void set_edep(int volume, float edep)
virtual float get_light_yield(int volume) const
virtual int isValid() const
isValid returns non zero if object contains vailid data
virtual unsigned int get_nhits(int volume) const
virtual HitIdIter end_g4hit_id()
virtual size_t size_g4hit_id() const
virtual void add_g4hit_id(int volume, PHG4HitDefs::keytype id)