36#ifndef CALOCLUSTERCORRECTION_CALOFILLRECTANGULARCLUSTER_H
37#define CALOCLUSTERCORRECTION_CALOFILLRECTANGULARCLUSTER_H
45#include "GaudiKernel/ThreadLocalContext.h"
72 const std::string& name,
73 const IInterface* parent);
111 double&
eta,
double&
phi)
const;
138 const double dphis2)
const;
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
Definition of CaloDetDescrManager.
defines and typedefs for IOVSvc
Property holding a SG store/key/clid from which a ReadHandle is made.
Container class for CaloCell.
Data object for each calorimeter readout cell.
Sampling calculator helper class.
This class provides the client interface for accessing the detector description information common to...
SG::ReadHandleKey< CaloCellContainer > m_cellsName
The StoreGate key for the container of our input cells.
bool m_setRawState
Property to tell if the raw energy, eta0 and phi0 should be saved as uncalibrated signal state.
virtual void get_seed(CaloClusterCorr::SamplingHelper &helper, const xAOD::CaloCluster *cluster, double &eta, double &phi) const
bool m_fill_cluster
Fill-cluster flag.
std::array< std::pair< double, double >, 4 > WindowArray_t
Holds the per-layer window sizes.
void makeCorrection2(const EventContext &ctx, const CaloDetDescrManager &dd_man, CaloClusterCorr::SamplingHelper &helper) const
CaloFillRectangularCluster()=delete
This isn't allowed.
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
CaloClusterCorrection virtual method.
void makeCorrection1(const EventContext &ctx, const CaloDetDescrManager &dd_man, CaloClusterCorr::SamplingHelper &helper, double eta, double phi, const CaloSampling::CaloSample samplings[4]) const
virtual WindowArray_t initWindows(const int neta, const int nphi, const double detas2, const double dphis2) const
Set up layer-by-layer cluster window sizes.
virtual StatusCode initialize() override
Standard Gaudi initialize method.
double m_deta0
Cell window sizes in each sampling.
virtual StatusCode setCaloCellContainerName(const std::string &name) override
Change the name of the CaloCellContainer used by this tool.
int m_neta
cluster size. These are properties.
void makeCorrection(const EventContext &ctx, xAOD::CaloCluster *cluster) const
CaloFillRectangularCluster(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi constructor.
Allow changing the name of the CaloCellContainer used by a tool.
Property holding a SG store/key/clid from which a ReadHandle is made.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.