|
CbmRoot
|
#include <CbmRichMCbmAerogelAna.h>
Public Member Functions | |
| CbmRichMCbmAerogelAna () | |
| Standard constructor. | |
| virtual | ~CbmRichMCbmAerogelAna () |
| 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. | |
| void | DoDrawCanvas (bool val=true) |
| void | DoWriteHistToFile (bool val=true) |
| void | XOffsetHistos (Double_t offset=0.) |
Private Member Functions | |
| void | InitHistograms () |
| Initialize histograms. | |
| void | DrawHist () |
| Draw histograms. | |
| void | RichRings () |
| bool | doToT (CbmRichHit *hit) |
| Bool_t | cutRadius (CbmRichRing *ring) |
| CbmRichMCbmAerogelAna (const CbmRichMCbmAerogelAna &) | |
| Copy constructor. | |
| CbmRichMCbmAerogelAna & | operator= (const CbmRichMCbmAerogelAna &) |
| Assignment operator. | |
Private Attributes | |
| CbmDigiManager * | fDigiMan = nullptr |
| TClonesArray * | fRichHits |
| TClonesArray * | fRichRings |
| TClonesArray * | fCbmEvent |
| CbmHistManager * | fHM |
| Double_t | fXOffsetHisto |
| Int_t | fEventNum |
| Int_t | fNofDrawnRings |
| Int_t | fNofDrawnRichTofEv |
| Int_t | fNofDrawnEvents |
| string | fOutputDir |
| bool | fDoWriteHistToFile = true |
| bool | fDoDrawCanvas = true |
Definition at line 25 of file CbmRichMCbmAerogelAna.h.
| CbmRichMCbmAerogelAna::CbmRichMCbmAerogelAna | ( | ) |
Standard constructor.
Definition at line 57 of file CbmRichMCbmAerogelAna.cxx.
References fCbmEvent, fEventNum, fHM, fNofDrawnEvents, fNofDrawnRichTofEv, fNofDrawnRings, fOutputDir, fRichHits, fRichRings, and fXOffsetHisto.
Referenced by CbmRichMCbmAerogelAna(), and operator=().
|
inlinevirtual |
Standard destructor.
Definition at line 36 of file CbmRichMCbmAerogelAna.h.
|
private |
Copy constructor.
References CbmRichMCbmAerogelAna().
|
private |
Definition at line 501 of file CbmRichMCbmAerogelAna.cxx.
References CbmRichRing::GetRadius().
|
inline |
Apply restriction to full mRICH Acceptance (for Simulations)
Definition at line 69 of file CbmRichMCbmAerogelAna.h.
References fDoDrawCanvas.
|
private |
Definition at line 492 of file CbmRichMCbmAerogelAna.cxx.
References CbmRichHit::GetToT().
|
inline |
Apply restriction to full mRICH Acceptance (for Simulations)
Definition at line 74 of file CbmRichMCbmAerogelAna.h.
References fDoWriteHistToFile.
| void CbmRichMCbmAerogelAna::DrawFromFile | ( | const string & | fileName, |
| const string & | outputDir ) |
Draw histogram from file.
Save old global file and folder pointer to avoid messing with FairRoot
Restore old global file and folder pointer to avoid messing with FairRoot
Definition at line 469 of file CbmRichMCbmAerogelAna.cxx.
References DrawHist(), fHM, and fOutputDir.
|
private |
Draw histograms.
Definition at line 301 of file CbmRichMCbmAerogelAna.cxx.
References DrawH1(), DrawH2(), and fHM.
Referenced by DrawFromFile(), and Finish().
|
virtual |
Inherited from FairTask.
Definition at line 178 of file CbmRichMCbmAerogelAna.cxx.
References fCbmEvent, fDigiMan, fEventNum, fHM, fRichHits, fRichRings, CbmRichRing::GetCenterX(), CbmRichRing::GetCenterY(), CbmRichRing::GetHit(), CbmEvent::GetIndex(), CbmEvent::GetNofData(), CbmRichRing::GetNofHits(), CbmRichRing::GetRadius(), CbmRichDigi::GetToT(), CbmRichHit::GetToT(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), kRich, kRichHit, RichRings(), and rings.
|
virtual |
Inherited from FairTask.
Save old global file and folder pointer to avoid messing with FairRoot
Restore old global file and folder pointer to avoid messing with FairRoot
Definition at line 437 of file CbmRichMCbmAerogelAna.cxx.
References DrawHist(), fDoDrawCanvas, fDoWriteHistToFile, fHM, and fOutputDir.
|
virtual |
Inherited from FairTask.
Definition at line 72 of file CbmRichMCbmAerogelAna.cxx.
References fCbmEvent, fDigiMan, fRichHits, fRichRings, InitHistograms(), CbmDigiManager::Instance(), kRich, and kTof.
|
private |
Initialize histograms.
Definition at line 120 of file CbmRichMCbmAerogelAna.cxx.
References fHM, and fXOffsetHisto.
Referenced by Init().
|
private |
Assignment operator.
References CbmRichMCbmAerogelAna().
|
private |
Definition at line 286 of file CbmRichMCbmAerogelAna.cxx.
References fHM, fRichRings, CbmRichRing::GetCenterX(), CbmRichRing::GetCenterY(), CbmRichRing::GetNofHits(), and CbmRichRing::GetRadius().
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 57 of file CbmRichMCbmAerogelAna.h.
References fOutputDir.
|
inline |
Move X-Position of mRICH in Histograms (e.g. for Geometry changes)
Definition at line 80 of file CbmRichMCbmAerogelAna.h.
References fXOffsetHisto.
|
private |
Definition at line 89 of file CbmRichMCbmAerogelAna.h.
Referenced by CbmRichMCbmAerogelAna(), Exec(), and Init().
|
private |
Definition at line 83 of file CbmRichMCbmAerogelAna.h.
|
private |
Definition at line 107 of file CbmRichMCbmAerogelAna.h.
Referenced by DoDrawCanvas(), and Finish().
|
private |
Definition at line 106 of file CbmRichMCbmAerogelAna.h.
Referenced by DoWriteHistToFile(), and Finish().
|
private |
Definition at line 95 of file CbmRichMCbmAerogelAna.h.
Referenced by CbmRichMCbmAerogelAna(), and Exec().
|
private |
Definition at line 91 of file CbmRichMCbmAerogelAna.h.
Referenced by CbmRichMCbmAerogelAna(), DrawFromFile(), DrawHist(), Exec(), Finish(), InitHistograms(), and RichRings().
|
private |
Definition at line 101 of file CbmRichMCbmAerogelAna.h.
Referenced by CbmRichMCbmAerogelAna().
|
private |
Definition at line 99 of file CbmRichMCbmAerogelAna.h.
Referenced by CbmRichMCbmAerogelAna().
|
private |
Definition at line 97 of file CbmRichMCbmAerogelAna.h.
Referenced by CbmRichMCbmAerogelAna().
|
private |
Definition at line 104 of file CbmRichMCbmAerogelAna.h.
Referenced by CbmRichMCbmAerogelAna(), DrawFromFile(), Finish(), and SetOutputDir().
|
private |
Definition at line 85 of file CbmRichMCbmAerogelAna.h.
Referenced by CbmRichMCbmAerogelAna(), Exec(), and Init().
|
private |
Definition at line 87 of file CbmRichMCbmAerogelAna.h.
Referenced by CbmRichMCbmAerogelAna(), Exec(), Init(), and RichRings().
|
private |
Definition at line 93 of file CbmRichMCbmAerogelAna.h.
Referenced by CbmRichMCbmAerogelAna(), InitHistograms(), and XOffsetHistos().