Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExclusiveReco.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file ExclusiveReco.h
1 #ifndef __ExclusiveReco_H__
2 #define __ExclusiveReco_H__
3 
5 /* Fun4All includes */
6 #include <fun4all/SubsysReco.h>
7 #include <calobase/RawTowerDefs.h>
8 
9 /* STL includes */
10 #include <math.h>
11 #include <map>
12 
13 /*HepMC include */
16 #include <HepMC/GenEvent.h>
17 class TTree;
18 class TFile;
19 
20 class PHCompositeNode;
21 class CaloEvalStack;
22 class CaloRawTowerEval;
23 class RawCluster;
24 class RawTowerContainer;
26 //class JetMap;
27 class SvtxTrack;
28 class SvtxTrackMap;
29 class PHHepMCGenEventMap;
30 
31 
32 class ExclusiveReco : public SubsysReco
33 {
34 
35 public:
36 
38 
39  int
41  int
43  int
45  int
47 
48  void
49  set_beam_energies( float beam_electron , float beam_proton )
50  {
51  _beam_electron_ptotal = fabs( beam_electron );
52  _beam_hadron_ptotal = fabs( beam_proton );
53  }
54 
55  void
56  set_do_process_dvmp( bool select)
57  {
58  _do_process_dvmp = select;
59  }
60 
61 
62 
63 private:
64 
65  /* proton rest mass */
66  const float _mproton;
67 
68  bool _verbose;
72 
73  int _ievent;
75 
77  TFile *_tfile;
78 
79  /* output tree for invariant mass calculation */
81 
82  /* output tree for reco particles */
84 
85  /* output tree for truth particles */
87 
88  /* beam energies electron and proton */
91 
92  /* Track Projector object */
94 
97 
99 
100  std::vector<float> true_eta, true_phi, true_ptotal;
101  std::vector<int> true_pid;
102  std::vector<bool> is_scattered_lepton;
103 
105  std::vector<int> reco_charge;
106  std::vector<bool> reco_is_scattered_lepton;
107 
108  std::vector<float> _vect1;
109  std::vector<float> _vect2;
110  std::vector<float> _vect3;
111  std::vector<float> _vect4;
112  std::vector<float> _vect5;
113  std::vector<float> _vect6;
114 
115 };
116 
117 #endif // __ExclusiveReco_H__