BOSS 8.0.0
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
4#include "TofCalibFit.h"
5
6const int nParEtfBunch = 4; // 4: offset,offset error,sigma,sigma error
7const int nGraphTotalBunch = 8;
8
10public:
11 calib_etf_bunch( const unsigned int nbunch );
13
14 void calculate( RecordSet*& data, unsigned int ibunch );
15
16private:
17 void fillRecord( const Record* r );
18 void fitHistogram();
19 void fillGraph();
20 void fitGraph();
21
22private:
23 std::vector<double> modpos;
24 std::vector<double> modposerr;
25
26 std::vector<HepVector> m_fitresult;
27};
28
29#endif
TTree * data
std::vector< Record * > RecordSet
Definition TofDataSet.h:97
const int nParEtfBunch
const int nGraphTotalBunch
TofCalibFit(bool isbarrel, const int npar)
void calculate(RecordSet *&data, unsigned int ibunch)
calib_etf_bunch(const unsigned int nbunch)