#include <TRT_StrawStatusSummaryTool.h>
|
const TRT_ID * | m_trtId =nullptr |
|
ServiceHandle< ICondSvc > | m_condSvc |
|
SG::ReadCondHandleKey< StrawStatusContainer > | m_statReadKey {this,"StatReadKeyName","/TRT/Cond/Status","StrawStatus in-key"} |
|
SG::ReadCondHandleKey< StrawStatusContainer > | m_permReadKey {this,"PermReadKeyName","/TRT/Cond/StatusPermanent","StrawStatusPermanent in-key"} |
|
SG::ReadCondHandleKey< StrawStatusContainer > | m_statHTReadKey {this,"StatHTReadKeyName","/TRT/Cond/StatusHT","StrawStatusHT in-key"} |
|
Gaudi::Property< bool > | m_isGEANT4 {this,"isGEANT4",true} |
|
Gaudi::Property< std::string > | m_par_strawstatusHTcontainerkey {this, "SimStatusHTKey","/TRT/Cond/StatusHT"} |
|
◆ StrawStatusContainer
◆ TRT_StrawStatusSummaryTool()
TRT_StrawStatusSummaryTool::TRT_StrawStatusSummaryTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~TRT_StrawStatusSummaryTool()
virtual TRT_StrawStatusSummaryTool::~TRT_StrawStatusSummaryTool |
( |
| ) |
|
|
virtualdefault |
◆ finalize()
StatusCode TRT_StrawStatusSummaryTool::finalize |
( |
| ) |
|
|
overridevirtual |
◆ get_status()
bool TRT_StrawStatusSummaryTool::get_status |
( |
Identifier |
offlineId, |
|
|
const EventContext & |
ctx |
|
) |
| const |
|
overridevirtual |
Definition at line 121 of file TRT_StrawStatusSummaryTool.cxx.
122 constexpr
unsigned int statusbitmask = 1 << 8;
127 bool st =
false, stperm=
false;
130 else if (
status==0) st =
false;
131 else {st =
bool( (
status & statusbitmask) >> 8);};
133 if (statusperm==1) stperm =
true;
134 else if (statusperm==0) stperm =
false;
135 else {stperm =
bool( (statusperm & statusbitmask) >> 8);};
◆ get_statusHT()
bool TRT_StrawStatusSummaryTool::get_statusHT |
( |
Identifier |
offlineId, |
|
|
const EventContext & |
ctx |
|
) |
| const |
|
overridevirtual |
Definition at line 143 of file TRT_StrawStatusSummaryTool.cxx.
144 constexpr
unsigned int statusbitmask = 1 << 8;
148 if (statusHT==1) stHT =
true;
149 else if (statusHT==0) stHT =
false;
150 else {stHT =
bool( (statusHT & statusbitmask) >> 8);};
◆ getStatus()
int TRT_StrawStatusSummaryTool::getStatus |
( |
Identifier |
offlineId, |
|
|
const EventContext & |
ctx |
|
) |
| const |
|
overridevirtual |
◆ getStatusHT()
int TRT_StrawStatusSummaryTool::getStatusHT |
( |
Identifier |
offlineId, |
|
|
const EventContext & |
ctx |
|
) |
| const |
|
overridevirtual |
◆ getStatusPermanent()
int TRT_StrawStatusSummaryTool::getStatusPermanent |
( |
Identifier |
offlineId, |
|
|
const EventContext & |
ctx |
|
) |
| const |
|
overridevirtual |
◆ getStrawStatusHTContainer()
◆ initialize()
StatusCode TRT_StrawStatusSummaryTool::initialize |
( |
| ) |
|
|
overridevirtual |
◆ m_condSvc
◆ m_isGEANT4
Gaudi::Property<bool> TRT_StrawStatusSummaryTool::m_isGEANT4 {this,"isGEANT4",true} |
|
private |
◆ m_par_strawstatusHTcontainerkey
Gaudi::Property<std::string> TRT_StrawStatusSummaryTool::m_par_strawstatusHTcontainerkey {this, "SimStatusHTKey","/TRT/Cond/StatusHT"} |
|
private |
◆ m_permReadKey
◆ m_statHTReadKey
◆ m_statReadKey
◆ m_trtId
const TRT_ID* TRT_StrawStatusSummaryTool::m_trtId =nullptr |
|
private |
The documentation for this class was generated from the following files: