ATLAS Offline Software
Loading...
Searching...
No Matches
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
11#include "CaloGeoHelpers/CaloSampling.h"
12
13// CalibHits auxiliar class:
15{
16public:
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
26private:
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
Simple multidimensional arrays.
Read-only multidimensional array.
static const CaloSampling::CaloSample m_samps[2][4]
void barrelCoefs(const float &aeta, float R[4]) const
Calculate the sampling depth coefficients for the barrel.
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.
std::string depth
tag string for intendation
Definition fastadd.cxx:46
TrigEMCluster_v1 TrigEMCluster
Define the latest version of the trigger EM cluster class.