BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
Analysis/Physics/BbEmcAlg/BbEmcAlg-00-00-01/BbEmcAlg/BbEmc.h
Go to the documentation of this file.
1#ifndef Physics_analysis_BbEmc_H
2#define Physics_Analysis_BbEmc_H
3
4#include "GaudiKernel/Algorithm.h"
5#include "GaudiKernel/NTuple.h"
6class BbEmc : public Algorithm
7{
8 public:
9 BbEmc(const std::string& name, ISvcLocator* pSvcLocator);
10 StatusCode initialize();
11 StatusCode execute();
12 StatusCode finalize();
13 private:
14 //control flag
15 bool m_hist;
16 bool m_trigger_flag;
17 bool m_hlt_flag;
18 bool m_est_flag;
19 bool m_kalTrk_flag;
20 // event selection cut
21 double m_energy_cut;
22 double m_mom_cut;
23 double m_dangCut;
24 double m_vr0cut;
25 double m_vz0cut;
26
27 NTuple::Tuple *m_tuple1;
28 NTuple::Item<long> m_run;
29 NTuple::Item<long> m_event;
30 NTuple::Item<long> m_num_Ctrk;
31 NTuple::Item<long> m_num_Ntrk;
32 NTuple::Item<long> m_num_Gtrk;
33 NTuple::Item<long> m_index;
34 NTuple::Array<double> m_ene;
35 NTuple::Array<double> m_theta;
36 NTuple::Array<double> m_phi;
37 NTuple::Item<double> m_dang;
38
39 NTuple::Item<long> m_trig_index;
40 NTuple::Array<long> m_trig_cond;
41 NTuple::Array<long> m_trig_chan;
42 NTuple::Item<long> m_trig_timewindow;
43 NTuple::Item<long> m_trig_timetype;
44
45 NTuple::Item<double> m_est_start;
46 NTuple::Item<long> m_est_status;
47 NTuple::Item<double> m_est_quality;
48 NTuple::Item<long> m_hlt_type;
49};
50#endif
StatusCode execute()
Definition: BbEmc.cxx:121
StatusCode initialize()
Definition: BbEmc.cxx:72
StatusCode finalize()
Definition: BbEmc.cxx:299