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

#include <jFEXCondAlgo.h>

Inheritance diagram for LVL1::jFEXCondAlgo:
Collaboration diagram for LVL1::jFEXCondAlgo:

Public Member Functions

 jFEXCondAlgo (const std::string &name, ISvcLocator *svc)
 Constructors. More...
 
virtual StatusCode initialize () override
 Function initialising the algorithm. More...
 
virtual StatusCode execute (const EventContext &) const override
 Function executing the algorithm. More...
 
virtual bool isReEntrant () const override final
 
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

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

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::WriteCondHandleKey< jFEXDBCondDatam_jFEXDBParamsKey {this, "jFEXDBParamsKey", "jFEXDBParams", "Output for jFEX DB parameters"}
 
SG::ReadCondHandleKey< CondAttrListCollectionm_JfexModuleSettingsKey {this,"JfexModuleSettings", "", "Key to store JfexModuleSettings DB path"}
 
SG::ReadCondHandleKey< CondAttrListCollectionm_JfexNoiseCutsKey {this,"JfexNoiseCuts" , "", "Key to store JfexNoiseCuts DB path" }
 
SG::ReadCondHandleKey< CondAttrListCollectionm_JfexSystemSettingsKey {this,"JfexSystemSettings", "", "Key to store JfexSystemSettings DB path"}
 
UnsignedIntegerProperty m_dbBeginTimestamp {this,"BeginTimestamp", 1698527690,"Earliest timestamp that db parameters will be loaded. Default is start of 2023-10-27"}
 
Gaudi::Property< bool > m_isMC {this, "IsMC", false, "For MC, always access the DB"}
 
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 24 of file jFEXCondAlgo.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ jFEXCondAlgo()

LVL1::jFEXCondAlgo::jFEXCondAlgo ( const std::string &  name,
ISvcLocator *  svc 
)

Constructors.

Definition at line 27 of file jFEXCondAlgo.cxx.

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 LVL1::jFEXCondAlgo::execute ( const EventContext &  ctx) const
overridevirtual

Function executing the algorithm.

Definition at line 42 of file jFEXCondAlgo.cxx.

42  {
43 
44 
45  // Construct the output Cond Object and fill it in
46  std::unique_ptr<jFEXDBCondData> writeDBTool(std::make_unique<jFEXDBCondData>() );
47 
48  //Write handle
50  if (writeCHandle.isValid()) {
51  ATH_MSG_DEBUG("Existing jfex condition data is still valid");
52  return StatusCode::SUCCESS;
53  }
54 
55  // Date from which jFEX database parameters should be used (MC should always use DB)
56  // PU fix: 2023-10-27
57  bool validTimeStamp = (ctx.eventID().time_stamp() < m_dbBeginTimestamp) ? false : true;
58  if (m_isMC)
59  validTimeStamp = true;
60 
61  // Set DB to false if any of keys not provided
63 
64  bool useDBparams = (!anyKeyEmpty && validTimeStamp);
65 
66  /***************************************/
67  /* */
68  /* Jet calibration Parameters */
69  /* */
70  /***************************************/
71  std::vector<std::vector<int>> jJCalibParams(6, std::vector<int>(25, 0)); //6 modules, up to 25 calib factors
72 
73  if(!m_JfexModuleSettingsKey.empty() && useDBparams){
75 
76  // we should check if it is valid and the size is 6 (corresponding to the 6 jfex modules)
77  if (load_jFexModuleSet.isValid() and load_jFexModuleSet->size() == 6) {
78 
79  //setting the validity
80  writeCHandle.addDependency(load_jFexModuleSet);
81 
82  unsigned int mod = 0;
83  for (auto itr = load_jFexModuleSet->begin(); itr != load_jFexModuleSet->end(); ++itr) {
84 
85  const coral::Blob& blob = (itr->second["json"]).data<coral::Blob>();
86  const std::string s((char*)blob.startingAddress(),blob.size());
88 
89  if(attrList["JetCalib"] == nullptr) {
90  ATH_MSG_ERROR("Not loaded jFEX JetCalib from "<<m_JfexModuleSettingsKey);
91  return StatusCode::FAILURE;
92  }
93 
94  const std::vector<int> v_tmp(attrList["JetCalib"]);
95  if ( not(v_tmp.size() == 9 || v_tmp.size() == 8 || v_tmp.size() == 25 ) ){ //9 ET bins (before 2024), 8 (ctrl) / 25 (fwd) eta bins (from 2024 on)
96  ATH_MSG_ERROR("Not loaded jFEX JetCalib from "<<m_JfexModuleSettingsKey<<" (unexpected size: "<<v_tmp.size()<<")");
97  return StatusCode::FAILURE;
98  }
99 
100  jJCalibParams[mod] = v_tmp;
101  mod++;
102  }
103 
104  }
105  else{
106  ATH_MSG_ERROR("Values from "<<m_JfexModuleSettingsKey<< " not loaded. Wrong key?");
107  return StatusCode::FAILURE;
108  }
109  }
110  else{
111 
112  // LOADING default values!
113  for(unsigned int fex=0; fex<6; fex++){
114  for(unsigned int range=0; range<25; range++){
115  jJCalibParams[fex][range] = jDBdefaults::jJCalibParams[fex][range];
116  }
117  }
118  }
119 
120  writeDBTool->set_jJCalibParam(jJCalibParams);
121 
122 
123  /***************************************/
124  /* */
125  /* System Settings Parameters */
126  /* */
127  /***************************************/
128 
129  // Loading defaults
130  bool PileUpCorrectionJet = jDBdefaults::PileUpCorrectionJet;
131  bool PileUpCorrectionMET = jDBdefaults::PileUpCorrectionMET;
132  int PileUpThresholdLowEm = jDBdefaults::PileUpThresholdLowEm;
133  int PileUpThresholdHighEm = jDBdefaults::PileUpThresholdHighEm;
134  int PileUpThresholdLowHadLar = jDBdefaults::PileUpThresholdLowHadLar;
135  int PileUpThresholdHighHadLar = jDBdefaults::PileUpThresholdHighHadLar;
136  int PileUpThresholdLowHadHecOverlap = jDBdefaults::PileUpThresholdLowHadHecOverlap;
137  int PileUpThresholdHighHadHecOverlap = jDBdefaults::PileUpThresholdHighHadHecOverlap;
138  int PileUpThresholdLowHadTrex = jDBdefaults::PileUpThresholdLowHadTrex;
139  int PileUpThresholdHighHadTrex = jDBdefaults::PileUpThresholdHighHadTrex;
140  int PileUpThresholdLowFcal = jDBdefaults::PileUpThresholdLowFcal;
141  int PileUpThresholdHighFcal = jDBdefaults::PileUpThresholdHighFcal;
142 
143 
144  if(!m_JfexSystemSettingsKey.empty() && useDBparams) {
146 
147  const std::vector<std::string> myStrings{ "PileUpCorrectionJet", "PileUpCorrectionMET", "PileUpThresholdLowEm", "PileUpThresholdHighEm", "PileUpThresholdLowHadLar", "PileUpThresholdHighHadLar", "PileUpThresholdLowHadHecOverlap", "PileUpThresholdHighHadHecOverlap", "PileUpThresholdLowHadTrex", "PileUpThresholdHighHadTrex", "PileUpThresholdLowFcal", "PileUpThresholdHighFcal" };
148 
149  if (load_SystemSet.isValid()) {
150 
151  //setting the validity
152  writeCHandle.addDependency(load_SystemSet);
153 
154  for (auto itr = load_SystemSet->begin(); itr != load_SystemSet->end(); ++itr) {
155 
156  const coral::Blob& blob = (itr->second["json"]).data<coral::Blob>();
157  const std::string s((char*)blob.startingAddress(),blob.size());
159 
160  try {
161 
162  //checking if all the string are present in the json file
163  bool allitemsPresent = true;
164  for(const auto & name:myStrings ) {
165  allitemsPresent = allitemsPresent && attrList.contains(name);
166  }
167  if(allitemsPresent) {
168  PileUpCorrectionJet = (bool) attrList[myStrings.at( 0)];
169  PileUpCorrectionMET = (bool) attrList[myStrings.at( 1)];
170  PileUpThresholdLowEm = (int) attrList[myStrings.at( 2)];
171  PileUpThresholdHighEm = (int) attrList[myStrings.at( 3)];
172  PileUpThresholdLowHadLar = (int) attrList[myStrings.at( 4)];
173  PileUpThresholdHighHadLar = (int) attrList[myStrings.at( 5)];
174  PileUpThresholdLowHadHecOverlap = (int) attrList[myStrings.at( 6)];
175  PileUpThresholdHighHadHecOverlap = (int) attrList[myStrings.at( 7)];
176  PileUpThresholdLowHadTrex = (int) attrList[myStrings.at( 8)];
177  PileUpThresholdHighHadTrex = (int) attrList[myStrings.at( 9)];
178  PileUpThresholdLowFcal = (int) attrList[myStrings.at(10)];
179  PileUpThresholdHighFcal = (int) attrList[myStrings.at(11)];
180 
181  }
182  else {
183  throw (uint16_t) itr->first;
184  }
185  }
186  catch(uint16_t errTower) {
187  ATH_MSG_DEBUG("Loading Pileup values for jFEX ID A:"<<errTower <<". Some towers are not used anymore. Skipping");
188  }
189  }
190  }
191  else {
192  ATH_MSG_ERROR("Values from "<<m_JfexSystemSettingsKey<< " not loaded. Wrong key?");
193  return StatusCode::FAILURE;
194  }
195  }
196 
197  writeDBTool->set_doPileUpJet(PileUpCorrectionJet);
198  writeDBTool->set_doPileUpMet(PileUpCorrectionMET);
199  writeDBTool->set_PUThrLowEm(PileUpThresholdLowEm);
200  writeDBTool->set_PUThrHighEm(PileUpThresholdHighEm);
201  writeDBTool->set_PUThrLowHadLar(PileUpThresholdLowHadLar);
202  writeDBTool->set_PUThrHighHadLar(PileUpThresholdHighHadLar);
203  writeDBTool->set_PUThrLowHadHecOverlap(PileUpThresholdLowHadHecOverlap);
204  writeDBTool->set_PUThrHighHadHecOverlap(PileUpThresholdHighHadHecOverlap);
205  writeDBTool->set_PUThrLowHadTrex(PileUpThresholdLowHadTrex);
206  writeDBTool->set_PUThrHighHadTrex(PileUpThresholdHighHadTrex);
207  writeDBTool->set_PUThrLowFcal(PileUpThresholdLowFcal);
208  writeDBTool->set_PUThrHighFcal(PileUpThresholdHighFcal);
209 
210  /***************************************/
211  /* */
212  /* Noise Cut Parameters */
213  /* */
214  /***************************************/
215 
216  // Noise values for EM and HAD
217  // the map contains: key: OnlineID and the array contains {CutJetEM, CutJetHad, CutMetEM, CutMetHad} in that order!
218  std::unordered_map< uint16_t, std::array<uint16_t,4> > NoiseCuts;
219 
220  // PileUp values for EM and HAD
221  // the map contains: key: OnlineID and the array contains {CutJetEM, CutJetHad, CutMetEM, CutMetHad} in that order!
222  std::unordered_map< uint16_t, std::array<uint16_t,4> > PileUpWeight;
223 
224 
225  if(!m_JfexNoiseCutsKey.empty() && useDBparams) {
226 
228 
229  std::vector<std::string> myStringsNoise;
230 
231  if (PileUpCorrectionJet == 0 and PileUpCorrectionMET == 0)
232  myStringsNoise = { "CutJetEM", "CutJetHad", "CutMetEM", "CutMetHad" };
233  else if (PileUpCorrectionJet == 1 and PileUpCorrectionMET == 0)
234  myStringsNoise = { "CutJetPUEM", "CutJetPUHad", "CutMetEM", "CutMetHad" };
235  else if (PileUpCorrectionJet == 0 and PileUpCorrectionMET == 1)
236  myStringsNoise = { "CutJetEM", "CutJetHad", "CutMetPUEM", "CutMetPUHad" };
237  else // (PileUpCorrectionJet == 1 and PileUpCorrectionMET == 1)
238  myStringsNoise = { "CutJetPUEM", "CutJetPUHad", "CutMetPUEM", "CutMetPUHad" };
239 
240  const std::vector<std::string> myStringsPileup{ "PileUpWeightEM", "PileUpWeightHad", "InverseWeightEM", "InverseWeightHad" };
241 
242  // we should check if it is valid and the size is 6 (corresponding to the 6 jfex modules)
243  if (load_jFexNoiseCut.isValid()) {
244 
245  //setting the validity
246  writeCHandle.addDependency(load_jFexNoiseCut);
247 
248  writeDBTool->set_sendDefaults(false);
249 
250  for (auto itr = load_jFexNoiseCut->begin(); itr != load_jFexNoiseCut->end(); ++itr) {
251 
252  const coral::Blob& blob = (itr->second["json"]).data<coral::Blob>();
253  const std::string s((char*)blob.startingAddress(),blob.size());
255 
256 
257  //Trying to update Noise cut values
258  try {
259 
260  bool allitemsPresent = true;
261  for(const auto & name:myStringsNoise ) {
262  allitemsPresent = allitemsPresent && attrList.contains(name);
263  }
264 
265  if( allitemsPresent ) {
266  NoiseCuts[ (uint16_t) itr->first ]= { {(uint16_t) attrList[myStringsNoise.at(0)],(uint16_t) attrList[myStringsNoise.at(1)],(uint16_t) attrList[myStringsNoise.at(2)],(uint16_t) attrList[myStringsNoise.at(3)]} };
267  }
268  else {
269  throw (uint16_t) itr->first;
270  }
271  }
272  catch(uint16_t errTower) {
273  ATH_MSG_DEBUG("Loading Pileup values for jFEX ID B:"<<errTower <<". Some towers are not used anymore. Skipping");
274  NoiseCuts[ (uint16_t) itr->first ] = {0, 0, 0, 0};
275  }
276 
277  //Trying to update the PileUp values
278  //Some jTower are expected to throw and exception, wrong in DB
279  try {
280 
281  bool allitemsPresent = true;
282  for(const auto & name:myStringsPileup ) {
283  allitemsPresent = allitemsPresent && attrList.contains(name);
284  }
285 
286  if( allitemsPresent ) {
287  PileUpWeight[ (uint16_t) itr->first ]= { {(uint16_t) attrList[myStringsPileup.at(0)],(uint16_t) attrList[myStringsPileup.at(1)],(uint16_t) attrList[myStringsPileup.at(2)],(uint16_t) attrList[myStringsPileup.at(3)]} };
288  }
289  else {
290  throw (uint16_t) itr->first;
291  }
292  }
293  catch(uint16_t errTower) {
294  ATH_MSG_DEBUG("Loading Pileup values for jFEX ID C:"<<errTower <<". Some towers are not used anymore. Skipping");
295  PileUpWeight[ (uint16_t) itr->first ] = {0, 0, 0, 0};
296  }
297  }
298 
299  }
300  else {
301  ATH_MSG_ERROR("Values from "<<m_JfexNoiseCutsKey<< " not loaded. Wrong key?");
302  return StatusCode::FAILURE;
303  }
304  }
305  else{
306  NoiseCuts[0x0000] = jDBdefaults::PileUpWeight_default; // Unused - filled with 0s
307  NoiseCuts[0x00f0] = jDBdefaults::NoiseCuts_LATOME_TILE;
308  NoiseCuts[0x0f00] = jDBdefaults::NoiseCuts_LATOME_HEC;
309  NoiseCuts[0xf000] = jDBdefaults::NoiseCuts_FCAL;
310 
311  PileUpWeight[0x0000] = jDBdefaults::PileUpWeight_default;
312  PileUpWeight[0x00f0] = jDBdefaults::PileUpWeight_default;
313  PileUpWeight[0x0f00] = jDBdefaults::PileUpWeight_default;
314  PileUpWeight[0xf000] = jDBdefaults::PileUpWeight_default;
315  }
316 
317 
318  writeDBTool->set_NoiseCuts(NoiseCuts);
319  writeDBTool->set_PileUpValues(PileUpWeight);
320 
321  if(msgLvl(MSG::DEBUG)){
322 
323  std::stringstream myprint;
324  if (useDBparams)
325  myprint << "Parameters obtained from m_JfexModuleSettingsKey: "<< m_JfexModuleSettingsKey << std::endl;
326  else
327  myprint << "JfexModuleSettings obtained from jDBdefaults"<< std::endl;
328  myprint << "jJCalibParam:" << std::endl;
329 
330  for(int mod=0; mod<6; mod++) {
331  myprint << "jFEX"<<mod<<" - ";
332  for(int range=0; range<25; range++) {
333  myprint << writeDBTool->get_jJCalibParam(mod,range)<< " ";
334  }
335  myprint << std::endl;
336  }
337  myprint << std::endl;
338 
339  ATH_MSG_DEBUG(myprint.str());
340 
341 
342  std::stringstream myprint1;
343 
344  if (useDBparams)
345  myprint1 << "Parameters obtained from m_JfexSystemSettingsKey: "<< m_JfexSystemSettingsKey << std::endl;
346  else
347  myprint1 << "JfexSystemSettings obtained from jDBdefaults"<< std::endl;
348 
349  myprint1 << "System setting parameters: " <<std::endl;
350  myprint1 << "PileUpCorrectionJet: " << writeDBTool->get_doPileUpJet() <<std::endl;
351  myprint1 << "PileUpCorrectionMET: " << writeDBTool->get_doPileUpMet() <<std::endl;
352  myprint1 << "PileUpThresholdLowEm: " << writeDBTool->get_PUThrLowEm() <<std::endl;
353  myprint1 << "PileUpThresholdHighEm: " << writeDBTool->get_PUThrHighEm() <<std::endl;
354  myprint1 << "PileUpThresholdLowHadLar: " << writeDBTool->get_PUThrLowHadLar() <<std::endl;
355  myprint1 << "PileUpThresholdHighHadLar: " << writeDBTool->get_PUThrHighHadLar() <<std::endl;
356  myprint1 << "PileUpThresholdLowHadHecOverlap: " << writeDBTool->get_PUThrLowHadHecOverlap() <<std::endl;
357  myprint1 << "PileUpThresholdHighHadHecOverlap: "<< writeDBTool->get_PUThrHighHadHecOverlap()<<std::endl;
358  myprint1 << "PileUpThresholdLowHadTrex: " << writeDBTool->get_PUThrLowHadTrex() <<std::endl;
359  myprint1 << "PileUpThresholdHighHadTrex: " << writeDBTool->get_PUThrHighHadTrex() <<std::endl;
360  myprint1 << "PileUpThresholdLowFcal: " << writeDBTool->get_PUThrLowFcal() <<std::endl;
361  myprint1 << "PileUpThresholdHighFcal: " << writeDBTool->get_PUThrHighFcal() <<std::endl;
362 
363  ATH_MSG_DEBUG(myprint1.str());
364 
365  std::stringstream myprint2;
366 
367  if (useDBparams)
368  myprint2 << "Parameters obtained from m_JfexNoiseCutsKey: "<< m_JfexNoiseCutsKey << std::endl;
369  else
370  myprint2 << "JfexNoiseCuts obtained from jDBdefaults"<< std::endl;
371 
372  for( const auto& [key, value] : NoiseCuts) {
373  const auto [CutJetEM, CutJetHad, CutMetEM, CutMetHad] = value;
374  const auto [PileUpWeightEM, PileUpWeightHad, InverseWeightEM, InverseWeightHad] = PileUpWeight[key];
375 
376  myprint2 <<"OnlineID: 0x"<< std::hex<<key<<std::dec<< " - CutJetEM: "<< CutJetEM<< ", CutJetHad:"<< CutJetHad<< ", CutMetEM:"<< CutMetEM<< ", CutMetHad:"<< CutMetHad<< ", PileUpWeightEM: "<< PileUpWeightEM<< ", PileUpWeightHad:"<< PileUpWeightHad<< ", InverseWeightEM:"<< InverseWeightEM<< ", InverseWeightHad:"<< InverseWeightHad<< std::endl;
377  }
378 
379  ATH_MSG_DEBUG(myprint2.str());
380 
381  }
382 
383 
384 
385  // If DB parameters not loaded, valid for infinity and beyond!
386  if (!useDBparams) {
387  writeCHandle.addDependency(IOVInfiniteRange::infiniteRunLB()); // Use infinite IOV
388  }
389 
390  //Wrinting into SG!
391  if (writeCHandle.record(std::move(writeDBTool)).isFailure()) {
392  ATH_MSG_ERROR("Could not record " << writeCHandle.key() << " with EventRange " << writeCHandle.getRange() << " into Conditions Store");
393  return StatusCode::FAILURE;
394  }
395  ATH_MSG_INFO("Recorded " << writeCHandle.key() << " with EventRange " << writeCHandle.getRange() << " into Conditions Store");
396 
397  return StatusCode::SUCCESS;
398 
399 }

◆ 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 LVL1::jFEXCondAlgo::initialize ( )
overridevirtual

Function initialising the algorithm.

Definition at line 29 of file jFEXCondAlgo.cxx.

29  {
30 
31  ATH_MSG_INFO("Loading jFEX parameters from DB");
32 
36  ATH_CHECK( m_jFEXDBParamsKey.initialize() );
37 
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

◆ isReEntrant()

virtual bool LVL1::jFEXCondAlgo::isReEntrant ( ) const
inlinefinaloverridevirtual

Definition at line 34 of file jFEXCondAlgo.h.

34 { return false; }

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

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

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

UnsignedIntegerProperty LVL1::jFEXCondAlgo::m_dbBeginTimestamp {this,"BeginTimestamp", 1698527690,"Earliest timestamp that db parameters will be loaded. Default is start of 2023-10-27"}
private

Definition at line 46 of file jFEXCondAlgo.h.

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

Gaudi::Property<bool> LVL1::jFEXCondAlgo::m_isMC {this, "IsMC", false, "For MC, always access the DB"}
private

Definition at line 48 of file jFEXCondAlgo.h.

◆ m_jFEXDBParamsKey

SG::WriteCondHandleKey<jFEXDBCondData> LVL1::jFEXCondAlgo::m_jFEXDBParamsKey {this, "jFEXDBParamsKey", "jFEXDBParams", "Output for jFEX DB parameters"}
private

Definition at line 39 of file jFEXCondAlgo.h.

◆ m_JfexModuleSettingsKey

SG::ReadCondHandleKey<CondAttrListCollection> LVL1::jFEXCondAlgo::m_JfexModuleSettingsKey {this,"JfexModuleSettings", "", "Key to store JfexModuleSettings DB path"}
private

Definition at line 42 of file jFEXCondAlgo.h.

◆ m_JfexNoiseCutsKey

SG::ReadCondHandleKey<CondAttrListCollection> LVL1::jFEXCondAlgo::m_JfexNoiseCutsKey {this,"JfexNoiseCuts" , "", "Key to store JfexNoiseCuts DB path" }
private

Definition at line 43 of file jFEXCondAlgo.h.

◆ m_JfexSystemSettingsKey

SG::ReadCondHandleKey<CondAttrListCollection> LVL1::jFEXCondAlgo::m_JfexSystemSettingsKey {this,"JfexSystemSettings", "", "Key to store JfexSystemSettings DB path"}
private

Definition at line 44 of file jFEXCondAlgo.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:
LVL1::jFEXCondAlgo::m_jFEXDBParamsKey
SG::WriteCondHandleKey< jFEXDBCondData > m_jFEXDBParamsKey
Definition: jFEXCondAlgo.h:39
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
json
nlohmann::json json
Definition: HistogramDef.cxx:9
LVL1::jFEXCondAlgo::m_isMC
Gaudi::Property< bool > m_isMC
Definition: jFEXCondAlgo.h:48
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
parse
std::map< std::string, std::string > parse(const std::string &list)
Definition: egammaLayerRecalibTool.cxx:1040
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
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
AthCommonMsg< Gaudi::Algorithm >::msgLvl
bool msgLvl(const MSG::Level lvl) const
Definition: AthCommonMsg.h:30
python.subdetectors.tile.Blob
Blob
Definition: tile.py:17
athena.value
value
Definition: athena.py:122
LVL1::jFEXCondAlgo::m_JfexNoiseCutsKey
SG::ReadCondHandleKey< CondAttrListCollection > m_JfexNoiseCutsKey
Definition: jFEXCondAlgo.h:43
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
SG::VarHandleKey::empty
bool empty() const
Test if the key is blank.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:150
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
LVL1::jFEXCondAlgo::m_dbBeginTimestamp
UnsignedIntegerProperty m_dbBeginTimestamp
Definition: jFEXCondAlgo.h:46
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
maskDeadModules.mod
mod
Definition: maskDeadModules.py:36
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
IOVInfiniteRange::infiniteRunLB
static EventIDRange infiniteRunLB()
Produces an EventIDRange that is infinite in RunLumi and invalid in Time.
Definition: IOVInfiniteRange.h:39
LVL1::jFEXCondAlgo::m_JfexModuleSettingsKey
SG::ReadCondHandleKey< CondAttrListCollection > m_JfexModuleSettingsKey
Definition: jFEXCondAlgo.h:42
plotBeamSpotVxVal.range
range
Definition: plotBeamSpotVxVal.py:195
LVL1::jFEXCondAlgo::m_JfexSystemSettingsKey
SG::ReadCondHandleKey< CondAttrListCollection > m_JfexSystemSettingsKey
Definition: jFEXCondAlgo.h:44
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
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:195
AthReentrantAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthReentrantAlgorithm.cxx:96
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
a
TList * a
Definition: liststreamerinfos.cxx:10
h
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
DEBUG
#define DEBUG
Definition: page_access.h:11
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:616
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
xAOD::bool
setBGCode setTAP setLVL2ErrorBits bool
Definition: TrigDecision_v1.cxx:60
SG::AllowEmpty
@ AllowEmpty
Definition: StoreGate/StoreGate/VarHandleKey.h:30
SG::WriteCondHandle
Definition: WriteCondHandle.h:26
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
CaloCondBlobAlgs_fillNoiseFromASCII.blob
blob
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:96
fitman.k
k
Definition: fitman.py:528
ServiceHandle< ICondSvc >
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37