Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
10 #include "CaloEvent/CaloCluster.h"
34 if (!cluster.inBarrel() && !cluster.inEndcap()) {
48 int sampling_or_module = 0;
50 float etacell = cluster.etamax(sam);
51 double eta = cluster.etaSample(sam);
52 double phi = cluster.phiSample(sam);
53 if ((
eta == 0. &&
phi == 0.) || std::abs(
eta) > 100) {
68 double deta = dde->
deta();
69 double dphi = dde->
dphi();
78 cluster.etaSample(sam),
79 cluster.phiSample(sam),
83 double etamax =
calc.etarmax();
84 double phimax =
calc.phirmax();
89 cell_list.
select(etamax, phimax, 7. * deta, 7. * dphi, sam);
134 double etaw =
calc.etas();
float deta() const
cell deta
list_iterator begin() const
Scalar phi() const
phi method
void select(double eta, double phi, double deta, double dphi)
Scalar eta() const
pseudorapidity method
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
bool inBarrel(const xAOD::CaloCluster &cluster, int is)
return boolean to know if we are in barrel/end-cap
const CaloDetDescrElement * get_element(const Identifier &cellId) const
get element by its identifier
Definition of CaloDetDescrManager.
list_iterator end() const
Description of a calorimeter cluster.
::StatusCode StatusCode
StatusCode definition for legacy code.
SUBCALO
enumeration of sub calorimeters
Container class for CaloCell.
float dphi() const
cell dphi
This class provides the client interface for accessing the detector description information common to...
static void decode_sample(CaloCell_ID::SUBCALO &subCalo, bool &barrel, int &sampling_or_module, CaloCell_ID::CaloSample sample)
translate between the 2 ways to label a sub-detector:
double RelPosition(const float eta, const float etacell)
returns method within the cell
static StatusCode execute(const xAOD::CaloCluster &cluster, const CaloDetDescrManager &cmgr, const CaloCellContainer &cell_container, Info &info, bool doRetaOnly=false)
float Correct(float eta, float etacell, float width)
returns corrected width at eta.
Calculate total energy, position, etc. for a given layer of a cluster.