EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CbmRichTestSim Class Reference

This class fills some histograms for a fast check of simulated data. More...

#include <EicRoot/blob/master/rich/qa/CbmRichTestSim.h>

+ Inheritance diagram for CbmRichTestSim:
+ Collaboration diagram for CbmRichTestSim:

Public Member Functions

 CbmRichTestSim ()
 Default constructor.
 
virtual ~CbmRichTestSim ()
 Destructor.
 
virtual void SetParContainers ()
 Inherited from FairTask.
 
virtual InitStatus Init ()
 Inherited from FairTask.
 
virtual void Exec (Option_t *option)
 Inherited from FairTask.
 
virtual void Finish ()
 Finish task.
 
- 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

 CbmRichTestSim (const CbmRichTestSim &)
 Copy constructor.
 
CbmRichTestSimoperator= (const CbmRichTestSim &)
 Assignment operator.
 

Private Attributes

TClonesArray * fMCRichPointArray
 
TClonesArray * fMCTrackArray
 
Int_t fNEvents
 
TH2D * fh_Det1ev
 
TH2D * fh_Det1ev_zoom
 
TH2D * fh_Detall
 
TH2D * fh_n_vs_p
 
TH2D * fh_v_el
 
TH1D * fh_Nall
 
TH1D * fh_Nel
 
TH1D * fh_Nelprim
 
TH1D * fh_Npi
 
TH1D * fh_Nk
 
TH1D * fh_Nhad
 
TObjArray * fSensNodes
 
CbmGeoRichParfPar
 
Double_t fDetZ
 

Additional Inherited Members

- Protected Member Functions inherited from FairTask
virtual InitStatus ReInit ()
 
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.
 
FairLoggerfLogger
 

Detailed Description

This class fills some histograms for a fast check of simulated data.

Author
Claudia Hoehne
Date
2006

Definition at line 29 of file CbmRichTestSim.h.

View newest version in sPHENIX GitHub at line 29 of file CbmRichTestSim.h

Constructor & Destructor Documentation

CbmRichTestSim::CbmRichTestSim ( )

Default constructor.

Definition at line 34 of file CbmRichTestSim.cxx.

View newest version in sPHENIX GitHub at line 34 of file CbmRichTestSim.cxx

References fh_Det1ev, fh_Det1ev_zoom, fh_Detall, fh_n_vs_p, fh_Nall, fh_Nel, fh_Nelprim, fh_Nhad, fh_Nk, fh_Npi, and fh_v_el.

CbmRichTestSim::~CbmRichTestSim ( )
virtual

Destructor.

Definition at line 71 of file CbmRichTestSim.cxx.

View newest version in sPHENIX GitHub at line 71 of file CbmRichTestSim.cxx

References fh_Det1ev, fh_Det1ev_zoom, fh_Detall, fh_n_vs_p, fh_Nall, fh_Nel, fh_Nelprim, fh_Nhad, fh_Nk, fh_Npi, and fh_v_el.

CbmRichTestSim::CbmRichTestSim ( const CbmRichTestSim )
private

Copy constructor.

Member Function Documentation

void CbmRichTestSim::Exec ( Option_t *  option)
virtual

Inherited from FairTask.

Definition at line 120 of file CbmRichTestSim.cxx.

View newest version in sPHENIX GitHub at line 120 of file CbmRichTestSim.cxx

References fh_Det1ev, fh_Det1ev_zoom, fh_Detall, fh_n_vs_p, fh_Nall, fh_Nel, fh_Nelprim, fh_Nhad, fh_Nk, fh_Npi, fh_v_el, fMCRichPointArray, fMCTrackArray, fNEvents, FairTask::fVerbose, CbmMCTrack::GetMomentum(), CbmMCTrack::GetMotherId(), CbmMCTrack::GetNPoints(), CbmMCTrack::GetPdgCode(), CbmMCTrack::GetStartVertex(), FairMCPoint::GetTrackID(), kSTS, momentum, FairMCPoint::Position(), and Acts::VectorHelpers::position().

+ Here is the call graph for this function:

void CbmRichTestSim::Finish ( void  )
virtual

Finish task.

Reimplemented from FairTask.

Definition at line 204 of file CbmRichTestSim.cxx.

View newest version in sPHENIX GitHub at line 204 of file CbmRichTestSim.cxx

References fMCRichPointArray, and fMCTrackArray.

InitStatus CbmRichTestSim::Init ( void  )
virtual

Inherited from FairTask.

Reimplemented from FairTask.

Definition at line 96 of file CbmRichTestSim.cxx.

View newest version in sPHENIX GitHub at line 96 of file CbmRichTestSim.cxx

References fDetZ, fMCRichPointArray, fMCTrackArray, fPar, fSensNodes, FairGeoNode::getCenterPosition(), CbmGeoRichPar::GetGeoSensitiveNodes(), FairGeoNode::getLabTransform(), FairRootManager::GetObject(), FairGeoTransform::getTranslation(), FairRootManager::Instance(), kSUCCESS, and FairGeoVector::Z().

+ Here is the call graph for this function:

CbmRichTestSim& CbmRichTestSim::operator= ( const CbmRichTestSim )
private

Assignment operator.

void CbmRichTestSim::SetParContainers ( )
virtual

Inherited from FairTask.

Reimplemented from FairTask.

Definition at line 88 of file CbmRichTestSim.cxx.

View newest version in sPHENIX GitHub at line 88 of file CbmRichTestSim.cxx

References fPar, FairRuntimeDb::getContainer(), FairRun::GetRuntimeDb(), and FairRunAna::Instance().

+ Here is the call graph for this function:

Member Data Documentation

Double_t CbmRichTestSim::fDetZ
private

Definition at line 88 of file CbmRichTestSim.h.

View newest version in sPHENIX GitHub at line 88 of file CbmRichTestSim.h

Referenced by Init().

TH2D* CbmRichTestSim::fh_Det1ev
private

Definition at line 72 of file CbmRichTestSim.h.

View newest version in sPHENIX GitHub at line 72 of file CbmRichTestSim.h

Referenced by CbmRichTestSim(), Exec(), and ~CbmRichTestSim().

TH2D* CbmRichTestSim::fh_Det1ev_zoom
private

Definition at line 73 of file CbmRichTestSim.h.

View newest version in sPHENIX GitHub at line 73 of file CbmRichTestSim.h

Referenced by CbmRichTestSim(), Exec(), and ~CbmRichTestSim().

TH2D* CbmRichTestSim::fh_Detall
private

Definition at line 74 of file CbmRichTestSim.h.

View newest version in sPHENIX GitHub at line 74 of file CbmRichTestSim.h

Referenced by CbmRichTestSim(), Exec(), and ~CbmRichTestSim().

TH2D* CbmRichTestSim::fh_n_vs_p
private

Definition at line 75 of file CbmRichTestSim.h.

View newest version in sPHENIX GitHub at line 75 of file CbmRichTestSim.h

Referenced by CbmRichTestSim(), Exec(), and ~CbmRichTestSim().

TH1D* CbmRichTestSim::fh_Nall
private

Definition at line 78 of file CbmRichTestSim.h.

View newest version in sPHENIX GitHub at line 78 of file CbmRichTestSim.h

Referenced by CbmRichTestSim(), Exec(), and ~CbmRichTestSim().

TH1D* CbmRichTestSim::fh_Nel
private

Definition at line 79 of file CbmRichTestSim.h.

View newest version in sPHENIX GitHub at line 79 of file CbmRichTestSim.h

Referenced by CbmRichTestSim(), Exec(), and ~CbmRichTestSim().

TH1D* CbmRichTestSim::fh_Nelprim
private

Definition at line 80 of file CbmRichTestSim.h.

View newest version in sPHENIX GitHub at line 80 of file CbmRichTestSim.h

Referenced by CbmRichTestSim(), Exec(), and ~CbmRichTestSim().

TH1D* CbmRichTestSim::fh_Nhad
private

Definition at line 83 of file CbmRichTestSim.h.

View newest version in sPHENIX GitHub at line 83 of file CbmRichTestSim.h

Referenced by CbmRichTestSim(), Exec(), and ~CbmRichTestSim().

TH1D* CbmRichTestSim::fh_Nk
private

Definition at line 82 of file CbmRichTestSim.h.

View newest version in sPHENIX GitHub at line 82 of file CbmRichTestSim.h

Referenced by CbmRichTestSim(), Exec(), and ~CbmRichTestSim().

TH1D* CbmRichTestSim::fh_Npi
private

Definition at line 81 of file CbmRichTestSim.h.

View newest version in sPHENIX GitHub at line 81 of file CbmRichTestSim.h

Referenced by CbmRichTestSim(), Exec(), and ~CbmRichTestSim().

TH2D* CbmRichTestSim::fh_v_el
private

Definition at line 76 of file CbmRichTestSim.h.

View newest version in sPHENIX GitHub at line 76 of file CbmRichTestSim.h

Referenced by CbmRichTestSim(), Exec(), and ~CbmRichTestSim().

TClonesArray* CbmRichTestSim::fMCRichPointArray
private

Definition at line 67 of file CbmRichTestSim.h.

View newest version in sPHENIX GitHub at line 67 of file CbmRichTestSim.h

Referenced by Exec(), Finish(), and Init().

TClonesArray* CbmRichTestSim::fMCTrackArray
private

Definition at line 68 of file CbmRichTestSim.h.

View newest version in sPHENIX GitHub at line 68 of file CbmRichTestSim.h

Referenced by Exec(), Finish(), and Init().

Int_t CbmRichTestSim::fNEvents
private

Definition at line 70 of file CbmRichTestSim.h.

View newest version in sPHENIX GitHub at line 70 of file CbmRichTestSim.h

Referenced by Exec().

CbmGeoRichPar* CbmRichTestSim::fPar
private

Definition at line 87 of file CbmRichTestSim.h.

View newest version in sPHENIX GitHub at line 87 of file CbmRichTestSim.h

Referenced by Init(), and SetParContainers().

TObjArray* CbmRichTestSim::fSensNodes
private

Definition at line 86 of file CbmRichTestSim.h.

View newest version in sPHENIX GitHub at line 86 of file CbmRichTestSim.h

Referenced by Init().


The documentation for this class was generated from the following files: