ATLAS Offline Software
Loading...
Searching...
No Matches
Muon::MdtCondDbAlg Class Reference

#include <MdtCondDbAlg.h>

Inheritance diagram for Muon::MdtCondDbAlg:
Collaboration diagram for Muon::MdtCondDbAlg:

Public Member Functions

virtual ~MdtCondDbAlg ()=default
virtual StatusCode initialize () override
virtual StatusCode execute (const EventContext &) const override
virtual bool isReEntrant () const override
 Avoid scheduling algorithm multiple times.
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

using writeHandle_t = SG::WriteCondHandle<MdtCondDbData>
using dataBaseKey_t = SG::ReadCondHandleKey<CondAttrListCollection>
typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

StatusCode loadDependencies (const EventContext &ctx, writeHandle_t &wh) const
StatusCode addDHDependency (const EventContext &ctx, const dataBaseKey_t &key, writeHandle_t &wh) const
StatusCode loadDataPsHv (const EventContext &ctx, MdtCondDbData &dataOut) const
StatusCode loadDataPsLv (const EventContext &ctx, MdtCondDbData &dataOut) const
StatusCode loadDataHv (const EventContext &ctx, MdtCondDbData &dataOut) const
StatusCode loadDataLv (const EventContext &ctx, MdtCondDbData &dataOut) const
StatusCode loadDroppedChambers (const EventContext &ctx, MdtCondDbData &dataOut, bool isMC) const
StatusCode loadMcDeadElements (const EventContext &ctx, MdtCondDbData &dataOut) const
StatusCode loadMcDeadTubes (const EventContext &ctx, MdtCondDbData &dataOut) const
StatusCode loadMcNoisyChannels (const EventContext &ctx, MdtCondDbData &dataOut) const
Identifier identifyChamber (std::string chamber) const
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

Gaudi::Property< bool > m_isOnline {this, "isOnline", false}
Gaudi::Property< bool > m_isData {this, "isData", false}
Gaudi::Property< bool > m_isRun1 {this, "isRun1", false}
Gaudi::Property< bool > m_checkOnSetPoint {this, "useRun1SetPoints", false}
ServiceHandle< Muon::IMuonIdHelperSvcm_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"}
SG::WriteCondHandleKey< MdtCondDbDatam_writeKey {this, "WriteKey", "MdtCondDbData", "Key of output MDT condition data"}
dataBaseKey_t m_readKey_folder_da_pshv
dataBaseKey_t m_readKey_folder_da_psv0
dataBaseKey_t m_readKey_folder_da_psv1
dataBaseKey_t m_readKey_folder_da_pslv
dataBaseKey_t m_readKey_folder_da_droppedChambers
dataBaseKey_t m_readKey_folder_da_hv
dataBaseKey_t m_readKey_folder_da_lv
dataBaseKey_t m_readKey_folder_mc_droppedChambers
dataBaseKey_t m_readKey_folder_mc_deadElements
dataBaseKey_t m_readKey_folder_mc_deadTubes
dataBaseKey_t m_readKey_folder_mc_noisyChannels
std::map< std::string, Identifierm_chamberNames {}
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

Definition at line 21 of file MdtCondDbAlg.h.

Member Typedef Documentation

◆ dataBaseKey_t

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

◆ writeHandle_t

Constructor & Destructor Documentation

◆ ~MdtCondDbAlg()

virtual Muon::MdtCondDbAlg::~MdtCondDbAlg ( )
virtualdefault

Member Function Documentation

◆ addDHDependency()

StatusCode Muon::MdtCondDbAlg::addDHDependency ( const EventContext & ctx,
const dataBaseKey_t & key,
writeHandle_t & wh ) const
private

Definition at line 72 of file MdtCondDbAlg.cxx.

72 {
73 if (key.empty()) {
74 ATH_MSG_VERBOSE("Key is empty");
75 return StatusCode::SUCCESS;
76 }
77 SG::ReadCondHandle readHandle{key, ctx};
78 if (!readHandle.isValid()) {
79 ATH_MSG_FATAL("Failed to load conditions from "<<key.fullKey());
80 return StatusCode::FAILURE;
81 }
82 wh.addDependency(readHandle);
83 return StatusCode::SUCCESS;
84}
#define ATH_MSG_FATAL(x)
#define ATH_MSG_VERBOSE(x)
str wh
Definition parseDir.py:45

◆ 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 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ 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 Muon::MdtCondDbAlg::execute ( const EventContext & ctx) const
overridevirtual

Definition at line 101 of file MdtCondDbAlg.cxx.

101 {
102 ATH_MSG_DEBUG("execute " << name());
103
104 if (m_isOnline) {
105 ATH_MSG_DEBUG("IsOnline is set to True; nothing to do!");
106 return StatusCode::SUCCESS;
107 }
108
109 // launching Write Cond Handle
110 SG::WriteCondHandle writeHandle{m_writeKey, ctx};
111 if (writeHandle.isValid()) {
112 ATH_MSG_DEBUG("CondHandle " << writeHandle.fullKey() << " is already valid."
113 << " In theory this should not be called, but may happen"
114 << " if multiple concurrent events are being processed out of order.");
115 return StatusCode::SUCCESS;
116 }
117 auto writeCdo{std::make_unique<MdtCondDbData>(m_idHelperSvc->mdtIdHelper())};
118 ATH_CHECK(loadDependencies(ctx, writeHandle));
119 // retrieving data
120 if (m_isData && m_isRun1) {
121 ATH_CHECK(loadDataPsHv(ctx, *writeCdo));
122 ATH_CHECK(loadDataPsLv(ctx, *writeCdo));
123 ATH_CHECK(loadDroppedChambers(ctx, *writeCdo, false));
124 } else if (m_isData && !m_isRun1) {
125 ATH_CHECK(loadDataHv(ctx, *writeCdo));
126 ATH_CHECK(loadDataLv(ctx, *writeCdo));
127 } else {
128 ATH_CHECK(loadDroppedChambers(ctx, *writeCdo, true));
129 ATH_CHECK(loadMcNoisyChannels(ctx, *writeCdo));
130 // ATH_CHECK(loadMcDeadElements (rangeW, writeCdo.get(),ctx));// keep for future development
131 // ATH_CEHCK(loadMcDeadTubes (rangeW, writeCdo.get(),ctx));// keep for future development
132 }
133
134 ATH_CHECK(writeHandle.record(std::move(writeCdo)));
135 ATH_MSG_DEBUG("Recorded new " << writeHandle.key() << " with range " << writeHandle.getRange() << " into Conditions Store");
136
137 return StatusCode::SUCCESS;
138}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x)
Gaudi::Property< bool > m_isOnline
StatusCode loadDependencies(const EventContext &ctx, writeHandle_t &wh) const
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
StatusCode loadDataLv(const EventContext &ctx, MdtCondDbData &dataOut) const
Gaudi::Property< bool > m_isData
Gaudi::Property< bool > m_isRun1
SG::WriteCondHandleKey< MdtCondDbData > m_writeKey
StatusCode loadDataHv(const EventContext &ctx, MdtCondDbData &dataOut) const
StatusCode loadDataPsHv(const EventContext &ctx, MdtCondDbData &dataOut) const
StatusCode loadDataPsLv(const EventContext &ctx, MdtCondDbData &dataOut) const
StatusCode loadDroppedChambers(const EventContext &ctx, MdtCondDbData &dataOut, bool isMC) const
StatusCode loadMcNoisyChannels(const EventContext &ctx, MdtCondDbData &dataOut) const
const std::string & key() const
const EventIDRange & getRange() const
StatusCode record(const EventIDRange &range, T *t)
record handle, with explicit range DEPRECATED
const DataObjID & fullKey() const

◆ 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

◆ identifyChamber()

Identifier Muon::MdtCondDbAlg::identifyChamber ( std::string chamber) const
private

Definition at line 518 of file MdtCondDbAlg.cxx.

518 {
519 if (chamber[2] == 'Y' || chamber[2] == 'X') chamber[2] = 'S';
520 auto itr = m_chamberNames.find(chamber.substr(0, chamber.find('_')));
521 if (itr != m_chamberNames.end()) return itr->second;
522 ATH_MSG_DEBUG("The chamber "<<chamber<<" is unknown.");
523 return Identifier{};
524}
std::map< std::string, Identifier > m_chamberNames

◆ initialize()

StatusCode Muon::MdtCondDbAlg::initialize ( )
overridevirtual

m_readKey_folder_mc_deadElements.empty() && !m_isData

m_readKey_folder_mc_deadTubes.empty() && !m_isData

Definition at line 20 of file MdtCondDbAlg.cxx.

20 {
21 ATH_MSG_DEBUG("initializing " << name());
22
23 ATH_CHECK(m_idHelperSvc.retrieve());
24 ATH_CHECK(m_writeKey.initialize());
34 // The calls to the functions that use these two are commented out,
35 // so don't declare a dependencies on them.
37 ATH_CHECK(m_readKey_folder_mc_deadTubes.initialize(false ));
38
39 ServiceHandle<IGeoModelSvc> geoModel("GeoModelSvc", name());
40 ATH_CHECK(geoModel.retrieve());
41
42 std::string AtlasVersion = geoModel->atlasVersion();
43 std::string MuonVersion = geoModel->muonVersionOverride();
44 std::string detectorKey = MuonVersion.empty() ? AtlasVersion : MuonVersion;
45 std::string detectorNode = MuonVersion.empty() ? "ATLAS" : "MuonSpectrometer";
46
47 ServiceHandle<IRDBAccessSvc> accessSvc("RDBAccessSvc", name());
48 ATH_CHECK(accessSvc.retrieve());
49
50 IRDBRecordset_ptr switchSet = accessSvc->getRecordsetPtr("HwSwIdMapping", detectorKey, detectorNode);
51
52 if ((*switchSet).size() == 0) {
53 ATH_MSG_WARNING("Old Atlas Version : " << AtlasVersion << " Only Online Identifier. Falling back to HwSwIdMapping-00 tag");
54 switchSet = accessSvc->getRecordsetPtr("HwSwIdMapping", "HwSwIdMapping-00");
55 }
56
57 for (unsigned int irow = 0; irow < (*switchSet).size(); ++irow) {
58 const IRDBRecord* switches = (*switchSet)[irow];
59 std::string hardwareName = switches->getString("HARDNAME");
60 std::string stName = switches->getString("SOFTNAME");
61 int stPhi = switches->getInt("SOFTOCTANT");
62 int stEta = switches->getInt("SOFTIZ");
63 bool isValid{false};
64 Identifier ChamberId = m_idHelperSvc->mdtIdHelper().elementID(stName, stEta, stPhi, isValid);
65 if (!isValid) continue;
66
67 m_chamberNames[hardwareName] = ChamberId;
68 }
69
70 return StatusCode::SUCCESS;
71}
#define ATH_MSG_WARNING(x)
bool isValid(const T &p)
Av: we implement here an ATLAS-sepcific convention: all particles which are 99xxxxx are fine.
Definition AtlasPID.h:878
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
virtual const std::string & getString(const std::string &fieldName) const =0
Get string field value.
virtual int getInt(const std::string &fieldName) const =0
Get int field value.
dataBaseKey_t m_readKey_folder_mc_droppedChambers
dataBaseKey_t m_readKey_folder_da_hv
dataBaseKey_t m_readKey_folder_mc_deadTubes
dataBaseKey_t m_readKey_folder_da_pslv
dataBaseKey_t m_readKey_folder_da_psv1
dataBaseKey_t m_readKey_folder_mc_deadElements
dataBaseKey_t m_readKey_folder_da_psv0
dataBaseKey_t m_readKey_folder_da_lv
dataBaseKey_t m_readKey_folder_mc_noisyChannels
dataBaseKey_t m_readKey_folder_da_droppedChambers
Gaudi::Property< bool > m_checkOnSetPoint
dataBaseKey_t m_readKey_folder_da_pshv
const std::string & stName(StIndex index)
convert StIndex into a string

◆ 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()

◆ isReEntrant()

virtual bool AthCondAlgorithm::isReEntrant ( ) const
inlineoverridevirtualinherited

Avoid scheduling algorithm multiple times.

With multiple concurrent events, conditions objects often expire simultaneously for all slots. To avoid that the scheduler runs the CondAlg in each slot, we declare it as "non-reentrant". This ensures that the conditions objects are only created once.

In case a particular CondAlg should behave differently, it can override this method again and return true.

See also
ATEAM-836

Definition at line 39 of file AthCondAlgorithm.h.

39{ return false; }

◆ loadDataHv()

StatusCode Muon::MdtCondDbAlg::loadDataHv ( const EventContext & ctx,
MdtCondDbData & dataOut ) const
private

Definition at line 302 of file MdtCondDbAlg.cxx.

302 {
303 SG::ReadCondHandle readCdo{m_readKey_folder_da_hv, ctx};
304
305 ATH_MSG_DEBUG("Size of CondAttrListCollection " << readCdo.fullKey() << " readCdo->size()= " << readCdo->size());
306 for (const auto& [chanNum, atr] : **readCdo) {
307 if (!atr.size()) { continue; }
308
309 const std::string& hv_payload = readCdo->chanName(chanNum);
310 const std::string& hv_name_ml1{*(static_cast<const std::string*>((atr["fsmCurrentState_ML1"]).addressOfData()))};
311 const std::string& hv_name_ml2{*(static_cast<const std::string*>((atr["fsmCurrentState_ML2"]).addressOfData()))};
312 const float hv_v0_ml1{*(static_cast<const float*>((atr["v0set_ML1"]).addressOfData()))};
313 const float hv_v1_ml1{*(static_cast<const float*>((atr["v1set_ML1"]).addressOfData()))};
314 const float hv_v0_ml2{*(static_cast<const float*>((atr["v0set_ML2"]).addressOfData()))};
315 const float hv_v1_ml2{*(static_cast<const float*>((atr["v1set_ML2"]).addressOfData()))};
316
317 Identifier chamberId = identifyChamber(hv_payload);
318 if (!chamberId.is_valid()) continue;
319 auto addChamber = [&](const DcsFsmState& dcsState,
320 const float standbyVolt,
321 const float readyVolt,
322 const int multiLayer) {
323 const MdtIdHelper& idHelper{m_idHelperSvc->mdtIdHelper()};
324 if (multiLayer > idHelper.numberOfMultilayers(chamberId)) return;
325 const Identifier mlId = idHelper.multilayerID(chamberId, multiLayer);
326 constexpr std::array<DcsFsmState, 3> goodStates{DcsFsmState::ON, DcsFsmState::STANDBY, DcsFsmState::UNKNOWN};
327 if ( (std::find(goodStates.begin(), goodStates.end(), dcsState) == goodStates.end()) ||
328 (dcsState != DcsFsmState::ON && readyVolt != standbyVolt)) {
329 writeCdo.setDeadMultilayer(mlId);
330 }
331 writeCdo.setHvState(mlId, dcsState, standbyVolt, readyVolt);
332 };
333 addChamber(getFsmStateEnum(hv_name_ml1), hv_v0_ml1, hv_v1_ml1, 1);
334 addChamber(getFsmStateEnum(hv_name_ml2), hv_v0_ml2, hv_v1_ml2, 2);
335 }
336 return StatusCode::SUCCESS;
337}
bool is_valid() const
Check if id is in a valid state.
Identifier multilayerID(const Identifier &channeldID) const
int numberOfMultilayers(const Identifier &id) const
Identifier identifyChamber(std::string chamber) const
const DataObjID & fullKey() const
DcsFsmState getFsmStateEnum(const std::string &fsmState)
Definition Defs.cxx:8

◆ loadDataLv()

StatusCode Muon::MdtCondDbAlg::loadDataLv ( const EventContext & ctx,
MdtCondDbData & dataOut ) const
private

Definition at line 340 of file MdtCondDbAlg.cxx.

340 {
341 SG::ReadCondHandle readHandle{m_readKey_folder_da_lv, ctx};
342 const CondAttrListCollection* readCdo{*readHandle};
343 if (!readCdo) {
344 ATH_MSG_ERROR("Null pointer to the read conditions object");
345 return StatusCode::FAILURE;
346 }
347 ATH_MSG_DEBUG("Size of CondAttrListCollection " << readHandle.fullKey() << " readCdo->size()= " << readCdo->size());
348
349 for (const auto& [chanNum, atr] : *readCdo) {
350 if (!atr.size()) { continue; }
351 const std::string& lv_payload = readCdo->chanName(chanNum);
352 const std::string& lv_name{*static_cast<const std::string*>((atr["fsmCurrentState_LV"]).addressOfData())};
353 if (lv_payload.empty() || lv_name.empty()){
354 ATH_MSG_WARNING("The read data with chanNum "<<chanNum<<", lv_payload: "<<lv_payload<<", hv_name: "<<lv_name
355 <<". Does not have any fsmCurrentState_LV attribute. "
356 <<"May be this is related to ATLASRECTS-6920 / ATLASRECTS-6879. Skip it");
357 continue;
358 }
359 ATH_MSG_VERBOSE("Channel "<<lv_name<<" "<<lv_payload);
360 auto tokens = tokenize(lv_name, " ");
361
362 if (tokens[0] != "ON") {
363 Identifier ChamberId = identifyChamber(lv_payload);
364 writeCdo.setDeadChamber(ChamberId);
365 }
366 }
367
368 return StatusCode::SUCCESS;
369}
#define ATH_MSG_ERROR(x)
size_type size() const
number of Chan/AttributeList pairs
std::vector< std::string > tokenize(const std::string &the_str, std::string_view delimiters)
Splits the string into smaller substrings.

◆ loadDataPsHv()

StatusCode Muon::MdtCondDbAlg::loadDataPsHv ( const EventContext & ctx,
MdtCondDbData & dataOut ) const
private

Definition at line 141 of file MdtCondDbAlg.cxx.

141 {
142 SG::ReadCondHandle readHandle{m_readKey_folder_da_pshv, ctx};
143 const CondAttrListCollection* readCdo{*readHandle};
144 if (!readCdo) {
145 ATH_MSG_ERROR("Null pointer to the read conditions object");
146 return StatusCode::FAILURE;
147 }
148
149 ATH_MSG_DEBUG("Size of CondAttrListCollection " << readHandle.fullKey() << " readCdo->size()= " << readCdo->size());
150
151 std::vector<Identifier> cachedDeadMultiLayersId_standby;
152 for (const readOutPair& itr : *readCdo) {
153 const unsigned int chanNum = itr.first;
154 const coral::AttributeList& atr = itr.second;
155 const std::string& hv_payload = readCdo->chanName(chanNum);
156 std::string hv_name;
157
158 if (atr.size() == 1) {
159 hv_name = *(static_cast<const std::string*>((atr["fsm_currentState"]).addressOfData()));
160
161 auto tokens = tokenize(hv_name, " ");
162 auto tokens2 = tokenize(hv_payload, "_");
163
164 if (tokens[0] != "ON" && tokens[0] != "STANDBY" && tokens[0] != "UNKNOWN") {
165 int multilayer = atoi(tokens2[3]);
166 const auto &chamber_name = tokens2[2];
167 Identifier ChamberId = identifyChamber(chamber_name);
168 if (ChamberId.is_valid()) {
169 Identifier MultiLayerId = m_idHelperSvc->mdtIdHelper().channelID(ChamberId, multilayer, 1, 1);
170 writeCdo.setDeadMultilayer(MultiLayerId);
171 writeCdo.setDeadChamber(ChamberId);
172 cachedDeadMultiLayersId_standby.push_back(MultiLayerId);
173 }
174 }
175 if (tokens[0] == "STANDBY") {
176 int multilayer = atoi(tokens2[3]);
177 const auto &chamber_name = tokens2[2];
178 Identifier ChamberId = identifyChamber(chamber_name);
179 if (ChamberId.is_valid()) {
180 Identifier MultiLayerId = m_idHelperSvc->mdtIdHelper().channelID(ChamberId, multilayer, 1, 1);
181 writeCdo.setDeadMultilayer(MultiLayerId);
182 writeCdo.setDeadChamber(ChamberId);
183 cachedDeadMultiLayersId_standby.push_back(MultiLayerId);
184 }
185 }
186 }
187 }
188
189 // moving on to SetPoints
190 if (!m_checkOnSetPoint) return StatusCode::SUCCESS;
191
192 std::map<Identifier, float> chamberML_V1;
193 std::map<Identifier, float> chamberML_V0;
194
195 // V0 handle
196 SG::ReadCondHandle readHandle_v0{m_readKey_folder_da_psv0, ctx};
197 const CondAttrListCollection* readCdo_v0{*readHandle_v0};
198 if (!readCdo_v0) {
199 ATH_MSG_ERROR("Null pointer to the read conditions object");
200 return StatusCode::FAILURE;
201 }
202
203 ATH_MSG_DEBUG("Size of CondAttrListCollection " << readHandle_v0.fullKey() << " readCdo->size()= " << readCdo_v0->size());
204
205 // V1
206 SG::ReadCondHandle readHandle_v1{m_readKey_folder_da_psv1, ctx};
207 const CondAttrListCollection* readCdo_v1{*readHandle_v1};
208 if (!readCdo_v1) {
209 ATH_MSG_ERROR("Null pointer to the read conditions object");
210 return StatusCode::FAILURE;
211 }
212
213 ATH_MSG_DEBUG("Size of CondAttrListCollection " << readHandle_v1.fullKey() << " readCdo->size()= " << readCdo_v1->size());
214
215 // V0 iteration
216 for (const readOutPair& itr_v0 : *readCdo_v0) {
217 const unsigned int chanNum = itr_v0.first;
218 const coral::AttributeList& atr_v0 = itr_v0.second;
219 const std::string& setPointsV0_payload = readCdo_v0->chanName(chanNum);
220 float setPointsV0_name{0.};
221
222 if (atr_v0.size() == 1) {
223 setPointsV0_name = *(static_cast<const float*>((atr_v0["readBackSettings_v0"]).addressOfData()));
224
225 auto tokens2 = tokenize(setPointsV0_payload, "_");
226
227 int multilayer = atoi(tokens2[3]);
228 const auto &chamber_name = tokens2[2];
229 Identifier ChamberId = identifyChamber(chamber_name);
230 Identifier MultiLayerId = m_idHelperSvc->mdtIdHelper().channelID(ChamberId, multilayer, 1, 1);
231 chamberML_V0[MultiLayerId] = setPointsV0_name;
232 }
233 }
234
235 // V1 iteration
237 for (const readOutPair& itr_v1 : *readCdo_v1) {
238 const unsigned int chanNum = itr_v1.first;
239 const coral::AttributeList& atr_v1 = itr_v1.second;
240 const std::string& setPointsV1_payload = readCdo_v1->chanName(chanNum);
241 float setPointsV1_name{0.};
242
243 if (atr_v1.size() == 1) {
244 setPointsV1_name = *(static_cast<const float*>((atr_v1["readBackSettings_v1"]).addressOfData()));
245
246
247 auto tokens2= tokenize(setPointsV1_payload, "_");
248
249 int multilayer = atoi(tokens2[3]);
250 const auto &chamber_name = tokens2[2];
251 Identifier ChamberId = identifyChamber(chamber_name);
252 Identifier MultiLayerId = m_idHelperSvc->mdtIdHelper().channelID(ChamberId, multilayer, 1, 1);
253 chamberML_V1[MultiLayerId] = setPointsV1_name;
254 }
255 }
256
257 // check for chamber standby the correct value of Setpoint V0 vs SetpointV1
258 // for chamber StandBy --> V0==V1 to be on
259 for (const Identifier& MultilayerId_ch : cachedDeadMultiLayersId_standby) {
260 if (chamberML_V1.find(MultilayerId_ch)->second == chamberML_V0.find(MultilayerId_ch)->second) {
261 ATH_MSG_DEBUG("Chamber has correct Voltage V1 = " << chamberML_V1.find(MultilayerId_ch)->second
262 << " V0= " << chamberML_V0.find(MultilayerId_ch)->second);
263 } else {
264 ATH_MSG_DEBUG("Chamber has wrong correct Voltage V1 = " << chamberML_V1.find(MultilayerId_ch)->second
265 << " V0= " << chamberML_V0.find(MultilayerId_ch)->second);
266 ATH_MSG_DEBUG("Has to be masked!!!");
267 writeCdo.setDeadMultilayer(MultilayerId_ch);
268 }
269 }
270
271 return StatusCode::SUCCESS;
272}
CondAttrListCollection::ChanAttrListPair readOutPair
ChanAttrListMap::const_iterator const_iterator
int atoi(std::string_view str)
Helper functions to unpack numbers decoded in string into integers and doubles The strings are requir...

◆ loadDataPsLv()

StatusCode Muon::MdtCondDbAlg::loadDataPsLv ( const EventContext & ctx,
MdtCondDbData & dataOut ) const
private

Definition at line 275 of file MdtCondDbAlg.cxx.

275 {
276 SG::ReadCondHandle readHandle{m_readKey_folder_da_pslv, ctx};
277 const CondAttrListCollection* readCdo{*readHandle};
278 if (!readCdo) {
279 ATH_MSG_ERROR("Null pointer to the read conditions object");
280 return StatusCode::FAILURE;
281 }
282 ATH_MSG_DEBUG("Size of CondAttrListCollection " << readHandle.fullKey() << " readCdo->size()= " << readCdo->size());
283 for (const auto& [chanNum, atr] : *readCdo) {
284 const std::string& hv_payload = readCdo->chanName(chanNum);
285 std::string hv_name;
286
287 if (!atr.size()) { continue; }
288 hv_name = *(static_cast<const std::string*>((atr["fsm_currentState"]).addressOfData()));
289
290 auto tokens = tokenize(hv_name, " ");
291 auto tokens2 = tokenize(hv_payload, "_");
292 if (tokens[0] != "ON") {
293 const auto &chamber_name = tokens2[2];
294 Identifier ChamberId = identifyChamber(chamber_name);
295 if (ChamberId.is_valid()) { writeCdo.setDeadChamber(ChamberId); }
296 }
297 }
298
299 return StatusCode::SUCCESS;
300}

◆ loadDependencies()

StatusCode Muon::MdtCondDbAlg::loadDependencies ( const EventContext & ctx,
writeHandle_t & wh ) const
private

◆ loadDroppedChambers()

StatusCode Muon::MdtCondDbAlg::loadDroppedChambers ( const EventContext & ctx,
MdtCondDbData & dataOut,
bool isMC ) const
private

Definition at line 372 of file MdtCondDbAlg.cxx.

372 {
373 SG::ReadCondHandle readHandle{(isMC ? m_readKey_folder_mc_droppedChambers
375 const CondAttrListCollection* readCdo{*readHandle};
376 if (!readCdo) {
377 ATH_MSG_ERROR("Null pointer to the read conditions object");
378 return StatusCode::FAILURE;
379 }
380 ATH_MSG_DEBUG("Size of CondAttrListCollection " << readHandle.fullKey() << " readCdo->size()= " << readCdo->size());
381
382 for (const readOutPair& itr : *readCdo) {
383 const coral::AttributeList& atr = itr.second;
384 const std::string& chamber_dropped{*(static_cast<const std::string*>((atr["Chambers_disabled"]).addressOfData()))};
385
386 auto tokens = tokenize(chamber_dropped, " ");
387 for (auto & token : tokens) {
388 if (token != "0") {
389 const auto &chamber_name = token;
390 Identifier ChamberId = identifyChamber(chamber_name);
391 if (ChamberId.is_valid()) { writeCdo.setDeadChamber(ChamberId); }
392 }
393 }
394 }
395 return StatusCode::SUCCESS;
396}

◆ loadMcDeadElements()

StatusCode Muon::MdtCondDbAlg::loadMcDeadElements ( const EventContext & ctx,
MdtCondDbData & dataOut ) const
private

Definition at line 399 of file MdtCondDbAlg.cxx.

399 {
400 SG::ReadCondHandle readHandle{m_readKey_folder_mc_deadElements, ctx};
401 const CondAttrListCollection* readCdo{*readHandle};
402 if (!readCdo) {
403 ATH_MSG_ERROR("Null pointer to the read conditions object");
404 return StatusCode::FAILURE;
405 }
406
407 ATH_MSG_DEBUG("Size of CondAttrListCollection " << readHandle.fullKey() << " readCdo->size()= " << readCdo->size());
408
409 for (const readOutPair& itr : *readCdo) {
410 const coral::AttributeList& atr = itr.second;
411 const std::string& chamber_name{*(static_cast<const std::string*>((atr["Chambers_Name"]).addressOfData()))};
412 const std::string& list_mlayer{*(static_cast<const std::string*>((atr["Dead_multilayer"]).addressOfData()))};
413 const std::string& list_layer{*(static_cast<const std::string*>((atr["Dead_layer"]).addressOfData()))};
414 const std::string& list_tube{*(static_cast<const std::string*>((atr["Dead_tube"]).addressOfData()))};
415
416 Identifier ChamberId = identifyChamber(chamber_name);
417 auto tokens = tokenize(list_tube, " ");
418 auto tokens_mlayer = tokenize(list_mlayer, " ");
419 auto tokens_layer = tokenize(list_layer, " ");
420
421 for (auto & token : tokens) {
422
423 if (token != "0") {
424 int ml = atoi(token.substr(0, 1));
425 int layer = atoi(token.substr(1, 2));
426 int tube = atoi(token.substr(2));
427 Identifier ChannelId = m_idHelperSvc->mdtIdHelper().channelID(ChamberId, ml, layer, tube);
428 writeCdo.setDeadTube(ChannelId);
429 writeCdo.setDeadChamber(ChamberId);
430 }
431 }
432
433 for (unsigned int i = 0; i < tokens_mlayer.size(); i++) {
434 if (tokens_mlayer[i] != "0") {
435 int ml = atoi(tokens_mlayer[i].substr(0));
436 Identifier ChannelId = m_idHelperSvc->mdtIdHelper().channelID(ChamberId, ml, 1, 1);
437 writeCdo.setDeadMultilayer(ChannelId);
438 writeCdo.setDeadChamber(ChamberId);
439 }
440 }
441
442 for (unsigned int i = 0; i < tokens_layer.size(); i++) {
443 if (tokens_layer[i] != "0") {
444 int ml = atoi(tokens_layer[i].substr(0, 1));
445 int layer = atoi(tokens_layer[i].substr(1));
446 Identifier ChannelId = m_idHelperSvc->mdtIdHelper().channelID(ChamberId, ml, layer, 1);
447 writeCdo.setDeadLayer(ChannelId);
448 writeCdo.setDeadChamber(ChamberId);
449 }
450 }
451 }
452
453 return StatusCode::SUCCESS;
454}
@ layer
Definition HitInfo.h:79

◆ loadMcDeadTubes()

StatusCode Muon::MdtCondDbAlg::loadMcDeadTubes ( const EventContext & ctx,
MdtCondDbData & dataOut ) const
private

Definition at line 457 of file MdtCondDbAlg.cxx.

457 {
458 SG::ReadCondHandle readHandle{m_readKey_folder_mc_deadTubes, ctx};
459 const CondAttrListCollection* readCdo{*readHandle};
460 if (!readCdo) {
461 ATH_MSG_ERROR("Null pointer to the read conditions object");
462 return StatusCode::FAILURE;
463 }
464
465 ATH_MSG_DEBUG("Size of CondAttrListCollection " << readHandle.fullKey() << " readCdo->size()= " << readCdo->size());
466
467 for (const readOutPair& itr : *readCdo) {
468 const coral::AttributeList& atr = itr.second;
469
470 std::string dead_tube = *(static_cast<const std::string*>((atr["DeadTube_List"]).addressOfData()));
471 std::string chamber_name = *(static_cast<const std::string*>((atr["Chamber_Name"]).addressOfData()));
472
473 auto tokens = tokenize(dead_tube, " ");
474 Identifier ChamberId = identifyChamber(std::move(chamber_name));
475
476 for (auto & token : tokens) {
477 int ml = atoi(token.substr(0, 1));
478 int layer = atoi(token.substr(1, 2));
479 int tube = atoi(token.substr(2));
480 Identifier ChannelId = m_idHelperSvc->mdtIdHelper().channelID(ChamberId, ml, layer, tube);
481 writeCdo.setDeadTube(ChannelId);
482 }
483 writeCdo.setDeadChamber(ChamberId);
484 }
485
486 return StatusCode::SUCCESS;
487}

◆ loadMcNoisyChannels()

StatusCode Muon::MdtCondDbAlg::loadMcNoisyChannels ( const EventContext & ctx,
MdtCondDbData & dataOut ) const
private

Definition at line 490 of file MdtCondDbAlg.cxx.

490 {
491 SG::ReadCondHandle readHandle{m_readKey_folder_mc_noisyChannels, ctx};
492 const CondAttrListCollection* readCdo{*readHandle};
493 if (!readCdo) {
494 ATH_MSG_ERROR("Null pointer to the read conditions object");
495 return StatusCode::FAILURE;
496 }
497
498 ATH_MSG_DEBUG("Size of CondAttrListCollection " << readHandle.fullKey() << " readCdo->size()= " << readCdo->size());
499 for (const auto &[chanNum, atr] : *readCdo) {
500 if (!atr.size()) {
501 continue;
502 }
503 const std::string& hv_payload = readCdo->chanName(chanNum);
504 const std::string& hv_name{*(static_cast<const std::string*>((atr["fsm_currentState"]).addressOfData()))};
505
506 auto tokens = tokenize(hv_name, " ");
507
508 auto tokens2 = tokenize(hv_payload, "_");
509
510 if (tokens[0] != "ON") {
511 Identifier ChamberId = identifyChamber(tokens2[2]);
512 writeCdo.setDeadChamber(ChamberId);
513 }
514
515 }
516 return StatusCode::SUCCESS;
517}

◆ 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}
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_chamberNames

std::map<std::string, Identifier> Muon::MdtCondDbAlg::m_chamberNames {}
private

Definition at line 78 of file MdtCondDbAlg.h.

78{};

◆ m_checkOnSetPoint

Gaudi::Property<bool> Muon::MdtCondDbAlg::m_checkOnSetPoint {this, "useRun1SetPoints", false}
private

Definition at line 47 of file MdtCondDbAlg.h.

47{this, "useRun1SetPoints", false};

◆ 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_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_idHelperSvc

ServiceHandle<Muon::IMuonIdHelperSvc> Muon::MdtCondDbAlg::m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"}
private

Definition at line 49 of file MdtCondDbAlg.h.

49{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};

◆ m_isData

Gaudi::Property<bool> Muon::MdtCondDbAlg::m_isData {this, "isData", false}
private

Definition at line 45 of file MdtCondDbAlg.h.

45{this, "isData", false};

◆ m_isOnline

Gaudi::Property<bool> Muon::MdtCondDbAlg::m_isOnline {this, "isOnline", false}
private

Definition at line 44 of file MdtCondDbAlg.h.

44{this, "isOnline", false};

◆ m_isRun1

Gaudi::Property<bool> Muon::MdtCondDbAlg::m_isRun1 {this, "isRun1", false}
private

Definition at line 46 of file MdtCondDbAlg.h.

46{this, "isRun1", false};

◆ m_readKey_folder_da_droppedChambers

dataBaseKey_t Muon::MdtCondDbAlg::m_readKey_folder_da_droppedChambers
private
Initial value:
{
this, "ReadKey_DataR1_DC", "/MDT/DCS/DROPPEDCH", "Key of input MDT condition data for Run 1 data dropped chambers"}

Definition at line 61 of file MdtCondDbAlg.h.

61 {
62 this, "ReadKey_DataR1_DC", "/MDT/DCS/DROPPEDCH", "Key of input MDT condition data for Run 1 data dropped chambers"};

◆ m_readKey_folder_da_hv

dataBaseKey_t Muon::MdtCondDbAlg::m_readKey_folder_da_hv
private
Initial value:
{this, "ReadKey_DataR2_HV", "/MDT/DCS/HV",
"Key of input MDT condition data for Run 2 data HV"}

Definition at line 63 of file MdtCondDbAlg.h.

63 {this, "ReadKey_DataR2_HV", "/MDT/DCS/HV",
64 "Key of input MDT condition data for Run 2 data HV"};

◆ m_readKey_folder_da_lv

dataBaseKey_t Muon::MdtCondDbAlg::m_readKey_folder_da_lv
private
Initial value:
{this, "ReadKey_DataR2_LV", "/MDT/DCS/LV",
"Key of input MDT condition data for Run 2 data LV"}

Definition at line 65 of file MdtCondDbAlg.h.

65 {this, "ReadKey_DataR2_LV", "/MDT/DCS/LV",
66 "Key of input MDT condition data for Run 2 data LV"};

◆ m_readKey_folder_da_pshv

dataBaseKey_t Muon::MdtCondDbAlg::m_readKey_folder_da_pshv
private
Initial value:
{this, "ReadKey_DataR1_HV", "/MDT/DCS/PSHVMLSTATE",
"Key of input MDT condition data for Run 1 data HV"}

Definition at line 53 of file MdtCondDbAlg.h.

53 {this, "ReadKey_DataR1_HV", "/MDT/DCS/PSHVMLSTATE",
54 "Key of input MDT condition data for Run 1 data HV"};

◆ m_readKey_folder_da_pslv

dataBaseKey_t Muon::MdtCondDbAlg::m_readKey_folder_da_pslv
private
Initial value:
{this, "ReadKey_DataR1_LV", "/MDT/DCS/PSLVCHSTATE",
"Key of input MDT condition data for Run 1 data LV"}

Definition at line 59 of file MdtCondDbAlg.h.

59 {this, "ReadKey_DataR1_LV", "/MDT/DCS/PSLVCHSTATE",
60 "Key of input MDT condition data for Run 1 data LV"};

◆ m_readKey_folder_da_psv0

dataBaseKey_t Muon::MdtCondDbAlg::m_readKey_folder_da_psv0
private
Initial value:
{this, "ReadKey_DataR1_V0", "/MDT/DCS/PSV0SETPOINTS",
"Key of input MDT condition data for Run 1 data V0"}

Definition at line 55 of file MdtCondDbAlg.h.

55 {this, "ReadKey_DataR1_V0", "/MDT/DCS/PSV0SETPOINTS",
56 "Key of input MDT condition data for Run 1 data V0"};

◆ m_readKey_folder_da_psv1

dataBaseKey_t Muon::MdtCondDbAlg::m_readKey_folder_da_psv1
private
Initial value:
{this, "ReadKey_DataR1_V1", "/MDT/DCS/PSV1SETPOINTS",
"Key of input MDT condition data for Run 1 data V1"}

Definition at line 57 of file MdtCondDbAlg.h.

57 {this, "ReadKey_DataR1_V1", "/MDT/DCS/PSV1SETPOINTS",
58 "Key of input MDT condition data for Run 1 data V1"};

◆ m_readKey_folder_mc_deadElements

dataBaseKey_t Muon::MdtCondDbAlg::m_readKey_folder_mc_deadElements
private
Initial value:
{this, "ReadKey_MC_DE", "/MDT/DQMF/DEAD_ELEMENT",
"Key of input MDT condition data for MC dead elements"}

Definition at line 69 of file MdtCondDbAlg.h.

69 {this, "ReadKey_MC_DE", "/MDT/DQMF/DEAD_ELEMENT",
70 "Key of input MDT condition data for MC dead elements"};

◆ m_readKey_folder_mc_deadTubes

dataBaseKey_t Muon::MdtCondDbAlg::m_readKey_folder_mc_deadTubes
private
Initial value:
{this, "ReadKey_MC_DT", "/MDT/TUBE_STATUS/DEAD_TUBE",
"Key of input MDT condition data for MC dead tubes"}

Definition at line 71 of file MdtCondDbAlg.h.

71 {this, "ReadKey_MC_DT", "/MDT/TUBE_STATUS/DEAD_TUBE",
72 "Key of input MDT condition data for MC dead tubes"};

◆ m_readKey_folder_mc_droppedChambers

dataBaseKey_t Muon::MdtCondDbAlg::m_readKey_folder_mc_droppedChambers
private
Initial value:
{
this, "ReadKey_MC_DC", "/MDT/DCS/DROPPEDCH", "Key of input MDT condition data for MC dropped chambers"}

Definition at line 67 of file MdtCondDbAlg.h.

67 {
68 this, "ReadKey_MC_DC", "/MDT/DCS/DROPPEDCH", "Key of input MDT condition data for MC dropped chambers"};

◆ m_readKey_folder_mc_noisyChannels

dataBaseKey_t Muon::MdtCondDbAlg::m_readKey_folder_mc_noisyChannels
private
Initial value:
{
this, "ReadKey_MC_NC", "/MDT/DCS/PSLVCHSTATE", "Key of input MDT condition data for MC noisy channels"}

Definition at line 73 of file MdtCondDbAlg.h.

73 {
74 this, "ReadKey_MC_NC", "/MDT/DCS/PSLVCHSTATE", "Key of input MDT condition data for MC noisy channels"};

◆ 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.

◆ m_writeKey

SG::WriteCondHandleKey<MdtCondDbData> Muon::MdtCondDbAlg::m_writeKey {this, "WriteKey", "MdtCondDbData", "Key of output MDT condition data"}
private

Definition at line 51 of file MdtCondDbAlg.h.

51{this, "WriteKey", "MdtCondDbData", "Key of output MDT condition data"};

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