BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
calib_endcap_atten.h
Go to the documentation of this file.
1#ifndef CALIB_ENDCAP_ATTEN_H
2#define CALIB_ENDCAP_ATTEN_H
3
5
6const int nEndcapAtten = 5; // number of calib_endcap_atten.txt
7const int nParEcAtten = 4; // 4: mean, mean error, sigma, sigma error
8const int nGraphEcAtten = 2;
9
11 public:
12 calib_endcap_atten( 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 void updateData( Record* r, unsigned int icounter );
24 void fillRecordQ0( const Record* r, unsigned int icounter );
25 void fitHistogramQ0( unsigned int icounter );
26 void fillGraphQ0();
27
28 private:
29 std::vector<double> rpos;
30 std::vector<double> rposerr;
31 double rstep;
32 std::vector<double> itofid;
33 std::vector<double> itofiderr;
34 double itofidstep;
35
36 std::vector<HepVector> m_fitresult;
37};
38
39#endif
40
TTree * data
std::vector< Record * > RecordSet
Definition: TofDataSet.h:89
const int nEndcapAtten
const int nGraphEcAtten
const int nParEcAtten
void calculate(RecordSet *&data, unsigned int icounter)