|
CbmRoot
|
#include <CbmRichRecoTbQa.h>
Public Member Functions | |
| CbmRichRecoTbQa () | |
| Standard constructor. | |
| virtual | ~CbmRichRecoTbQa () |
| 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). | |
| void | DrawFromFile (const string &fileName, const string &outputDir) |
| Draw histogram from file. | |
Private Member Functions | |
| void | InitHistograms () |
| Initialize histograms. | |
| void | DrawHist () |
| void | Process () |
| void | ProcessMc () |
| void | RingRecoEfficiency () |
| Int_t | GetNofPrimaryMcTracks (Int_t iEv) |
| Bool_t | IsCherenkovPhoton (const CbmRichPoint *point, Int_t fileId, Int_t eventId) |
| Bool_t | IsCherenkovPhotonFromPrimaryElectron (const CbmRichPoint *point, Int_t fileId, Int_t eventId) |
| Bool_t | IsCherenkovPhotonFromSecondaryElectron (const CbmRichPoint *point, Int_t fileId, Int_t eventId) |
| Bool_t | IsMcPrimaryElectron (const CbmMCTrack *mctrack) |
| Bool_t | IsCherenkovPhotonFromPion (const CbmRichPoint *point, Int_t fileId, Int_t eventId) |
| Bool_t | IsMcPion (const CbmMCTrack *mctrack) |
| void | DrawTimeLog (const string &hMainName, Int_t nofLogEvents, bool withNoise=false) |
| CbmRichRecoTbQa (const CbmRichRecoTbQa &) | |
| Copy constructor. | |
| CbmRichRecoTbQa & | operator= (const CbmRichRecoTbQa &) |
| Assignment operator. | |
Private Attributes | |
| CbmHistManager * | fHM |
| Int_t | fTimeSliceNum |
| Int_t | fNofLogEvents |
| string | fOutputDir |
| CbmMCDataArray * | fMCTracks |
| CbmMCDataArray * | fRichPoints |
| CbmMCDataArray * | fStsPoints |
| CbmDigiManager * | fDigiMan |
| TClonesArray * | fRichHits |
| TClonesArray * | fRichRings |
| TClonesArray * | fRichRingMatches |
| CbmMCEventList * | fEventList |
| vector< CbmLink > | fRecRings |
Definition at line 23 of file CbmRichRecoTbQa.h.
| CbmRichRecoTbQa::CbmRichRecoTbQa | ( | ) |
Standard constructor.
Definition at line 52 of file CbmRichRecoTbQa.cxx.
References fDigiMan, fEventList, fHM, fMCTracks, fNofLogEvents, fOutputDir, fRecRings, fRichHits, fRichPoints, fRichRingMatches, fRichRings, fStsPoints, and fTimeSliceNum.
Referenced by CbmRichRecoTbQa(), and operator=().
|
inlinevirtual |
Standard destructor.
Definition at line 34 of file CbmRichRecoTbQa.h.
|
private |
Copy constructor.
References CbmRichRecoTbQa().
| void CbmRichRecoTbQa::DrawFromFile | ( | const string & | fileName, |
| const string & | outputDir ) |
Draw histogram from file.
|
private |
Definition at line 443 of file CbmRichRecoTbQa.cxx.
References Cbm::DivideH1(), DrawH1(), DrawTimeLog(), fHM, fNofLogEvents, kLinear, kLog, max(), min(), Cbm::NumberToString(), and SetDefaultDrawStyle().
Referenced by Finish().
|
private |
Definition at line 590 of file CbmRichRecoTbQa.cxx.
References DrawH1(), fHM, kLinear, kLog, and max().
Referenced by DrawHist().
|
virtual |
Inherited from FairTask.
Definition at line 178 of file CbmRichRecoTbQa.cxx.
References fEventList, fTimeSliceNum, Process(), and RingRecoEfficiency().
|
virtual |
Inherited from FairTask.
Definition at line 614 of file CbmRichRecoTbQa.cxx.
References DrawHist(), fHM, fOutputDir, and ProcessMc().
Definition at line 300 of file CbmRichRecoTbQa.cxx.
References counter, fMCTracks, and CbmMCTrack::GetGeantProcessId().
Referenced by RingRecoEfficiency().
|
virtual |
Inherited from FairTask.
Definition at line 71 of file CbmRichRecoTbQa.cxx.
References fDigiMan, fEventList, fMCTracks, fRichHits, fRichPoints, fRichRingMatches, fRichRings, fStsPoints, CbmMCDataManager::GetObject(), CbmMCDataManager::InitBranch(), InitHistograms(), and CbmDigiManager::Instance().
|
private |
Initialize histograms.
Definition at line 116 of file CbmRichRecoTbQa.cxx.
References fHM, and fNofLogEvents.
Referenced by Init().
|
private |
Definition at line 372 of file CbmRichRecoTbQa.cxx.
References fMCTracks, and CbmMCTrack::GetPdgCode().
Referenced by ProcessMc().
|
private |
Definition at line 429 of file CbmRichRecoTbQa.cxx.
References fMCTracks, CbmMCTrack::GetMotherId(), CbmMCTrack::GetPdgCode(), and IsMcPion().
Referenced by ProcessMc().
|
private |
Definition at line 381 of file CbmRichRecoTbQa.cxx.
References fMCTracks, CbmMCTrack::GetMotherId(), CbmMCTrack::GetPdgCode(), and IsMcPrimaryElectron().
Referenced by ProcessMc().
|
private |
Definition at line 395 of file CbmRichRecoTbQa.cxx.
References fMCTracks, CbmMCTrack::GetGeantProcessId(), CbmMCTrack::GetMotherId(), and CbmMCTrack::GetPdgCode().
Referenced by ProcessMc().
|
private |
Definition at line 421 of file CbmRichRecoTbQa.cxx.
References CbmMCTrack::GetPdgCode().
Referenced by IsCherenkovPhotonFromPion().
|
private |
Definition at line 413 of file CbmRichRecoTbQa.cxx.
References CbmMCTrack::GetGeantProcessId(), and CbmMCTrack::GetPdgCode().
Referenced by IsCherenkovPhotonFromPrimaryElectron(), and RingRecoEfficiency().
|
private |
Assignment operator.
References CbmRichRecoTbQa().
|
private |
Definition at line 190 of file CbmRichRecoTbQa.cxx.
References fDigiMan, fHM, fNofLogEvents, fRichHits, fRichRingMatches, fRichRings, CbmLink::GetEntry(), CbmLink::GetIndex(), CbmMatch::GetMatchedLink(), CbmRichDigi::GetTime(), CbmRichRing::GetTime(), and kRich.
Referenced by Exec().
|
private |
Definition at line 241 of file CbmRichRecoTbQa.cxx.
References fEventList, fHM, fNofLogEvents, fRichPoints, fStsPoints, IsCherenkovPhoton(), IsCherenkovPhotonFromPion(), IsCherenkovPhotonFromPrimaryElectron(), and IsCherenkovPhotonFromSecondaryElectron().
Referenced by Finish().
|
private |
Definition at line 312 of file CbmRichRecoTbQa.cxx.
References fDigiMan, fHM, fMCTracks, fRecRings, fRichHits, fRichPoints, fRichRingMatches, fRichRings, CbmLink::GetEntry(), CbmLink::GetIndex(), CbmMatch::GetMatchedLink(), CbmMatchRecoToMC::GetMcTrackMotherIdsForRichHit(), GetNofPrimaryMcTracks(), CbmMCTrack::GetP(), CbmTrackMatchNew::GetTrueOverAllHitsRatio(), and IsMcPrimaryElectron().
Referenced by Exec().
|
inline |
Set output directory where you want to write results (figures and json).
| [in] | dir | Path to the output directory. |
Definition at line 56 of file CbmRichRecoTbQa.h.
References fOutputDir.
|
private |
Definition at line 114 of file CbmRichRecoTbQa.h.
Referenced by CbmRichRecoTbQa(), Init(), Process(), and RingRecoEfficiency().
|
private |
Definition at line 118 of file CbmRichRecoTbQa.h.
Referenced by CbmRichRecoTbQa(), Exec(), Init(), and ProcessMc().
|
private |
Definition at line 104 of file CbmRichRecoTbQa.h.
Referenced by CbmRichRecoTbQa(), DrawHist(), DrawTimeLog(), Finish(), InitHistograms(), Process(), ProcessMc(), and RingRecoEfficiency().
|
private |
Definition at line 111 of file CbmRichRecoTbQa.h.
Referenced by CbmRichRecoTbQa(), GetNofPrimaryMcTracks(), Init(), IsCherenkovPhoton(), IsCherenkovPhotonFromPion(), IsCherenkovPhotonFromPrimaryElectron(), IsCherenkovPhotonFromSecondaryElectron(), and RingRecoEfficiency().
|
private |
Definition at line 108 of file CbmRichRecoTbQa.h.
Referenced by CbmRichRecoTbQa(), DrawHist(), InitHistograms(), Process(), and ProcessMc().
|
private |
Definition at line 109 of file CbmRichRecoTbQa.h.
Referenced by CbmRichRecoTbQa(), Finish(), and SetOutputDir().
Definition at line 120 of file CbmRichRecoTbQa.h.
Referenced by CbmRichRecoTbQa(), and RingRecoEfficiency().
|
private |
Definition at line 115 of file CbmRichRecoTbQa.h.
Referenced by CbmRichRecoTbQa(), Init(), Process(), and RingRecoEfficiency().
|
private |
Definition at line 112 of file CbmRichRecoTbQa.h.
Referenced by CbmRichRecoTbQa(), Init(), ProcessMc(), and RingRecoEfficiency().
|
private |
Definition at line 117 of file CbmRichRecoTbQa.h.
Referenced by CbmRichRecoTbQa(), Init(), Process(), and RingRecoEfficiency().
|
private |
Definition at line 116 of file CbmRichRecoTbQa.h.
Referenced by CbmRichRecoTbQa(), Init(), Process(), and RingRecoEfficiency().
|
private |
Definition at line 113 of file CbmRichRecoTbQa.h.
Referenced by CbmRichRecoTbQa(), Init(), and ProcessMc().
|
private |
Definition at line 106 of file CbmRichRecoTbQa.h.
Referenced by CbmRichRecoTbQa(), and Exec().