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

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

+ Inheritance diagram for RawTowerDeadMapv1:
+ Collaboration diagram for RawTowerDeadMapv1:

Public Member Functions

 RawTowerDeadMapv1 (RawTowerDefs::CalorimeterId caloid=RawTowerDefs::NONE)
 
 ~RawTowerDeadMapv1 () 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 setCalorimeterID (RawTowerDefs::CalorimeterId caloid) override
 
RawTowerDefs::CalorimeterId getCalorimeterID () override
 
void addDeadTower (const unsigned int ieta, const unsigned int iphi) override
 
void addDeadTower (RawTowerDefs::keytype key) override
 
bool isDeadTower (RawTowerDefs::keytype key) override
 
bool isDeadTower (const unsigned int ieta, const unsigned int iphi) override
 
const MapgetDeadTowers (void) const override
 return all towers
 
MapgetDeadTowers (void) override
 
unsigned int size () const override
 
- Public Member Functions inherited from RawTowerDeadMap
 ~RawTowerDeadMap () override
 
- 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 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)
 

Private Attributes

RawTowerDefs::CalorimeterId _caloid
 
Map m_DeadTowers
 

Additional Inherited Members

- Public Types inherited from RawTowerDeadMap
typedef std::set
< RawTowerDefs::keytype
Map
 
- Protected Member Functions inherited from RawTowerDeadMap
 RawTowerDeadMap (RawTowerDefs::CalorimeterId=RawTowerDefs::NONE)
 

Detailed Description

Definition at line 9 of file RawTowerDeadMapv1.h.

View newest version in sPHENIX GitHub at line 9 of file RawTowerDeadMapv1.h

Constructor & Destructor Documentation

RawTowerDeadMapv1::RawTowerDeadMapv1 ( RawTowerDefs::CalorimeterId  caloid = RawTowerDefs::NONE)
inline

Definition at line 12 of file RawTowerDeadMapv1.h.

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

RawTowerDeadMapv1::~RawTowerDeadMapv1 ( )
inlineoverride

Definition at line 16 of file RawTowerDeadMapv1.h.

View newest version in sPHENIX GitHub at line 16 of file RawTowerDeadMapv1.h

Member Function Documentation

void RawTowerDeadMapv1::addDeadTower ( const unsigned int  ieta,
const unsigned int  iphi 
)
overridevirtual

Reimplemented from RawTowerDeadMap.

void RawTowerDeadMapv1::addDeadTower ( RawTowerDefs::keytype  key)
overridevirtual

Reimplemented from RawTowerDeadMap.

Definition at line 27 of file RawTowerDeadMapv1.cc.

View newest version in sPHENIX GitHub at line 27 of file RawTowerDeadMapv1.cc

References RawTowerDefs::decode_caloid(), and g4zmq::exit().

+ Here is the call graph for this function:

RawTowerDefs::CalorimeterId RawTowerDeadMapv1::getCalorimeterID ( )
inlineoverridevirtual

Reimplemented from RawTowerDeadMap.

Definition at line 23 of file RawTowerDeadMapv1.h.

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

References _caloid.

const RawTowerDeadMapv1::Map & RawTowerDeadMapv1::getDeadTowers ( void  ) const
overridevirtual

return all towers

Reimplemented from RawTowerDeadMap.

Definition at line 10 of file RawTowerDeadMapv1.cc.

View newest version in sPHENIX GitHub at line 10 of file RawTowerDeadMapv1.cc

RawTowerDeadMapv1::Map & RawTowerDeadMapv1::getDeadTowers ( void  )
overridevirtual

Reimplemented from RawTowerDeadMap.

Definition at line 16 of file RawTowerDeadMapv1.cc.

View newest version in sPHENIX GitHub at line 16 of file RawTowerDeadMapv1.cc

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from RawTowerDeadMap.

Definition at line 64 of file RawTowerDeadMapv1.cc.

View newest version in sPHENIX GitHub at line 64 of file RawTowerDeadMapv1.cc

bool RawTowerDeadMapv1::isDeadTower ( RawTowerDefs::keytype  key)
overridevirtual

Reimplemented from RawTowerDeadMap.

Definition at line 38 of file RawTowerDeadMapv1.cc.

View newest version in sPHENIX GitHub at line 38 of file RawTowerDeadMapv1.cc

References it.

bool RawTowerDeadMapv1::isDeadTower ( const unsigned int  ieta,
const unsigned int  iphi 
)
overridevirtual

Reimplemented from RawTowerDeadMap.

Definition at line 48 of file RawTowerDeadMapv1.cc.

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

References RawTowerDefs::encode_towerid().

+ Here is the call graph for this function:

int RawTowerDeadMapv1::isValid ( ) const
overridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from RawTowerDeadMap.

Definition at line 54 of file RawTowerDeadMapv1.cc.

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

void RawTowerDeadMapv1::Reset ( )
overridevirtual

Clear Event.

Reimplemented from RawTowerDeadMap.

Definition at line 59 of file RawTowerDeadMapv1.cc.

View newest version in sPHENIX GitHub at line 59 of file RawTowerDeadMapv1.cc

void RawTowerDeadMapv1::setCalorimeterID ( RawTowerDefs::CalorimeterId  caloid)
inlineoverridevirtual

Reimplemented from RawTowerDeadMap.

Definition at line 22 of file RawTowerDeadMapv1.h.

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

References _caloid.

unsigned int RawTowerDeadMapv1::size ( void  ) const
inlineoverridevirtual

Reimplemented from RawTowerDeadMap.

Definition at line 33 of file RawTowerDeadMapv1.h.

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

References m_DeadTowers.

Member Data Documentation

RawTowerDefs::CalorimeterId RawTowerDeadMapv1::_caloid
private

Definition at line 36 of file RawTowerDeadMapv1.h.

View newest version in sPHENIX GitHub at line 36 of file RawTowerDeadMapv1.h

Referenced by getCalorimeterID(), and setCalorimeterID().

Map RawTowerDeadMapv1::m_DeadTowers
private

Definition at line 37 of file RawTowerDeadMapv1.h.

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

Referenced by size().


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