BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
calib_etf_bunch.h
Go to the documentation of this file.
1#ifndef CALIB_ETF_BUNCH_H
2#define CALIB_ETF_BUNCH_H
3
5
6const int nParEtfBunch = 4; // 4: offset,offset error,sigma,sigma error
7const int nGraphTotalBunch = 8;
8
10 public:
11 calib_etf_bunch( const unsigned int nbunch );
13
14 void calculate( RecordSet*& data, unsigned int ibunch );
15
16 private:
17 void fillRecord( const Record* r );
18 void fitHistogram();
19 void fillGraph();
20 void fitGraph();
21
22 private:
23 std::vector<double> modpos;
24 std::vector<double> modposerr;
25
26 std::vector<HepVector> m_fitresult;
27
28};
29
30#endif
TTree * data
std::vector< Record * > RecordSet
Definition: TofDataSet.h:98
const int nParEtfBunch
const int nGraphTotalBunch
void calculate(RecordSet *&data, unsigned int ibunch)