Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4intt/InttDeadMap.h>
Public Types | |
typedef std::set < PHG4CellDefs::keytype > | Map |
Public Member Functions | |
~InttDeadMap () override | |
int | isValid () const override |
isValid returns non zero if object contains vailid data | |
void | identify (std::ostream &os=std::cout) const override |
void | addDeadChannelIntt (const int layer, const int ladder_phi, const int ladder_z, const int strip_z, const int strip_phi) |
virtual void | addDeadChannel (PHG4CellDefs::keytype) |
virtual bool | isDeadChannel (PHG4CellDefs::keytype) const |
bool | isDeadChannelIntt (const int layer, const int ladder_phi, const int ladder_z, const int strip_z, const int strip_phi) const |
virtual const Map & | getDeadChannels (void) const |
return all towers | |
virtual Map & | getDeadChannels (void) |
virtual unsigned int | size () const |
Public Member Functions inherited from PHObject | |
PHObject () | |
ctor | |
~PHObject () override | |
dtor | |
virtual PHObject * | CloneMe () const |
Virtual copy constructor. | |
virtual PHObject * | clone () const final |
PHObject * | Clone (const char *newname="") const final |
void | Copy (TObject &object) const final |
virtual void | Reset () |
Clear Event. | |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Static Public Member Functions | |
static PHG4CellDefs::keytype | getInttKey (int layer, int ladder_phi, int ladder_z, int strip_z, int strip_phi) |
static int | getWildCardID () |
Protected Member Functions | |
InttDeadMap () | |
Static Private Attributes | |
static int | s_wildCardID = -1 |
Definition at line 11 of file InttDeadMap.h.
View newest version in sPHENIX GitHub at line 11 of file InttDeadMap.h
Definition at line 14 of file InttDeadMap.h.
View newest version in sPHENIX GitHub at line 14 of file InttDeadMap.h
|
inlineoverride |
Definition at line 16 of file InttDeadMap.h.
View newest version in sPHENIX GitHub at line 16 of file InttDeadMap.h
|
inlineprotected |
Definition at line 44 of file InttDeadMap.h.
View newest version in sPHENIX GitHub at line 44 of file InttDeadMap.h
|
inlinevirtual |
Reimplemented in InttDeadMapv1.
Definition at line 24 of file InttDeadMap.h.
View newest version in sPHENIX GitHub at line 24 of file InttDeadMap.h
Referenced by addDeadChannelIntt().
void InttDeadMap::addDeadChannelIntt | ( | const int | layer, |
const int | ladder_phi, | ||
const int | ladder_z, | ||
const int | strip_z, | ||
const int | strip_phi | ||
) |
Definition at line 25 of file InttDeadMap.cc.
View newest version in sPHENIX GitHub at line 25 of file InttDeadMap.cc
References addDeadChannel(), and getInttKey().
Referenced by PHG4InttDeadMapLoader::InitRun().
|
virtual |
return all towers
Reimplemented in InttDeadMapv1.
Definition at line 12 of file InttDeadMap.cc.
View newest version in sPHENIX GitHub at line 12 of file InttDeadMap.cc
Referenced by DumpInttDeadMap::process_Node().
|
virtual |
Reimplemented in InttDeadMapv1.
Definition at line 19 of file InttDeadMap.cc.
View newest version in sPHENIX GitHub at line 19 of file InttDeadMap.cc
|
static |
Definition at line 81 of file InttDeadMap.cc.
View newest version in sPHENIX GitHub at line 81 of file InttDeadMap.cc
References assert, layer, and s_wildCardID.
Referenced by addDeadChannelIntt(), and isDeadChannelIntt().
|
inlinestatic |
Definition at line 41 of file InttDeadMap.h.
View newest version in sPHENIX GitHub at line 41 of file InttDeadMap.h
References s_wildCardID.
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Reimplemented in InttDeadMapv1.
Definition at line 76 of file InttDeadMap.cc.
View newest version in sPHENIX GitHub at line 76 of file InttDeadMap.cc
Referenced by PHG4InttDigitizer::DigitizeLadderCells(), and PHG4InttDeadMapLoader::InitRun().
|
inlinevirtual |
Reimplemented in InttDeadMapv1.
Definition at line 26 of file InttDeadMap.h.
View newest version in sPHENIX GitHub at line 26 of file InttDeadMap.h
Referenced by isDeadChannelIntt().
bool InttDeadMap::isDeadChannelIntt | ( | const int | layer, |
const int | ladder_phi, | ||
const int | ladder_z, | ||
const int | strip_z, | ||
const int | strip_phi | ||
) | const |
Definition at line 34 of file InttDeadMap.cc.
View newest version in sPHENIX GitHub at line 34 of file InttDeadMap.cc
References getInttKey(), isDeadChannel(), and s_wildCardID.
Referenced by PHG4InttDigitizer::DigitizeLadderCells().
|
overridevirtual |
isValid returns non zero if object contains vailid data
Reimplemented from PHObject.
Reimplemented in InttDeadMapv1.
Definition at line 71 of file InttDeadMap.cc.
View newest version in sPHENIX GitHub at line 71 of file InttDeadMap.cc
References size().
|
inlinevirtual |
Reimplemented in InttDeadMapv1.
Definition at line 35 of file InttDeadMap.h.
View newest version in sPHENIX GitHub at line 35 of file InttDeadMap.h
Referenced by PHG4InttDeadMapLoader::InitRun(), isValid(), and DumpInttDeadMap::process_Node().
|
staticprivate |
Definition at line 49 of file InttDeadMap.h.
View newest version in sPHENIX GitHub at line 49 of file InttDeadMap.h
Referenced by getInttKey(), getWildCardID(), and isDeadChannelIntt().