EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CbmRichTestSim.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file CbmRichTestSim.h
1 
10 #ifndef CBM_RICH_TEST_SIM
11 #define CBM_RICH_TEST_SIM
12 
13 #include "FairTask.h"
14 
15 class CbmGeoRichPar;
16 class FairBaseParSet;
17 class TClonesArray;
18 class TH1D;
19 class TH2D;
20 
29 class CbmRichTestSim : public FairTask
30 {
31 
32 public:
33 
38 
42  virtual ~CbmRichTestSim();
43 
47  virtual void SetParContainers();
48 
52  virtual InitStatus Init();
53 
57  virtual void Exec(
58  Option_t* option);
59 
63  virtual void Finish();
64 
65 private:
66 
67  TClonesArray* fMCRichPointArray; // RICH MC points
68  TClonesArray* fMCTrackArray;// MC Tracks
69 
70  Int_t fNEvents;
71 
72  TH2D* fh_Det1ev; // photodetector plane for 1st event
73  TH2D* fh_Det1ev_zoom; // photodetector plane for 1st event, zoom in
74  TH2D* fh_Detall; // photodetector plane for all events
75  TH2D* fh_n_vs_p; // Number of points versus momentum
76  TH2D* fh_v_el; // (y,z) position of production vertex for electrons
77 
78  TH1D* fh_Nall; // Number of all rings
79  TH1D* fh_Nel; // Number of electron rings
80  TH1D* fh_Nelprim; // Number of electron rings with STS>=6
81  TH1D* fh_Npi; // Number of pion rings
82  TH1D* fh_Nk; // Number of kaon rings
83  TH1D* fh_Nhad; // Number of all hadrons crossing the PMT plane
84 
85  // RICH geometry parameters
86  TObjArray* fSensNodes;
88  Double_t fDetZ; // Z-coordinate of photodetector
89 
94 
99 
101 };
102 
103 #endif