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