BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/TofEnergyRec/TofEnergyRec-00-00-11/TofEnergyRec/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
31 private:
32 bool m_output;
33 NTuple::Tuple* m_tuple;
34 NTuple::Tuple* m_tuple1;
35 NTuple::Tuple* m_tuple2;
36};
37#endif // Tof_ENERGY_REC_A_H
StatusCode finalize()
TofEnergyRec(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode initialize()
StatusCode execute()