BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
calib_endcap_sigma.h
Go to the documentation of this file.
1#ifndef CALIB_ENDCAP_SIGMA_H
2#define CALIB_ENDCAP_SIGMA_H
3
5
6const int nEndcapSigma = 3; // number of calib_endcap_sigma.txt
7const int nParEcSigma = 4; // 4: offset, offset error, sigma, sigma error
8const int nGraphEcSigma = 2;
9
11 public:
12 calib_endcap_sigma( const unsigned int nrbin );
14
15 void calculate( RecordSet*& data, unsigned int icounter );
16
17 private:
18 void fillRecord( const Record* r, unsigned int icounter );
19 void fitHistogram( unsigned int icounter );
20 void fillGraph( unsigned int icounter );
21 void fitGraph( unsigned int icounter );
22
23 private:
24 std::vector<double> rpos;
25 std::vector<double> rposerr;
26 double rstep;
27
28 std::vector<HepVector> m_fitresult;
29};
30
31#endif
32
TTree * data
std::vector< Record * > RecordSet
Definition: TofDataSet.h:89
const int nGraphEcSigma
const int nParEcSigma
const int nEndcapSigma
void calculate(RecordSet *&data, unsigned int icounter)