BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
rhopi.h
Go to the documentation of this file.
1#ifndef Physics_Analysis_rhopi_H
2#define Physics_Analysis_rhopi_H
3
4#include "GaudiKernel/AlgFactory.h"
5#include "GaudiKernel/Algorithm.h"
6#include "GaudiKernel/NTuple.h"
7
8#include "GaudiKernel/ITHistSvc.h"
9#include "TH1.h"
10
11class rhopi : public Algorithm {
12
13public:
14 rhopi(const std::string& name, ISvcLocator* pSvcLocator);
15 StatusCode initialize();
16 StatusCode execute();
17 StatusCode finalize();
18
19private:
20 ITHistSvc *m_thistsvc;
21 TH1F *m_pi_vx;
22 TH1F *m_pi_vy;
23 TH1F *m_pi_vz;
24 TH1F *m_pip_mom;
25 TH1F *m_pim_mom;
26 TH1F *m_pi0_mass;
27 TH1F *m_rho0_mass;
28 TH1F *m_rhop_mass;
29 TH1F *m_rhom_mass;
30 TH1F *m_chisq_4c;
31 TH1F *m_chisq_5c;
32 TH1F *m_chipi_dedx;
33 TH1F *m_chie_dedx;
34 TH1F *m_chimu_dedx;
35 TH1F *m_chik_dedx;
36 TH1F *m_chip_dedx;
37 TH1F *m_cos_pip;
38 TH1F *m_cos_pim;
39 // Declare r0, z0 cut for charged tracks
40 double m_vr0cut;
41 double m_vz0cut;
42
43 //Declare energy, dphi, dthe cuts for fake gamma's
44 double m_energyThreshold;
45 double m_gammaPhiCut;
46 double m_gammaThetaCut;
47
48 int m_pass[12];
49 //
50
51 NTuple::Tuple* m_tuple4; // 5C
52 NTuple::Item<double> m_ngoodneu;
53 NTuple::Item<double> m_ngoodch;
54 NTuple::Item<double> m_npip;
55 NTuple::Item<double> m_npim;
56 NTuple::Item<double> m_chisq4c;
57 NTuple::Item<double> m_ppi0;
58 NTuple::Item<double> m_mpi0;
59 NTuple::Item<double> m_chisq5c;
60 NTuple::Item<double> m_ppi0fit;
61 NTuple::Item<double> m_mpi0fit;
62 NTuple::Item<double> m_g1inpi0the;
63 NTuple::Item<double> m_g2inpi0the;
64 NTuple::Item<double> m_theta2pi;
65 NTuple::Item<double> m_ppip;
66 NTuple::Item<double> m_ppim;
67 NTuple::Item<double> m_p2pi;
68 NTuple::Item<double> m_m2pi;
69 NTuple::Item<double> m_ppip0;
70 NTuple::Item<double> m_mpip0;
71 NTuple::Item<double> m_ppim0;
72 NTuple::Item<double> m_mpim0;
73 NTuple::Item<double> m_eneumiss;
74 NTuple::Item<double> m_pneumiss;
75 NTuple::Item<double> m_mneumiss;
76
77 NTuple::Array<double> m_kal_cos;
78
79 NTuple::Tuple* m_tuple5; // 5C
80 NTuple::Item<double> m_m2graw;
81 NTuple::Item<double> m_emiss;
82 NTuple::Item<double> m_pmiss;
83 NTuple::Item<double> m_mmiss;
84 NTuple::Item<double> m_prho0;
85 NTuple::Item<double> m_mrho0;
86 NTuple::Item<double> m_pmrho0;
87 NTuple::Item<double> m_mmrho0;
88 NTuple::Item<double> m_prhop;
89 NTuple::Item<double> m_mrhop;
90 NTuple::Item<double> m_pmrhom;
91 NTuple::Item<double> m_mmrhom;
92 NTuple::Item<double> m_prhom;
93 NTuple::Item<double> m_ppipraw;
94 NTuple::Item<double> m_mrhom;
95};
96
97#endif
StatusCode initialize()
Definition: rhopi.cxx:73
StatusCode execute()
Definition: rhopi.cxx:200
StatusCode finalize()
Definition: rhopi.cxx:732