BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Tof/tofcalgsec/tofcalgsec-00-02-20/tofcalgsec/calib_barrel_common.h
Go to the documentation of this file.
1#ifndef CALIB_BARREL_COMMON_H
2#define CALIB_BARREL_COMMON_H
3
4#include "tofcalgsec/TofCalibFit.h"
5
6// const int nBarrelCommon = 4; // number of calib_barrel_common.txt
7const int nParCommon = 4; // 4: offset,offset error,sigma,sigma error
8const int nGraphTotalCommon = 9;
9
11 public:
12 calib_barrel_common( const unsigned int nzbin );
14
15 void calculate( RecordSet*& data, unsigned int icounter );
16
17 private:
18 void fillRecord( const Record* r );
19 void fitHistogram();
20 void fillGraph();
21 void fitGraph();
22
23 private:
24 std::vector<double> zpos;
25 std::vector<double> zposerr;
26 double zstep;
27
28 std::vector<HepVector> m_fitresult;
29};
30
31#endif
32
TTree * data
std::vector< Record * > RecordSet
calib_barrel_common(const unsigned int nzbin)
void calculate(RecordSet *&data, unsigned int icounter)