ATLAS Offline Software
Loading...
Searching...
No Matches
CaloSwCalibHitsShowerDepth.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2/*
3 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
4*/
11
12
13#ifndef CALOCLUSTERCORRECTION_CALOSWCALIBHITSSHOWERDEPTH_H
14#define CALOCLUSTERCORRECTION_CALOSWCALIBHITSSHOWERDEPTH_H
15
16
17#include "CxxUtils/Array.h"
18#include "GaudiKernel/MsgStream.h"
20
21
22namespace CaloClusterCorr {
23
24
33{
34public:
49 static double depth (const float aeta,
50 const float start_crack,
51 const float end_crack,
52 const CaloRec::Array<2>& sampling_depth,
53 const float etamax,
54 const xAOD::CaloCluster* cluster,
55 MsgStream& log) ;
56
57
58private:
64 static void barrelCoefs (const float aeta, float R[4]) ;
65
66
74 static bool endcapCoefs (const float aeta,
75 const CaloRec::Array<2>& sampling_depth,
76 const float etamax,
77 float R[4]) ;
78};
79
80
81} // namespace CaloClusterCorr
82
83
84#endif // not CALOCLUSTERCORRECTION_CALOCALIBHITSSHOWERDEPTH_H
Simple multidimensional arrays.
Helper to calculate the shower depth as used in the calib hits SW cluster correction.
static bool endcapCoefs(const float aeta, const CaloRec::Array< 2 > &sampling_depth, const float etamax, float R[4])
Calculate the sampling depth coefficients for the endcap.
static void barrelCoefs(const float aeta, float R[4])
Calculate the sampling depth coefficients for the barrel.
Read-only multidimensional array.
std::string depth
tag string for intendation
Definition fastadd.cxx:46
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.