BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
TofEnergyCalib.h
Go to the documentation of this file.
1#ifndef Physics_Analysis_TofEnergyCalib_H
2#define Physics_Analysis_TofEnergyCalib_H
3#include <cstring>
4
5#include "GaudiKernel/AlgFactory.h"
6#include "GaudiKernel/Algorithm.h"
7#include "GaudiKernel/NTuple.h"
8using namespace std;
9
10class TofEnergyCalib : public Algorithm {
11
12public:
13 TofEnergyCalib(const std::string& name, ISvcLocator* pSvcLocator);
14 StatusCode initialize();
15 StatusCode execute();
16 StatusCode finalize();
17
18private:
19 NTuple::Tuple* m_tuple;
20 NTuple::Item<long> m_npart;
21 NTuple::Item<long> m_number;
22 NTuple::Item<double> m_adc1; //east ADC
23 NTuple::Item<double> m_adc2; //west ADC
24 NTuple::Item<double> m_tdc1; //east TDC
25 NTuple::Item<double> m_tdc2; //west TDC
26 NTuple::Item<double> m_zpos; //z position
27 NTuple::Item<double> m_length; //track length in TOF
28 NTuple::Item<double> m_energy; //energy deposited
29 NTuple::Item<double> m_length_ext; //track length in TOF
30 NTuple::Item<double> m_energy_ext; //energy deposited
31 NTuple::Item<double> m_ztdc; //z tdc
32 NTuple::Item<double> m_q; //q
33
34
35 int m_event;
36 int m_run;
37
38 bool m_isData; //MC or data flag
39
40 //file name extensions
41 std::string m_fileExt;
42
43 //file directory
44 std::string m_fileDir;
45 double m_num;
46 double m_EvsQ;
47
48};
49
50#endif
TofEnergyCalib(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode initialize()
StatusCode finalize()
StatusCode execute()