10#include "Identifier/Identifier.h"
16 : base_class(
type, name, parent),
22 ATH_MSG_DEBUG(
"TRT_StrawStatusSummaryTool initialize method called");
25 if (StatusCode::SUCCESS!=detStore()->retrieve(
m_trtId,
"TRT_ID")) {
27 return StatusCode::FAILURE;
37 ATH_MSG_DEBUG(
"TRT_StrawStatusSummaryTool initialized successfully ");
38 return StatusCode::SUCCESS;
46 return StatusCode::SUCCESS;
54 m_trtId->straw(offlineID),level );
59 return int((*strawstatuscontainer).get(
id).getstatus());
68 m_trtId->straw(offlineID),level );
73 return int((*strawstatuspermanentcontainer).get(
id).getstatus());
83 m_trtId->straw(offlineID),level );
94 strawstatusHTcontainer=(*rht);
97 return int((*strawstatusHTcontainer).get(
id).getstatus());
111 strawstatusHTcontainer=(*rht);
114 return strawstatusHTcontainer;
122 constexpr unsigned int statusbitmask = 1 << 8;
123 const int status=
getStatus(offlineID,ctx);
125 ATH_MSG_VERBOSE(
"offlineID "<<offlineID<<
" "<<status <<
" "<< statusperm);
127 bool st =
false, stperm=
false;
129 if (status==1) st =
true;
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);};
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);};
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
#define ATH_MSG_WARNING(x)
This is an Identifier helper class for the TRT subdetector.
Identifier for TRT detector elements in the conditions code.
A COOL multichannel container for StrawStatus.