Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RecoInfoExport.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file RecoInfoExport.h
1 #ifndef __RecoInfoExport_H__
2 #define __RecoInfoExport_H__
3 
4 #include <fun4all/SubsysReco.h>
5 #include <string>
6 #include <vector>
7 #include <TH1D.h>
8 #include <TH2D.h>
9 
10 class PHCompositeNode;
11 
12 class RecoInfoExport : public SubsysReco
13 {
14 
15 public:
16 
17  explicit
18  RecoInfoExport(const std::string &name = "RecoInfoExport");
19 
20  int
21  Init(PHCompositeNode *topNode);
22  int
24  int
25  End(PHCompositeNode *topNode);
26 
27  void
29  {
30  _file_prefix = s;
31  }
32 
33  double
35  {
36  return _pT_threshold;
37  }
38 
39  void
40  set_pT_threshold(double tThreshold)
41  {
42  _pT_threshold = tThreshold;
43  }
44 
45  double
47  {
48  return _tower_threshold;
49  }
50 
51  void
52  set_tower_threshold(double towerThreshold)
53  {
54  _tower_threshold = towerThreshold;
55  }
56 
57  double
59  {
60  return _min_track_hit_dist;
61  }
62 
63  void
64  set_min_track_hit_dist(double minTrackHitDist)
65  {
66  _min_track_hit_dist = minTrackHitDist;
67  }
68 private:
69 
70  int _event;
72 
73  std::vector<std::string> _calo_names;
74 
76  double _pT_threshold;
78 };
79 
80 #endif // __RecoInfoExport_H__