40#include "CaloEvent/CaloCluster.h"
47 const std::string& name,
48 const IInterface* parent)
60 return StatusCode::SUCCESS;
87 const double dphis2)
const
91 float f_neta = (float)neta;
92 float f_nphi = (float)nphi;
94 w[0].first = detas2*f_neta;
95 w[1].first = w[0].first;
96 w[2].first = w[0].first;
97 w[3].first = w[0].first;
99 w[0].second = dphis2*f_nphi;
100 w[1].second = w[0].second;
101 w[2].second = w[0].second;
102 w[3].second = w[0].second;
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
#define CHECK(...)
Evaluate an expression and check for errors.
Sampling calculator helper class.
bool m_fill_cluster
Fill-cluster flag.
std::array< std::pair< double, double >, 4 > WindowArray_t
Holds the per-layer window sizes.
virtual StatusCode initialize() override
Standard Gaudi initialize method.
CaloFillRectangularCluster(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi constructor.
virtual WindowArray_t initWindows(const int neta, const int nphi, const double detas2, const double dphis2) const override
Set up layer-by-layer cluster window sizes.
virtual StatusCode initialize() override
Standard Gaudi initialize method.
virtual void get_seed(CaloClusterCorr::SamplingHelper &helper, const xAOD::CaloCluster *cluster, double &eta, double &phi) const override
CaloTopoEMlayers(const std::string &type, const std::string &name, const IInterface *parent)
virtual double eta() const
The pseudorapidity ( ) of the particle.
virtual double phi() const
The azimuthal angle ( ) of the particle.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.