EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CbmRichTestHits.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file CbmRichTestHits.h
1 
10 #ifndef CBM_RICH_TEST_HITS
11 #define CBM_RICH_TEST_HITS
12 
13 #include "FairTask.h"
14 class FairBaseParSet;
15 class CbmGeoRichPar;
16 class TClonesArray;
17 class TH1D;
18 class TH2D;
19 
28 class CbmRichTestHits : public FairTask
29 {
30 public:
31 
36 
40  virtual ~CbmRichTestHits();
41 
45  virtual void SetParContainers();
46 
50  virtual InitStatus Init();
51 
55  virtual void Exec(
56  Option_t* option);
57 
61  virtual void Finish();
62 
63 private:
64 
65  TClonesArray* fRichHits; // RICH hits
66  TClonesArray* fRichPoints; // RICH MC points
67  TClonesArray* fMcTracks; // MC Tracks
68 
69  Int_t fNEvents;
70 
71  TH2D* fh_Det1ev; // photodetector plane for 1st event
72  TH2D* fh_Det1ev_zoom; // photodetector plane for 1st event, zoom in
73  TH2D* fh_Detall; // photodetector plane for all events
74  TH2D* fh_Detall_zoom; // photodetector plane for all events, zoom in for fine-structure
75  TH2D* fh_n_vs_p; // Number of hits versus momentum
76 
77  TH1D* fh_Nhits; // Number of hits/ring
78 
79  TH1D* fh_Nall; // Number of all rings
80  TH1D* fh_Nel; // Number of electron rings
81  TH1D* fh_Nelprim; // Number of electron rings with STS>=6
82  TH1D* fh_Npi; // Number of pion rings
83  TH1D* fh_Nk; // Number of kaon rings
84  TH1D* fh_Nhad; // Number of hadrons crossing the PMT plane
85  TH1D* fh_Nnoise; // Number of noise hits
86 
87  // geometry parameters
88  TObjArray* fSensNodes;
90  Double_t fDetZ; // Z-coordinate of photodetector
91 
96 
101 
103 
104 };
105 
106 #endif