8#ifndef DERIVATIONFRAMEWORK_GainDecorator_H
9#define DERIVATIONFRAMEWORK_GainDecorator_H
30 using base_class::base_class;
32 virtual StatusCode
initialize()
override final;
33 virtual StatusCode
addBranches(
const EventContext& ctx)
const override final;
38 std::map<std::pair<int, int>,
float>
EnoW;
39 std::map<std::pair<int, int>,
float>
E;
40 std::map<std::pair<int, int>, uint8_t>
nCells;
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"
Property holding a SG store/key/clid from which a ReadHandle is made.
Data object for each calorimeter readout cell.
SG::WriteDecorHandleKeyArray< xAOD::EgammaContainer > m_SGKey_photons_decorations
SG::ReadHandleKey< xAOD::EgammaContainer > m_SGKey_electrons
std::vector< std::pair< int, int > > m_names_E
static int getLayer(const CaloCell *cell)
SG::ReadHandleKey< xAOD::EgammaContainer > m_SGKey_photons
virtual StatusCode initialize() override final
Gaudi::Property< std::map< int, std::string > > m_gainNames
SG::WriteDecorHandleKeyArray< xAOD::EgammaContainer > m_SGKey_electrons_decorations
virtual StatusCode addBranches(const EventContext &ctx) const override final
Gaudi::Property< std::vector< unsigned int > > m_layers
calculation decorateObject(const xAOD::Egamma *&egamma) const
Property holding a SG store/key/clid from which a ReadHandle is made.
DecorHandleKeyArray< WriteDecorHandle< T, S >, WriteDecorHandleKey< T >, Gaudi::DataHandle::Writer > WriteDecorHandleKeyArray
Egamma_v1 Egamma
Definition of the current "egamma version".
std::map< std::pair< int, int >, uint8_t > nCells
std::map< std::pair< int, int >, float > E
std::map< std::pair< int, int >, float > EnoW