Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SvtxSimPerformanceCheckReco.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file SvtxSimPerformanceCheckReco.h
1 #ifndef __SVTXSIMPERFORMANCECHECKRECO_H__
2 #define __SVTXSIMPERFORMANCECHECKRECO_H__
3 
4 #include <fun4all/SubsysReco.h>
5 #include <string>
6 #include <TH1D.h>
7 #include <TH2D.h>
8 
9 class PHCompositeNode;
10 
12 
13 public:
14 
15  SvtxSimPerformanceCheckReco(const std::string &name="SvtxSimPerformanceCheckReco");
16 
17  int Init(PHCompositeNode *topNode);
18  int process_event(PHCompositeNode *topNode);
19  int End(PHCompositeNode *topNode);
20 
21  void set_nlayers(unsigned int nlayers) {_nlayers = nlayers;}
23 
24 private:
25 
26  // event counter
27  unsigned long long _event;
28 
29  // number of layers
30  unsigned int _nlayers;
31 
32  unsigned int _inner_layer_mask;
33 
34  // output histograms ---------------------------------------------------------
35 
36  TH2D* _truept_dptoverpt; // momentum resolution
37 
38  TH2D* _truept_dca; // dca resolution
39 
40  TH1D* _truept_particles_leaving7Hits; // pattern reco eff baseline
41 
42  TH1D* _truept_particles_recoWithExactHits; // pattern reco eff by nhits
45 
46  TH1D* _truept_particles_recoWithExactInnerHits; // pattern reco eff by nhits
49 
50  TH1D* _truept_particles_recoWithin3Percent; // parttern reco eff by momentum match
53 
54  TH1D* _recopt_tracks_all; // purity baseline (non-embedded particles)
55 
56  TH1D* _recopt_tracks_recoWithExactHits; // purity by nhit match
59 
63 
64  TH1D* _recopt_tracks_recoWithin3Percent; // purity by momentum match
67 
68  TH2D* _recopt_quality; // quality distributions
69 
70  TH1D* _dx_vertex; // vertex resolution
71  TH1D* _dy_vertex;
72  TH1D* _dz_vertex;
73 
75 
78 };
79 
80 #endif // __SVTXSIMPERFORMANCECHECKRECO_H__