ATLAS Offline Software
CaloRingerElectronsReader.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // $Id: CaloRingerElectronsReader.h 668867 2015-05-20 20:23:22Z wsfreund $
6 #ifndef CALORINGERTOOLS_CALORINGERELECTRONSREADER_H
7 #define CALORINGERTOOLS_CALORINGERELECTRONSREADER_H
8 
9 // STL includes:
10 #include <string>
11 
12 // Base includes:
13 #include "CaloRingerInputReader.h"
15 #include "CaloRingerReaderUtils.h"
16 
17 // xAOD includes:
19 
20 // StoreGate includes:
23 
24 namespace Ringer {
25 
28 {
29 
30  public:
31 
34 
37  CaloRingerElectronsReader(const std::string& type,
38  const std::string& name,
39  const IInterface* parent);
40 
46 
49 
52  virtual StatusCode initialize() override;
57  virtual StatusCode execute() override;
61  virtual StatusCode finalize() override;
63 
64 
65  private:
66 
69 
71 
73  StatusCode addSelectorDeco(const std::string &contName, const std::string &selName);
74 
77 
80  // PublicToolHandleArray<IAsgElectronRingerSelector> m_ringerSelectors {this,
81  // "ElectronSelectors", {}, "The ASG Electron Selectors."};
82 
85  "inputKey",
86  "Electrons",
87  "Name of the input electron container"};
89 
92 
96  "DoNotSet_selKeys", {}, "dummy property"};
97 
99  "DoNotSet_isEMKeys", {}, "dummy property"};
100 
102  "DoNotSet_lhoodKeys", {}, "dummy property"};
103 
106 
108  Gaudi::Property<bool> m_selectorsAvailable {this,
109  "selectorsAvailable", false, "Whether Selector Tool is available."};
111 
112 };
113 
114 } // namespace Ringer
115 
116 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
Ringer::BuildCaloRingsFctor
Definition: CaloRingerReaderUtils.h:108
Ringer::CaloRingerElectronsReader::finalize
virtual StatusCode finalize() override
finalize method
Definition: CaloRingerElectronsReader.cxx:60
Ringer::CaloRingerElectronsReader::~CaloRingerElectronsReader
~CaloRingerElectronsReader()
Destructor.
Definition: CaloRingerElectronsReader.cxx:30
Ringer::CaloRingerInputReader
Definition: CaloRingerInputReader.h:24
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
SG::ReadHandleKey< xAOD::ElectronContainer >
Ringer::CaloRingerElectronsReader::addSelectorDeco
StatusCode addSelectorDeco(const std::string &contName, const std::string &selName)
Add decorations for a given selector.
ICaloRingerElectronsReader.h
Ringer::ICaloRingerElectronsReader
Definition: ICaloRingerElectronsReader.h:31
python.HLT.Jet.JetMenuSequencesConfig.selName
def selName(recoSequenceName, hypoType=JetHypoAlgType.STANDARD)
Definition: JetMenuSequencesConfig.py:136
Ringer::CaloRingerElectronsReader::m_lhoodKeys
SG::WriteDecorHandleKeyArray< xAOD::ElectronContainer, float > m_lhoodKeys
Definition: CaloRingerElectronsReader.h:101
ElectronContainer.h
Ringer::CaloRingerElectronsReader::initialize
virtual StatusCode initialize() override
Tool main methods:
Definition: CaloRingerElectronsReader.cxx:36
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Ringer::CaloRingerElectronsReader::m_clRingsBuilderElectronFctor
BuildCaloRingsFctor< xAOD::ElectronContainer > * m_clRingsBuilderElectronFctor
The CaloRings Builder functor:
Definition: CaloRingerElectronsReader.h:105
test_pyathena.parent
parent
Definition: test_pyathena.py:15
CaloRingerReaderUtils.h
Ringer::CaloRingerElectronsReader::execute
virtual StatusCode execute() override
execute method
Definition: CaloRingerElectronsReader.cxx:66
Ringer::CaloRingerElectronsReader
Definition: CaloRingerElectronsReader.h:28
Ringer::CaloRingerElectronsReader::m_selKeys
SG::WriteDecorHandleKeyArray< xAOD::ElectronContainer, char > m_selKeys
Tool CaloRingerElectronsReader props (non configurables):
Definition: CaloRingerElectronsReader.h:95
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
Ringer::CaloRingerElectronsReader::m_inputElectronContainerKey
SG::ReadHandleKey< xAOD::ElectronContainer > m_inputElectronContainerKey
Tool CaloRingerElectronsReader props (python configurables):
Definition: CaloRingerElectronsReader.h:84
Ringer::CaloRingerElectronsReader::CaloRingerElectronsReader
CaloRingerElectronsReader(const std::string &type, const std::string &name, const IInterface *parent)
Default constructor.
Definition: CaloRingerElectronsReader.cxx:17
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
WriteDecorHandleKeyArray.h
Ringer::CaloRingerElectronsReader::m_isEMKeys
SG::WriteDecorHandleKeyArray< xAOD::ElectronContainer, unsigned int > m_isEMKeys
Definition: CaloRingerElectronsReader.h:98
CaloRingerInputReader.h
Ringer::CaloRingerElectronsReader::m_selectorsAvailable
Gaudi::Property< bool > m_selectorsAvailable
Whether selectors are available.
Definition: CaloRingerElectronsReader.h:108
Ringer
Namespace dedicated for Ringer utilities.
Definition: CaloRingsDefs.h:9