ATLAS Offline Software
Loading...
Searching...
No Matches
LArNoisyROAlg Class Reference

Find list of suspicious preamplifiers and Front End Boards from cell collection. More...

#include <LArNoisyROAlg.h>

Inheritance diagram for LArNoisyROAlg:
Collaboration diagram for LArNoisyROAlg:

Public Types

typedef std::map< int, int > hvmap_type

Public Member Functions

 LArNoisyROAlg (const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize () override
virtual StatusCode execute (const EventContext &ctx) const override
virtual StatusCode finalize () override
virtual StatusCode sysInitialize () override
 Override sysInitialize.
virtual bool isClonable () const override
 Specify if the algorithm is clonable.
virtual unsigned int cardinality () const override
 Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm.
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies.
virtual bool filterPassed (const EventContext &ctx) const
virtual void setFilterPassed (bool state, const EventContext &ctx) const
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

ToolHandle< ILArNoisyROToolm_noisyROTool
Gaudi::Property< bool > m_isMC { this, "isMC", false, "Are we working with simu?" }
SG::ReadHandleKey< xAOD::EventInfom_eventInfoKey {this,"EventInfoKey","EventInfo"}
SG::WriteDecorHandleKey< xAOD::EventInfom_eventInfoDecorKey {this, "EventInfoDecorKey", m_eventInfoKey, "larFlags"}
SG::ReadHandleKey< CaloCellContainerm_CaloCellContainerName {this, "CaloCellContainer", "AllCalo", "input cell container key"}
SG::WriteHandleKey< LArNoisyROSummarym_outputKey {this, "OutputKey", "LArNoisyROSummary", "output object key"}
SG::ReadCondHandleKey< LArBadFebContm_knownBadFEBsVecKey {this, "BadFEBsKey", "LArKnownBadFEBs", "key to read the known Bad FEBs"}
SG::ReadCondHandleKey< LArBadFebContm_knownMNBFEBsVecKey {this, "MNBFEBsKey", "LArKnownMNBFEBs", "key to read the known MNB FEBs"}
SG::ReadCondHandleKey< LArHVNMapm_hvMapKey {this, "HVMapKey", "", "key to read HVline Ncells map"}
SG::ReadCondHandleKey< CaloDetDescrManagerm_caloDetDescrMgrKey {this,"CaloDetDescrManager", "CaloDetDescrManager"}
SG::ReadCondHandleKey< LArHVIdMappingm_hvCablingKey {this, "LArHVIdMapping", "", "SG key for HV ID mapping"}
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default)
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Find list of suspicious preamplifiers and Front End Boards from cell collection.

Created September 28, 2009 L. Duflot Modified May, 2014 B.Trocme

  • Remove saturated medium cut
  • Create a new weighted Std algorithm Modified October 2024 P. Strizenec
  • added noisy HV lines flagging

Definition at line 38 of file LArNoisyROAlg.h.

Member Typedef Documentation

◆ hvmap_type

typedef std::map<int, int> LArNoisyROAlg::hvmap_type

Definition at line 47 of file LArNoisyROAlg.h.

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ LArNoisyROAlg()

LArNoisyROAlg::LArNoisyROAlg ( const std::string & name,
ISvcLocator * pSvcLocator )

Definition at line 20 of file LArNoisyROAlg.cxx.

20 :
21 AthReentrantAlgorithm (name, pSvcLocator),
22 m_noisyROTool("LArNoisyROTool",this)
23{
25}
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ToolHandle< ILArNoisyROTool > m_noisyROTool

Member Function Documentation

◆ cardinality()

unsigned int AthCommonReentrantAlgorithm< Gaudi::Algorithm >::cardinality ( ) const
overridevirtualinherited

Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.

Override this to return 0 for reentrant algorithms.

Definition at line 75 of file AthCommonReentrantAlgorithm.cxx.

64{
65 return 0;
66}

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ execute()

StatusCode LArNoisyROAlg::execute ( const EventContext & ctx) const
overridevirtual

Definition at line 42 of file LArNoisyROAlg.cxx.

43{
44 SG::ReadHandle<CaloCellContainer> cellContainer(m_CaloCellContainerName, ctx);
45 if (!cellContainer.isValid()) {
46 ATH_MSG_WARNING( " Can not retrieve CaloCellContainer: " << m_CaloCellContainerName.key());
47 ATH_MSG_WARNING( " Empty object recorded !");
48
49 const std::set<unsigned int> knownBadFEBs;
50 const std::vector<HWIdentifier> knownMNBFEBs;
51 SG::WriteHandle<LArNoisyROSummary> noisyRO(m_outputKey, ctx);
52 ATH_CHECK(noisyRO.record(m_noisyROTool->process(ctx,nullptr, &knownBadFEBs, &knownMNBFEBs, nullptr, nullptr, nullptr)));
53
54 return StatusCode::SUCCESS;
55 }
56
57 const EventIDBase& EIHandle = ctx.eventID();
58 long int thisTimeStamp = (EIHandle).time_stamp();
59 long int thisTimeStampns = (EIHandle).time_stamp_ns_offset();
60 uint32_t thisLB = (EIHandle).lumi_block();
61 unsigned long long thisEv = (EIHandle).event_number();
62 ATH_MSG_DEBUG ( name() << " processing EN : " << thisEv << " in LB : " << thisLB << " TS : " << thisTimeStamp << " TSNS : " << thisTimeStampns );
63
64 std::set<unsigned int> bf;
65 std::vector<HWIdentifier> MNBfeb;
66 const LArHVNMap* hvmap=nullptr;
67 const CaloDetDescrManager* cddm=nullptr;
68 const LArHVIdMapping* hvid=nullptr;
69 if (! m_isMC) {
70 SG::ReadCondHandle<LArBadFebCont> badHdl(m_knownBadFEBsVecKey, ctx);
71 const LArBadFebCont* badCont=*badHdl;
72 if(badCont) {
73 for(LArBadFebCont::BadChanVec::const_iterator i = badCont->begin(); i!=badCont->end(); ++i) {
74 bf.insert(i->first);
75 }
76 }
77
78 SG::ReadCondHandle<LArBadFebCont> MNBHdl(m_knownMNBFEBsVecKey, ctx);
79 const LArBadFebCont* MNBCont=*MNBHdl;
80 if(MNBCont) {
81 for(LArBadFebCont::BadChanVec::const_iterator i = MNBCont->begin(); i!=MNBCont->end(); ++i) {
82 MNBfeb.emplace_back(i->first);
83 }
84 }
85
86 if(!m_hvMapKey.empty()) {
87 SG::ReadCondHandle<LArHVNMap> hvMapHdl(m_hvMapKey, ctx);
88 if(!hvMapHdl.isValid()) {
89 ATH_MSG_WARNING( " Can not retrieve HVline nCells: " << m_hvMapKey.key());
90 ATH_MSG_WARNING( " Will not flag HV lines noise !");
91 } else {
92 hvmap = *hvMapHdl;
93 }
94 }
95
96 SG::ReadCondHandle<CaloDetDescrManager> cddmHdl(m_caloDetDescrMgrKey, ctx);
97 if(!cddmHdl.isValid()) {
98 ATH_MSG_WARNING( " Can not retrieve CaloDetDesrManager: " << m_caloDetDescrMgrKey.key());
99 ATH_MSG_WARNING( " Will not flag HV lines noise !");
100 } else {
101 cddm = *cddmHdl;
102 }
103
104 if(!m_hvCablingKey.empty()){
105 SG::ReadCondHandle<LArHVIdMapping> hvidHdl(m_hvCablingKey, ctx);
106 if(!hvidHdl.isValid()) {
107 ATH_MSG_WARNING( " Can not retrieve LArHVIdMapping: " << m_hvCablingKey.key());
108 ATH_MSG_WARNING( " Will not flag HV lines noise !");
109 } else {
110 hvid = *hvidHdl;
111 }
112 }
113 }
114
115 ATH_MSG_DEBUG("Number of known Bad FEBs: "<<bf.size());
116 ATH_MSG_DEBUG("Number of known MNB FEBs: "<<MNBfeb.size());
117
118
119
120 SG::WriteHandle<LArNoisyROSummary> noisyRO(m_outputKey, ctx);
121 ATH_CHECK(noisyRO.record(m_noisyROTool->process(ctx,cellContainer.cptr(), &bf, &MNBfeb, hvmap, cddm, hvid)));
122 ATH_MSG_DEBUG("Recorded LArNoisyROSummary with key: "<<m_outputKey.key());
123
124
125 bool badFEBFlag=noisyRO->BadFEBFlaggedPartitions();
126 bool badFEBFlag_W=noisyRO->BadFEB_WFlaggedPartitions();
127 bool badSaturatedTightCut=noisyRO->SatTightFlaggedPartitions();
128 bool MNBLooseCut=noisyRO->MNBLooseFlaggedPartitions();
129 bool MNBTightCut=noisyRO->MNBTightFlaggedPartitions();
130 bool MNBTight_PsVetoCut=noisyRO->MNBTight_PsVetoFlaggedPartitions();
131 bool badHVlinesFlag=noisyRO->HVlineFlaggedPartitions();
132
133 SG::ReadHandle<xAOD::EventInfo> eventInfo (m_eventInfoKey, ctx);
134 if ( badFEBFlag || badFEBFlag_W || badSaturatedTightCut || MNBLooseCut || MNBTightCut || MNBTight_PsVetoCut || badHVlinesFlag )
135 {
136 // retrieve EventInfo
137 bool failSetWARN=false;
138 bool failSetWARNREASON=false;
139 // set warning flag except if the error flag has been already set
140 if ( eventInfo->errorState(xAOD::EventInfo::LAr) != xAOD::EventInfo::Error) {
141 if ( badFEBFlag ) {
142 failSetWARN |= (!eventInfo->updateErrorState(xAOD::EventInfo::LAr,xAOD::EventInfo::Warning));
143 failSetWARNREASON |= (!eventInfo->updateEventFlagBit(xAOD::EventInfo::LAr,LArEventBitInfo::BADFEBS));
144 }//endif badFEBFlag
145
146 if ( badFEBFlag_W ) {
147 //Set WARNING Flag
148 failSetWARN |=(!eventInfo->updateErrorState(xAOD::EventInfo::LAr,xAOD::EventInfo::Warning));
149 // Set reason why event was flagged
150 failSetWARNREASON |=(!eventInfo->updateEventFlagBit(xAOD::EventInfo::LAr,LArEventBitInfo::BADFEBS_W));
151 }// end if badFEBFlag_W
152
153 if ( badSaturatedTightCut ){
154 failSetWARNREASON |= (!eventInfo->updateEventFlagBit(xAOD::EventInfo::LAr,LArEventBitInfo::TIGHTSATURATEDQ));
155 }
156 }
157
158 if ( MNBTightCut ) {
159 failSetWARN |=(!eventInfo->updateErrorState(xAOD::EventInfo::LAr,xAOD::EventInfo::Warning));
160 // Set reason why event was flagged
161 failSetWARNREASON |=(!eventInfo->updateEventFlagBit(xAOD::EventInfo::LAr,LArEventBitInfo::MININOISEBURSTTIGHT));
162 }
163
164 if ( MNBTight_PsVetoCut ) {
165 failSetWARN |=(!eventInfo->updateErrorState(xAOD::EventInfo::LAr,xAOD::EventInfo::Warning));
166 // Set reason why event was flagged
167 failSetWARNREASON |=(!eventInfo->updateEventFlagBit(xAOD::EventInfo::LAr,LArEventBitInfo::MININOISEBURSTTIGHT_PSVETO));
168 }
169
170 if ( MNBLooseCut ) { //FIXME Tight cut actually implies loose cut too
171 failSetWARNREASON |=(!eventInfo->updateEventFlagBit(xAOD::EventInfo::LAr,LArEventBitInfo::MININOISEBURSTLOOSE));
172 }
173
174 if ( badHVlinesFlag ) {
175 failSetWARN |= (!eventInfo->updateErrorState(xAOD::EventInfo::LAr,xAOD::EventInfo::Warning));
176 failSetWARNREASON |= (!eventInfo->updateEventFlagBit(xAOD::EventInfo::LAr,LArEventBitInfo::BADHVLINES));
177 }//endif badFEBFlag
178
179 if (failSetWARN) ATH_MSG_WARNING( "Failure during EventInfo::setEventErrorState(EventInfo::LAR,EventInfo::WARNING)" );
180 if (failSetWARNREASON) ATH_MSG_WARNING( "Failure during setEventFlagBit(EventInfo::LAr,...)" );
181
182 }
183 return StatusCode::SUCCESS;
184}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
#define ATH_MSG_DEBUG(x)
LArBadXCont< LArBadFeb > LArBadFebCont
const_iterator end() const
Access to the end iterator of the underlying vector.
const_iterator begin() const
Access to the begin iterator of the underlying vector.
BadChanVec::const_iterator const_iterator
SG::ReadCondHandleKey< LArHVNMap > m_hvMapKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
SG::ReadCondHandleKey< LArBadFebCont > m_knownMNBFEBsVecKey
SG::WriteHandleKey< LArNoisyROSummary > m_outputKey
SG::ReadCondHandleKey< LArBadFebCont > m_knownBadFEBsVecKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloDetDescrMgrKey
SG::ReadCondHandleKey< LArHVIdMapping > m_hvCablingKey
SG::ReadHandleKey< CaloCellContainer > m_CaloCellContainerName
Gaudi::Property< bool > m_isMC
@ LAr
The LAr calorimeter.
@ Warning
The sub-detector issued a warning.
@ Error
The sub-detector issued an error.
setEventNumber uint32_t

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

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 & AthCommonReentrantAlgorithm< Gaudi::Algorithm >::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 94 of file AthCommonReentrantAlgorithm.cxx.

90{
91 // If we didn't find any symlinks to add, just return the collection
92 // from the base class. Otherwise, return the extended collection.
93 if (!m_extendedExtraObjects.empty()) {
95 }
97}
An algorithm that can be simultaneously executed in multiple threads.

◆ filterPassed()

virtual bool AthCommonReentrantAlgorithm< Gaudi::Algorithm >::filterPassed ( const EventContext & ctx) const
inlinevirtualinherited

Definition at line 96 of file AthCommonReentrantAlgorithm.h.

96 {
97 return execState( ctx ).filterPassed();
98 }
virtual bool filterPassed(const EventContext &ctx) const

◆ finalize()

StatusCode LArNoisyROAlg::finalize ( )
overridevirtual

Definition at line 186 of file LArNoisyROAlg.cxx.

187{
188 return StatusCode::SUCCESS;
189}

◆ initialize()

StatusCode LArNoisyROAlg::initialize ( )
overridevirtual

Definition at line 27 of file LArNoisyROAlg.cxx.

27 {
28 ATH_CHECK(m_noisyROTool.retrieve());
30 ATH_CHECK(m_outputKey.initialize());
31 ATH_CHECK(m_eventInfoKey.initialize());
32 ATH_CHECK(m_eventInfoDecorKey.initialize());
35 ATH_CHECK(m_hvMapKey.initialize(!(m_isMC || m_hvMapKey.empty())));
37 ATH_CHECK(m_hvCablingKey.initialize(!( m_isMC || m_hvMapKey.empty())));
38
39 return StatusCode::SUCCESS;
40}
SG::WriteDecorHandleKey< xAOD::EventInfo > m_eventInfoDecorKey

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::inputHandles ( ) const
overridevirtualinherited

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.

◆ isClonable()

◆ msg()

MsgStream & AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles ( ) const
overridevirtualinherited

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.

◆ renounce()

std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381 {
382 h.renounce();
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ setFilterPassed()

virtual void AthCommonReentrantAlgorithm< Gaudi::Algorithm >::setFilterPassed ( bool state,
const EventContext & ctx ) const
inlinevirtualinherited

Definition at line 100 of file AthCommonReentrantAlgorithm.h.

100 {
102 }
virtual void setFilterPassed(bool state, const EventContext &ctx) const

◆ sysExecute()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysExecute ( const EventContext & ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Definition at line 85 of file AthCommonReentrantAlgorithm.cxx.

77{
78 return BaseAlg::sysExecute (ctx);
79}

◆ sysInitialize()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.

Reimplemented in HypoBase, and InputMakerBase.

Definition at line 61 of file AthCommonReentrantAlgorithm.cxx.

107 {
109
110 if (sc.isFailure()) {
111 return sc;
112 }
113
114 ServiceHandle<ICondSvc> cs("CondSvc",name());
115 for (auto h : outputHandles()) {
116 if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
117 // do this inside the loop so we don't create the CondSvc until needed
118 if ( cs.retrieve().isFailure() ) {
119 ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
120 return StatusCode::SUCCESS;
121 }
122 if (cs->regHandle(this,*h).isFailure()) {
124 ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
125 << " with CondSvc");
126 }
127 }
128 }
129 return sc;
130}
#define ATH_MSG_ERROR(x)
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308 {
309 // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310 // << " size: " << m_vhka.size() << endmsg;
311 for (auto &a : m_vhka) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }

Member Data Documentation

◆ m_CaloCellContainerName

SG::ReadHandleKey<CaloCellContainer> LArNoisyROAlg::m_CaloCellContainerName {this, "CaloCellContainer", "AllCalo", "input cell container key"}
private

Definition at line 55 of file LArNoisyROAlg.h.

55{this, "CaloCellContainer", "AllCalo", "input cell container key"};

◆ m_caloDetDescrMgrKey

SG::ReadCondHandleKey<CaloDetDescrManager> LArNoisyROAlg::m_caloDetDescrMgrKey {this,"CaloDetDescrManager", "CaloDetDescrManager"}
private

Definition at line 60 of file LArNoisyROAlg.h.

60{this,"CaloDetDescrManager", "CaloDetDescrManager"};

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_eventInfoDecorKey

SG::WriteDecorHandleKey<xAOD::EventInfo> LArNoisyROAlg::m_eventInfoDecorKey {this, "EventInfoDecorKey", m_eventInfoKey, "larFlags"}
private

Definition at line 54 of file LArNoisyROAlg.h.

54{this, "EventInfoDecorKey", m_eventInfoKey, "larFlags"};

◆ m_eventInfoKey

SG::ReadHandleKey<xAOD::EventInfo> LArNoisyROAlg::m_eventInfoKey {this,"EventInfoKey","EventInfo"}
private

Definition at line 53 of file LArNoisyROAlg.h.

53{this,"EventInfoKey","EventInfo"};

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthCommonReentrantAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 114 of file AthCommonReentrantAlgorithm.h.

◆ m_hvCablingKey

SG::ReadCondHandleKey<LArHVIdMapping> LArNoisyROAlg::m_hvCablingKey {this, "LArHVIdMapping", "", "SG key for HV ID mapping"}
private

Definition at line 61 of file LArNoisyROAlg.h.

61{this, "LArHVIdMapping", "", "SG key for HV ID mapping"};

◆ m_hvMapKey

SG::ReadCondHandleKey<LArHVNMap> LArNoisyROAlg::m_hvMapKey {this, "HVMapKey", "", "key to read HVline Ncells map"}
private

Definition at line 59 of file LArNoisyROAlg.h.

59{this, "HVMapKey", "", "key to read HVline Ncells map"};

◆ m_isMC

Gaudi::Property<bool> LArNoisyROAlg::m_isMC { this, "isMC", false, "Are we working with simu?" }
private

Definition at line 52 of file LArNoisyROAlg.h.

52{ this, "isMC", false, "Are we working with simu?" };

◆ m_knownBadFEBsVecKey

SG::ReadCondHandleKey<LArBadFebCont> LArNoisyROAlg::m_knownBadFEBsVecKey {this, "BadFEBsKey", "LArKnownBadFEBs", "key to read the known Bad FEBs"}
private

Definition at line 57 of file LArNoisyROAlg.h.

57{this, "BadFEBsKey", "LArKnownBadFEBs", "key to read the known Bad FEBs"};

◆ m_knownMNBFEBsVecKey

SG::ReadCondHandleKey<LArBadFebCont> LArNoisyROAlg::m_knownMNBFEBsVecKey {this, "MNBFEBsKey", "LArKnownMNBFEBs", "key to read the known MNB FEBs"}
private

Definition at line 58 of file LArNoisyROAlg.h.

58{this, "MNBFEBsKey", "LArKnownMNBFEBs", "key to read the known MNB FEBs"};

◆ m_noisyROTool

ToolHandle<ILArNoisyROTool> LArNoisyROAlg::m_noisyROTool
private

Definition at line 50 of file LArNoisyROAlg.h.

◆ m_outputKey

SG::WriteHandleKey<LArNoisyROSummary> LArNoisyROAlg::m_outputKey {this, "OutputKey", "LArNoisyROSummary", "output object key"}
private

Definition at line 56 of file LArNoisyROAlg.h.

56{this, "OutputKey", "LArNoisyROSummary", "output object key"};

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files: