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

base class to describe calorimeter geometries More...

#include <fun4all_coresoftware/blob/master/offline/packages/CaloBase/RawTowerGeomContainer.h>

+ Inheritance diagram for RawTowerGeomContainer:
+ Collaboration diagram for RawTowerGeomContainer:

Public Types

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
 

Public Member Functions

 ~RawTowerGeomContainer () override
 default constructor for ROOT IO
 
void identify (std::ostream &os=std::cout) const override
 
virtual void set_calorimeter_id (RawTowerDefs::CalorimeterId)
 8-bit calorimeter ID
 
virtual RawTowerDefs::CalorimeterId get_calorimeter_id () const
 
virtual ConstIterator add_tower_geometry (RawTowerGeom *geo)
 go through all towers
 
virtual RawTowerGeomget_tower_geometry (RawTowerDefs::keytype)
 
virtual ConstRange get_tower_geometries (void) const
 return all tower geometries
 
virtual Range get_tower_geometries (void)
 
virtual unsigned int size () const
 
virtual double get_radius () const
 
virtual double get_thickness () const
 
virtual int get_phibins () const
 
virtual int get_etabins () const
 
virtual std::pair< double, double > get_phibounds (const int) const
 
virtual std::pair< double, double > get_etabounds (const int) const
 
virtual double get_etacenter (const int) const
 
virtual double get_phicenter (const int) const
 
virtual int get_etabin (const double) const
 
virtual int get_phibin (const double) const
 
virtual void set_radius (const double)
 
virtual void set_thickness (const double)
 
virtual void set_phibins (const int)
 
virtual void set_etabins (const int)
 
virtual void set_etabounds (const int, const std::pair< double, double > &)
 
virtual void set_phibounds (const int, const std::pair< double, double > &)
 
- 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 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 *)
 
virtual void CopyFrom (const PHObject *obj)
 

Protected Member Functions

 RawTowerGeomContainer ()
 this class is not for use. Base class only
 

Detailed Description

base class to describe calorimeter geometries

Definition at line 22 of file RawTowerGeomContainer.h.

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

Member Typedef Documentation

typedef Map::const_iterator RawTowerGeomContainer::ConstIterator

Definition at line 27 of file RawTowerGeomContainer.h.

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

Definition at line 29 of file RawTowerGeomContainer.h.

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

typedef Map::iterator RawTowerGeomContainer::Iterator

Definition at line 26 of file RawTowerGeomContainer.h.

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

Definition at line 25 of file RawTowerGeomContainer.h.

View newest version in sPHENIX GitHub at line 25 of file RawTowerGeomContainer.h

Definition at line 28 of file RawTowerGeomContainer.h.

View newest version in sPHENIX GitHub at line 28 of file RawTowerGeomContainer.h

Constructor & Destructor Documentation

RawTowerGeomContainer::~RawTowerGeomContainer ( )
inlineoverride

default constructor for ROOT IO

Definition at line 32 of file RawTowerGeomContainer.h.

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

RawTowerGeomContainer::RawTowerGeomContainer ( )
inlineprotected

this class is not for use. Base class only

Definition at line 141 of file RawTowerGeomContainer.h.

View newest version in sPHENIX GitHub at line 141 of file RawTowerGeomContainer.h

Member Function Documentation

RawTowerGeomContainer::ConstIterator RawTowerGeomContainer::add_tower_geometry ( RawTowerGeom geo)
virtual
virtual RawTowerDefs::CalorimeterId RawTowerGeomContainer::get_calorimeter_id ( ) const
inlinevirtual

Reimplemented in RawTowerGeomContainerv1.

Definition at line 38 of file RawTowerGeomContainer.h.

View newest version in sPHENIX GitHub at line 38 of file RawTowerGeomContainer.h

References RawTowerDefs::NONE, and PHOOL_VIRTUAL_WARN.

Referenced by RawClusterBuilderTemplate::InitRun(), and DumpRawTowerGeomContainer::process_Node().

+ Here is the caller graph for this function:

RawTowerGeomContainer::Range RawTowerGeomContainer::get_tower_geometries ( void  )
virtual

Reimplemented in RawTowerGeomContainerv1.

Definition at line 26 of file RawTowerGeomContainer.cc.

View newest version in sPHENIX GitHub at line 26 of file RawTowerGeomContainer.cc

References DummyMap, and PHOOL_VIRTUAL_WARN.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Reimplemented in RawTowerGeomContainer_Cylinderv1, and RawTowerGeomContainerv1.

Definition at line 9 of file RawTowerGeomContainer.cc.

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

Referenced by RawTowerDeadTowerInterp::CreateNodes(), RawTowerBuilder::CreateNodes(), RawTowerCombiner::CreateNodes(), RawTowerCalibration::CreateNodes(), RawTowerDigitizer::CreateNodes(), QAG4SimulationCalorimeterSum::eval_trk_proj(), QAG4SimulationEicCalorimeterSum::eval_trk_proj(), HcalRawTowerBuilder::InitRun(), and DumpRawTowerGeomContainer::process_Node().

+ Here is the caller graph for this function:

virtual void RawTowerGeomContainer::set_calorimeter_id ( RawTowerDefs::CalorimeterId  )
inlinevirtual

8-bit calorimeter ID

Reimplemented in RawTowerGeomContainerv1.

Definition at line 37 of file RawTowerGeomContainer.h.

View newest version in sPHENIX GitHub at line 37 of file RawTowerGeomContainer.h

References PHOOL_VIRTUAL_WARN.

virtual unsigned int RawTowerGeomContainer::size ( void  ) const
inlinevirtual

Reimplemented in RawTowerGeomContainerv1.

Definition at line 56 of file RawTowerGeomContainer.h.

View newest version in sPHENIX GitHub at line 56 of file RawTowerGeomContainer.h

References PHOOL_VIRTUAL_WARN.

Referenced by QAG4SimulationCalorimeter::process_event_Tower(), QAG4SimulationEicCalorimeter::process_event_Tower(), DumpRawTowerGeomContainer::process_Node(), B0RawTowerBuilderByHitIndex::ReadGeometryFromTable(), BwdRawTowerBuilderByHitIndex::ReadGeometryFromTable(), RawTowerBuilderByHitIndexBECAL::ReadGeometryFromTable(), and RawTowerBuilderByHitIndex::ReadGeometryFromTable().

+ Here is the caller graph for this function:


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