|
CbmRoot
|
#include <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 std::string &dir) |
| Set output directory where you want to write results (figures and json). | |
Private Member Functions | |
| void | InitHistograms () |
| Initialize histograms. | |
| void | FillRichRingNofHits () |
| void | NofRings () |
| void | NofHitsAndPoints () |
| void | NofProjections () |
| void | Vertex () |
| void | DrawHist () |
| Draw histograms. | |
| void | PmtXYSource () |
| CbmRichUrqmdTest (const CbmRichUrqmdTest &) | |
| Copy constructor. | |
| CbmRichUrqmdTest & | operator= (const CbmRichUrqmdTest &) |
| Assignment operator. | |
Private Attributes | |
| CbmHistManager * | fHM = nullptr |
| std::string | fOutputDir = "" |
| TClonesArray * | fRichHits = nullptr |
| TClonesArray * | fRichRings = nullptr |
| CbmMCDataArray * | fRichPoints = nullptr |
| CbmMCDataArray * | fMcTracks = nullptr |
| TClonesArray * | fRichRingMatches = nullptr |
| TClonesArray * | fRichProjections = nullptr |
| CbmDigiManager * | fDigiMan = nullptr |
| CbmMCEventList * | fEventList = nullptr |
| int | fEventNum = 0 |
| int | fMinNofHits = 7 |
| std::map< CbmLink, int > | fNofHitsInRingMap |
| std::vector< std::pair< int, int > > | fVertexZStsSlices |
Definition at line 22 of file CbmRichUrqmdTest.h.
| CbmRichUrqmdTest::CbmRichUrqmdTest | ( | ) |
Standard constructor.
Definition at line 43 of file CbmRichUrqmdTest.cxx.
Referenced by CbmRichUrqmdTest(), and operator=().
|
virtual |
Standard destructor.
Definition at line 45 of file CbmRichUrqmdTest.cxx.
|
private |
Copy constructor.
References CbmRichUrqmdTest().
|
private |
Draw histograms.
Definition at line 410 of file CbmRichUrqmdTest.cxx.
References DrawH1(), DrawH2(), CbmRichDraw::DrawPmtH2(), DrawTextOnPad(), fEventNum, fHM, fVertexZStsSlices, kLinear, kLog, and SetDefaultDrawStyle().
Referenced by Finish().
|
virtual |
Inherited from FairTask.
Definition at line 70 of file CbmRichUrqmdTest.cxx.
References fEventNum, FillRichRingNofHits(), NofHitsAndPoints(), NofProjections(), NofRings(), PmtXYSource(), and Vertex().
|
private |
Definition at line 84 of file CbmRichUrqmdTest.cxx.
References fDigiMan, fMcTracks, fNofHitsInRingMap, fRichHits, fRichPoints, and CbmMatchRecoToMC::GetMcTrackMotherIdsForRichHit().
Referenced by Exec().
|
virtual |
Inherited from FairTask.
Definition at line 605 of file CbmRichUrqmdTest.cxx.
References DrawHist(), fHM, and fOutputDir.
|
virtual |
Inherited from FairTask.
Definition at line 47 of file CbmRichUrqmdTest.cxx.
References fDigiMan, fEventList, fMcTracks, fRichHits, fRichPoints, fRichProjections, fRichRingMatches, fRichRings, fVertexZStsSlices, Cbm::GetOrFatal(), InitHistograms(), Cbm::InitOrFatalMc(), and CbmDigiManager::Instance().
|
private |
Initialize histograms.
Definition at line 99 of file CbmRichUrqmdTest.cxx.
References fHM, fVertexZStsSlices, CbmRichUtil::GetPmtHistXbins(), and CbmRichUtil::GetPmtHistYbins().
Referenced by Init().
|
private |
Definition at line 228 of file CbmRichUrqmdTest.cxx.
References fDigiMan, fEventList, fHM, fMcTracks, CbmRichPixelData::fPmtId, fRichHits, fRichPoints, CbmRichPmtData::fX, CbmRichPmtData::fY, CbmRichPmtData::fZ, CbmRichDigi::GetAddress(), CbmRichGeoHandler::GetInstance(), CbmRichGeoManager::GetInstance(), CbmMCTrack::GetMotherId(), CbmMCTrack::GetPdgCode(), CbmRichGeoHandler::GetPixelDataByAddress(), CbmRichGeoHandler::GetPmtDataById(), CbmRichGeoHandler::GetPmtIds(), CbmHit::GetRefId(), CbmMCTrack::GetStartVertex(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), and CbmRichGeoManager::RotatePoint().
Referenced by Exec().
|
private |
Definition at line 362 of file CbmRichUrqmdTest.cxx.
References fHM, and fRichProjections.
Referenced by Exec().
|
private |
Definition at line 163 of file CbmRichUrqmdTest.cxx.
References fHM, fMcTracks, fMinNofHits, fRichRingMatches, fRichRings, CbmMatch::GetMatchedLink(), CbmMCTrack::GetMotherId(), CbmRichRing::GetNofHits(), CbmMatch::GetNofLinks(), CbmMCTrack::GetP(), CbmMCTrack::GetPdgCode(), and CbmMCTrack::GetStartVertex().
Referenced by Exec().
|
private |
Assignment operator.
References CbmRichUrqmdTest().
|
private |
Definition at line 315 of file CbmRichUrqmdTest.cxx.
References fEventList, fHM, fMcTracks, fRichPoints, CbmRichGeoManager::GetInstance(), CbmMCTrack::GetMotherId(), CbmMCTrack::GetPdgCode(), CbmMCTrack::GetStartVertex(), and CbmRichGeoManager::RotatePoint().
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 55 of file CbmRichUrqmdTest.h.
References fOutputDir.
|
private |
Definition at line 376 of file CbmRichUrqmdTest.cxx.
References fEventList, fHM, fMcTracks, fNofHitsInRingMap, fVertexZStsSlices, CbmMCTrack::GetStartVertex(), and v.
Referenced by Exec().
|
private |
Definition at line 69 of file CbmRichUrqmdTest.h.
Referenced by FillRichRingNofHits(), Init(), and NofHitsAndPoints().
|
private |
Definition at line 70 of file CbmRichUrqmdTest.h.
Referenced by Init(), NofHitsAndPoints(), PmtXYSource(), and Vertex().
|
private |
Definition at line 72 of file CbmRichUrqmdTest.h.
Referenced by DrawHist(), and Exec().
|
private |
Definition at line 59 of file CbmRichUrqmdTest.h.
Referenced by DrawHist(), Finish(), InitHistograms(), NofHitsAndPoints(), NofProjections(), NofRings(), PmtXYSource(), and Vertex().
|
private |
Definition at line 66 of file CbmRichUrqmdTest.h.
Referenced by FillRichRingNofHits(), Init(), NofHitsAndPoints(), NofRings(), PmtXYSource(), and Vertex().
|
private |
Definition at line 73 of file CbmRichUrqmdTest.h.
Referenced by NofRings().
|
private |
Definition at line 75 of file CbmRichUrqmdTest.h.
Referenced by FillRichRingNofHits(), and Vertex().
|
private |
Definition at line 61 of file CbmRichUrqmdTest.h.
Referenced by Finish(), and SetOutputDir().
|
private |
Definition at line 63 of file CbmRichUrqmdTest.h.
Referenced by FillRichRingNofHits(), Init(), and NofHitsAndPoints().
|
private |
Definition at line 65 of file CbmRichUrqmdTest.h.
Referenced by FillRichRingNofHits(), Init(), NofHitsAndPoints(), and PmtXYSource().
|
private |
Definition at line 68 of file CbmRichUrqmdTest.h.
Referenced by Init(), and NofProjections().
|
private |
Definition at line 67 of file CbmRichUrqmdTest.h.
Referenced by Init(), and NofRings().
|
private |
Definition at line 64 of file CbmRichUrqmdTest.h.
Referenced by Init(), and NofRings().
|
private |
Definition at line 77 of file CbmRichUrqmdTest.h.
Referenced by DrawHist(), Init(), InitHistograms(), and Vertex().