 |
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef DERIVATIONFRAMEWORK_GainDecorator_H
9 #define DERIVATIONFRAMEWORK_GainDecorator_H
30 using base_class::base_class;
38 std::map<std::pair<int, int>,
float>
EnoW;
39 std::map<std::pair<int, int>,
float>
E;
45 this,
"SGKey_photons",
"",
"SG key of photon container" };
48 this,
"SGKey_electrons",
"",
"SG key of electron container" };
50 Gaudi::Property< std::map<int, std::string> >
m_gainNames{
this,
"gain_names",
54 Gaudi::Property< std::vector<unsigned int> >
m_layers{
this,
"layers", { 0, 1, 2, 3 }};
62 "SGKey_photons_decorations",
64 "SG keys for photon decorations not really configurable"
70 "SGKey_electrons_decorations",
72 "SG keys for electrons decorations not really configurable"
79 #endif // DERIVATIONFRAMEWORK_GainDecorator_H
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKeyArray< xAOD::EgammaContainer > m_SGKey_photons_decorations
SG::WriteDecorHandleKeyArray< xAOD::EgammaContainer > m_SGKey_electrons_decorations
Gaudi::Property< std::vector< unsigned int > > m_layers
std::map< std::pair< int, int >, uint8_t > nCells
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual StatusCode addBranches(const EventContext &ctx) const override final
std::map< std::pair< int, int >, float > EnoW
static int getLayer(const CaloCell *cell)
SG::ReadHandleKey< xAOD::EgammaContainer > m_SGKey_photons
virtual StatusCode initialize() override final
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< std::map< int, std::string > > m_gainNames
std::map< std::pair< int, int >, float > E
Data object for each calorimeter readout cell.
SG::ReadHandleKey< xAOD::EgammaContainer > m_SGKey_electrons
std::vector< std::pair< int, int > > m_names_E
calculation decorateObject(const xAOD::Egamma *&egamma) const