 |
ATLAS Offline Software
|
#include <TRTStrawStatusWrite.h>
|
| TRTStrawStatusWrite (const std::string &name, ISvcLocator *pSvcLocator) |
|
virtual | ~TRTStrawStatusWrite ()=default |
|
virtual StatusCode | initialize () override |
|
virtual StatusCode | execute () override |
|
virtual StatusCode | finalize () override |
|
virtual void | set_status_temp (StrawStatusContainer *ssc, Identifier offlineID, bool set) |
|
virtual void | set_status_permanent (StrawStatusContainer *ssc, Identifier offlineID, bool set) |
|
virtual StatusCode | readStatFromTextFile (const std::string &filename) |
|
virtual StatusCode | readStatPermFromTextFile (const std::string &filename) |
|
virtual StatusCode | readStatHTFromTextFile (const std::string &filename) |
|
virtual StatusCode | sysInitialize () override |
| Override sysInitialize. More...
|
|
virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. More...
|
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
|
Gaudi::Property< std::string > | m_par_strawstatuscontainerkey {this, "StrawStatusKey", "/TRT/Cond/Status", ""} |
|
Gaudi::Property< std::string > | m_par_strawstatuspermanentcontainerkey {this, "StrawStatusPermanentKey", "/TRT/Cond/StatusPermanent", ""} |
|
Gaudi::Property< std::string > | m_par_strawstatusHTcontainerkey {this, "StrawStatusHTKey", "/TRT/Cond/StatusHT", ""} |
|
Gaudi::Property< std::string > | m_par_stattextfile {this, "StatusInputFile", "", "input text file"} |
|
Gaudi::Property< std::string > | m_par_stattextfilepermanent {this, "StatusInputFilePermanent", "", "input text file: permanent"} |
|
Gaudi::Property< std::string > | m_par_stattextfileHT {this, "StatusInputFileHT", "", "input text file: HT"} |
|
const TRT_ID * | m_trtid {} |
|
ToolHandle< ITRT_StrawStatusSummaryTool > | m_status {this, "SummaryTool", "TRT_StrawStatusSummaryTool"} |
|
DataObjIDColl | m_extendedExtraObjects |
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
Definition at line 24 of file TRTStrawStatusWrite.h.
◆ StoreGateSvc_t
◆ StrawStatusContainer
◆ TRTStrawStatusWrite()
TRTStrawStatusWrite::TRTStrawStatusWrite |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~TRTStrawStatusWrite()
virtual TRTStrawStatusWrite::~TRTStrawStatusWrite |
( |
| ) |
|
|
virtualdefault |
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode TRTStrawStatusWrite::execute |
( |
| ) |
|
|
overridevirtual |
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ extraOutputDeps()
const DataObjIDColl & AthAlgorithm::extraOutputDeps |
( |
| ) |
const |
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 50 of file AthAlgorithm.cxx.
57 return Algorithm::extraOutputDeps();
◆ finalize()
StatusCode TRTStrawStatusWrite::finalize |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
StatusCode TRTStrawStatusWrite::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 23 of file TRTStrawStatusWrite.cxx.
34 return StatusCode::FAILURE;
44 ATH_MSG_ERROR(
" Could not read TRT StrawStatus permanent objects ");
45 return StatusCode::FAILURE;
56 return StatusCode::FAILURE;
61 return StatusCode::SUCCESS;
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ readStatFromTextFile()
StatusCode TRTStrawStatusWrite::readStatFromTextFile |
( |
const std::string & |
filename | ) |
|
|
virtual |
Definition at line 117 of file TRTStrawStatusWrite.cxx.
122 strawstatus->clear();
123 ATH_MSG_INFO(
" ***************** TRTStrawStatusWrite ************************ ");
134 for (
int i = 0;
i < 32;
i++)
143 for (
int i = 0;
i < 14;
i++)
149 for (
int l = 0;
l < 3;
l++)
156 for (
int l = 0;
l < 14;
l++)
167 return StatusCode::FAILURE;
169 std::ifstream ifs(
filename.c_str());
181 return StatusCode::FAILURE;
214 if (
bec == -1 && sector >= 0 && sector < 32)
223 if (
bec == 1 && sector >= 0 && sector < 32)
239 ATH_MSG_INFO(
"Entire Module dead: bec: " <<
bec <<
" layer: " <<
layer <<
" phi: " << sector <<
" stl: " << strawlayer <<
" stw: " <<
straw <<
" level " <<
level);
244 strawstatus->setStatus(
id, 1);
247 strawstatus->set(
id, 1);
253 ATH_MSG_INFO(
"deadba0[] = { " << deadba0[0] <<
", " << deadba0[1] <<
", " << deadba0[2] <<
", " << deadba0[3] <<
", " << deadba0[4] <<
", " << deadba0[5] <<
", " << deadba0[6] <<
", " << deadba0[7] <<
", " << deadba0[8] <<
", " << deadba0[9] <<
", " << deadba0[10] <<
", " << deadba0[11] <<
", " << deadba0[12] <<
", " << deadba0[13] <<
", " << deadba0[14] <<
", " << deadba0[15] <<
", " << deadba0[16] <<
", " << deadba0[17] <<
", " << deadba0[18] <<
", " << deadba0[19] <<
", " << deadba0[20] <<
", " << deadba0[21] <<
", " << deadba0[22] <<
", " << deadba0[23] <<
", " << deadba0[24] <<
", " << deadba0[25] <<
", " << deadba0[26] <<
", " << deadba0[27] <<
", " << deadba0[28] <<
", " << deadba0[29] <<
", " << deadba0[30] <<
", " << deadba0[31] <<
"}; ");
255 ATH_MSG_INFO(
"deadba1[] = { " << deadba1[0] <<
", " << deadba1[1] <<
", " << deadba1[2] <<
", " << deadba1[3] <<
", " << deadba1[4] <<
", " << deadba1[5] <<
", " << deadba1[6] <<
", " << deadba1[7] <<
", " << deadba1[8] <<
", " << deadba1[9] <<
", " << deadba1[10] <<
", " << deadba1[11] <<
", " << deadba1[12] <<
", " << deadba1[13] <<
", " << deadba1[14] <<
", " << deadba1[15] <<
", " << deadba1[16] <<
", " << deadba1[17] <<
", " << deadba1[18] <<
", " << deadba1[19] <<
", " << deadba1[20] <<
", " << deadba1[21] <<
", " << deadba1[22] <<
", " << deadba1[23] <<
", " << deadba1[24] <<
", " << deadba1[25] <<
", " << deadba1[26] <<
", " << deadba1[27] <<
", " << deadba1[28] <<
", " << deadba1[29] <<
", " << deadba1[30] <<
", " << deadba1[31] <<
"};");
257 ATH_MSG_INFO(
"deadba2[]= { " << deadba2[0] <<
", " << deadba2[1] <<
", " << deadba2[2] <<
", " << deadba2[3] <<
", " << deadba2[4] <<
", " << deadba2[5] <<
", " << deadba2[6] <<
", " << deadba2[7] <<
", " << deadba2[8] <<
", " << deadba2[9] <<
", " << deadba2[10] <<
", " << deadba2[11] <<
", " << deadba2[12] <<
", " << deadba2[13] <<
", " << deadba2[14] <<
", " << deadba2[15] <<
", " << deadba2[16] <<
", " << deadba2[17] <<
", " << deadba2[18] <<
", " << deadba2[19] <<
", " << deadba2[20] <<
", " << deadba2[21] <<
", " << deadba2[22] <<
", " << deadba2[23] <<
", " << deadba2[24] <<
", " << deadba2[25] <<
", " << deadba2[26] <<
", " << deadba2[27] <<
", " << deadba2[28] <<
", " << deadba2[29] <<
", " << deadba2[30] <<
", " << deadba2[31] <<
"}; ");
260 ATH_MSG_INFO(
"deadbc0[] = { " << deadbc0[0] <<
", " << deadbc0[1] <<
", " << deadbc0[2] <<
", " << deadbc0[3] <<
", " << deadbc0[4] <<
", " << deadbc0[5] <<
", " << deadbc0[6] <<
", " << deadbc0[7] <<
", " << deadbc0[8] <<
", " << deadbc0[9] <<
", " << deadbc0[10] <<
", " << deadbc0[11] <<
", " << deadbc0[12] <<
", " << deadbc0[13] <<
", " << deadbc0[14] <<
", " << deadbc0[15] <<
", " << deadbc0[16] <<
", " << deadbc0[17] <<
", " << deadbc0[18] <<
", " << deadbc0[19] <<
", " << deadbc0[20] <<
", " << deadbc0[21] <<
", " << deadbc0[22] <<
", " << deadbc0[23] <<
", " << deadbc0[24] <<
", " << deadbc0[25] <<
", " << deadbc0[26] <<
", " << deadbc0[27] <<
", " << deadbc0[28] <<
", " << deadbc0[29] <<
", " << deadbc0[30] <<
", " << deadbc0[31] <<
"}; ");
262 ATH_MSG_INFO(
"deadbc1[] = { " << deadbc1[0] <<
", " << deadbc1[1] <<
", " << deadbc1[2] <<
", " << deadbc1[3] <<
", " << deadbc1[4] <<
", " << deadbc1[5] <<
", " << deadbc1[6] <<
", " << deadbc1[7] <<
", " << deadbc1[8] <<
", " << deadbc1[9] <<
", " << deadbc1[10] <<
", " << deadbc1[11] <<
", " << deadbc1[12] <<
", " << deadbc1[13] <<
", " << deadbc1[14] <<
", " << deadbc1[15] <<
", " << deadbc1[16] <<
", " << deadbc1[17] <<
", " << deadbc1[18] <<
", " << deadbc1[19] <<
", " << deadbc1[20] <<
", " << deadbc1[21] <<
", " << deadbc1[22] <<
", " << deadbc1[23] <<
", " << deadbc1[24] <<
", " << deadbc1[25] <<
", " << deadbc1[26] <<
", " << deadbc1[27] <<
", " << deadbc1[28] <<
", " << deadbc1[29] <<
", " << deadbc1[30] <<
", " << deadbc1[31] <<
"};");
264 ATH_MSG_INFO(
"deadbc2[]= { " << deadbc2[0] <<
", " << deadbc2[1] <<
", " << deadbc2[2] <<
", " << deadbc2[3] <<
", " << deadbc2[4] <<
", " << deadbc2[5] <<
", " << deadbc2[6] <<
", " << deadbc2[7] <<
", " << deadbc2[8] <<
", " << deadbc2[9] <<
", " << deadbc2[10] <<
", " << deadbc2[11] <<
", " << deadbc2[12] <<
", " << deadbc2[13] <<
", " << deadbc2[14] <<
", " << deadbc2[15] <<
", " << deadbc2[16] <<
", " << deadbc2[17] <<
", " << deadbc2[18] <<
", " << deadbc2[19] <<
", " << deadbc2[20] <<
", " << deadbc2[21] <<
", " << deadbc2[22] <<
", " << deadbc2[23] <<
", " << deadbc2[24] <<
", " << deadbc2[25] <<
", " << deadbc2[26] <<
", " << deadbc2[27] <<
", " << deadbc2[28] <<
", " << deadbc2[29] <<
", " << deadbc2[30] <<
", " << deadbc2[31] <<
"}; ");
267 ATH_MSG_INFO(
"deadea[] = { " << deadea[0] <<
", " << deadea[1] <<
", " << deadea[2] <<
", " << deadea[3] <<
", " << deadea[4] <<
", " << deadea[5] <<
", " << deadea[6] <<
", " << deadea[7] <<
", " << deadea[8] <<
", " << deadea[9] <<
", " << deadea[10] <<
", " << deadea[11] <<
", " << deadea[12] <<
", " << deadea[13] <<
"}; ");
269 ATH_MSG_INFO(
"deadec[] = { " << deadec[0] <<
", " << deadec[1] <<
", " << deadec[2] <<
", " << deadec[3] <<
", " << deadec[4] <<
", " << deadec[5] <<
", " << deadec[6] <<
", " << deadec[7] <<
", " << deadec[8] <<
", " << deadec[9] <<
", " << deadec[10] <<
", " << deadec[11] <<
", " << deadec[12] <<
", " << deadec[13] <<
"}; ");
271 ATH_MSG_INFO(
"Recording StrawStatus Container. Number of dead straws " <<
line <<
" straws");
275 return StatusCode::FAILURE;
282 return StatusCode::SUCCESS;
◆ readStatHTFromTextFile()
StatusCode TRTStrawStatusWrite::readStatHTFromTextFile |
( |
const std::string & |
filename | ) |
|
|
virtual |
Definition at line 285 of file TRTStrawStatusWrite.cxx.
290 strawstatusHT->clear();
292 ATH_MSG_INFO(
" ***************** TRTStrawStatusWrite ************************ ");
295 std::ifstream ifsHT(
filename.c_str());
304 for (
int l = 0;
l < 3;
l++)
313 for (
int l = 0;
l < 14;
l++)
388 ATH_MSG_FATAL(
" The HT Status: " <<
status <<
" IS NOT ACCEPTED, 4 for Argon, 5 for Krypton!! "
389 <<
" Or 6 or 7 for emulated types!");
390 return StatusCode::FAILURE;
394 ATH_MSG_INFO(
"HT Status. Read " <<
line <<
" layers. " <<
" Xenon: " << lineXe <<
" Argon: " << lineAr <<
" Krypton: " << lineKr <<
" EmulateArgon: " << lineEAr <<
" EmulateKrypton: " << lineEKr);
399 return StatusCode::FAILURE;
410 return StatusCode::SUCCESS;
◆ readStatPermFromTextFile()
StatusCode TRTStrawStatusWrite::readStatPermFromTextFile |
( |
const std::string & |
filename | ) |
|
|
virtual |
Definition at line 413 of file TRTStrawStatusWrite.cxx.
417 strawstatuspermanent->clear();
421 std::ifstream ifspermanent(
filename.c_str());
435 for (
int i = 0;
i <= nStrawsInLayer;
i++)
453 return StatusCode::FAILURE;
461 std::cout <<
" Read permanent dead module from txt: " <<
bec <<
" ,sector " << sector <<
" ,straw " <<
straw <<
" ,strawlayer " << strawlayer <<
" ,layer " <<
layer <<
" ,status " <<
status << std::endl;
473 for (
int i = 0;
i <= nStrawsInLayer;
i++)
488 ATH_MSG_DEBUG(
"Permanent dead ids: bec: " <<
bec <<
" layer: " <<
layer <<
" phi: " << sector <<
" stl: " << strawlayer <<
" stw: " <<
straw);
491 ATH_MSG_INFO(
" Record Permanent Straw Status. Dead modules : " << nmodu <<
" Number of lines: " <<
line <<
" of dead identifiers ");
495 return StatusCode::FAILURE;
502 return StatusCode::SUCCESS;
◆ renounce()
◆ renounceArray()
◆ set_status_permanent()
Definition at line 96 of file TRTStrawStatusWrite.cxx.
103 unsigned int org_stat =
int((*strawstatuspermanentcontainer).get(
id).getstatus());
104 const unsigned int statusbitmask = 1 << 8;
108 (*strawstatuspermanentcontainer).set(
id, (org_stat | statusbitmask));
112 (*strawstatuspermanentcontainer).set(
id, (org_stat & (~statusbitmask)));
◆ set_status_temp()
Definition at line 75 of file TRTStrawStatusWrite.cxx.
82 unsigned int org_stat =
int((*strawstatuscontainer).get(
id).getstatus());
83 const unsigned int statusbitmask = 1 << 8;
87 (*strawstatuscontainer).set(
id, (org_stat | statusbitmask));
91 (*strawstatuscontainer).set(
id, (org_stat & (~statusbitmask)));
◆ sysInitialize()
StatusCode AthAlgorithm::sysInitialize |
( |
| ) |
|
|
overridevirtualinherited |
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_detStore
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ m_par_stattextfile
Gaudi::Property<std::string> TRTStrawStatusWrite::m_par_stattextfile {this, "StatusInputFile", "", "input text file"} |
|
private |
◆ m_par_stattextfileHT
Gaudi::Property<std::string> TRTStrawStatusWrite::m_par_stattextfileHT {this, "StatusInputFileHT", "", "input text file: HT"} |
|
private |
◆ m_par_stattextfilepermanent
Gaudi::Property<std::string> TRTStrawStatusWrite::m_par_stattextfilepermanent {this, "StatusInputFilePermanent", "", "input text file: permanent"} |
|
private |
◆ m_par_strawstatuscontainerkey
Gaudi::Property<std::string> TRTStrawStatusWrite::m_par_strawstatuscontainerkey {this, "StrawStatusKey", "/TRT/Cond/Status", ""} |
|
private |
◆ m_par_strawstatusHTcontainerkey
Gaudi::Property<std::string> TRTStrawStatusWrite::m_par_strawstatusHTcontainerkey {this, "StrawStatusHTKey", "/TRT/Cond/StatusHT", ""} |
|
private |
◆ m_par_strawstatuspermanentcontainerkey
Gaudi::Property<std::string> TRTStrawStatusWrite::m_par_strawstatuspermanentcontainerkey {this, "StrawStatusPermanentKey", "/TRT/Cond/StatusPermanent", ""} |
|
private |
◆ m_status
◆ m_trtid
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
int straw_max(const Identifier &id) const
TRTCond::StrawStatusMultChanContainer StrawStatusContainer
std::vector< Identifier > ID
Gaudi::Property< std::string > m_par_stattextfilepermanent
virtual StatusCode readStatFromTextFile(const std::string &filename)
Gaudi::Property< std::string > m_par_strawstatuscontainerkey
const_id_iterator straw_layer_end() const
const_id_iterator straw_layer_begin() const
Iterators over full set of straw_layer ids. Straw_layer ids are sorted.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
Gaudi::Property< std::string > m_par_strawstatusHTcontainerkey
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Gaudi::Property< std::string > m_par_stattextfile
int straw(const Identifier &id) const
virtual StatusCode sysInitialize() override
Override sysInitialize.
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
virtual void set_status_temp(StrawStatusContainer *ssc, Identifier offlineID, bool set)
Gaudi::Property< std::string > m_par_strawstatuspermanentcontainerkey
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
int straw_layer(const Identifier &id) const
virtual StatusCode readStatPermFromTextFile(const std::string &filename)
int layer_or_wheel(const Identifier &id) const
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
int phi_module(const Identifier &id) const
DataObjIDColl m_extendedExtraObjects
#define ATH_MSG_WARNING(x)
virtual StatusCode readStatHTFromTextFile(const std::string &filename)
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Gaudi::Property< std::string > m_par_stattextfileHT
AthAlgorithm()
Default constructor:
Identifier for TRT detector elements in the conditions code.
Identifier straw_id(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer, int straw) const
Three ways of getting id for a single straw: