BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
TofEnergyRec.h
Go to the documentation of this file.
1//
2// Package: TofEnergyRec
3// BESIII Tof Energy Reconstruction Algorithm
4// Created by He Miao (EPC IHEP)
5//
6#ifndef TOF_ENERGY_REC_A_H
7#define TOF_ENERGY_REC_A_H
8
9#include "GaudiKernel/Algorithm.h"
10#include "GaudiKernel/NTuple.h"
11#include <string>
12
13class TofShower;
14
15class TofEnergyRec : public Algorithm {
16
17 public:
18 TofEnergyRec(const std::string& name, ISvcLocator* pSvcLocator);
19 StatusCode initialize();
20 StatusCode execute();
21 StatusCode finalize();
22
23 private:
24 int m_event;
25 int m_eventNb; //for output;
26 double m_calibConst; //energy calibration constant
27 double m_isData; //data or MC flag
28 TofShower *m_tofShower;
29
30 private:
31 bool m_output;
32 NTuple::Tuple* m_tuple;
33 NTuple::Tuple* m_tuple1;
34 NTuple::Tuple* m_tuple2;
35};
36#endif // Tof_ENERGY_REC_A_H
StatusCode finalize()
StatusCode initialize()
StatusCode execute()