BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
Mdc/DedxCalibAlg/DedxCalibAlg-00-01-20/DedxCalibAlg/DedxCalibMomentum.h
Go to the documentation of this file.
1#ifndef DEDXCALIBMOMENTUM_HH
2#define DEDXCALIBMOMENTUM_HH
3
4#include "TH1F.h"
5#include "TTree.h"
6#include "vector"
7
8#include "DedxCalibAlg/DedxCalib.h"
9
10using namespace std;
11
12class DedxCalibMomentum: public DedxCalib
13{
14 public:
15 DedxCalibMomentum(const std::string& name, ISvcLocator* pSvcLocator);
17 void initializing() {}
18 void BookHists();
19 void genNtuple() {}
20 void FillHists();
22 void WriteHists();
23
24 private:
25 TH1F** m_chi;
26 TH1F** m_pos_chi;
27 TH1F** m_neg_chi;
28 TH1F** m_dedx;
29 TH1F** m_pos_dedx;
30 TH1F** m_neg_dedx;
31 TH1F** m_hits;
32
33 vector<double> Vec_dedx;
34 vector<double> Vec_ptrk;
35 double pMin, pMax, bin_step;
36};
37#endif
DedxCalibMomentum(const std::string &name, ISvcLocator *pSvcLocator)