ATLAS Offline Software
PixelChargeInterpolationHistograms.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef PixelChargeInterpolationHistograms_h
6 #define PixelChargeInterpolationHistograms_h
7 
8 #include <string>
9 #include <fstream>
10 
11 class TProfile;
12 class TH2F;
13 class TH1F;
14 template < class ht > class MultiHisto;
15 
16 namespace PixelCalib{
17 
19 
21 
22 public :
23  PixelChargeInterpolationHistograms(const std::string& tag,
25 
27 
30 
31  int Fill(int DetType, double GeVTrkPt,
32  double TrkEta, double DeltaCol, double reseta, double OmegaEta,
33  double alpha, double DeltaRow, double resphi, double OmegaPhi);
34 
36 
37  int Write();
38  int Read();
39 
40 private:
41 
42  std::string m_tag;
43 
53 
54  enum Indexes {
58  };
59 
60  bool Fit(TProfile *swap, double *value, double *error);
61 
62 };
63 
64 }
65 
66 #endif // #ifdef PixelChargeInterpolationHistograms_h
PixelCalib::PixelChargeInterpolationHistograms::m_etaH
MultiHisto< TH2F > * m_etaH
Definition: PixelChargeInterpolationHistograms.h:47
PixelCalib::PixelChargeInterpolationHistograms
Definition: PixelChargeInterpolationHistograms.h:20
PixelCalib::PixelChargeInterpolationHistograms::m_phiH
MultiHisto< TH2F > * m_phiH
Definition: PixelChargeInterpolationHistograms.h:48
PixelCalib::PixelChargeInterpolationHistograms::m_OmegaPhih_model
TH1F * m_OmegaPhih_model
Definition: PixelChargeInterpolationHistograms.h:52
PixelCalib::PixelChargeInterpolationHistograms::Fill
int Fill(int DetType, double GeVTrkPt, double TrkEta, double DeltaCol, double reseta, double OmegaEta, double alpha, double DeltaRow, double resphi, double OmegaPhi)
Definition: PixelChargeInterpolationHistograms.cxx:150
athena.value
value
Definition: athena.py:124
MultiHisto
Definition: MultiHisto.h:16
PixelCalib::PixelChargeInterpolationHistograms::m_OmegaPhih
MultiHisto< TH1F > * m_OmegaPhih
Definition: PixelChargeInterpolationHistograms.h:49
PixelCalib::PixelChargeInterpolationHistograms::AngleIndex
@ AngleIndex
Definition: PixelChargeInterpolationHistograms.h:56
python.TrigEgammaMonitorHelper.TH2F
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:45
PixelCalib::PixelChargeInterpolationHistograms::Write
int Write()
Definition: PixelChargeInterpolationHistograms.cxx:214
PixelCalib::PixelChargeInterpolationHistograms::Analyze
PixelChargeInterpolationParameters * Analyze(std::ofstream &logfile)
Definition: PixelChargeInterpolationHistograms.cxx:232
PixelCalib::PixelChargeInterpolationHistograms::m_OmegaEtah
MultiHisto< TH1F > * m_OmegaEtah
Definition: PixelChargeInterpolationHistograms.h:50
python.TrigEgammaMonitorHelper.TProfile
def TProfile(*args, **kwargs)
Definition: TrigEgammaMonitorHelper.py:81
PixelCalib::PixelChargeInterpolationHistograms::Indexes
Indexes
Definition: PixelChargeInterpolationHistograms.h:54
PixelCalib::PixelChargeInterpolationHistograms::PixelChargeInterpolationHistograms
PixelChargeInterpolationHistograms(const PixelChargeInterpolationHistograms &)=delete
PixelCalib
Definition: PixelChargeInterpolationCalibration.h:14
PixelCalib::PixelChargeInterpolationHistograms::m_etaProfile
MultiHisto< TProfile > * m_etaProfile
Definition: PixelChargeInterpolationHistograms.h:45
WriteCalibToCool.swap
swap
Definition: WriteCalibToCool.py:94
PixelCalib::PixelChargeInterpolationHistograms::ClustersizeIndex
@ ClustersizeIndex
Definition: PixelChargeInterpolationHistograms.h:57
PixelCalib::PixelChargeInterpolationHistograms::m_OmegaEtah_model
TH1F * m_OmegaEtah_model
Definition: PixelChargeInterpolationHistograms.h:51
PixelCalib::PixelChargeInterpolationHistograms::PixelChargeInterpolationHistograms
PixelChargeInterpolationHistograms(const std::string &tag, const PixelChargeInterpolationParameters &model)
Definition: PixelChargeInterpolationHistograms.cxx:30
python.runDiffRootOnChanged.logfile
logfile
Definition: runDiffRootOnChanged.py:143
PixelChargeInterpolationParameters
PixelCalib::PixelChargeInterpolationHistograms::m_parameters
PixelChargeInterpolationParameters * m_parameters
Definition: PixelChargeInterpolationHistograms.h:44
correlationModel::model
model
Definition: AsgElectronEfficiencyCorrectionTool.cxx:46
PixelCalib::PixelChargeInterpolationHistograms::m_phiProfile
MultiHisto< TProfile > * m_phiProfile
Definition: PixelChargeInterpolationHistograms.h:46
PixelCalib::PixelChargeInterpolationHistograms::operator=
PixelChargeInterpolationHistograms & operator=(const PixelChargeInterpolationHistograms &)=delete
python.TrigEgammaMonitorHelper.TH1F
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
Definition: TrigEgammaMonitorHelper.py:24
PixelCalib::PixelChargeInterpolationHistograms::Fit
bool Fit(TProfile *swap, double *value, double *error)
Definition: PixelChargeInterpolationHistograms.cxx:327
PixelCalib::PixelChargeInterpolationParameters
Definition: PixelChargeInterpolationParameters.h:26
PixelCalib::PixelChargeInterpolationHistograms::LayerIndex
@ LayerIndex
Definition: PixelChargeInterpolationHistograms.h:55
CaloCondBlobAlgs_fillNoiseFromASCII.tag
string tag
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:24
PixelCalib::PixelChargeInterpolationHistograms::m_tag
std::string m_tag
Definition: PixelChargeInterpolationHistograms.h:42
DetType
Definition: DetType.h:10
PixelCalib::PixelChargeInterpolationHistograms::Read
int Read()
Definition: PixelChargeInterpolationHistograms.cxx:197
error
Definition: IImpactPoint3dEstimator.h:70
PixelCalib::PixelChargeInterpolationHistograms::~PixelChargeInterpolationHistograms
virtual ~PixelChargeInterpolationHistograms()
Definition: PixelChargeInterpolationHistograms.cxx:128