ATLAS Offline Software
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 */
13 #ifndef CALOCLUSTERCORRECTION_CALOSWCALIBHITSSHOWERDEPTH_H
14 #define CALOCLUSTERCORRECTION_CALOSWCALIBHITSSHOWERDEPTH_H
15 
16 
17 #include "CxxUtils/Array.h"
18 #include "GaudiKernel/MsgStream.h"
20 
21 
22 namespace CaloClusterCorr {
23 
24 
33 {
34 public:
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 
58 private:
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
CaloClusterCorr::CaloSwCalibHitsShowerDepth::barrelCoefs
static void barrelCoefs(const float aeta, float R[4])
Calculate the sampling depth coefficients for the barrel.
Definition: CaloSwCalibHitsShowerDepth.cxx:94
CaloClusterCorr
Definition: CaloClusterCorrectionCommon.h:22
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
CaloClusterCorr::CaloSwCalibHitsShowerDepth
Helper to calculate the shower depth as used in the calib hits SW cluster correction.
Definition: CaloSwCalibHitsShowerDepth.h:33
CaloClusterFwd.h
CaloClusterCorr::CaloSwCalibHitsShowerDepth::endcapCoefs
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.
Definition: CaloSwCalibHitsShowerDepth.cxx:168
CxxUtils::Array
Read-only multidimensional array.
Definition: Control/CxxUtils/CxxUtils/Array.h:138
Array.h
Simple multidimensional arrays.
CaloClusterCorr::CaloSwCalibHitsShowerDepth::depth
static double depth(const float aeta, const float start_crack, const float end_crack, const CaloRec::Array< 2 > &sampling_depth, const float etamax, const xAOD::CaloCluster *cluster, MsgStream &log)
Calculate the depth of the cluster.
Definition: CaloSwCalibHitsShowerDepth.cxx:36
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20