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

#include <coresoftware/blob/master/offline/packages/mbd/BbcPmtInfoContainerV1.h>

+ Inheritance diagram for BbcPmtInfoContainerV1:
+ Collaboration diagram for BbcPmtInfoContainerV1:

Public Member Functions

 BbcPmtInfoContainerV1 ()
 
 ~BbcPmtInfoContainerV1 () override
 
void Reset () override
 Clear Event.
 
BbcPmtInfoV1get_tower_at_channel (int pos) override
 
BbcPmtInfoV1get_pmt (int ich)
 
TClonesArray * getarray () const
 
size_t size () const override
 
- Public Member Functions inherited from TowerInfoContainer
 TowerInfoContainer ()=default
 
 ~TowerInfoContainer () override=default
 
void identify (std::ostream &os=std::cout) const override
 
virtual TowerInfoget_tower_at_key (int)
 
virtual unsigned int encode_key (unsigned int)
 
virtual unsigned int decode_key (unsigned int)
 
virtual unsigned int encode_epd (unsigned int)
 
virtual unsigned int encode_hcal (unsigned int)
 
virtual unsigned int encode_emcal (unsigned int)
 
virtual unsigned int encode_mbd (unsigned int)
 
virtual unsigned int encode_zdc (unsigned int)
 
virtual unsigned int decode_epd (unsigned int)
 
virtual unsigned int decode_hcal (unsigned int)
 
virtual unsigned int decode_emcal (unsigned int)
 
virtual unsigned int decode_mbd (unsigned int)
 
virtual unsigned int decode_zdc (unsigned int)
 
virtual unsigned int getTowerPhiBin (unsigned int)
 
virtual unsigned int getTowerEtaBin (unsigned int)
 
virtual DETECTOR get_detectorid () const
 
- 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 Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Protected Attributes

TClonesArray * _clones = nullptr
 
DETECTOR _detector = DETECTOR_INVALID
 

Private Member Functions

 ClassDefOverride (BbcPmtInfoContainerV1, 1)
 

Additional Inherited Members

- Public Types inherited from TowerInfoContainer
enum  DETECTOR {
  EMCAL = 0, HCAL = 1, SEPD = 2, MBD = 3,
  ZDC = 4, DETECTOR_INVALID = 9999
}
 
typedef std::map< unsigned int,
TowerInfo * > 
TowerMap
 
typedef TowerMap::const_iterator ConstIter
 
typedef TowerMap::iterator Iter
 

Detailed Description

Definition at line 12 of file BbcPmtInfoContainerV1.h.

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

Constructor & Destructor Documentation

BbcPmtInfoContainerV1::BbcPmtInfoContainerV1 ( )

Definition at line 13 of file BbcPmtInfoContainerV1.cc.

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

References _clones, and BbcDefs::BBC_N_PMT.

BbcPmtInfoContainerV1::~BbcPmtInfoContainerV1 ( )
override

Definition at line 28 of file BbcPmtInfoContainerV1.cc.

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

References _clones.

Member Function Documentation

BbcPmtInfoContainerV1::ClassDefOverride ( BbcPmtInfoContainerV1  ,
 
)
private
BbcPmtInfoV1* BbcPmtInfoContainerV1::get_pmt ( int  ich)
inline

Definition at line 24 of file BbcPmtInfoContainerV1.h.

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

References _clones.

Referenced by DumpBbcPmtInfoContainer::process_Node().

+ Here is the caller graph for this function:

BbcPmtInfoV1 * BbcPmtInfoContainerV1::get_tower_at_channel ( int  pos)
overridevirtual

Reimplemented from TowerInfoContainer.

Definition at line 43 of file BbcPmtInfoContainerV1.cc.

View newest version in sPHENIX GitHub at line 43 of file BbcPmtInfoContainerV1.cc

References _clones.

TClonesArray* BbcPmtInfoContainerV1::getarray ( ) const
inline

Definition at line 25 of file BbcPmtInfoContainerV1.h.

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

References _clones.

void BbcPmtInfoContainerV1::Reset ( )
overridevirtual

Clear Event.

Reimplemented from TowerInfoContainer.

Definition at line 33 of file BbcPmtInfoContainerV1.cc.

View newest version in sPHENIX GitHub at line 33 of file BbcPmtInfoContainerV1.cc

References _clones, and BbcDefs::BBC_N_PMT.

size_t BbcPmtInfoContainerV1::size ( void  ) const
inlineoverridevirtual

Reimplemented from TowerInfoContainer.

Definition at line 27 of file BbcPmtInfoContainerV1.h.

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

References _clones.

Referenced by DumpBbcPmtInfoContainer::process_Node().

+ Here is the caller graph for this function:

Member Data Documentation

TClonesArray* BbcPmtInfoContainerV1::_clones = nullptr
protected

Definition at line 32 of file BbcPmtInfoContainerV1.h.

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

Referenced by BbcPmtInfoContainerV1(), get_pmt(), get_tower_at_channel(), getarray(), Reset(), size(), and ~BbcPmtInfoContainerV1().

DETECTOR BbcPmtInfoContainerV1::_detector = DETECTOR_INVALID
protected

Definition at line 33 of file BbcPmtInfoContainerV1.h.

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


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