CGEM BOSS 6.6.5.h
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#include "GaudiKernel/Algorithm.h"
4#include "GaudiKernel/INTupleSvc.h"
5#include "GaudiKernel/NTuple.h"
6#include "GaudiKernel/IHistogramSvc.h"
7#include "CLHEP/Vector/ThreeVector.h"
8#include "CLHEP/Vector/LorentzVector.h"
9#include "CLHEP/Vector/TwoVector.h"
10using CLHEP::Hep3Vector;
11using CLHEP::Hep2Vector;
12using CLHEP::HepLorentzVector;
13#include "TH1F.h"
14class ITHistSvc;
15class DiGam:public Algorithm {
16 public:
17 DiGam(const std::string& name, ISvcLocator* pSvcLocator);
18 StatusCode initialize();
19 StatusCode execute();
20 StatusCode finalize();
21
22 private:
23 double CrossSection;
24 double MCEff;
25 double MCEffBoost;
26
27 double jpsiCrossSection;
28 double jpsiMCEff;
29 double jpsiMCEffBoost;
30 double psi2sCrossSection;
31 double psi2sMCEff;
32 double psi2sMCEffBoost;
33 double psi3770CrossSection;
34 double psi3770MCEff;
35 double psi3770MCEffBoost;
36
37 int RunModel;
38 ITHistSvc* m_thsvc;
39 TH1F* h_lum;
40
41 int tot;
42 int signal;
43 int runNo;
44 int boost_signal;
45 int boost_tot;
46
47 //cut:
48 double boostPhimin;
49 double boostPhimax;
50 double boostMinEmin;
51 double boostMinEmax;
52 double dPhiMin;
53 double dPhiMax;
54 double dPhiMinSig;
55 double dPhiMaxSig;
56
57 NTuple::Tuple* m_tuple2;
58 NTuple::Item<double> m_tot;
59 NTuple::Item<double> m_maxE;
60 NTuple::Item<double> m_minE;
61 NTuple::Item<double> m_maxTheta;
62 NTuple::Item<double> m_minTheta;
63 NTuple::Item<double> m_maxPhi;
64 NTuple::Item<double> m_minPhi;
65 NTuple::Item<double> m_delPhi;
66 NTuple::Item<double> m_delTheta;
67 NTuple::Item<double> m_angle;
68 NTuple::Item<double> m_boostAngle;
69 NTuple::Item<double> m_boostMaxE;
70 NTuple::Item<double> m_boostMinE;
71 NTuple::Item<double> m_boostDelPhi;
72 NTuple::Item<double> m_boostDelTheta;
73 NTuple::Item<double> m_boostM;
74 NTuple::Item<double> m_boostIM;
75 NTuple::Item<double> m_m;
76 NTuple::Item<double> m_IM;
77
78 NTuple::Item<long> m_run;
79 NTuple::Item<long> m_rec;
80 NTuple::Item<long> m_idxmc;
81 NTuple::Array<long> m_pdgid;
82 NTuple::Array<long> m_motheridx;
83};
84#endif
Definition DiGam.h:15
StatusCode execute()
Definition DiGam.cxx:152
DiGam(const std::string &name, ISvcLocator *pSvcLocator)
Definition DiGam.cxx:38
StatusCode finalize()
Definition DiGam.cxx:285
StatusCode initialize()
Definition DiGam.cxx:68