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

#include <TElectronTestAlg.h>

Inheritance diagram for CP::TElectronTestAlg:
Collaboration diagram for CP::TElectronTestAlg:

Public Member Functions

 TElectronTestAlg (const std::string &n, ISvcLocator *l)
 
virtual StatusCode initialize () override final
 
virtual StatusCode execute (const EventContext &ctx) 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

virtual ::StatusCode finalize ()
 finalize this algorithm More...
 
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

enum  mode { All = 0, Full = 1, Total = 2, Toys = 3 }
 
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

bool m_doDetail {false}
 
bool m_doToys {false}
 
int m_numberCorr {0}
 
double m_lowestEt {0}
 Number of Correlated syst. More...
 
std::unique_ptr< Root::TElectronEfficiencyCorrectionToolm_pimpl = nullptr
 Lowest Et for the reccomendations. More...
 
SG::ReadHandleKey< xAOD::ElectronContainerm_electronContainer
 Input collection name. More...
 
Gaudi::Property< std::string > m_mapFile
 Label for the collection. More...
 
Gaudi::Property< std::string > m_recoKey
 
Gaudi::Property< std::string > m_idKey
 
Gaudi::Property< std::string > m_isoKey
 
Gaudi::Property< std::string > m_triggerKey
 
Gaudi::Property< int > m_dataType
 
Gaudi::Property< int > m_mode {this, "mode", All, "Mode (All/Full/Total/Toys"}
 
Gaudi::Property< int > m_number_of_toys
 
Gaudi::Property< bool > m_decorate {this, "doDecorate", true, "Do decorations"}
 
SG::WriteDecorHandleKey< xAOD::ElectronContainerm_SF
 
SG::WriteDecorHandleKey< xAOD::ElectronContainerm_TotalUp
 
SG::WriteDecorHandleKey< xAOD::ElectronContainerm_TotalDown
 
SG::WriteDecorHandleKey< xAOD::ElectronContainerm_uncorrUp
 
SG::WriteDecorHandleKey< xAOD::ElectronContainerm_uncorrDown
 
SG::WriteDecorHandleKey< xAOD::ElectronContainerm_HistIndex
 
SG::WriteDecorHandleKey< xAOD::ElectronContainerm_HistBin
 
SG::WriteDecorHandleKey< xAOD::ElectronContainerm_corrUp
 
SG::WriteDecorHandleKey< xAOD::ElectronContainerm_corrDown
 
SG::WriteDecorHandleKey< xAOD::ElectronContainerm_toys
 
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 TElectronTestAlg.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Member Enumeration Documentation

◆ mode

Enumerator
All 
Full 
Total 
Toys 

Definition at line 65 of file TElectronTestAlg.h.

65 { All = 0, Full = 1, Total = 2, Toys = 3 };

Constructor & Destructor Documentation

◆ TElectronTestAlg()

CP::TElectronTestAlg::TElectronTestAlg ( const std::string &  n,
ISvcLocator *  l 
)
inline

Definition at line 27 of file TElectronTestAlg.h.

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 TElectronTestAlg::execute ( const EventContext &  ctx) const
finaloverridevirtual

Definition at line 87 of file TElectronTestAlg.cxx.

87  {
88 
89  //
90  unsigned int runNumber = 428648; // use a dummy default for testing
91 
92  int dataType = m_dataType;
93  //
95 
96  std::optional<SG::WriteDecorHandle<xAOD::ElectronContainer, double>> SF;
97  std::optional<SG::WriteDecorHandle<xAOD::ElectronContainer, double>> TotalUp;
98  std::optional<SG::WriteDecorHandle<xAOD::ElectronContainer, double>>
99  TotalDown;
100  std::optional<SG::WriteDecorHandle<xAOD::ElectronContainer, double>> uncorrUp;
101  std::optional<SG::WriteDecorHandle<xAOD::ElectronContainer, double>>
102  uncorrDown;
103  std::optional<SG::WriteDecorHandle<xAOD::ElectronContainer, int>> HistIndex;
104  std::optional<SG::WriteDecorHandle<xAOD::ElectronContainer, int>> HistBin;
105  std::optional<
107  corrUp;
108  std::optional<
110  corrDown;
111  std::optional<
113  toys;
114 
115  if (m_decorate) {
116  SF.emplace(m_SF, ctx);
117  TotalUp.emplace(m_TotalUp, ctx);
118  TotalDown.emplace(m_TotalDown, ctx);
119  if (m_doDetail) {
120  uncorrUp.emplace(m_uncorrUp, ctx);
121  uncorrDown.emplace(m_uncorrDown, ctx);
122  HistIndex.emplace(m_HistIndex, ctx);
123  HistBin.emplace(m_HistBin, ctx);
124  corrUp.emplace(m_corrUp, ctx);
125  corrDown.emplace(m_corrDown, ctx);
126  }
127  if (m_doToys) {
128  toys.emplace(m_toys, ctx);
129  }
130  }
131 
132  for (const xAOD::Electron* el : *electrons) {
133 
135 
136  // In case we fail
137  if (std::abs(el->eta()) > 2.469 || el->pt() < 10000) {
138  // if we decorate we need to set everything to dummy
139  // avoid decorating partially the collection ...
140  if (m_decorate) {
141  SF.value()(*el) = result.SF;
142  TotalUp.value()(*el) = result.SF + result.Total;
143  TotalDown.value()(*el) = result.SF - result.Total;
144  if (m_doDetail) {
145  uncorrUp.value()(*el) = result.SF + result.UnCorr;
146  uncorrDown.value()(*el) = result.SF - result.UnCorr;
147  HistIndex.value()(*el) = result.histIndex;
148  HistBin.value()(*el) = result.histBinNum;
149  corrUp.value()(*el) = result.Corr;
150  corrDown.value()(*el) = result.Corr;
151  }
152  if (m_doToys) {
153  toys.value()(*el) = result.toys;
154  }
155  }
156  continue;
157  }
158 
159  // Some logic for validity
160  double cluster_eta(-9999.9);
161  const xAOD::CaloCluster* cluster = el->caloCluster();
162  if (!cluster) {
163  ATH_MSG_ERROR("ERROR no cluster associated to the Electron \n");
164  return StatusCode::FAILURE;
165  }
166  // we need to use different variables for central and forward electrons
167  static const SG::AuxElement::ConstAccessor<uint16_t> accAuthor("author");
168  if (accAuthor.isAvailable(*el) &&
170  cluster_eta = cluster->eta();
171  } else {
172  cluster_eta = cluster->etaBE(2);
173  }
174 
175  // use et from cluster because it is immutable under syst variations of
176  // electron energy scale
177  const double energy = cluster->e();
178  const double parEta = el->eta();
179  const double coshEta = std::cosh(parEta);
180  double et = (coshEta != 0.) ? energy / coshEta : 0.;
181  // allow for a 5% margin at the lowest pT bin boundary
182  if (et < m_lowestEt) {
183  et = et * 1.05;
184  }
185 
186  // do the calculations
187  const int status = m_pimpl->calculate(
189  cluster_eta, et, /* in MeV */
190  result, (m_mode == Total) /* do work only for Total*/);
191  if (!status) {
192  ATH_MSG_ERROR("Something went wrong in the calculation");
193  return StatusCode::FAILURE;
194  }
195 
196  // print outs
197  ATH_MSG_INFO("--------------------------------------------");
198  ATH_MSG_INFO("Electron pt : " << el->pt() << " eta " << el->eta());
199  ATH_MSG_INFO("SF = " << result.SF << " +- " << result.Total);
200  if (m_doDetail) {
201  ATH_MSG_INFO("SF = " << result.SF << " +- " << result.UnCorr
202  << " stat only ");
203  ATH_MSG_INFO("At histo " << result.histIndex << " at bin "
204  << result.histBinNum);
205  ATH_MSG_INFO("Num correlated " << result.Corr.size());
206  for (double res : result.Corr) {
207  ATH_MSG_INFO("+- " << res);
208  }
209  }
210  if (m_doToys) {
211  ATH_MSG_INFO("Run " << result.toys.size() << " Toys ");
212  for (double res : result.toys) {
213  ATH_MSG_INFO("+- " << res);
214  }
215  }
216  if (m_decorate) {
217  SF.value()(*el) = result.SF;
218  TotalUp.value()(*el) = result.SF + result.Total;
219  TotalDown.value()(*el) = result.SF - result.Total;
220  if (m_doDetail) {
221  uncorrUp.value()(*el) = result.SF + result.UnCorr;
222  uncorrDown.value()(*el) = result.SF - result.UnCorr;
223  HistIndex.value()(*el) = result.histIndex;
224  HistBin.value()(*el) = result.histBinNum;
225  const size_t corrsize = result.Corr.size();
226  std::vector<double> up(corrsize, 0);
227  std::vector<double> down(corrsize, 0);
228  for (size_t i = 0; i < corrsize; ++i) {
229  up[i] = result.SF + result.Corr[i];
230  down[i] = result.SF - result.Corr[i];
231  }
232  corrUp.value()(*el) = std::move(up);
233  corrDown.value()(*el) = std::move(down);
234  }
235  if (m_doToys) {
236  toys.value()(*el) = std::move(result.toys);
237  }
238  }
239 
240  } // end of loop over electrons
241  return StatusCode::SUCCESS;
242 }

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

◆ finalize()

StatusCode EL::AnaReentrantAlgorithm::finalize ( )
protectedinherited

finalize this algorithm

This gets called after event processing has finished. The last event may no longer be in memory, and the code should not try to access it.

Definition at line 102 of file AnaReentrantAlgorithm.cxx.

104  {
105  return StatusCode::SUCCESS;
106  }

◆ initialize()

StatusCode TElectronTestAlg::initialize ( )
finaloverridevirtual

Definition at line 18 of file TElectronTestAlg.cxx.

18  {
19 
20  // input
22 
23  // Decorations
24  m_pimpl = std::make_unique<Root::TElectronEfficiencyCorrectionTool>(
25  (this->name() + ".TElectronEfficiencyCorrection").c_str());
26  //
27  m_pimpl->msg().setLevel(this->msg().level());
28  //
29  std::string mapFileName = PathResolverFindCalibFile(m_mapFile);
32  std::string value = ElRecomFileHelpers::getValueByKey(mapFileName, key);
34  if (filename.empty()) {
35  ATH_MSG_ERROR("Could NOT resolve file name " << value);
36  return StatusCode::FAILURE;
37  } else {
38  ATH_MSG_INFO(" Using recommendations file = " << filename);
39  }
40  m_pimpl->addFileName(filename);
41  //
42  if (m_mode == Toys || m_mode == All) {
43  m_pimpl->bookCombToyMCScaleFactors(m_number_of_toys);
44  }
45  // We use 0 as failure ...
46  if (m_pimpl->initialize() == 0) {
48  "Could not initialize the TElectronEfficiencyCorrectionTool!");
49  return StatusCode::FAILURE;
50  }
51 
52  // Auxiliary info
53  m_numberCorr = m_pimpl->getNSyst();
54  std::map<float, std::vector<float>> tmp;
55  m_pimpl->getNbins(tmp);
56  m_lowestEt = tmp.begin()->first;
57  m_doDetail = (m_mode != Toys && m_mode != Total);
58  m_doToys = (m_mode == Toys || m_mode == All);
59 
60  // decorations if requested
61  const std::string baseName = m_electronContainer.key();
62  m_SF = baseName + ".EFF_" + key + "_SF";
63  m_TotalUp = baseName + ".EFF_" + key + "_Total__Up";
64  m_TotalDown = baseName + ".EFF_" + key + "_Total__Down";
65  m_uncorrUp = baseName + ".EFF_" + key + "_UnCorr__Up";
66  m_uncorrDown = baseName + ".EFF_" + key + "_UnCorr__Down";
67  m_HistIndex = baseName + ".EFF_" + key + "_HistIndex";
68  m_HistBin = baseName + ".EFF_" + key + "_HistBin";
69  m_corrUp = baseName + ".EFF_" + key + "_Corr__Up";
70  m_corrDown = baseName + ".EFF_" + key + "_Corr__Down";
71  m_toys = baseName + ".EFF_" + key + "__toys";
72 
83 
84  return StatusCode::SUCCESS;
85 }

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

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

SG::WriteDecorHandleKey<xAOD::ElectronContainer> CP::TElectronTestAlg::m_corrDown
private
Initial value:
{
this, "DoNotSet_CorrDown", "Electrons.CorrDown", ""}

Definition at line 88 of file TElectronTestAlg.h.

◆ m_corrUp

SG::WriteDecorHandleKey<xAOD::ElectronContainer> CP::TElectronTestAlg::m_corrUp
private
Initial value:
{
this, "DoNotSet_CorrUp", "Electrons.CorrUp", ""}

Definition at line 86 of file TElectronTestAlg.h.

◆ m_dataType

Gaudi::Property<int> CP::TElectronTestAlg::m_dataType
private
Initial value:
{this, "dataType",
"Particle Data Type Full/Fast"}

Definition at line 61 of file TElectronTestAlg.h.

◆ m_decorate

Gaudi::Property<bool> CP::TElectronTestAlg::m_decorate {this, "doDecorate", true, "Do decorations"}
private

Definition at line 70 of file TElectronTestAlg.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_doDetail

bool CP::TElectronTestAlg::m_doDetail {false}
private

Definition at line 33 of file TElectronTestAlg.h.

◆ m_doToys

bool CP::TElectronTestAlg::m_doToys {false}
private

Definition at line 34 of file TElectronTestAlg.h.

◆ m_electronContainer

SG::ReadHandleKey<xAOD::ElectronContainer> CP::TElectronTestAlg::m_electronContainer
private
Initial value:
{
this, "ElectronContainer", "Electrons", "The input Electrons container"}

Input collection name.

Definition at line 41 of file TElectronTestAlg.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_HistBin

SG::WriteDecorHandleKey<xAOD::ElectronContainer> CP::TElectronTestAlg::m_HistBin
private
Initial value:
{
this, "DoNotSet_HistBin", "Electrons.HistBin", ""}

Definition at line 84 of file TElectronTestAlg.h.

◆ m_HistIndex

SG::WriteDecorHandleKey<xAOD::ElectronContainer> CP::TElectronTestAlg::m_HistIndex
private
Initial value:
{
this, "DoNotSet_HistIndex", "Electrons.HistIndex", ""}

Definition at line 82 of file TElectronTestAlg.h.

◆ m_idKey

Gaudi::Property<std::string> CP::TElectronTestAlg::m_idKey
private
Initial value:
{
this, "IdKey", "", "Key associated with identification working point"}

Definition at line 52 of file TElectronTestAlg.h.

◆ m_isoKey

Gaudi::Property<std::string> CP::TElectronTestAlg::m_isoKey
private
Initial value:
{
this, "IsoKey", "", "Key associated with isolation working point"}

Definition at line 55 of file TElectronTestAlg.h.

◆ m_lowestEt

double CP::TElectronTestAlg::m_lowestEt {0}
private

Number of Correlated syst.

Definition at line 36 of file TElectronTestAlg.h.

◆ m_mapFile

Gaudi::Property<std::string> CP::TElectronTestAlg::m_mapFile
private
Initial value:
{
this, "MapFilePath",
"ElectronEfficiencyCorrection/2015_2025/rel22.2/"
"2022_Summer_Prerecom_v1/map2.txt",
"Full path to the map file"}

Label for the collection.

Definition at line 45 of file TElectronTestAlg.h.

◆ m_mode

Gaudi::Property<int> CP::TElectronTestAlg::m_mode {this, "mode", All, "Mode (All/Full/Total/Toys"}
private

Definition at line 66 of file TElectronTestAlg.h.

◆ m_number_of_toys

Gaudi::Property<int> CP::TElectronTestAlg::m_number_of_toys
private
Initial value:
{this, "number_of_toys", 40,
"Number of toys in the ensemble"}

Definition at line 67 of file TElectronTestAlg.h.

◆ m_numberCorr

int CP::TElectronTestAlg::m_numberCorr {0}
private

Definition at line 35 of file TElectronTestAlg.h.

◆ m_pimpl

std::unique_ptr<Root::TElectronEfficiencyCorrectionTool> CP::TElectronTestAlg::m_pimpl = nullptr
private

Lowest Et for the reccomendations.

This is not a tool but more of an utility

Definition at line 39 of file TElectronTestAlg.h.

◆ m_recoKey

Gaudi::Property<std::string> CP::TElectronTestAlg::m_recoKey
private
Initial value:
{this, "RecoKey", "",
"Key associated with reconstruction"}

Definition at line 50 of file TElectronTestAlg.h.

◆ m_SF

SG::WriteDecorHandleKey<xAOD::ElectronContainer> CP::TElectronTestAlg::m_SF
private
Initial value:
{this, "DoNotSet_SF",
"Electrons.SF", ""}

Definition at line 72 of file TElectronTestAlg.h.

◆ m_TotalDown

SG::WriteDecorHandleKey<xAOD::ElectronContainer> CP::TElectronTestAlg::m_TotalDown
private
Initial value:
{
this, "DoNotSet_TotalDown", "Electrons.TotalDown", ""}

Definition at line 76 of file TElectronTestAlg.h.

◆ m_TotalUp

SG::WriteDecorHandleKey<xAOD::ElectronContainer> CP::TElectronTestAlg::m_TotalUp
private
Initial value:
{
this, "DoNotSet_TotalUp", "Electrons.TotalUp", ""}

Definition at line 74 of file TElectronTestAlg.h.

◆ m_toys

SG::WriteDecorHandleKey<xAOD::ElectronContainer> CP::TElectronTestAlg::m_toys
private
Initial value:
{this, "DoNotSet_",
"Electrons.toys", ""}

Definition at line 90 of file TElectronTestAlg.h.

◆ m_triggerKey

Gaudi::Property<std::string> CP::TElectronTestAlg::m_triggerKey
private
Initial value:
{
this, "TriggerKey", "", "Key associated with trigger working point"}

Definition at line 58 of file TElectronTestAlg.h.

◆ m_uncorrDown

SG::WriteDecorHandleKey<xAOD::ElectronContainer> CP::TElectronTestAlg::m_uncorrDown
private
Initial value:
{
this, "DoNotSet_UnCorrDown", "Electrons.UnCorrDown", ""}

Definition at line 80 of file TElectronTestAlg.h.

◆ m_uncorrUp

SG::WriteDecorHandleKey<xAOD::ElectronContainer> CP::TElectronTestAlg::m_uncorrUp
private
Initial value:
{
this, "DoNotSet_UnCorrUp", "Electrons.UnCorrUp", ""}

Definition at line 78 of file TElectronTestAlg.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:
et
Extra patterns decribing particle interation process.
CP::TElectronTestAlg::m_TotalUp
SG::WriteDecorHandleKey< xAOD::ElectronContainer > m_TotalUp
Definition: TElectronTestAlg.h:74
get_generator_info.result
result
Definition: get_generator_info.py:21
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
xAOD::et
et
Definition: TrigEMCluster_v1.cxx:25
CP::TElectronTestAlg::m_TotalDown
SG::WriteDecorHandleKey< xAOD::ElectronContainer > m_TotalDown
Definition: TElectronTestAlg.h:76
CP::TElectronTestAlg::m_corrUp
SG::WriteDecorHandleKey< xAOD::ElectronContainer > m_corrUp
Definition: TElectronTestAlg.h:86
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
AthCommonDataStore::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
CP::TElectronTestAlg::m_doToys
bool m_doToys
Definition: TElectronTestAlg.h:34
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
TRT_PAI_gasdata::SF
const float SF[NF]
Cross sections for Fluor.
Definition: TRT_PAI_gasdata.h:285
CP::TElectronTestAlg::m_uncorrDown
SG::WriteDecorHandleKey< xAOD::ElectronContainer > m_uncorrDown
Definition: TElectronTestAlg.h:80
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
downloadSingle.dataType
string dataType
Definition: downloadSingle.py:18
CP::TElectronTestAlg::m_doDetail
bool m_doDetail
Definition: TElectronTestAlg.h:33
athena.value
value
Definition: athena.py:124
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
CP::TElectronTestAlg::m_electronContainer
SG::ReadHandleKey< xAOD::ElectronContainer > m_electronContainer
Input collection name.
Definition: TElectronTestAlg.h:41
SG::ConstAccessor
Helper class to provide constant type-safe access to aux data.
Definition: ConstAccessor.h:55
CP::TElectronTestAlg::m_uncorrUp
SG::WriteDecorHandleKey< xAOD::ElectronContainer > m_uncorrUp
Definition: TElectronTestAlg.h:78
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
xAOD::EgammaParameters::AuthorFwdElectron
const uint16_t AuthorFwdElectron
Electron reconstructed by the Forward cluster-based algorithm.
Definition: EgammaDefs.h:30
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
CP::TElectronTestAlg::m_HistIndex
SG::WriteDecorHandleKey< xAOD::ElectronContainer > m_HistIndex
Definition: TElectronTestAlg.h:82
CP::TElectronTestAlg::m_mapFile
Gaudi::Property< std::string > m_mapFile
Label for the collection.
Definition: TElectronTestAlg.h:45
CP::TElectronTestAlg::m_HistBin
SG::WriteDecorHandleKey< xAOD::ElectronContainer > m_HistBin
Definition: TElectronTestAlg.h:84
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
PATCore::ParticleDataType::DataType
DataType
Definition: PATCoreEnums.h:22
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
CP::TElectronTestAlg::m_dataType
Gaudi::Property< int > m_dataType
Definition: TElectronTestAlg.h:61
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
PATCore::ParticleDataType::Full
@ Full
Definition: PATCoreEnums.h:22
xAOD::CaloCluster_v1::etaBE
float etaBE(const unsigned layer) const
Get the eta in one layer of the EM Calo.
Definition: CaloCluster_v1.cxx:644
Root::TElectronEfficiencyCorrectionTool::Result
Definition: TElectronEfficiencyCorrectionTool.h:42
CP::TElectronTestAlg::m_isoKey
Gaudi::Property< std::string > m_isoKey
Definition: TElectronTestAlg.h:55
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
AthCommonDataStore
Definition: AthCommonDataStore.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
xAOD::CaloCluster_v1::eta
virtual double eta() const
The pseudorapidity ( ) of the particle.
Definition: CaloCluster_v1.cxx:251
lumiFormat.i
int i
Definition: lumiFormat.py:85
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
SG::WriteDecorHandle
Handle class for adding a decoration to an object.
Definition: StoreGate/StoreGate/WriteDecorHandle.h:100
res
std::pair< std::vector< unsigned int >, bool > res
Definition: JetGroupProductTest.cxx:14
CP::TElectronTestAlg::m_toys
SG::WriteDecorHandleKey< xAOD::ElectronContainer > m_toys
Definition: TElectronTestAlg.h:90
CalibCoolCompareRT.up
up
Definition: CalibCoolCompareRT.py:109
plotIsoValidation.el
el
Definition: plotIsoValidation.py:197
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
SG::VarHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:103
CP::TElectronTestAlg::m_idKey
Gaudi::Property< std::string > m_idKey
Definition: TElectronTestAlg.h:52
CP::TElectronTestAlg::All
@ All
Definition: TElectronTestAlg.h:65
DeMoUpdate.tmp
string tmp
Definition: DeMoUpdate.py:1167
CP::TElectronTestAlg::m_numberCorr
int m_numberCorr
Definition: TElectronTestAlg.h:35
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
CP::TElectronTestAlg::m_mode
Gaudi::Property< int > m_mode
Definition: TElectronTestAlg.h:66
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
CP::TElectronTestAlg::Toys
@ Toys
Definition: TElectronTestAlg.h:65
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
CP::TElectronTestAlg::m_SF
SG::WriteDecorHandleKey< xAOD::ElectronContainer > m_SF
Definition: TElectronTestAlg.h:72
AthReentrantAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthReentrantAlgorithm.cxx:96
CP::TElectronTestAlg::m_corrDown
SG::WriteDecorHandleKey< xAOD::ElectronContainer > m_corrDown
Definition: TElectronTestAlg.h:88
CP::TElectronTestAlg::m_lowestEt
double m_lowestEt
Number of Correlated syst.
Definition: TElectronTestAlg.h:36
xAOD::Electron_v1
Definition: Electron_v1.h:34
EL::AnaReentrantAlgorithm
the base class for EventLoop reentrant algorithms
Definition: AnaReentrantAlgorithm.h:51
PathResolverFindCalibFile
std::string PathResolverFindCalibFile(const std::string &logical_file_name)
Definition: PathResolver.cxx:431
DeMoAtlasDataLoss.runNumber
string runNumber
Definition: DeMoAtlasDataLoss.py:64
a
TList * a
Definition: liststreamerinfos.cxx:10
CP::TElectronTestAlg::m_pimpl
std::unique_ptr< Root::TElectronEfficiencyCorrectionTool > m_pimpl
Lowest Et for the reccomendations.
Definition: TElectronTestAlg.h:39
SG::WriteDecorHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
h
ElRecomFileHelpers::convertToOneKey
std::string convertToOneKey(const std::string &recokey, const std::string &idkey, const std::string &isokey, const std::string &trigkey)
Definition: ElRecomFileHelpers.cxx:38
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
CP::TElectronTestAlg::Total
@ Total
Definition: TElectronTestAlg.h:65
AthCommonMsg< Gaudi::Algorithm >::msg
MsgStream & msg() const
Definition: AthCommonMsg.h:24
CaloCellTimeCorrFiller.filename
filename
Definition: CaloCellTimeCorrFiller.py:24
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
CP::TElectronTestAlg::m_recoKey
Gaudi::Property< std::string > m_recoKey
Definition: TElectronTestAlg.h:50
CP::TElectronTestAlg::m_triggerKey
Gaudi::Property< std::string > m_triggerKey
Definition: TElectronTestAlg.h:58
CP::TElectronTestAlg::m_decorate
Gaudi::Property< bool > m_decorate
Definition: TElectronTestAlg.h:70
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
merge.status
status
Definition: merge.py:17
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
ElRecomFileHelpers::getValueByKey
std::string getValueByKey(const std::string &mapFile, const std::string &key)
Definition: ElRecomFileHelpers.cxx:75
CP::TElectronTestAlg::m_number_of_toys
Gaudi::Property< int > m_number_of_toys
Definition: TElectronTestAlg.h:67
CP::TElectronTestAlg::Full
@ Full
Definition: TElectronTestAlg.h:65
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
xAOD::CaloCluster_v1::e
virtual double e() const
The total energy of the particle.
Definition: CaloCluster_v1.cxx:265
InDetDD::electrons
@ electrons
Definition: InDetDD_Defs.h:17
fitman.k
k
Definition: fitman.py:528
ServiceHandle< ICondSvc >
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37