 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef CALOLOCALHADCALIB_CALOHADDMCOEFFFIT_H
6 #define CALOLOCALHADCALIB_CALOHADDMCOEFFFIT_H
47 PrepData(): n_entries(0),m_sum(0.0),m_aver(0.0),m_rms(0.0),m_sw(0.0) { }
49 void add(
double xx,
double w=1.0)
53 m_rms = (m_sw/(m_sw+
w))*(m_rms+(
w/(m_sw+
w))*(xx-m_aver)*(xx-m_aver));
54 m_aver = m_aver+(xx-m_aver)*
w/(m_sw+
w);
57 unsigned int size() {
return n_entries;}
67 FitData(
float the_p0,
float the_s0,
float the_p1,
float the_s1)
68 : isOK(true),
p0(the_p0),
p1(the_p1), s0(the_s0),
s1(the_s1),
descr(
"def") {}
69 void getInverted(
float &p0inv,
float &s0inv,
float &p1inv,
float &s1inv)
71 p0inv=0.0; s0inv=0.0; p1inv=0.0; s1inv=0.0;
85 void make_report(std::string &sfname);
114 double ProfileRefiner(
TProfile *pH,
double ev_ratio=0.92);
115 double GetAverageWithoutRightTail(
TH1F *pH,
double ev_ratio=0.92);
116 int getFirstEnerLambdaBin(
int ibin);
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
std::string m_NormalizationType
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
FitData(float the_p0, float the_s0, float the_p1, float the_s1)
std::vector< TProfile * > m_hp_DmVsPrep
To fill and fit TProfile histograms using special dead material tree.
std::vector< PrepData * > m_engDmOverClus
def TProfile(*args, **kwargs)
Hold binned correction data for local hadronic calibration procedure.
Data to read from special DeadMaterialTree.
bool isSingleParticle(const T &p)
Identify a particlegun particle.
void getInverted(float &p0inv, float &s0inv, float &p1inv, float &s1inv)
std::vector< PrepData * > m_engClus
void SetNormalizationType(std::string &stype)
void add(double xx, double w=1.0)
std::vector< TH1F * > m_h1_engDmOverClus
std::vector< PrepData * > m_engPrep
CaloLocalHadCoeff * m_HadDMCoeff
CaloHadDMCoeffData * m_data
std::vector< TProfile2D * > m_hp2_DmWeight
CaloLocalHadCoeffHelper * m_HadDMHelper
std::vector< FitData * > m_FitData
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
std::vector< TH2F * > m_h2_DmVsPrep
Define macros for attributes used to control the static checker.
std::vector< PrepData * > m_engDm
CaloHadDMCoeffFit(const CaloHadDMCoeffFit &)
int m_NormalizationTypeNumber