BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
DiGam.h
Go to the documentation of this file.
1#ifndef GIGAMALG_H
2#define GIGAMALG_H
3
4#include "CLHEP/Vector/LorentzVector.h"
5#include "CLHEP/Vector/ThreeVector.h"
6#include "CLHEP/Vector/TwoVector.h"
7#include "GaudiKernel/Algorithm.h"
8#include "GaudiKernel/IHistogramSvc.h"
9#include "GaudiKernel/INTupleSvc.h"
10#include "GaudiKernel/ITHistSvc.h"
11#include "GaudiKernel/NTuple.h"
12#include "TH1F.h"
13
14#include "BeamEnergySvc/IBeamEnergySvc.h"
15
16class DiGam : public Algorithm {
17public:
18 DiGam( const std::string& name, ISvcLocator* pSvcLocator );
19 StatusCode initialize();
20 StatusCode execute();
21 StatusCode finalize();
22
23private:
24 double CrossSection;
25 double MCEff;
26 double MCEffBoost;
27
28 double jpsiCrossSection;
29 double jpsiMCEff;
30 double jpsiMCEffBoost;
31 double psi2sCrossSection;
32 double psi2sMCEff;
33 double psi2sMCEffBoost;
34 double psi3770CrossSection;
35 double psi3770MCEff;
36 double psi3770MCEffBoost;
37
38 int RunModel;
39 ITHistSvc* m_thsvc;
40 TH1F* h_lum;
41 IBeamEnergySvc* m_BeamEnergySvc;
42
43 int tot;
44 int signal;
45 int runNo;
46 int boost_signal;
47 int boost_tot;
48
49 // cut:
50 double boostPhimin;
51 double boostPhimax;
52 double boostMinEmin;
53 double boostMinEmax;
54 double dPhiMin;
55 double dPhiMax;
56 double dPhiMinSig;
57 double dPhiMaxSig;
58
59 bool flag;
60 double E_cms;
61
62 NTuple::Tuple* m_tuple2;
63 NTuple::Item<double> m_tot;
64 NTuple::Item<double> m_maxE;
65 NTuple::Item<double> m_minE;
66 NTuple::Item<double> m_maxTheta;
67 NTuple::Item<double> m_minTheta;
68 NTuple::Item<double> m_maxPhi;
69 NTuple::Item<double> m_minPhi;
70 NTuple::Item<double> m_delPhi;
71 NTuple::Item<double> m_delTheta;
72 NTuple::Item<double> m_angle;
73 NTuple::Item<double> m_boostAngle;
74 NTuple::Item<double> m_boostMaxE;
75 NTuple::Item<double> m_boostMinE;
76 NTuple::Item<double> m_boostDelPhi;
77 NTuple::Item<double> m_boostDelTheta;
78 NTuple::Item<double> m_boostM;
79 NTuple::Item<double> m_boostIM;
80 NTuple::Item<double> m_m;
81 NTuple::Item<double> m_IM;
82
83 NTuple::Item<long> m_run;
84 NTuple::Item<long> m_rec;
85 NTuple::Item<long> m_idxmc;
86 NTuple::Array<long> m_pdgid;
87 NTuple::Array<long> m_motheridx;
88};
89#endif
StatusCode execute()
Definition DiGam.cxx:175
DiGam(const std::string &name, ISvcLocator *pSvcLocator)
Definition DiGam.cxx:41
StatusCode finalize()
Definition DiGam.cxx:340
StatusCode initialize()
Definition DiGam.cxx:74