|
ATLAS Offline Software
|
Go to the documentation of this file.
63 #ifndef CALOUTILS_CALOLAYERCALCULATOR_H
64 #define CALOUTILS_CALOLAYERCALCULATOR_H
67 #include "CaloGeoHelpers/CaloSampling.h"
72 #include "GaudiKernel/StatusCode.h"
115 template <
typename Iterator>
240 template <
typename Iterator>
253 template <
typename CONT,
typename RPAR,
typename COLL>
375 template <
typename Iterator>
389 Helper h (*
this,
eta,
phi, deta, dphi, sampling, tofill, cell_container);
488 template <
typename Iterator>
498 template <
typename CONT,
typename RPAR,
typename COLL>
502 return it.getParameter();
519 #endif // not CALOUTILS_CALOLAYERCALCULATOR_H
double phimr() const
Similar as phim, etam, phimax, etamax, but with raw quantities.
CaloLayerCalculator & m_calc
These members hold the values passed to the constructor.
void resetOnNegativeEnergy()
Reset output variables, but not m_em, allowing samplings to be negative.
Scalar phi() const
phi method
Scalar eta() const
pseudorapidity method
~Helper()
Calculate the layer variables from the accumulated cells The variables in the parent CaloLayerCalcula...
double phimax() const
Get maximum value.
void cell(const CaloCell *cell, double weight)
Accumulate results for another cell.
const CaloCellContainer * m_cell_container
xAOD::CaloCluster * m_tofill
double phis() const
Get the RMS size.
Definition of CaloDetDescrManager.
Helper class for layer variable calculation.
Helper(CaloLayerCalculator &calc, double eta, double phi, double deta, double dphi, CaloSampling::CaloSample sampling, xAOD::CaloCluster *tofill, const CaloCellContainer *cell_container)
Initialize for doing layer variable calculation.
Description of a calorimeter cluster.
const CaloCellContainer * getCellContainer() const
Method to access underlying cell container.
double etam() const
Data access.
::StatusCode StatusCode
StatusCode definition for legacy code.
static double get_weight(Iterator it)
Get the weight from a cell iterator.
CaloLayerCalculator()
Initialization.
CaloPhiRange class declaration.
double etas() const
Get the RMS size.
const CaloClusterCellLink * getCellLinks() const
Get a pointer to the CaloClusterCellLink object (const version)
double etamax() const
Get maximum value.
CaloSampling::CaloSample m_sampling
Container class for CaloCell.
double m_etam
Layer variables.
double emax() const
Get the maximum energy.
This class provides the client interface for accessing the detector description information common to...
Data object for each calorimeter readout cell.
double m_s00
Temporary variables used to accumulate the results.
double phim() const
Get the mean layer value.
const_iterator to loop over cells belonging to a cluster
void fill(Iterator beg, Iterator end, double eta, double phi, double deta, double dphi, CaloSampling::CaloSample sampling, xAOD::CaloCluster *tofill=0)
Calculate layer variables from cells in a list.
double em() const
Get the total energy.