BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
TwoGamma.h
Go to the documentation of this file.
1#ifndef Physics_analysis_TwoGamma_H
2#define Physics_Analysis_TwoGamma_H
3
4//#include "GaudiKnernel/AlgFactory.h"
5#include "GaudiKernel/Algorithm.h"
6#include "GaudiKernel/NTuple.h"
7class TwoGamma : public Algorithm
8{
9 public:
10 TwoGamma(const std::string& name, ISvcLocator* pSvcLocator);
11 StatusCode initialize();
12 StatusCode execute();
13 StatusCode finalize();
14 private:
15 // event selection
16 //Lum output
17 double m_max1;
18 double m_max2;
19 double m_costheta;
20
21 double m_dphi1;
22 double m_dphi2;
23 double m_eff;
24 double m_sec;
25 //Lum output
26
27 int m_event;
28 double m_ecms;
29
30 double m_pass[10];
31
32 int Ndata1;
33 int Ndata2;
34 int m_runNo;
35
36 NTuple::Tuple* m_tuple1;
37 NTuple::Item<double> m_ngood;
38 NTuple::Item<double> m_nchrg;
39
40 NTuple::Item<long> m_run;
41 NTuple::Item<long> m_rec;
42 NTuple::Item<long> m_time;
43
44 NTuple::Item<double> m_e1;
45 NTuple::Item<double> m_e2;
46 NTuple::Item<double> m_e;
47 NTuple::Item<double> m_costheta1;
48 NTuple::Item<double> m_costheta2;
49 NTuple::Item<double> m_dltphi;
50 NTuple::Item<double> m_dltphi_1;
51 NTuple::Item<double> m_dlttheta;
52 NTuple::Item<double> m_phi1;
53 NTuple::Item<double> m_phi2;
54
55 NTuple::Item<double> m_e1_lab;
56 NTuple::Item<double> m_e2_lab;
57 NTuple::Item<double> m_e_lab;
58 NTuple::Item<double> m_costheta1_lab;
59 NTuple::Item<double> m_costheta2_lab;
60 NTuple::Item<double> m_dltphi_lab;
61 NTuple::Item<double> m_dlttheta_lab;
62 NTuple::Item<double> m_phi1_lab;
63 NTuple::Item<double> m_phi2_lab;
64
65 NTuple::Item<double> m_xBoost;
66 NTuple::Item<double> m_yBoost;
67 NTuple::Item<double> m_zBoost;
68};
69#endif
StatusCode execute()
Definition TwoGamma.cxx:136
TwoGamma(const std::string &name, ISvcLocator *pSvcLocator)
Definition TwoGamma.cxx:47
StatusCode finalize()
Definition TwoGamma.cxx:318
StatusCode initialize()
Definition TwoGamma.cxx:74