ATLAS Offline Software
Calorimeter
CaloLocalHadCalib
CaloLocalHadCalib
CaloHadDMCoeffHelper.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 CALOLOCALHADCALIB_CALOHADDMCOEFFHELPER_H
6
#define CALOLOCALHADCALIB_CALOHADDMCOEFFHELPER_H
7
17
#include <string>
18
19
#include "
CaloConditions/CaloHadDMCoeff2.h
"
20
21
22
class
CaloHadDMCoeffHelper
{
23
public
:
24
enum
key_area_type
{
kAREA_PROF
,
kAREA_LOOKUP
,
kAREA_SMPW
};
25
26
CaloHadDMCoeffHelper
();
27
virtual
~CaloHadDMCoeffHelper
();
28
29
CaloHadDMCoeff2
*
InitDataFromFile
(std::string &hadDMCoeffFileName);
30
31
const
CaloHadDMCoeff2::HadDMArea
*
getHadDMAreaFromBin
(
CaloHadDMCoeff2
* m_coeff,
int
iBin)
const
;
32
int
getBin
(
CaloHadDMCoeff2
* m_coeff,
const
int
n_area,
int
ifrac,
int
iener,
int
ilambda,
int
ieta)
const
;
33
const
CaloHadDMCoeff2::HadDMArea
*
getHadDMAreaFromName
(
CaloHadDMCoeff2
* m_coeff,
const
std::string& sname)
const
;
34
35
private
:
36
int
parse_dim
(std::string &sLine,
CaloHadDMCoeff2::HadDMDimension
&
dim
);
37
};
38
39
40
41
#endif
yodamerge_tmp.dim
dim
Definition:
yodamerge_tmp.py:239
CaloHadDMCoeff2.h
CaloHadDMCoeffHelper::kAREA_PROF
@ kAREA_PROF
Definition:
CaloHadDMCoeffHelper.h:24
CaloHadDMCoeff2
Dead material correction coefficients.
Definition:
CaloHadDMCoeff2.h:23
CaloHadDMCoeff2::HadDMArea
Definition:
CaloHadDMCoeff2.h:39
CaloHadDMCoeffHelper::key_area_type
key_area_type
Definition:
CaloHadDMCoeffHelper.h:24
CaloHadDMCoeff2::HadDMDimension
Definition:
CaloHadDMCoeff2.h:27
CaloHadDMCoeffHelper::CaloHadDMCoeffHelper
CaloHadDMCoeffHelper()
Definition:
CaloHadDMCoeffHelper.cxx:27
CaloHadDMCoeffHelper::InitDataFromFile
CaloHadDMCoeff2 * InitDataFromFile(std::string &hadDMCoeffFileName)
Definition:
CaloHadDMCoeffHelper.cxx:78
CaloHadDMCoeffHelper
Helper class to read dead material correction coeffitients from ASCII file.
Definition:
CaloHadDMCoeffHelper.h:22
CaloHadDMCoeffHelper::kAREA_SMPW
@ kAREA_SMPW
Definition:
CaloHadDMCoeffHelper.h:24
CaloHadDMCoeffHelper::getHadDMAreaFromBin
const CaloHadDMCoeff2::HadDMArea * getHadDMAreaFromBin(CaloHadDMCoeff2 *m_coeff, int iBin) const
Definition:
CaloHadDMCoeffHelper.cxx:39
CaloHadDMCoeffHelper::kAREA_LOOKUP
@ kAREA_LOOKUP
Definition:
CaloHadDMCoeffHelper.h:24
CaloHadDMCoeffHelper::getBin
int getBin(CaloHadDMCoeff2 *m_coeff, const int n_area, int ifrac, int iener, int ilambda, int ieta) const
Definition:
CaloHadDMCoeffHelper.cxx:64
CaloHadDMCoeffHelper::getHadDMAreaFromName
const CaloHadDMCoeff2::HadDMArea * getHadDMAreaFromName(CaloHadDMCoeff2 *m_coeff, const std::string &sname) const
Definition:
CaloHadDMCoeffHelper.cxx:52
CaloHadDMCoeffHelper::parse_dim
int parse_dim(std::string &sLine, CaloHadDMCoeff2::HadDMDimension &dim)
Definition:
CaloHadDMCoeffHelper.cxx:221
CaloHadDMCoeffHelper::~CaloHadDMCoeffHelper
virtual ~CaloHadDMCoeffHelper()
Definition:
CaloHadDMCoeffHelper.cxx:32
Generated on Mon Dec 23 2024 21:07:56 for ATLAS Offline Software by
1.8.18