BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Tof/tofcalgsec/tofcalgsec-00-02-20/tofcalgsec/calib_etf_bunch.h
Go to the documentation of this file.
1#ifndef CALIB_ETF_BUNCH_H
2#define CALIB_ETF_BUNCH_H
3
4#include "tofcalgsec/TofCalibFit.h"
5
6const int nParEtfBunch = 4; // 4: offset,offset error,sigma,sigma error
7const int nGraphTotalBunch = 8;
8
9class calib_etf_bunch:public TofCalibFit {
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
void calculate(RecordSet *&data, unsigned int ibunch)
calib_etf_bunch(const unsigned int nbunch)