27 "Prefix to add to aux data items.");
29 "Getter instance for the input egamma objects.");
31 "If true, don't complain if input objects are missing.");
33 "True if we should use the high-lum definition "
43 CHECK( AthAlgorithm::initialize() );
46 return StatusCode::SUCCESS;
60 deltaemax2(*g) = -999;
63 double eta2 = std::fabs(cluster->
etaBE(2));
66 eta2 = std::fabs(cluster->
eta());
67 double et = cluster->
e()/std::cosh(eta2);
72 deltaemax2(*g) = emax2/(1000.+0.0049*
et);
74 deltaemax2(*g) = emax2/(1000.+0.009*
et);
80 return StatusCode::SUCCESS;
Helpers for checking error return status codes and reporting errors.
#define CHECK(...)
Evaluate an expression and check for errors.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
std::string m_auxPrefix
Property: Prefix to add to aux data items.
ToolHandle< ICollectionGetterTool > m_getter
Property: Getter for input photon objects.
bool m_allowMissing
Property: If true, don't complain if input objects are missing.
virtual StatusCode execute() override
Standard Gaudi execute method.
egammaDeltaEmax2Alg(const std::string &name, ISvcLocator *svcloc)
Standard Gaudi algorithm constructor.
bool m_highLum
Property: True if we should use the high-lum definition of deltaEmax2.
virtual StatusCode initialize() override
Standard Gaudi initialize method.
SG::Decorator< T, ALLOC > Decorator
class to provide type-safe access to aux data.
virtual double eta() const
The pseudorapidity ( ) of the particle.
virtual double e() const
The total energy of the particle.
float etaBE(const unsigned layer) const
Get the eta in one layer of the EM Calo.
Block filler tool for noisy FEB information.
@ e2tsts1
energy of the cell corresponding to second energy maximum in the first sampling
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Egamma_v1 Egamma
Definition of the current "egamma version".
Extra patterns decribing particle interation process.