EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
RICH geometry testing in Urqmd collisions. More...
#include <EicRoot/blob/master/rich/qa/CbmRichUrqmdTest.h>
Public Member Functions | |
CbmRichUrqmdTest () | |
Standard constructor. | |
virtual | ~CbmRichUrqmdTest () |
Standard destructor. | |
virtual InitStatus | Init () |
Inherited from FairTask. | |
virtual void | Exec (Option_t *option) |
Inherited from FairTask. | |
virtual void | Finish () |
Inherited from FairTask. | |
void | SetOutputDir (const string &dir) |
Set output directory where you want to write results (figures and json). | |
Public Member Functions inherited from FairTask | |
FairTask () | |
FairTask (const char *name, Int_t iVerbose=1) | |
virtual | ~FairTask () |
void | InitTask () |
void | ReInitTask () |
void | SetParTask () |
virtual void | FinishTask () |
virtual void | FinishEvent () |
void | SetVerbose (Int_t iVerbose) |
void | SetInputPersistance (Bool_t val) |
void | CheckInputPersistance (TString branchName) |
Private Member Functions | |
void | InitHistograms () |
Initialize histograms. | |
void | FillRichRingNofHits () |
void | NofRings () |
void | NofHits () |
void | NofProjections () |
void | Vertex () |
void | DrawHist () |
Draw histograms. | |
TCanvas * | CreateCanvas (const string &name, const string &title, int width, int height) |
void | SaveCanvasToImage () |
CbmRichUrqmdTest (const CbmRichUrqmdTest &) | |
Copy constructor. | |
CbmRichUrqmdTest & | operator= (const CbmRichUrqmdTest &) |
Assignment operator. | |
Private Attributes | |
string | fOutputDir |
TClonesArray * | fRichHits |
TClonesArray * | fRichRings |
TClonesArray * | fRichPoints |
TClonesArray * | fMcTracks |
TClonesArray * | fRichRingMatches |
TClonesArray * | fRichProjections |
vector< TCanvas * > | fCanvas |
Int_t | fEventNum |
Int_t | fMinNofHits |
std::map< Int_t, Int_t > | fNofHitsInRingMap |
TH1 * | fh_vertex_z |
TH1 * | fh_nof_rings_1hit |
TH1 * | fh_nof_rings_7hits |
TH1 * | fh_nof_rings_prim_1hit |
TH1 * | fh_nof_rings_prim_7hits |
TH1 * | fh_nof_rings_target_1hit |
TH1 * | fh_nof_rings_target_7hits |
TH1 * | fh_secel_mom |
TH1 * | fh_gamma_target_mom |
TH1 * | fh_gamma_nontarget_mom |
TH1 * | fh_pi_mom |
TH1 * | fh_kaon_mom |
TH1 * | fh_mu_mom |
TH1 * | fh_nof_hits_per_event |
TH2D * | fh_hits_xy_u |
TH2D * | fh_hits_xy_d |
TH2D * | fh_hitrate_xy_u |
TH2D * | fh_hitrate_xy_d |
TH1 * | fh_nof_proj_per_event |
TH2D * | fh_proj_xy_u |
TH2D * | fh_proj_xy_d |
vector< TH1 * > | fHists |
Additional Inherited Members | |
Protected Member Functions inherited from FairTask | |
virtual InitStatus | ReInit () |
virtual void | SetParContainers () |
void | InitTasks () |
void | ReInitTasks () |
void | SetParTasks () |
void | FinishTasks () |
void | FinishEvents () |
Protected Attributes inherited from FairTask | |
Int_t | fVerbose |
Int_t | fInputPersistance |
Indicates if input branch is persistant. | |
FairLogger * | fLogger |
RICH geometry testing in Urqmd collisions.
Definition at line 35 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 35 of file CbmRichUrqmdTest.h
CbmRichUrqmdTest::CbmRichUrqmdTest | ( | ) |
Standard constructor.
Definition at line 33 of file CbmRichUrqmdTest.cxx.
View newest version in sPHENIX GitHub at line 33 of file CbmRichUrqmdTest.cxx
|
virtual |
Standard destructor.
Definition at line 71 of file CbmRichUrqmdTest.cxx.
View newest version in sPHENIX GitHub at line 71 of file CbmRichUrqmdTest.cxx
|
private |
Copy constructor.
|
private |
Definition at line 459 of file CbmRichUrqmdTest.cxx.
View newest version in sPHENIX GitHub at line 459 of file CbmRichUrqmdTest.cxx
References c, fCanvas, and width().
Referenced by DrawHist().
|
private |
Draw histograms.
Definition at line 330 of file CbmRichUrqmdTest.cxx.
View newest version in sPHENIX GitHub at line 330 of file CbmRichUrqmdTest.cxx
References c2, c3, c4, c5, c6, CreateCanvas(), DrawH1(), DrawH2(), fEventNum, fh_gamma_nontarget_mom, fh_gamma_target_mom, fh_hitrate_xy_d, fh_hitrate_xy_u, fh_hits_xy_d, fh_hits_xy_u, fh_kaon_mom, fh_mu_mom, fh_nof_hits_per_event, fh_nof_proj_per_event, fh_nof_rings_1hit, fh_nof_rings_7hits, fh_nof_rings_prim_1hit, fh_nof_rings_prim_7hits, fh_nof_rings_target_1hit, fh_nof_rings_target_7hits, fh_pi_mom, fh_proj_xy_d, fh_proj_xy_u, fh_secel_mom, fh_vertex_z, kLinear, kLog, and SetDefaultDrawStyle().
Referenced by Finish().
|
virtual |
Inherited from FairTask.
Definition at line 105 of file CbmRichUrqmdTest.cxx.
View newest version in sPHENIX GitHub at line 105 of file CbmRichUrqmdTest.cxx
References fEventNum, FillRichRingNofHits(), NofHits(), NofProjections(), NofRings(), and Vertex().
|
private |
Definition at line 151 of file CbmRichUrqmdTest.cxx.
View newest version in sPHENIX GitHub at line 151 of file CbmRichUrqmdTest.cxx
References fMcTracks, fNofHitsInRingMap, fRichHits, fRichPoints, CbmMCTrack::GetMotherId(), CbmBaseHit::GetRefId(), and FairMCPoint::GetTrackID().
Referenced by Exec().
|
virtual |
Inherited from FairTask.
Reimplemented from FairTask.
Definition at line 449 of file CbmRichUrqmdTest.cxx.
View newest version in sPHENIX GitHub at line 449 of file CbmRichUrqmdTest.cxx
References DrawHist(), fHists, and SaveCanvasToImage().
|
virtual |
Inherited from FairTask.
Reimplemented from FairTask.
Definition at line 76 of file CbmRichUrqmdTest.cxx.
View newest version in sPHENIX GitHub at line 76 of file CbmRichUrqmdTest.cxx
References fMcTracks, fRichHits, fRichPoints, fRichProjections, fRichRingMatches, fRichRings, FairRootManager::GetObject(), InitHistograms(), FairRootManager::Instance(), and kSUCCESS.
|
private |
Initialize histograms.
Definition at line 121 of file CbmRichUrqmdTest.cxx.
View newest version in sPHENIX GitHub at line 121 of file CbmRichUrqmdTest.cxx
References fh_gamma_nontarget_mom, fh_gamma_target_mom, fh_hitrate_xy_d, fh_hitrate_xy_u, fh_hits_xy_d, fh_hits_xy_u, fh_kaon_mom, fh_mu_mom, fh_nof_hits_per_event, fh_nof_proj_per_event, fh_nof_rings_1hit, fh_nof_rings_7hits, fh_nof_rings_prim_1hit, fh_nof_rings_prim_7hits, fh_nof_rings_target_1hit, fh_nof_rings_target_7hits, fh_pi_mom, fh_proj_xy_d, fh_proj_xy_u, fh_secel_mom, and fh_vertex_z.
Referenced by Init().
|
private |
Definition at line 241 of file CbmRichUrqmdTest.cxx.
View newest version in sPHENIX GitHub at line 241 of file CbmRichUrqmdTest.cxx
References fh_hitrate_xy_d, fh_hitrate_xy_u, fh_hits_xy_d, fh_hits_xy_u, fh_nof_hits_per_event, fMcTracks, fRichHits, fRichPoints, CbmMCTrack::GetMotherId(), CbmMCTrack::GetPdgCode(), CbmBaseHit::GetRefId(), FairMCPoint::GetTrackID(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), pdg, x, and y.
Referenced by Exec().
|
private |
Definition at line 296 of file CbmRichUrqmdTest.cxx.
View newest version in sPHENIX GitHub at line 296 of file CbmRichUrqmdTest.cxx
References fh_nof_proj_per_event, fh_proj_xy_d, fh_proj_xy_u, fRichProjections, FairTrackParam::GetX(), FairTrackParam::GetY(), x, and y.
Referenced by Exec().
|
private |
Definition at line 176 of file CbmRichUrqmdTest.cxx.
View newest version in sPHENIX GitHub at line 176 of file CbmRichUrqmdTest.cxx
References fh_gamma_nontarget_mom, fh_gamma_target_mom, fh_kaon_mom, fh_mu_mom, fh_nof_rings_1hit, fh_nof_rings_7hits, fh_nof_rings_prim_1hit, fh_nof_rings_prim_7hits, fh_nof_rings_target_1hit, fh_nof_rings_target_7hits, fh_pi_mom, fh_secel_mom, fMcTracks, fMinNofHits, fRichRingMatches, fRichRings, CbmTrackMatch::GetMCTrackId(), CbmMCTrack::GetMotherId(), CbmRichRing::GetNofHits(), CbmMCTrack::GetP(), CbmMCTrack::GetPdgCode(), CbmMCTrack::GetStartVertex(), charm_jet_coverage::mom, and pdg.
Referenced by Exec().
|
private |
Assignment operator.
|
private |
Definition at line 470 of file CbmRichUrqmdTest.cxx.
View newest version in sPHENIX GitHub at line 470 of file CbmRichUrqmdTest.cxx
References fCanvas, fOutputDir, and lit::SaveCanvasAsImage().
Referenced by Finish().
|
inline |
Set output directory where you want to write results (figures and json).
[in] | dir | Path to the output directory. |
Definition at line 70 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 70 of file CbmRichUrqmdTest.h
|
private |
Definition at line 317 of file CbmRichUrqmdTest.cxx.
View newest version in sPHENIX GitHub at line 317 of file CbmRichUrqmdTest.cxx
References fh_vertex_z, fMcTracks, fNofHitsInRingMap, CbmMCTrack::GetStartVertex(), and v.
Referenced by Exec().
|
private |
Definition at line 140 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 140 of file CbmRichUrqmdTest.h
Referenced by CreateCanvas(), and SaveCanvasToImage().
|
private |
Definition at line 142 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 142 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), and Exec().
|
private |
Definition at line 158 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 158 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), InitHistograms(), and NofRings().
|
private |
Definition at line 157 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 157 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), InitHistograms(), and NofRings().
|
private |
Definition at line 168 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 168 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), InitHistograms(), and NofHits().
|
private |
Definition at line 167 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 167 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), InitHistograms(), and NofHits().
|
private |
Definition at line 165 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 165 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), InitHistograms(), and NofHits().
|
private |
Definition at line 164 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 164 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), InitHistograms(), and NofHits().
|
private |
Definition at line 160 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 160 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), InitHistograms(), and NofRings().
|
private |
Definition at line 161 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 161 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), InitHistograms(), and NofRings().
|
private |
Definition at line 163 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 163 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), InitHistograms(), and NofHits().
|
private |
Definition at line 170 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 170 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), InitHistograms(), and NofProjections().
|
private |
Definition at line 149 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 149 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), InitHistograms(), and NofRings().
|
private |
Definition at line 150 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 150 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), InitHistograms(), and NofRings().
|
private |
Definition at line 151 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 151 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), InitHistograms(), and NofRings().
|
private |
Definition at line 152 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 152 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), InitHistograms(), and NofRings().
|
private |
Definition at line 153 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 153 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), InitHistograms(), and NofRings().
|
private |
Definition at line 154 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 154 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), InitHistograms(), and NofRings().
|
private |
Definition at line 159 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 159 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), InitHistograms(), and NofRings().
|
private |
Definition at line 172 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 172 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), InitHistograms(), and NofProjections().
|
private |
Definition at line 171 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 171 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), InitHistograms(), and NofProjections().
|
private |
Definition at line 156 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 156 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), InitHistograms(), and NofRings().
|
private |
Definition at line 148 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 148 of file CbmRichUrqmdTest.h
Referenced by DrawHist(), InitHistograms(), and Vertex().
|
private |
Definition at line 174 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 174 of file CbmRichUrqmdTest.h
Referenced by Finish().
|
private |
Definition at line 135 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 135 of file CbmRichUrqmdTest.h
Referenced by FillRichRingNofHits(), Init(), NofHits(), NofRings(), and Vertex().
|
private |
Definition at line 143 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 143 of file CbmRichUrqmdTest.h
Referenced by NofRings().
|
private |
Definition at line 146 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 146 of file CbmRichUrqmdTest.h
Referenced by FillRichRingNofHits(), and Vertex().
|
private |
Definition at line 130 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 130 of file CbmRichUrqmdTest.h
Referenced by SaveCanvasToImage().
|
private |
Definition at line 132 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 132 of file CbmRichUrqmdTest.h
Referenced by FillRichRingNofHits(), Init(), and NofHits().
|
private |
Definition at line 134 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 134 of file CbmRichUrqmdTest.h
Referenced by FillRichRingNofHits(), Init(), and NofHits().
|
private |
Definition at line 137 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 137 of file CbmRichUrqmdTest.h
Referenced by Init(), and NofProjections().
|
private |
Definition at line 136 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 136 of file CbmRichUrqmdTest.h
Referenced by Init(), and NofRings().
|
private |
Definition at line 133 of file CbmRichUrqmdTest.h.
View newest version in sPHENIX GitHub at line 133 of file CbmRichUrqmdTest.h
Referenced by Init(), and NofRings().