ATLAS Offline Software
Calorimeter
CaloLocalHadCalib
CaloLocalHadCalib
CaloLocalHadCoeffHelper.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_CALOLOCALHADCOEFFHELPER_H
6
#define CALOLOCALHADCALIB_CALOLOCALHADCOEFFHELPER_H
7
8
#include <fstream>
9
#include <string>
10
11
#include "
CaloConditions/CaloLocalHadCoeff.h
"
12
13
14
class
CaloLocalHadCoeffHelper
{
15
public
:
16
17
enum
keys_dim_order
{
DIM_EMFRAC
,
DIM_SIDE
,
DIM_ETA
,
DIM_PHI
,
DIM_ENER
,
DIM_LAMBDA
,
DIM_UNKNOWN
};
18
19
CaloLocalHadCoeffHelper
();
20
virtual
~CaloLocalHadCoeffHelper
();
21
22
CaloLocalHadCoeff
*
InitDataFromFile
(
const
char
*
fname
);
23
void
PrintData
(
const
CaloLocalHadCoeff
*
data
, std::ostream &
fout
);
24
void
PrintData
(
const
CaloLocalHadCoeff
*
data
,
const
char
*
fname
);
25
26
const
CaloLocalHadCoeff::LocalHadArea
*
getAreaFromName
(
const
CaloLocalHadCoeff
*
coeff
,
const
std::string& sname,
int
&indx)
const
;
27
28
private
:
29
CaloLocalHadCoeff::LocalHadDimension
*
parse_dim
(std::string &sLine);
30
31
};
32
33
34
35
#endif
CaloLocalHadCoeff::LocalHadDimension
Class defines binning for user dimension.
Definition:
CaloLocalHadCoeff.h:47
data
char data[hepevt_bytes_allocation_ATLAS]
Definition:
HepEvt.cxx:11
CaloLocalHadCoeffHelper::DIM_SIDE
@ DIM_SIDE
Definition:
CaloLocalHadCoeffHelper.h:17
CaloLocalHadCoeffHelper::parse_dim
CaloLocalHadCoeff::LocalHadDimension * parse_dim(std::string &sLine)
Definition:
CaloLocalHadCoeffHelper.cxx:233
CaloLocalHadCoeffHelper::keys_dim_order
keys_dim_order
Definition:
CaloLocalHadCoeffHelper.h:17
CaloLocalHadCoeffHelper::DIM_EMFRAC
@ DIM_EMFRAC
Definition:
CaloLocalHadCoeffHelper.h:17
CaloLocalHadCoeffHelper::DIM_ENER
@ DIM_ENER
Definition:
CaloLocalHadCoeffHelper.h:17
CaloLocalHadCoeffHelper::PrintData
void PrintData(const CaloLocalHadCoeff *data, std::ostream &fout)
Definition:
CaloLocalHadCoeffHelper.cxx:167
CaloLocalHadCoeffHelper::InitDataFromFile
CaloLocalHadCoeff * InitDataFromFile(const char *fname)
Definition:
CaloLocalHadCoeffHelper.cxx:59
CaloLocalHadCoeffHelper
Definition:
CaloLocalHadCoeffHelper.h:14
CaloLocalHadCoeffHelper::DIM_LAMBDA
@ DIM_LAMBDA
Definition:
CaloLocalHadCoeffHelper.h:17
dqt_zlumi_alleff_HIST.fout
fout
Definition:
dqt_zlumi_alleff_HIST.py:59
CaloLocalHadCoeff
Hold binned correction data for local hadronic calibration procedure.
Definition:
CaloLocalHadCoeff.h:41
CaloLocalHadCoeffHelper::DIM_PHI
@ DIM_PHI
Definition:
CaloLocalHadCoeffHelper.h:17
CaloLocalHadCoeffHelper::getAreaFromName
const CaloLocalHadCoeff::LocalHadArea * getAreaFromName(const CaloLocalHadCoeff *coeff, const std::string &sname, int &indx) const
Definition:
CaloLocalHadCoeffHelper.cxx:42
CaloLocalHadCoeffHelper::DIM_UNKNOWN
@ DIM_UNKNOWN
Definition:
CaloLocalHadCoeffHelper.h:17
CaloLocalHadCoeffHelper::DIM_ETA
@ DIM_ETA
Definition:
CaloLocalHadCoeffHelper.h:17
MuonCalib::Legendre::coeff
constexpr double coeff(unsigned int l, unsigned int k)
Calculates the n-th coefficient of the legendre polynomial series.
Definition:
LegendrePoly.h:73
python.AthDsoLogger.fname
string fname
Definition:
AthDsoLogger.py:67
CaloLocalHadCoeff.h
CaloLocalHadCoeffHelper::~CaloLocalHadCoeffHelper
virtual ~CaloLocalHadCoeffHelper()
Definition:
CaloLocalHadCoeffHelper.cxx:35
CaloLocalHadCoeff::LocalHadArea
Definition of correction area.
Definition:
CaloLocalHadCoeff.h:145
CaloLocalHadCoeffHelper::CaloLocalHadCoeffHelper
CaloLocalHadCoeffHelper()
Definition:
CaloLocalHadCoeffHelper.cxx:29
Generated on Sun Dec 22 2024 21:07:58 for ATLAS Offline Software by
1.8.18