ATLAS Offline Software
Loading...
Searching...
No Matches
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:
16
17// xAOD includes:
19
20// StoreGate includes:
23
24namespace 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"};
88
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."};
110
111
112};
113
114} // namespace Ringer
115
116#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKeyArray< xAOD::ElectronContainer, float > m_lhoodKeys
SG::WriteDecorHandleKeyArray< xAOD::ElectronContainer, char > m_selKeys
Tool CaloRingerElectronsReader props (non configurables):
SG::WriteDecorHandleKeyArray< xAOD::ElectronContainer, unsigned int > m_isEMKeys
CaloRingerElectronsReader(const std::string &type, const std::string &name, const IInterface *parent)
Default constructor.
virtual StatusCode initialize() override
Tool main methods:
virtual StatusCode finalize() override
finalize method
SG::ReadHandleKey< xAOD::ElectronContainer > m_inputElectronContainerKey
Tool CaloRingerElectronsReader props (python configurables):
StatusCode addSelectorDeco(const std::string &contName, const std::string &selName)
Add decorations for a given selector.
virtual StatusCode execute() override
execute method
Gaudi::Property< bool > m_selectorsAvailable
Whether selectors are available.
BuildCaloRingsFctor< xAOD::ElectronContainer > * m_clRingsBuilderElectronFctor
The CaloRings Builder functor:
CaloRingerInputReader(const std::string &type, const std::string &name, const ::IInterface *parent)
Default constructor.
Property holding a SG store/key/clid from which a ReadHandle is made.
Namespace dedicated for Ringer utilities.
DecorHandleKeyArray< WriteDecorHandle< T, S >, WriteDecorHandleKey< T >, Gaudi::DataHandle::Writer > WriteDecorHandleKeyArray