Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4BlockCellGeom Class Reference

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

+ Inheritance diagram for PHG4BlockCellGeom:
+ Collaboration diagram for PHG4BlockCellGeom:

Public Member Functions

 PHG4BlockCellGeom ()
 
 ~PHG4BlockCellGeom () override
 
void identify (std::ostream &os=std::cout) const override
 
int get_layer () const
 
int get_binning () const
 
int get_zbins () const
 
double get_zstep () const
 
double get_zmin () const
 
int get_xbins () const
 
double get_xstep () const
 
double get_xmin () const
 
int get_etabins () const
 
double get_etastep () const
 
double get_etamin () const
 
std::pair< double, doubleget_zbounds (const int ibin) const
 
std::pair< double, doubleget_etabounds (const int ibin) const
 
std::pair< double, doubleget_xbounds (const int ibin) const
 
double get_etacenter (const int ibin) const
 
double get_zcenter (const int ibin) const
 
double get_xcenter (const int ibin) const
 
int get_etabin (const double eta) const
 
int get_zbin (const double z) const
 
int get_xbin (const double x) const
 
void set_layer (const int i)
 
void set_binning (const int i)
 
void set_zbins (const int i)
 
void set_zmin (const double z)
 
void set_zstep (const double z)
 
void set_xbins (const int i)
 
void set_xstep (const double x)
 
void set_xmin (const double x)
 
void set_etabins (const int i)
 
void set_etamin (const double z)
 
void set_etastep (const double z)
 
- 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 void Reset ()
 Clear Event.
 
virtual int isValid () const
 isValid returns non zero if object contains vailid data
 
virtual int Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Protected Member Functions

void check_binning_method (const int i) const
 
void check_binning_method_eta (const std::string &src="") const
 
void check_binning_method_x (const std::string &src="") const
 
std::string methodname (const int i) const
 

Protected Attributes

int _layer
 
int _binning
 
int _nzbins
 
double _zmin
 
double _zstep
 
int _nxbins
 
double _xmin
 
double _xstep
 

Detailed Description

Definition at line 12 of file PHG4BlockCellGeom.h.

View newest version in sPHENIX GitHub at line 12 of file PHG4BlockCellGeom.h

Constructor & Destructor Documentation

PHG4BlockCellGeom::PHG4BlockCellGeom ( )

Definition at line 9 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 9 of file PHG4BlockCellGeom.cc

PHG4BlockCellGeom::~PHG4BlockCellGeom ( )
inlineoverride

Definition at line 17 of file PHG4BlockCellGeom.h.

View newest version in sPHENIX GitHub at line 17 of file PHG4BlockCellGeom.h

Member Function Documentation

void PHG4BlockCellGeom::check_binning_method ( const int  i) const
protected

Definition at line 307 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 307 of file PHG4BlockCellGeom.cc

References _binning, and methodname().

Referenced by get_zbin(), get_zbins(), get_zbounds(), get_zcenter(), get_zmin(), get_zstep(), set_zbins(), set_zmin(), and set_zstep().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4BlockCellGeom::check_binning_method_eta ( const std::string &  src = "") const
protected

Definition at line 319 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 319 of file PHG4BlockCellGeom.cc

References _binning, PHG4CylinderCellDefs::etaphibinning, PHG4CylinderCellDefs::etaslatbinning, and methodname().

Referenced by get_etabin(), get_etabins(), get_etabounds(), get_etacenter(), get_etamin(), get_etastep(), set_etabins(), set_etamin(), and set_etastep().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4BlockCellGeom::check_binning_method_x ( const std::string &  src = "") const
protected

Definition at line 336 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 336 of file PHG4BlockCellGeom.cc

References _binning, PHG4CylinderCellDefs::etaphibinning, PHG4CylinderCellDefs::etaslatbinning, methodname(), and PHG4CylinderCellDefs::sizebinning.

Referenced by get_xbin(), get_xbins(), get_xcenter(), get_xmin(), get_xstep(), set_xbins(), set_xmin(), and set_xstep().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int PHG4BlockCellGeom::get_binning ( ) const
inline

Definition at line 23 of file PHG4BlockCellGeom.h.

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

References _binning.

int PHG4BlockCellGeom::get_etabin ( const double  eta) const

Definition at line 226 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 226 of file PHG4BlockCellGeom.cc

References _nzbins, _zmin, _zstep, and check_binning_method_eta().

Referenced by PHG4BlockCellReco::process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int PHG4BlockCellGeom::get_etabins ( ) const

Definition at line 98 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 98 of file PHG4BlockCellGeom.cc

References _nzbins, and check_binning_method_eta().

+ Here is the call graph for this function:

pair< double, double > PHG4BlockCellGeom::get_etabounds ( const int  ibin) const

Definition at line 186 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 186 of file PHG4BlockCellGeom.cc

References _nzbins, _zmin, _zstep, and check_binning_method_eta().

+ Here is the call graph for this function:

double PHG4BlockCellGeom::get_etacenter ( const int  ibin) const

Definition at line 262 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 262 of file PHG4BlockCellGeom.cc

References _nzbins, _zmin, _zstep, and check_binning_method_eta().

Referenced by PHG4BlockCellReco::process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double PHG4BlockCellGeom::get_etamin ( ) const

Definition at line 111 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 111 of file PHG4BlockCellGeom.cc

References _zmin, and check_binning_method_eta().

+ Here is the call graph for this function:

double PHG4BlockCellGeom::get_etastep ( ) const

Definition at line 105 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 105 of file PHG4BlockCellGeom.cc

References _zstep, and check_binning_method_eta().

Referenced by PHG4BlockCellReco::process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int PHG4BlockCellGeom::get_layer ( ) const
inline

Definition at line 22 of file PHG4BlockCellGeom.h.

View newest version in sPHENIX GitHub at line 22 of file PHG4BlockCellGeom.h

References _layer.

Referenced by PHG4BlockCellGeomContainer::AddLayerCellGeom().

+ Here is the caller graph for this function:

int PHG4BlockCellGeom::get_xbin ( const double  x) const

Definition at line 237 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 237 of file PHG4BlockCellGeom.cc

References _nxbins, _xmin, _xstep, check_binning_method_x(), and ambiguity_solver_full_chain::x.

Referenced by PHG4BlockCellReco::process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int PHG4BlockCellGeom::get_xbins ( ) const

Definition at line 60 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 60 of file PHG4BlockCellGeom.cc

References _nxbins, and check_binning_method_x().

+ Here is the call graph for this function:

pair< double, double > PHG4BlockCellGeom::get_xbounds ( const int  ibin) const

Definition at line 201 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 201 of file PHG4BlockCellGeom.cc

References _nxbins, _xmin, and _xstep.

double PHG4BlockCellGeom::get_xcenter ( const int  ibin) const

Definition at line 275 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 275 of file PHG4BlockCellGeom.cc

References _nxbins, _xmin, _xstep, and check_binning_method_x().

Referenced by PHG4BlockCellReco::process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double PHG4BlockCellGeom::get_xmin ( ) const

Definition at line 74 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 74 of file PHG4BlockCellGeom.cc

References _xmin, and check_binning_method_x().

+ Here is the call graph for this function:

double PHG4BlockCellGeom::get_xstep ( ) const

Definition at line 67 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 67 of file PHG4BlockCellGeom.cc

References _xstep, and check_binning_method_x().

Referenced by PHG4BlockCellReco::process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int PHG4BlockCellGeom::get_zbin ( const double  z) const

Definition at line 214 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 214 of file PHG4BlockCellGeom.cc

References _nzbins, _zmin, _zstep, check_binning_method(), and PHG4CylinderCellDefs::sizebinning.

+ Here is the call graph for this function:

int PHG4BlockCellGeom::get_zbins ( ) const

Definition at line 34 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 34 of file PHG4BlockCellGeom.cc

References _nzbins, check_binning_method(), and PHG4CylinderCellDefs::sizebinning.

+ Here is the call graph for this function:

pair< double, double > PHG4BlockCellGeom::get_zbounds ( const int  ibin) const

Definition at line 172 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 172 of file PHG4BlockCellGeom.cc

References _nzbins, _zmin, _zstep, check_binning_method(), and PHG4CylinderCellDefs::sizebinning.

+ Here is the call graph for this function:

double PHG4BlockCellGeom::get_zcenter ( const int  ibin) const

Definition at line 250 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 250 of file PHG4BlockCellGeom.cc

References _nzbins, _zmin, _zstep, check_binning_method(), and PHG4CylinderCellDefs::sizebinning.

+ Here is the call graph for this function:

double PHG4BlockCellGeom::get_zmin ( ) const

Definition at line 41 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 41 of file PHG4BlockCellGeom.cc

References _zmin, check_binning_method(), and PHG4CylinderCellDefs::sizebinning.

+ Here is the call graph for this function:

double PHG4BlockCellGeom::get_zstep ( ) const

Definition at line 48 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 48 of file PHG4BlockCellGeom.cc

References _zstep, check_binning_method(), and PHG4CylinderCellDefs::sizebinning.

+ Here is the call graph for this function:

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Definition at line 135 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 135 of file PHG4BlockCellGeom.cc

References _binning, _layer, _nxbins, _nzbins, _xmin, _xstep, _zmin, _zstep, PHG4CylinderCellDefs::etaphibinning, PHG4CylinderCellDefs::etaslatbinning, and PHG4CylinderCellDefs::sizebinning.

Referenced by PHG4BlockCellReco::InitRun().

+ Here is the caller graph for this function:

string PHG4BlockCellGeom::methodname ( const int  i) const
protected

Definition at line 288 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 288 of file PHG4BlockCellGeom.cc

References PHG4CylinderCellDefs::etaphibinning, PHG4CylinderCellDefs::etaslatbinning, and PHG4CylinderCellDefs::sizebinning.

Referenced by check_binning_method(), check_binning_method_eta(), and check_binning_method_x().

+ Here is the caller graph for this function:

void PHG4BlockCellGeom::set_binning ( const int  i)
inline

Definition at line 50 of file PHG4BlockCellGeom.h.

View newest version in sPHENIX GitHub at line 50 of file PHG4BlockCellGeom.h

References _binning, and i.

Referenced by PHG4BlockCellReco::InitRun().

+ Here is the caller graph for this function:

void PHG4BlockCellGeom::set_etabins ( const int  i)

Definition at line 129 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 129 of file PHG4BlockCellGeom.cc

References _nzbins, check_binning_method_eta(), and i.

Referenced by PHG4BlockCellReco::InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4BlockCellGeom::set_etamin ( const double  z)

Definition at line 117 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 117 of file PHG4BlockCellGeom.cc

References _zmin, check_binning_method_eta(), and physmon_track_finding_ttbar::z.

Referenced by PHG4BlockCellReco::InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4BlockCellGeom::set_etastep ( const double  z)

Definition at line 123 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 123 of file PHG4BlockCellGeom.cc

References _zstep, check_binning_method_eta(), and physmon_track_finding_ttbar::z.

Referenced by PHG4BlockCellReco::InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4BlockCellGeom::set_layer ( const int  i)
inline

Definition at line 49 of file PHG4BlockCellGeom.h.

View newest version in sPHENIX GitHub at line 49 of file PHG4BlockCellGeom.h

References _layer, and i.

Referenced by PHG4BlockCellGeomContainer::AddLayerCellGeom(), and PHG4BlockCellReco::InitRun().

+ Here is the caller graph for this function:

void PHG4BlockCellGeom::set_xbins ( const int  i)

Definition at line 80 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 80 of file PHG4BlockCellGeom.cc

References _nxbins, check_binning_method_x(), and i.

Referenced by PHG4BlockCellReco::InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4BlockCellGeom::set_xmin ( const double  x)

Definition at line 92 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 92 of file PHG4BlockCellGeom.cc

References _xmin, check_binning_method_x(), and physmon_track_finding_ttbar::r.

Referenced by PHG4BlockCellReco::InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4BlockCellGeom::set_xstep ( const double  x)

Definition at line 86 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 86 of file PHG4BlockCellGeom.cc

References _xstep, check_binning_method_x(), and physmon_track_finding_ttbar::r.

Referenced by PHG4BlockCellReco::InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4BlockCellGeom::set_zbins ( const int  i)

Definition at line 22 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 22 of file PHG4BlockCellGeom.cc

References _nzbins, check_binning_method(), i, and PHG4CylinderCellDefs::sizebinning.

+ Here is the call graph for this function:

void PHG4BlockCellGeom::set_zmin ( const double  z)

Definition at line 28 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 28 of file PHG4BlockCellGeom.cc

References _zmin, check_binning_method(), PHG4CylinderCellDefs::sizebinning, and physmon_track_finding_ttbar::z.

+ Here is the call graph for this function:

void PHG4BlockCellGeom::set_zstep ( const double  z)

Definition at line 54 of file PHG4BlockCellGeom.cc.

View newest version in sPHENIX GitHub at line 54 of file PHG4BlockCellGeom.cc

References _zstep, check_binning_method(), PHG4CylinderCellDefs::sizebinning, and physmon_track_finding_ttbar::z.

+ Here is the call graph for this function:

Member Data Documentation

int PHG4BlockCellGeom::_binning
protected

Definition at line 71 of file PHG4BlockCellGeom.h.

View newest version in sPHENIX GitHub at line 71 of file PHG4BlockCellGeom.h

Referenced by check_binning_method(), check_binning_method_eta(), check_binning_method_x(), get_binning(), identify(), and set_binning().

int PHG4BlockCellGeom::_layer
protected

Definition at line 70 of file PHG4BlockCellGeom.h.

View newest version in sPHENIX GitHub at line 70 of file PHG4BlockCellGeom.h

Referenced by get_layer(), identify(), and set_layer().

int PHG4BlockCellGeom::_nxbins
protected

Definition at line 77 of file PHG4BlockCellGeom.h.

View newest version in sPHENIX GitHub at line 77 of file PHG4BlockCellGeom.h

Referenced by get_xbin(), get_xbins(), get_xbounds(), get_xcenter(), identify(), and set_xbins().

int PHG4BlockCellGeom::_nzbins
protected

Definition at line 73 of file PHG4BlockCellGeom.h.

View newest version in sPHENIX GitHub at line 73 of file PHG4BlockCellGeom.h

Referenced by get_etabin(), get_etabins(), get_etabounds(), get_etacenter(), get_zbin(), get_zbins(), get_zbounds(), get_zcenter(), identify(), set_etabins(), and set_zbins().

double PHG4BlockCellGeom::_xmin
protected

Definition at line 78 of file PHG4BlockCellGeom.h.

View newest version in sPHENIX GitHub at line 78 of file PHG4BlockCellGeom.h

Referenced by get_xbin(), get_xbounds(), get_xcenter(), get_xmin(), identify(), and set_xmin().

double PHG4BlockCellGeom::_xstep
protected

Definition at line 79 of file PHG4BlockCellGeom.h.

View newest version in sPHENIX GitHub at line 79 of file PHG4BlockCellGeom.h

Referenced by get_xbin(), get_xbounds(), get_xcenter(), get_xstep(), identify(), and set_xstep().

double PHG4BlockCellGeom::_zmin
protected

Definition at line 74 of file PHG4BlockCellGeom.h.

View newest version in sPHENIX GitHub at line 74 of file PHG4BlockCellGeom.h

Referenced by get_etabin(), get_etabounds(), get_etacenter(), get_etamin(), get_zbin(), get_zbounds(), get_zcenter(), get_zmin(), identify(), set_etamin(), and set_zmin().

double PHG4BlockCellGeom::_zstep
protected

Definition at line 75 of file PHG4BlockCellGeom.h.

View newest version in sPHENIX GitHub at line 75 of file PHG4BlockCellGeom.h

Referenced by get_etabin(), get_etabounds(), get_etacenter(), get_etastep(), get_zbin(), get_zbounds(), get_zcenter(), get_zstep(), identify(), set_etastep(), and set_zstep().


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