ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4CylinderCellv3 Class Reference

#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4CylinderCellv3.h>

+ Inheritance diagram for PHG4CylinderCellv3:
+ Collaboration diagram for PHG4CylinderCellv3:

Public Member Functions

 PHG4CylinderCellv3 ()
 
 ~PHG4CylinderCellv3 () override
 
void identify (std::ostream &os=std::cout) const override
 
void set_j_index (const int i) override
 
int get_j_index () const override
 
void set_k_index (const int i) override
 
int get_k_index () const override
 
void set_l_index (const int i) override
 
int get_l_index () const override
 
- Public Member Functions inherited from PHG4CylinderCellv1
 PHG4CylinderCellv1 ()
 
 ~PHG4CylinderCellv1 () override
 
EdepConstRange get_g4hits () override
 
void add_edep (const PHG4HitDefs::keytype g4hitid, const float edep) override
 
void add_edep (const PHG4HitDefs::keytype g4hitid, const float edep, const float light_yield) override
 
ShowerEdepConstRange get_g4showers () override
 
void add_shower_edep (const int g4showerid, const float edep) override
 
void set_cell_id (const PHG4CylinderCellDefs::keytype id) override
 
void set_layer (const unsigned int i) override
 
double get_edep () const override
 
unsigned int get_layer () const override
 
PHG4CylinderCellDefs::keytype get_cell_id () const override
 
int get_binz () const override
 
int get_binphi () const override
 
int get_bineta () const override
 
float get_light_yield () const override
 
void set_zbin (const int i) override
 
void set_etabin (const int i) override
 
void set_phibin (const int i) override
 
void set_light_yield (const float lightYield) override
 
- Public Member Functions inherited from PHG4CylinderCell
 ~PHG4CylinderCell () override
 
void set_ladder_phi_index (const int) override
 
int get_ladder_phi_index () const override
 
void set_ladder_z_index (const int) override
 
int get_ladder_z_index () const override
 
virtual void set_fiber_ID (int)
 
virtual int get_fiber_ID () const
 
virtual void set_sensor_index (const std::string &)
 
virtual std::string get_sensor_index () const
 
- Public Member Functions inherited from PHG4Cell
 ~PHG4Cell () override
 
void CopyFrom (const PHObject *phobj) override
 
void Reset () override
 Clear Event.
 
virtual void set_cellid (const PHG4CellDefs::keytype)
 
virtual PHG4CellDefs::keytype get_cellid () const
 
virtual bool has_binning (const PHG4CellDefs::CellBinning) const
 
virtual void add_edep (const PHG4HitDefs::keytype, const int, const float)
 
virtual short int get_detid () const
 
short int get_layer () const
 
virtual void add_edep (const float)
 
virtual void add_eion (const float)
 
virtual double get_eion () const
 
virtual void add_light_yield (const float)
 
virtual void set_chip_index (const int)
 
virtual int get_chip_index () const
 
virtual void set_half_stave_index (const int)
 
virtual int get_half_stave_index () const
 
virtual void set_module_index (const int)
 
virtual int get_module_index () const
 
virtual int get_phibin () const
 
virtual void set_pixel_index (const int)
 
virtual int get_pixel_index () const
 
virtual void set_stave_index (const int)
 
virtual int get_stave_index () const
 
virtual int get_zbin () const
 
virtual void print () const
 
virtual bool has_property (const PROPERTY) const
 
virtual float get_property_float (const PROPERTY) const
 
virtual int get_property_int (const PROPERTY) const
 
virtual unsigned int get_property_uint (const PROPERTY) const
 
virtual void set_property (const PROPERTY, const float)
 
virtual void set_property (const PROPERTY, const int)
 
virtual void set_property (const PROPERTY, const unsigned int)
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor
 
 ~PHObject () override
 dtor
 
virtual PHObjectCloneMe () const
 Virtual copy constructor.
 
virtual PHObjectclone () const final
 
PHObjectClone (const char *newname="") const final
 
void Copy (TObject &object) const final
 
virtual int isValid () const
 isValid returns non zero if object contains vailid data
 
virtual int isValid (const float) const
 
virtual int isValid (const double) const
 
virtual int isValid (const int) const
 
virtual int isValid (const unsigned int) const
 
virtual int isImplemented (const float f) const
 
virtual int isImplemented (const double f) const
 
virtual int isImplemented (const int i) const
 
virtual int isImplemented (const unsigned int i) const
 
virtual int Integrate () const
 
virtual int Integrate (PHObject *)
 

Protected Attributes

int j_index
 
int k_index
 
int l_index
 
- Protected Attributes inherited from PHG4CylinderCellv1
unsigned int layer
 
PHG4CylinderCellDefs::keytype cellid
 
int binz
 
int binphi
 
EdepMap edeps
 
ShowerEdepMap showeredeps
 
float light_yield
 

Additional Inherited Members

- Public Types inherited from PHG4Cell
enum  PROPERTY {
  prop_stave_index = 1, prop_half_stave_index = 2, prop_module_index = 3, prop_chip_index = 4,
  prop_pixel_index = 5, prop_phibin = 6, prop_zbin = 7, prop_ladder_z_index = 8,
  prop_ladder_phi_index = 9, prop_edep = 21, prop_eion = 22, prop_light_yield = 23,
  prop_MAX_NUMBER = UCHAR_MAX
}
 
enum  PROPERTY_TYPE { type_int = 1, type_uint = 2, type_float = 3, type_unknown = -1 }
 
typedef std::map
< PHG4HitDefs::keytype, float > 
EdepMap
 
typedef EdepMap::iterator EdepIterator
 
typedef EdepMap::const_iterator EdepConstIterator
 
typedef std::pair
< EdepIterator, EdepIterator
EdepRange
 
typedef std::pair
< EdepConstIterator,
EdepConstIterator
EdepConstRange
 
typedef std::map< int, float > ShowerEdepMap
 
typedef ShowerEdepMap::iterator ShowerEdepIterator
 
typedef
ShowerEdepMap::const_iterator 
ShowerEdepConstIterator
 
typedef std::pair
< ShowerEdepIterator,
ShowerEdepIterator
ShowerEdepRange
 
typedef std::pair
< ShowerEdepConstIterator,
ShowerEdepConstIterator
ShowerEdepConstRange
 
- Static Public Member Functions inherited from PHG4Cell
static std::pair< const
std::string, PROPERTY_TYPE
get_property_info (PROPERTY prop_id)
 
static bool check_property (const PROPERTY prop_id, const PROPERTY_TYPE prop_type)
 
static std::string get_property_type (const PROPERTY_TYPE prop_type)
 
- Protected Member Functions inherited from PHG4CylinderCell
 PHG4CylinderCell ()
 

Detailed Description

Definition at line 10 of file PHG4CylinderCellv3.h.

View newest version in sPHENIX GitHub at line 10 of file PHG4CylinderCellv3.h

Constructor & Destructor Documentation

PHG4CylinderCellv3::PHG4CylinderCellv3 ( )

Definition at line 5 of file PHG4CylinderCellv3.cc.

View newest version in sPHENIX GitHub at line 5 of file PHG4CylinderCellv3.cc

PHG4CylinderCellv3::~PHG4CylinderCellv3 ( )
inlineoverride

Definition at line 15 of file PHG4CylinderCellv3.h.

View newest version in sPHENIX GitHub at line 15 of file PHG4CylinderCellv3.h

Member Function Documentation

int PHG4CylinderCellv3::get_j_index ( ) const
inlineoverridevirtual

Reimplemented from PHG4CylinderCell.

Definition at line 21 of file PHG4CylinderCellv3.h.

View newest version in sPHENIX GitHub at line 21 of file PHG4CylinderCellv3.h

References j_index.

Referenced by identify().

+ Here is the caller graph for this function:

int PHG4CylinderCellv3::get_k_index ( ) const
inlineoverridevirtual

Reimplemented from PHG4CylinderCell.

Definition at line 24 of file PHG4CylinderCellv3.h.

View newest version in sPHENIX GitHub at line 24 of file PHG4CylinderCellv3.h

References k_index.

Referenced by identify().

+ Here is the caller graph for this function:

int PHG4CylinderCellv3::get_l_index ( ) const
inlineoverridevirtual

Reimplemented from PHG4CylinderCell.

Definition at line 27 of file PHG4CylinderCellv3.h.

View newest version in sPHENIX GitHub at line 27 of file PHG4CylinderCellv3.h

References l_index.

Referenced by identify().

+ Here is the caller graph for this function:

void PHG4CylinderCellv3::identify ( std::ostream &  os = std::cout) const
overridevirtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHG4CylinderCellv1.

Definition at line 13 of file PHG4CylinderCellv3.cc.

View newest version in sPHENIX GitHub at line 13 of file PHG4CylinderCellv3.cc

References PHG4CylinderCellv1::cellid, PHG4CylinderCellv1::get_edep(), get_j_index(), get_k_index(), get_l_index(), and PHG4CylinderCellv1::layer.

+ Here is the call graph for this function:

void PHG4CylinderCellv3::set_j_index ( const int  i)
inlineoverridevirtual

Reimplemented from PHG4CylinderCell.

Definition at line 20 of file PHG4CylinderCellv3.h.

View newest version in sPHENIX GitHub at line 20 of file PHG4CylinderCellv3.h

References j_index.

void PHG4CylinderCellv3::set_k_index ( const int  i)
inlineoverridevirtual

Reimplemented from PHG4CylinderCell.

Definition at line 23 of file PHG4CylinderCellv3.h.

View newest version in sPHENIX GitHub at line 23 of file PHG4CylinderCellv3.h

References k_index.

void PHG4CylinderCellv3::set_l_index ( const int  i)
inlineoverridevirtual

Reimplemented from PHG4CylinderCell.

Definition at line 26 of file PHG4CylinderCellv3.h.

View newest version in sPHENIX GitHub at line 26 of file PHG4CylinderCellv3.h

References l_index.

Member Data Documentation

int PHG4CylinderCellv3::j_index
protected

Definition at line 31 of file PHG4CylinderCellv3.h.

View newest version in sPHENIX GitHub at line 31 of file PHG4CylinderCellv3.h

Referenced by get_j_index(), and set_j_index().

int PHG4CylinderCellv3::k_index
protected

Definition at line 32 of file PHG4CylinderCellv3.h.

View newest version in sPHENIX GitHub at line 32 of file PHG4CylinderCellv3.h

Referenced by get_k_index(), and set_k_index().

int PHG4CylinderCellv3::l_index
protected

Definition at line 33 of file PHG4CylinderCellv3.h.

View newest version in sPHENIX GitHub at line 33 of file PHG4CylinderCellv3.h

Referenced by get_l_index(), and set_l_index().


The documentation for this class was generated from the following files: