|
ATLAS Offline Software
|
Go to the documentation of this file.
10 #include "Identifier/Identifier.h"
17 m_condSvc(
"CondSvc",
name) {}
22 ATH_MSG_DEBUG(
"TRT_StrawStatusSummaryTool initialize method called");
27 return StatusCode::FAILURE;
37 ATH_MSG_DEBUG(
"TRT_StrawStatusSummaryTool initialized successfully ");
38 return StatusCode::SUCCESS;
46 return StatusCode::SUCCESS;
59 return int((*strawstatuscontainer).get(
id).getstatus());
73 return int((*strawstatuspermanentcontainer).get(
id).getstatus());
94 strawstatusHTcontainer=(*rht);
97 return int((*strawstatusHTcontainer).get(
id).getstatus());
111 strawstatusHTcontainer=(*rht);
114 return strawstatusHTcontainer;
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);};
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);};
def retrieve(aClass, aKey=None)
This is an Identifier helper class for the TRT subdetector. This class is a factory for creating comp...
#define ATH_MSG_VERBOSE(x)
int straw(const Identifier &id) const
::StatusCode StatusCode
StatusCode definition for legacy code.
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
int straw_layer(const Identifier &id) const
int layer_or_wheel(const Identifier &id) const
int phi_module(const Identifier &id) const
#define ATH_MSG_WARNING(x)
Identifier for TRT detector elements in the conditions code.
setBGCode setTAP setLVL2ErrorBits bool