ATLAS Offline Software
Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
NswCondTestAlg Class Reference

#include <NswCondTestAlg.h>

Inheritance diagram for NswCondTestAlg:
Collaboration diagram for NswCondTestAlg:

Public Member Functions

 NswCondTestAlg (const std::string &name, ISvcLocator *pSvcLocator)
 
virtual ~NswCondTestAlg () override
 
virtual StatusCode initialize () override
 
virtual StatusCode execute (const EventContext &) const override
 
virtual StatusCode sysInitialize () override
 Override sysInitialize. More...
 
virtual bool isClonable () const override
 Specify if the algorithm is clonable. More...
 
virtual unsigned int cardinality () const override
 Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
 
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm. More...
 
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies. More...
 
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. 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 > &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
 

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution More...
 
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. More...
 

Private Types

using TimeChargeType = NswCalibDbTimeChargeData::CalibDataType
 
using TimeTech = MuonCond::CalibTechType
 
typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

StatusCode retrieveTdoPdo (const EventContext &ctx, TimeChargeType data, const std::string &tech, const std::string &side, std::chrono::duration< double > &timer) const
 
StatusCode retrieveVmm (const EventContext &, const std::string &, const std::string &, std::chrono::duration< double > &) const
 
StatusCode retrieveT0 (const EventContext &, std::chrono::duration< double > &) const
 
std::string timestamp () const
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

SG::ReadCondHandleKey< NswCalibDbTimeChargeDatam_readKey_tdopdo
 
SG::ReadCondHandleKey< NswCalibDbThresholdDatam_readKey_vmm
 
SG::ReadCondHandleKey< NswT0Datam_readKey_t0 {this, "readKey_t0", "NswT0Data", "Key of NswT0Data containing the t0 calibration data"}
 
ServiceHandle< Muon::IMuonIdHelperSvcm_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"}
 
Gaudi::Property< std::string > m_logName {this,"LogName", "LogFile", "Name of the log file. The file creating the TimeCharge log will be called <LogName>_TDO.txt, the other will be <LogName>_vmm.txt"}
 
Gaudi::Property< bool > m_isMC {this, "isMC", false, "flagging the input type"}
 
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. More...
 
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
 

Detailed Description

Definition at line 25 of file NswCondTestAlg.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

◆ TimeChargeType

Definition at line 34 of file NswCondTestAlg.h.

◆ TimeTech

Definition at line 35 of file NswCondTestAlg.h.

Constructor & Destructor Documentation

◆ NswCondTestAlg()

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

Definition at line 26 of file NswCondTestAlg.cxx.

26 : AthReentrantAlgorithm(name, pSvcLocator) {}

◆ ~NswCondTestAlg()

NswCondTestAlg::~NswCondTestAlg ( )
overridevirtualdefault

Member Function Documentation

◆ cardinality()

unsigned int AthReentrantAlgorithm::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.

Override this to return 0 for reentrant algorithms.

Definition at line 55 of file AthReentrantAlgorithm.cxx.

56 {
57  return 0;
58 }

◆ declareGaudiProperty() [1/4]

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

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

Definition at line 170 of file AthCommonDataStore.h.

172  {
173  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
174  hndl.value(),
175  hndl.documentation());
176 
177  }

◆ declareGaudiProperty() [2/4]

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

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

Definition at line 156 of file AthCommonDataStore.h.

158  {
159  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
160  hndl.value(),
161  hndl.documentation());
162 
163  }

◆ declareGaudiProperty() [3/4]

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

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

Definition at line 184 of file AthCommonDataStore.h.

186  {
187  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
188  hndl.value(),
189  hndl.documentation());
190  }

◆ declareGaudiProperty() [4/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T > &  t,
const SG::NotHandleType  
)
inlineprivateinherited

specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>

Definition at line 199 of file AthCommonDataStore.h.

200  {
201  return PBASE::declareProperty(t);
202  }

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation 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.

249  {
250  this->declare(hndl.vhKey());
251  hndl.vhKey().setOwner(this);
252 
253  return PBASE::declareProperty(name,hndl,doc);
254  }

◆ declareProperty() [2/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKey hndl,
const std::string &  doc,
const SG::VarHandleKeyType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation 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.

225  {
226  this->declare(hndl);
227  hndl.setOwner(this);
228 
229  return PBASE::declareProperty(name,hndl,doc);
230  }

◆ declareProperty() [3/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
SG::VarHandleKeyArray hndArr,
const std::string &  doc,
const SG::VarHandleKeyArrayType  
)
inlineinherited

Definition at line 259 of file AthCommonDataStore.h.

263  {
264 
265  // std::ostringstream ost;
266  // ost << Algorithm::name() << " VHKA declareProp: " << name
267  // << " size: " << hndArr.keys().size()
268  // << " mode: " << hndArr.mode()
269  // << " vhka size: " << m_vhka.size()
270  // << "\n";
271  // debug() << ost.str() << endmsg;
272 
273  hndArr.setOwner(this);
274  m_vhka.push_back(&hndArr);
275 
276  Gaudi::Details::PropertyBase* p = PBASE::declareProperty(name, hndArr, doc);
277  if (p != 0) {
278  p->declareUpdateHandler(&AthCommonDataStore<PBASE>::updateVHKA, this);
279  } else {
280  ATH_MSG_ERROR("unable to call declareProperty on VarHandleKeyArray "
281  << name);
282  }
283 
284  return p;
285 
286  }

◆ declareProperty() [4/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc,
const SG::NotHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation 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.

337  {
338  return PBASE::declareProperty(name, property, doc);
339  }

◆ declareProperty() [5/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation 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.

355  {
356  typedef typename SG::HandleClassifier<T>::type htype;
357  return declareProperty (name, property, doc, htype());
358  }

◆ declareProperty() [6/6]

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

Definition at line 145 of file AthCommonDataStore.h.

145  {
146  typedef typename SG::HandleClassifier<T>::type htype;
148  }

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

95 { return m_detStore; }

◆ evtStore() [1/2]

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.

85 { return m_evtStore; }

◆ evtStore() [2/2]

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

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

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ execute()

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

Definition at line 42 of file NswCondTestAlg.cxx.

42  {
43  ATH_MSG_INFO("Calling execute");
44 
45  // setup parameters
46  std::chrono::duration<double> retrieving_MM_TDO_A{};
47  std::chrono::duration<double> retrieving_MM_TDO_C{};
48  std::chrono::duration<double> retrieving_MM_PDO_A{};
49  std::chrono::duration<double> retrieving_MM_PDO_C{};
50  std::chrono::duration<double> retrieving_MM_VMM_A{};
51  std::chrono::duration<double> retrieving_MM_VMM_C{};
52  std::chrono::duration<double> retrieving_STGC_TDO_A{};
53  std::chrono::duration<double> retrieving_STGC_TDO_C{};
54  std::chrono::duration<double> retrieving_STGC_PDO_A{};
55  std::chrono::duration<double> retrieving_STGC_PDO_C{};
56  std::chrono::duration<double> retrieving_STGC_VMM_A{};
57  std::chrono::duration<double> retrieving_STGC_VMM_C{};
58  std::chrono::duration<double> retrieving_T0{};
59 
60  // retrieve all folders
61  ATH_CHECK(retrieveTdoPdo(ctx, TimeChargeType::PDO, "MM", "A", retrieving_MM_PDO_A));
62  ATH_CHECK(retrieveTdoPdo(ctx, TimeChargeType::PDO, "MM", "C", retrieving_MM_PDO_C));
63  ATH_CHECK(retrieveTdoPdo(ctx, TimeChargeType::TDO, "MM", "A", retrieving_MM_TDO_A));
64  ATH_CHECK(retrieveTdoPdo(ctx, TimeChargeType::TDO, "MM", "C", retrieving_MM_TDO_C));
65  if(m_isMC) ATH_CHECK(retrieveVmm(ctx, "MM", "A", retrieving_MM_VMM_A));
66  if(m_isMC) ATH_CHECK(retrieveVmm(ctx, "MM", "C", retrieving_MM_VMM_C));
67  ATH_CHECK(retrieveTdoPdo(ctx, TimeChargeType::TDO, "STGC", "A", retrieving_STGC_TDO_A));
68  ATH_CHECK(retrieveTdoPdo(ctx, TimeChargeType::TDO, "STGC", "C", retrieving_STGC_TDO_C));
69  ATH_CHECK(retrieveTdoPdo(ctx, TimeChargeType::PDO, "STGC", "A", retrieving_STGC_PDO_A));
70  ATH_CHECK(retrieveTdoPdo(ctx, TimeChargeType::PDO, "STGC", "C", retrieving_STGC_PDO_C));
71  if(m_isMC) ATH_CHECK(retrieveVmm(ctx, "STGC", "A", retrieving_STGC_VMM_A));
72  if(m_isMC) ATH_CHECK(retrieveVmm(ctx, "STGC", "C", retrieving_STGC_VMM_C));
73  if(!m_isMC) ATH_CHECK(retrieveT0(ctx,retrieving_T0));
74 
75  // postprocess
76  ATH_MSG_INFO("Retrieving time for (MM , TDO, Side A) = "
77  << (std::chrono::duration_cast<std::chrono::microseconds>(retrieving_MM_TDO_A).count() * 1.0) << "s ");
78  ATH_MSG_INFO("Retrieving time for (MM , TDO, Side C) = "
79  << (std::chrono::duration_cast<std::chrono::microseconds>(retrieving_MM_TDO_C).count() * 1.0) << "s ");
80  ATH_MSG_INFO("Retrieving time for (MM , PDO, Side A) = "
81  << (std::chrono::duration_cast<std::chrono::microseconds>(retrieving_MM_PDO_A).count() * 1.0) << "s ");
82  ATH_MSG_INFO("Retrieving time for (MM , PDO, Side C) = "
83  << (std::chrono::duration_cast<std::chrono::microseconds>(retrieving_MM_PDO_C).count() * 1.0) << "s ");
84  if(m_isMC){
85  ATH_MSG_INFO("Retrieving time for (MM , VMM, Side A) = "
86  << (std::chrono::duration_cast<std::chrono::microseconds>(retrieving_MM_VMM_A).count() * 1.0) << "s ");
87  ATH_MSG_INFO("Retrieving time for (MM , VMM, Side C) = "
88  << (std::chrono::duration_cast<std::chrono::microseconds>(retrieving_MM_VMM_C).count() * 1.0) << "s ");
89  }
90 
91  ATH_MSG_INFO("Retrieving time for (STGC, TDO, Side A) = "
92  << (std::chrono::duration_cast<std::chrono::microseconds>(retrieving_STGC_TDO_A).count() * 1.0) << "s ");
93  ATH_MSG_INFO("Retrieving time for (STGC, TDO, Side C) = "
94  << (std::chrono::duration_cast<std::chrono::microseconds>(retrieving_STGC_TDO_C).count() * 1.0) << "s ");
95  ATH_MSG_INFO("Retrieving time for (STGC, PDO, Side A) = "
96  << (std::chrono::duration_cast<std::chrono::microseconds>(retrieving_STGC_PDO_A).count() * 1.0) << "s ");
97  ATH_MSG_INFO("Retrieving time for (STGC, PDO, Side C) = "
98  << (std::chrono::duration_cast<std::chrono::microseconds>(retrieving_STGC_PDO_C).count() * 1.0) << "s ");
99  if(m_isMC) {
100  ATH_MSG_INFO("Retrieving time for (STGC, VMM, Side A) = "
101  << (std::chrono::duration_cast<std::chrono::microseconds>(retrieving_STGC_VMM_A).count() * 1.0) << "s ");
102  ATH_MSG_INFO("Retrieving time for (STGC, VMM, Side C) = "
103  << (std::chrono::duration_cast<std::chrono::microseconds>(retrieving_STGC_VMM_C).count() * 1.0) << "s ");
104  }
105 
106  if(!m_isMC){
107  ATH_MSG_INFO("retrieving time for T0 for NSW = "
108  << (std::chrono::duration_cast<std::chrono::microseconds>(retrieving_T0).count() * 1.0) << "s ");
109  }
110 
111  ATH_MSG_INFO("MADE IT TO THE END!!");
112  return StatusCode::SUCCESS;
113 }

◆ 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 & AthReentrantAlgorithm::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

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

Definition at line 79 of file AthReentrantAlgorithm.cxx.

80 {
81  // If we didn't find any symlinks to add, just return the collection
82  // from the base class. Otherwise, return the extended collection.
83  if (!m_extendedExtraObjects.empty()) {
85  }
86  return Algorithm::extraOutputDeps();
87 }

◆ filterPassed()

virtual bool AthReentrantAlgorithm::filterPassed ( const EventContext &  ctx) const
inlinevirtualinherited

Definition at line 135 of file AthReentrantAlgorithm.h.

135  {
136  return execState( ctx ).filterPassed();
137  }

◆ initialize()

StatusCode NswCondTestAlg::initialize ( )
overridevirtual

Definition at line 32 of file NswCondTestAlg.cxx.

32  {
33  ATH_MSG_INFO("Calling initialize");
37  ATH_CHECK(m_idHelperSvc.retrieve());
38  return StatusCode::SUCCESS;
39 }

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

bool AthReentrantAlgorithm::isClonable ( ) const
overridevirtualinherited

◆ msg() [1/2]

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

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

Definition at line 27 of file AthCommonMsg.h.

27  {
28  return this->msgStream(lvl);
29  }

◆ 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();
383  PBASE::renounce (h);
384  }

◆ 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  {
365  handlesArray.renounce();
366  }

◆ retrieveT0()

StatusCode NswCondTestAlg::retrieveT0 ( const EventContext &  ctx,
std::chrono::duration< double > &  timer 
) const
private

Definition at line 231 of file NswCondTestAlg.cxx.

232  {
233  ATH_MSG_INFO("Starting to retrieve T0 values at " << timestamp());
235 
236  // Start with an infinte range and narrow it down as needed
237  EventIDRange rangeW = IOVInfiniteRange::infiniteMixed();
238 
239  // Retrieve Data Object
241  const NswT0Data* readCdo{*readHandle};
242  if (!readCdo) {
243  ATH_MSG_ERROR("Null pointer to the read conditions object");
244  return StatusCode::FAILURE;
245  }
246 
247  EventIDRange range;
248  if (!readHandle.range(range)) {
249  ATH_MSG_ERROR("Failed to retrieve validity range for " << readHandle.key());
250  return StatusCode::FAILURE;
251  }
252 
253  // Intersect validity range of this obj with the validity of already-loaded objs
254  rangeW = EventIDRange::intersect(range, rangeW);
255 
256  std::stringstream sstr {};
257  const MmIdHelper& id_helper = m_idHelperSvc->mmIdHelper();
258  auto it = id_helper.detectorElement_begin();
259  for(; it!= id_helper.detectorElement_end(); it++){
260  for(int i_layer=id_helper.gasGapMin(*it); i_layer <= id_helper.gasGapMax(*it); i_layer++){
261  Identifier layerId = id_helper.channelID(*it,id_helper.multilayer(*it), i_layer,1);
262  for(int i_channel=id_helper.channelMin(layerId); i_channel < id_helper.channelMax(layerId); i_channel++){
263  Identifier channelId = id_helper.channelID(layerId,id_helper.multilayer(*it), i_layer, i_channel);
264  float t0{0};
265  if(!readCdo->getT0(channelId, t0)){
266  ATH_MSG_ERROR("Failed to retrieve t0 calibration for channel"<< m_idHelperSvc->toString(channelId));
267  return StatusCode::FAILURE;
268  }
269  if (!m_logName.empty()){
270  sstr<<m_idHelperSvc->toString(channelId)<<" T0 "<< t0 <<std::endl;
271  }
272  }
273  }
274  }
275 
276  if (!m_logName.empty()){
277  std::ofstream ostr{m_logName+"_T0.txt"};
278  ostr<<sstr.str()<<std::endl;
279  }
280 
282  timer += end1 - start1;
283  ATH_MSG_INFO("Ending at " << timestamp());
284  return StatusCode::SUCCESS;
285 }

◆ retrieveTdoPdo()

StatusCode NswCondTestAlg::retrieveTdoPdo ( const EventContext &  ctx,
TimeChargeType  data,
const std::string &  tech,
const std::string &  side,
std::chrono::duration< double > &  timer 
) const
private

Definition at line 116 of file NswCondTestAlg.cxx.

117  {
118  ATH_MSG_INFO("Starting with " << " data for " << tech << " and " << side << " at " << timestamp());
120 
121  // Start with an infinte range and narrow it down as needed
122  EventIDRange rangeW = IOVInfiniteRange::infiniteMixed();
123 
124  // Retrieve Data Object
126  const NswCalibDbTimeChargeData* readCdo{*readHandle};
127  if (!readCdo) {
128  ATH_MSG_ERROR("Null pointer to the read conditions object");
129  return StatusCode::FAILURE;
130  }
131 
132  EventIDRange range;
133  if (!readHandle.range(range)) {
134  ATH_MSG_ERROR("Failed to retrieve validity range for " << readHandle.key());
135  return StatusCode::FAILURE;
136  }
137 
138  // Intersect validity range of this obj with the validity of already-loaded objs
139  rangeW = EventIDRange::intersect(range, rangeW);
140 
141  // retrieve all channels
142  std::vector<Identifier> channelIds = readCdo->getChannelIds(data, tech, side);
143  ATH_MSG_INFO("Found data for " << channelIds.size() << " channels!");
144 
145  // retrieve data for the first channel
146  std::stringstream sstr{};
147  if (!channelIds.empty()) {
148  const Identifier& channel = channelIds[0];
149 
150  const NswCalibDbTimeChargeData::CalibConstants& calib_data = *readCdo->getCalibForChannel(data, channel);
151  ATH_MSG_INFO("Checking channel 0 (Id = " << channel.get_compact() << ") "<<calib_data);
152  if (!m_logName.empty()){
153  for (const Identifier& chan_id : channelIds) {
154  const NswCalibDbTimeChargeData::CalibConstants& calib_data = *readCdo->getCalibForChannel(data, chan_id);
155  sstr<<m_idHelperSvc->toString(chan_id)<<" "<<calib_data<<std::endl;
156  }
157  }
158  } else if (!m_logName.empty()) {
159  const NswCalibDbTimeChargeData::CalibConstants& calib_data = *readCdo->getZeroCalibChannel(data, tech == "MM" ? TimeTech::MM : TimeTech::STGC);
160  sstr<<"Dummy calib channel "<<calib_data<<std::endl;
161  }
162 
163  if (!m_logName.empty()){
164  std::ofstream ostr{m_logName+"_"+ (data == TimeChargeType::TDO ? "TDO" : "PDO") + "_"+tech+side+".txt"};
165  ostr<<sstr.str()<<std::endl;
166  }
167 
168  ATH_MSG_ALWAYS(sstr.str());
169 
171  timer += end1 - start1;
172  ATH_MSG_INFO("Ending at " << timestamp());
173  return StatusCode::SUCCESS;
174 }

◆ retrieveVmm()

StatusCode NswCondTestAlg::retrieveVmm ( const EventContext &  ctx,
const std::string &  tech,
const std::string &  side,
std::chrono::duration< double > &  timer 
) const
private

Definition at line 177 of file NswCondTestAlg.cxx.

178  {
179  ATH_MSG_INFO("Starting with VMM data for " << tech << " and " << side << " at " << timestamp());
181 
182  // Start with an infinte range and narrow it down as needed
183  EventIDRange rangeW = IOVInfiniteRange::infiniteMixed();
184 
185  // Retrieve Data Object
187  const NswCalibDbThresholdData* readCdo{*readHandle};
188  if (!readCdo) {
189  ATH_MSG_ERROR("Null pointer to the read conditions object");
190  return StatusCode::FAILURE;
191  }
192 
193  EventIDRange range;
194  if (!readHandle.range(range)) {
195  ATH_MSG_ERROR("Failed to retrieve validity range for " << readHandle.key());
196  return StatusCode::FAILURE;
197  }
198 
199  // Intersect validity range of this obj with the validity of already-loaded objs
200  rangeW = EventIDRange::intersect(range, rangeW);
201 
202  // retrieve all channels
203  std::vector<Identifier> channelIds = readCdo->getChannelIds(tech, side);
204  ATH_MSG_INFO("Found data for " << channelIds.size() << " channels!");
205 
206  // retrieve data for the first channel
207  std::stringstream sstr {};
208  if (!channelIds.empty()) {
209  const Identifier& channel = channelIds[0];
210  float threshold{0.};
211  readCdo->getThreshold(channel, threshold);
212  ATH_MSG_INFO("Checking channel 0 (Id = " << m_idHelperSvc->toString(channel)<< ") threshold "<< threshold);
213  if (!m_logName.empty()){
214  for (const Identifier& id : channelIds){
215  sstr<<m_idHelperSvc->toString(id)<<" threshold "<<threshold<<std::endl;
216  }
217  }
218  }
219  if (!m_logName.empty()){
220  std::ofstream ostr{m_logName+"_THRESH_"+tech+side+".txt"};
221  ostr<<sstr.str()<<std::endl;
222  }
223 
225  timer += end1 - start1;
226  ATH_MSG_INFO("Ending at " << timestamp());
227  return StatusCode::SUCCESS;
228 }

◆ setFilterPassed()

virtual void AthReentrantAlgorithm::setFilterPassed ( bool  state,
const EventContext &  ctx 
) const
inlinevirtualinherited

Definition at line 139 of file AthReentrantAlgorithm.h.

139  {
140  execState( ctx ).setFilterPassed( state );
141  }

◆ sysExecute()

StatusCode AthReentrantAlgorithm::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 67 of file AthReentrantAlgorithm.cxx.

68 {
69  return Gaudi::Algorithm::sysExecute (ctx);
70 }

◆ sysInitialize()

StatusCode AthReentrantAlgorithm::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 InputMakerBase, and HypoBase.

Definition at line 96 of file AthReentrantAlgorithm.cxx.

96  {
98 
99  if (sc.isFailure()) {
100  return sc;
101  }
102 
103  ServiceHandle<ICondSvc> cs("CondSvc",name());
104  for (auto h : outputHandles()) {
105  if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
106  // do this inside the loop so we don't create the CondSvc until needed
107  if ( cs.retrieve().isFailure() ) {
108  ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
109  return StatusCode::SUCCESS;
110  }
111  if (cs->regHandle(this,*h).isFailure()) {
112  sc = StatusCode::FAILURE;
113  ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
114  << " with CondSvc");
115  }
116  }
117  }
118  return sc;
119 }

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

◆ timestamp()

std::string NswCondTestAlg::timestamp ( ) const
private

Definition at line 287 of file NswCondTestAlg.cxx.

287  {
288  const boost::posix_time::ptime now = boost::posix_time::microsec_clock::local_time();
289  const boost::posix_time::time_duration td = now.time_of_day();
290  const long hours = td.hours();
291  const long minutes = td.minutes();
292  const long seconds = td.seconds();
293  const long milliseconds = td.total_milliseconds() - ((hours * 3600 + minutes * 60 + seconds) * 1000);
294  char buf[40];
295  sprintf(buf, "%02ld:%02ld:%02ld.%03ld", hours, minutes, seconds, milliseconds);
296  return buf;
297 }

◆ 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) {
312  std::vector<SG::VarHandleKey*> keys = a->keys();
313  for (auto k : keys) {
314  k->setOwner(this);
315  }
316  }
317  }

Member Data Documentation

◆ 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 AthReentrantAlgorithm::m_extendedExtraObjects
privateinherited

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

Empty if no symlinks were found.

Definition at line 153 of file AthReentrantAlgorithm.h.

◆ m_idHelperSvc

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

Definition at line 51 of file NswCondTestAlg.h.

◆ m_isMC

Gaudi::Property<bool> NswCondTestAlg::m_isMC {this, "isMC", false, "flagging the input type"}
private

Definition at line 54 of file NswCondTestAlg.h.

◆ m_logName

Gaudi::Property<std::string> NswCondTestAlg::m_logName {this,"LogName", "LogFile", "Name of the log file. The file creating the TimeCharge log will be called <LogName>_TDO.txt, the other will be <LogName>_vmm.txt"}
private

Definition at line 53 of file NswCondTestAlg.h.

◆ m_readKey_t0

SG::ReadCondHandleKey<NswT0Data> NswCondTestAlg::m_readKey_t0 {this, "readKey_t0", "NswT0Data", "Key of NswT0Data containing the t0 calibration data"}
private

Definition at line 49 of file NswCondTestAlg.h.

◆ m_readKey_tdopdo

SG::ReadCondHandleKey<NswCalibDbTimeChargeData> NswCondTestAlg::m_readKey_tdopdo
private
Initial value:
{
this, "ReadKey_tdopdo", "NswCalibDbTimeChargeData",
"Key of NswCalibDbTimeChargeData object containing calibration data (TDOs and PDOs)"}

Definition at line 43 of file NswCondTestAlg.h.

◆ m_readKey_vmm

SG::ReadCondHandleKey<NswCalibDbThresholdData> NswCondTestAlg::m_readKey_vmm
private
Initial value:
{
this, "ReadKey_vmm", "NswCalibDbThresholdData",
"Key of NswCalibDbThresholdData object containing calibration data (VMM thresholds)"}

Definition at line 46 of file NswCondTestAlg.h.

◆ 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:
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
NswCalibDbThresholdData
Definition: NswCalibDbThresholdData.h:17
NswCalibDbTimeChargeData::CalibConstants
Helper struct to cache all calibration constants in a common place of the memory.
Definition: NswCalibDbTimeChargeData.h:28
MuonIdHelper::detectorElement_begin
const_id_iterator detectorElement_begin() const
Iterators over full set of ids.
Definition: MuonIdHelper.cxx:758
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:24
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
NswCalibDbTimeChargeData::CalibDataType::PDO
@ PDO
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
MmIdHelper::channelMax
static int channelMax()
Definition: MmIdHelper.cxx:831
ALFA_EventTPCnv_Dict::t0
std::vector< ALFA_RawData_p1 > t0
Definition: ALFA_EventTPCnvDict.h:42
AthCommonDataStore::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 > renounce(T &h)
Definition: AthCommonDataStore.h:380
IOVInfiniteRange::infiniteMixed
static EventIDRange infiniteMixed()
Produces an mixed EventIDRange that is infinite in Time and RunLumi.
Definition: IOVInfiniteRange.h:55
skel.it
it
Definition: skel.GENtoEVGEN.py:396
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
MuonIdHelper::detectorElement_end
const_id_iterator detectorElement_end() const
Definition: MuonIdHelper.cxx:760
NswCondTestAlg::m_logName
Gaudi::Property< std::string > m_logName
Definition: NswCondTestAlg.h:53
XMLtoHeader.count
count
Definition: XMLtoHeader.py:85
python.utils.AtlRunQueryTimer.timer
def timer(name, disabled=False)
Definition: AtlRunQueryTimer.py:86
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
MmIdHelper::multilayer
int multilayer(const Identifier &id) const
Definition: MmIdHelper.cxx:796
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
TRT::Hit::side
@ side
Definition: HitInfo.h:83
NswCondTestAlg::timestamp
std::string timestamp() const
Definition: NswCondTestAlg.cxx:287
python.handimod.now
now
Definition: handimod.py:675
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
python.DecayParser.buf
buf
print ("=> [%s]"cmd)
Definition: DecayParser.py:27
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
plotBeamSpotVxVal.range
range
Definition: plotBeamSpotVxVal.py:195
NswT0Data
Definition: NswT0Data.h:16
MmIdHelper::gasGapMax
static int gasGapMax()
Definition: MmIdHelper.cxx:827
ATH_MSG_ALWAYS
#define ATH_MSG_ALWAYS(x)
Definition: AthMsgStreamMacros.h:35
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
NswCalibDbTimeChargeData::CalibDataType::TDO
@ TDO
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
python.LArCalib_HVCorrConfig.seconds
seconds
Definition: LArCalib_HVCorrConfig.py:86
CaloCondBlobAlgs_fillNoiseFromASCII.channelId
channelId
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:122
AthReentrantAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Definition: AthReentrantAlgorithm.h:153
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
threshold
Definition: chainparser.cxx:74
AthReentrantAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthReentrantAlgorithm.cxx:96
NswCondTestAlg::retrieveTdoPdo
StatusCode retrieveTdoPdo(const EventContext &ctx, TimeChargeType data, const std::string &tech, const std::string &side, std::chrono::duration< double > &timer) const
Definition: NswCondTestAlg.cxx:116
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
NswCondTestAlg::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: NswCondTestAlg.h:51
taskman.hours
hours
Definition: taskman.py:650
NswCondTestAlg::m_readKey_t0
SG::ReadCondHandleKey< NswT0Data > m_readKey_t0
Definition: NswCondTestAlg.h:49
MuonCond::CalibTechType::STGC
@ STGC
NswCondTestAlg::retrieveT0
StatusCode retrieveT0(const EventContext &, std::chrono::duration< double > &) const
Definition: NswCondTestAlg.cxx:231
NswCondTestAlg::m_readKey_vmm
SG::ReadCondHandleKey< NswCalibDbThresholdData > m_readKey_vmm
Definition: NswCondTestAlg.h:46
a
TList * a
Definition: liststreamerinfos.cxx:10
h
MmIdHelper
Definition: MmIdHelper.h:54
Amg::intersect
std::optional< double > intersect(const AmgVector(N)&posA, const AmgVector(N)&dirA, const AmgVector(N)&posB, const AmgVector(N)&dirB)
Calculates the point B' along the line B that's closest to a second line A.
Definition: GeoPrimitivesHelpers.h:347
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
MmIdHelper::channelMin
static int channelMin()
Definition: MmIdHelper.cxx:829
NswCondTestAlg::m_isMC
Gaudi::Property< bool > m_isMC
Definition: NswCondTestAlg.h:54
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
NswCondTestAlg::retrieveVmm
StatusCode retrieveVmm(const EventContext &, const std::string &, const std::string &, std::chrono::duration< double > &) const
Definition: NswCondTestAlg.cxx:177
NswCalibDbTimeChargeData
Definition: NswCalibDbTimeChargeData.h:19
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
MmIdHelper::channelID
Identifier channelID(int stationName, int stationEta, int stationPhi, int multilayer, int gasGap, int channel) const
Definition: MmIdHelper.cxx:736
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
MuonCond::CalibTechType::MM
@ MM
NswCondTestAlg::m_readKey_tdopdo
SG::ReadCondHandleKey< NswCalibDbTimeChargeData > m_readKey_tdopdo
Definition: NswCondTestAlg.h:43
fitman.k
k
Definition: fitman.py:528
MmIdHelper::gasGapMin
static int gasGapMin()
Definition: MmIdHelper.cxx:815
ServiceHandle< ICondSvc >
Identifier
Definition: IdentifierFieldParser.cxx:14