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