ATLAS Offline Software
EgammaHitsShowerDepth.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGT2CALOCALIBRATION_EGAMMAHITSSHOWERDEPTH
6 #define TRIGT2CALOCALIBRATION_EGAMMAHITSSHOWERDEPTH
7 
8 #include "GaudiKernel/MsgStream.h"
9 
10 #include "CaloConditions/Array.h"
11 #include "CaloGeoHelpers/CaloSampling.h"
12 
13 // CalibHits auxiliar class:
15 {
16 public:
17  float depth (const float &aeta,
18  const float start_crack,
19  const float end_crack,
20  const CxxUtils::Array<2>& sampling_depth,
21  const float etamax,
22  const xAOD::TrigEMCluster* cluster) const;
23 
24  static const CaloSampling::CaloSample m_samps[2][4];
25 
26 private:
27  void barrelCoefs (const float &aeta, float R[4]) const;
28  bool endcapCoefs (const float &aeta,
29  const CxxUtils::Array<2>& sampling_depth,
30  const float etamax,
31  float R[4]) const;
32 };
33 
34 
35 
36 #endif
IDTPM::R
float R(const U &p)
Definition: TrackParametersHelper.h:101
Array.h
Simple multidimensional arrays.
EgammaHitsShowerDepth
Definition: EgammaHitsShowerDepth.h:15
CaloSampling::CaloSample
CaloSample
Definition: Calorimeter/CaloGeoHelpers/CaloGeoHelpers/CaloSampling.h:22
CxxUtils::Array< 2 >
EgammaHitsShowerDepth::depth
float depth(const float &aeta, const float start_crack, const float end_crack, const CxxUtils::Array< 2 > &sampling_depth, const float etamax, const xAOD::TrigEMCluster *cluster) const
Calculate the depth of the cluster.
Definition: EgammaHitsShowerDepth.cxx:44
EgammaHitsShowerDepth::endcapCoefs
bool endcapCoefs(const float &aeta, const CxxUtils::Array< 2 > &sampling_depth, const float etamax, float R[4]) const
Calculate the sampling depth coefficients for the endcap.
Definition: EgammaHitsShowerDepth.cxx:163
xAOD::TrigEMCluster_v1
Description of a trigger EM cluster.
Definition: TrigEMCluster_v1.h:28
EgammaHitsShowerDepth::barrelCoefs
void barrelCoefs(const float &aeta, float R[4]) const
Calculate the sampling depth coefficients for the barrel.
Definition: EgammaHitsShowerDepth.cxx:89
EgammaHitsShowerDepth::m_samps
static const CaloSampling::CaloSample m_samps[2][4]
Definition: EgammaHitsShowerDepth.h:24