CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
calib_barrel_sigma.h
Go to the documentation of this file.
1#ifndef CALIB_BARREL_SIGMA_H
2#define CALIB_BARREL_SIGMA_H
3
5
6const int nBarrelSigma = 15; // number of calib_barrel_sigma.txt
7const int nParSigma = 4; // 4: offset, offset error, sigma, sigma error
8const int nGraphTotalSigma = 11;
9
11 public:
12 calib_barrel_sigma( const unsigned int nzbin );
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 void updateData( Record* r, unsigned int icounter );
24 void fillRecordT0( const Record* r, unsigned int icounter );
25 void fitHistogramT0( unsigned int icounter );
26 void fillGraphT0( unsigned int icounter );
27 void fitGraphT0( unsigned int icounter );
28
29 private:
30 std::vector<double> zpos;
31 std::vector<double> zposerr;
32 double zstep;
33
34 std::vector<HepVector> m_fitresult;
35};
36
37#endif
38
TTree * data
std::vector< Record * > RecordSet
Definition TofDataSet.h:89
const int nParSigma
const int nBarrelSigma
const int nGraphTotalSigma
calib_barrel_sigma(const unsigned int nzbin)
void calculate(RecordSet *&data, unsigned int icounter)