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

With additional description to conveniently use in central calorimeter with eta-phi bins. More...

#include <coresoftware/blob/master/offline/packages/CaloBase/RawTowerGeomContainer_Cylinderv1.h>

+ Inheritance diagram for RawTowerGeomContainer_Cylinderv1:
+ Collaboration diagram for RawTowerGeomContainer_Cylinderv1:

Public Member Functions

 RawTowerGeomContainer_Cylinderv1 (RawTowerDefs::CalorimeterId caloid=RawTowerDefs::NONE)
 
 ~RawTowerGeomContainer_Cylinderv1 () override
 
void identify (std::ostream &os=std::cout) const override
 
void Reset () override
 Clear Event.
 
double get_radius () const override
 
double get_thickness () const override
 
int get_phibins () const override
 
int get_etabins () const override
 
std::pair< double, doubleget_phibounds (const int ibin) const override
 
std::pair< double, doubleget_etabounds (const int ibin) const override
 
double get_etacenter (const int ibin) const override
 
double get_phicenter (const int ibin) const override
 
int get_etabin (const double eta) const override
 
int get_phibin (const double phi) const override
 
void set_radius (const double r) override
 
void set_thickness (const double t) override
 
void set_phibins (const int i) override
 
void set_etabins (const int i) override
 
void set_etabounds (const int ibin, const std::pair< double, double > &bounds) override
 
void set_phibounds (const int ibin, const std::pair< double, double > &bounds) override
 
- Public Member Functions inherited from RawTowerGeomContainerv1
 RawTowerGeomContainerv1 (RawTowerDefs::CalorimeterId caloid=RawTowerDefs::NONE)
 
 ~RawTowerGeomContainerv1 () override
 
void Reset () override
 Clear Event.
 
int isValid () const override
 isValid returns non zero if object contains vailid data
 
void identify (std::ostream &os=std::cout) const override
 
void set_calorimeter_id (RawTowerDefs::CalorimeterId caloid) override
 8-bit calorimeter ID
 
RawTowerDefs::CalorimeterId get_calorimeter_id () const override
 
ConstIterator add_tower_geometry (RawTowerGeom *geo) override
 go through all towers
 
RawTowerGeomget_tower_geometry (RawTowerDefs::keytype key) override
 
ConstRange get_tower_geometries (void) const override
 return all tower geometries
 
Range get_tower_geometries (void) override
 
unsigned int size () const override
 
- Public Member Functions inherited from RawTowerGeomContainer
 ~RawTowerGeomContainer () override
 default constructor for ROOT IO
 
- 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 Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Protected Types

typedef std::pair< double, doublebound_t
 
typedef std::vector< bound_tbound_map_t
 

Protected Attributes

double radius
 
double thickness
 
bound_map_t eta_bound_map
 
bound_map_t phi_bound_map
 
- Protected Attributes inherited from RawTowerGeomContainerv1
RawTowerDefs::CalorimeterId _caloid
 
Map _geoms
 

Additional Inherited Members

- Public Types inherited from RawTowerGeomContainer
typedef std::map
< RawTowerDefs::keytype,
RawTowerGeom * > 
Map
 
typedef Map::iterator Iterator
 
typedef Map::const_iterator ConstIterator
 
typedef std::pair< Iterator,
Iterator
Range
 
typedef std::pair
< ConstIterator, ConstIterator
ConstRange
 
- Protected Member Functions inherited from RawTowerGeomContainer
 RawTowerGeomContainer ()
 this class is not for use. Base class only
 

Detailed Description

With additional description to conveniently use in central calorimeter with eta-phi bins.

Definition at line 15 of file RawTowerGeomContainer_Cylinderv1.h.

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

Member Typedef Documentation

Definition at line 88 of file RawTowerGeomContainer_Cylinderv1.h.

View newest version in sPHENIX GitHub at line 88 of file RawTowerGeomContainer_Cylinderv1.h

Definition at line 87 of file RawTowerGeomContainer_Cylinderv1.h.

View newest version in sPHENIX GitHub at line 87 of file RawTowerGeomContainer_Cylinderv1.h

Constructor & Destructor Documentation

RawTowerGeomContainer_Cylinderv1::RawTowerGeomContainer_Cylinderv1 ( RawTowerDefs::CalorimeterId  caloid = RawTowerDefs::NONE)

Definition at line 11 of file RawTowerGeomContainer_Cylinderv1.cc.

View newest version in sPHENIX GitHub at line 11 of file RawTowerGeomContainer_Cylinderv1.cc

RawTowerGeomContainer_Cylinderv1::~RawTowerGeomContainer_Cylinderv1 ( )
inlineoverride

Definition at line 20 of file RawTowerGeomContainer_Cylinderv1.h.

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

References Reset().

+ Here is the call graph for this function:

Member Function Documentation

int RawTowerGeomContainer_Cylinderv1::get_etabin ( const double  eta) const
overridevirtual

Reimplemented from RawTowerGeomContainer.

Definition at line 95 of file RawTowerGeomContainer_Cylinderv1.cc.

View newest version in sPHENIX GitHub at line 95 of file RawTowerGeomContainer_Cylinderv1.cc

References eta_bound_map, i, and configureMap::ibin.

int RawTowerGeomContainer_Cylinderv1::get_etabins ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeomContainer.

Definition at line 44 of file RawTowerGeomContainer_Cylinderv1.h.

View newest version in sPHENIX GitHub at line 44 of file RawTowerGeomContainer_Cylinderv1.h

References eta_bound_map.

Referenced by get_etabounds(), get_etacenter(), identify(), and set_etabounds().

+ Here is the caller graph for this function:

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

Reimplemented from RawTowerGeomContainer.

Definition at line 68 of file RawTowerGeomContainer_Cylinderv1.cc.

View newest version in sPHENIX GitHub at line 68 of file RawTowerGeomContainer_Cylinderv1.cc

References eta_bound_map, get_etabins(), configureMap::ibin, and identify().

+ Here is the call graph for this function:

double RawTowerGeomContainer_Cylinderv1::get_etacenter ( const int  ibin) const
overridevirtual

Reimplemented from RawTowerGeomContainer.

Definition at line 186 of file RawTowerGeomContainer_Cylinderv1.cc.

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

References eta_bound_map, and get_etabins().

+ Here is the call graph for this function:

int RawTowerGeomContainer_Cylinderv1::get_phibin ( const double  phi) const
overridevirtual

Reimplemented from RawTowerGeomContainer.

Definition at line 139 of file RawTowerGeomContainer_Cylinderv1.cc.

View newest version in sPHENIX GitHub at line 139 of file RawTowerGeomContainer_Cylinderv1.cc

References INTTVtxZ::dphi, i, configureMap::ibin, phi_bound_map, and round().

+ Here is the call graph for this function:

int RawTowerGeomContainer_Cylinderv1::get_phibins ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeomContainer.

Definition at line 40 of file RawTowerGeomContainer_Cylinderv1.h.

View newest version in sPHENIX GitHub at line 40 of file RawTowerGeomContainer_Cylinderv1.h

References phi_bound_map.

Referenced by get_phibounds(), get_phicenter(), identify(), and set_phibounds().

+ Here is the caller graph for this function:

pair< double, double > RawTowerGeomContainer_Cylinderv1::get_phibounds ( const int  ibin) const
overridevirtual

Reimplemented from RawTowerGeomContainer.

Definition at line 82 of file RawTowerGeomContainer_Cylinderv1.cc.

View newest version in sPHENIX GitHub at line 82 of file RawTowerGeomContainer_Cylinderv1.cc

References get_phibins(), configureMap::ibin, identify(), and phi_bound_map.

+ Here is the call graph for this function:

double RawTowerGeomContainer_Cylinderv1::get_phicenter ( const int  ibin) const
overridevirtual

Reimplemented from RawTowerGeomContainer.

Definition at line 222 of file RawTowerGeomContainer_Cylinderv1.cc.

View newest version in sPHENIX GitHub at line 222 of file RawTowerGeomContainer_Cylinderv1.cc

References get_phibins(), and phi_bound_map.

+ Here is the call graph for this function:

double RawTowerGeomContainer_Cylinderv1::get_radius ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeomContainer.

Definition at line 29 of file RawTowerGeomContainer_Cylinderv1.h.

View newest version in sPHENIX GitHub at line 29 of file RawTowerGeomContainer_Cylinderv1.h

References radius.

Referenced by IsolatedTrackAnalysis::InitRun().

+ Here is the caller graph for this function:

double RawTowerGeomContainer_Cylinderv1::get_thickness ( ) const
inlineoverridevirtual

Reimplemented from RawTowerGeomContainer.

Definition at line 35 of file RawTowerGeomContainer_Cylinderv1.h.

View newest version in sPHENIX GitHub at line 35 of file RawTowerGeomContainer_Cylinderv1.h

References thickness.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from RawTowerGeomContainer.

Definition at line 42 of file RawTowerGeomContainer_Cylinderv1.cc.

View newest version in sPHENIX GitHub at line 42 of file RawTowerGeomContainer_Cylinderv1.cc

References eta_bound_map, get_etabins(), get_phibins(), i, phi_bound_map, radius, and thickness.

Referenced by get_etabounds(), and get_phibounds().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void RawTowerGeomContainer_Cylinderv1::Reset ( )
overridevirtual

Clear Event.

Reimplemented from PHObject.

Definition at line 19 of file RawTowerGeomContainer_Cylinderv1.cc.

View newest version in sPHENIX GitHub at line 19 of file RawTowerGeomContainer_Cylinderv1.cc

References eta_bound_map, phi_bound_map, and RawTowerGeomContainerv1::Reset().

Referenced by ~RawTowerGeomContainer_Cylinderv1().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void RawTowerGeomContainer_Cylinderv1::set_etabins ( const int  i)
overridevirtual

Reimplemented from RawTowerGeomContainer.

Definition at line 28 of file RawTowerGeomContainer_Cylinderv1.cc.

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

References assert, and eta_bound_map.

void RawTowerGeomContainer_Cylinderv1::set_etabounds ( const int  ibin,
const std::pair< double, double > &  bounds 
)
overridevirtual

Reimplemented from RawTowerGeomContainer.

Definition at line 199 of file RawTowerGeomContainer_Cylinderv1.cc.

View newest version in sPHENIX GitHub at line 199 of file RawTowerGeomContainer_Cylinderv1.cc

References eta_bound_map, get_etabins(), and configureMap::ibin.

+ Here is the call graph for this function:

void RawTowerGeomContainer_Cylinderv1::set_phibins ( const int  i)
overridevirtual

Reimplemented from RawTowerGeomContainer.

Definition at line 35 of file RawTowerGeomContainer_Cylinderv1.cc.

View newest version in sPHENIX GitHub at line 35 of file RawTowerGeomContainer_Cylinderv1.cc

References assert, and phi_bound_map.

void RawTowerGeomContainer_Cylinderv1::set_phibounds ( const int  ibin,
const std::pair< double, double > &  bounds 
)
overridevirtual

Reimplemented from RawTowerGeomContainer.

Definition at line 235 of file RawTowerGeomContainer_Cylinderv1.cc.

View newest version in sPHENIX GitHub at line 235 of file RawTowerGeomContainer_Cylinderv1.cc

References get_phibins(), configureMap::ibin, and phi_bound_map.

+ Here is the call graph for this function:

void RawTowerGeomContainer_Cylinderv1::set_radius ( const double  r)
inlineoverridevirtual

Reimplemented from RawTowerGeomContainer.

Definition at line 64 of file RawTowerGeomContainer_Cylinderv1.h.

View newest version in sPHENIX GitHub at line 64 of file RawTowerGeomContainer_Cylinderv1.h

References physmon_track_finding_ttbar::r, and radius.

void RawTowerGeomContainer_Cylinderv1::set_thickness ( const double  t)
inlineoverridevirtual

Reimplemented from RawTowerGeomContainer.

Definition at line 69 of file RawTowerGeomContainer_Cylinderv1.h.

View newest version in sPHENIX GitHub at line 69 of file RawTowerGeomContainer_Cylinderv1.h

References t, and thickness.

Member Data Documentation

bound_map_t RawTowerGeomContainer_Cylinderv1::eta_bound_map
protected

Definition at line 90 of file RawTowerGeomContainer_Cylinderv1.h.

View newest version in sPHENIX GitHub at line 90 of file RawTowerGeomContainer_Cylinderv1.h

Referenced by get_etabin(), get_etabins(), get_etabounds(), get_etacenter(), identify(), Reset(), set_etabins(), and set_etabounds().

bound_map_t RawTowerGeomContainer_Cylinderv1::phi_bound_map
protected

Definition at line 91 of file RawTowerGeomContainer_Cylinderv1.h.

View newest version in sPHENIX GitHub at line 91 of file RawTowerGeomContainer_Cylinderv1.h

Referenced by get_phibin(), get_phibins(), get_phibounds(), get_phicenter(), identify(), Reset(), set_phibins(), and set_phibounds().

double RawTowerGeomContainer_Cylinderv1::radius
protected

Definition at line 84 of file RawTowerGeomContainer_Cylinderv1.h.

View newest version in sPHENIX GitHub at line 84 of file RawTowerGeomContainer_Cylinderv1.h

Referenced by get_radius(), identify(), and set_radius().

double RawTowerGeomContainer_Cylinderv1::thickness
protected

Definition at line 85 of file RawTowerGeomContainer_Cylinderv1.h.

View newest version in sPHENIX GitHub at line 85 of file RawTowerGeomContainer_Cylinderv1.h

Referenced by get_thickness(), identify(), and set_thickness().


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