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

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

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

+ Inheritance diagram for CbmRichTestHits:
+ Collaboration diagram for CbmRichTestHits:

Public Member Functions

 CbmRichTestHits ()
 Default constructor.
 
virtual ~CbmRichTestHits ()
 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 ()
 Inherited from FairTask.
 
- 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

 CbmRichTestHits (const CbmRichTestHits &)
 Copy constructor.
 
CbmRichTestHitsoperator= (const CbmRichTestHits &)
 Assignment operator.
 

Private Attributes

TClonesArray * fRichHits
 
TClonesArray * fRichPoints
 
TClonesArray * fMcTracks
 
Int_t fNEvents
 
TH2D * fh_Det1ev
 
TH2D * fh_Det1ev_zoom
 
TH2D * fh_Detall
 
TH2D * fh_Detall_zoom
 
TH2D * fh_n_vs_p
 
TH1D * fh_Nhits
 
TH1D * fh_Nall
 
TH1D * fh_Nel
 
TH1D * fh_Nelprim
 
TH1D * fh_Npi
 
TH1D * fh_Nk
 
TH1D * fh_Nhad
 
TH1D * fh_Nnoise
 
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 28 of file CbmRichTestHits.h.

View newest version in sPHENIX GitHub at line 28 of file CbmRichTestHits.h

Constructor & Destructor Documentation

CbmRichTestHits::CbmRichTestHits ( )

Default constructor.

Definition at line 39 of file CbmRichTestHits.cxx.

View newest version in sPHENIX GitHub at line 39 of file CbmRichTestHits.cxx

References fh_Det1ev, fh_Det1ev_zoom, fh_Detall, fh_Detall_zoom, fh_n_vs_p, fh_Nall, fh_Nel, fh_Nelprim, fh_Nhad, fh_Nhits, fh_Nk, fh_Nnoise, and fh_Npi.

CbmRichTestHits::~CbmRichTestHits ( )
virtual

Destructor.

Definition at line 84 of file CbmRichTestHits.cxx.

View newest version in sPHENIX GitHub at line 84 of file CbmRichTestHits.cxx

References fh_Det1ev, fh_Det1ev_zoom, fh_Detall, fh_Detall_zoom, fh_n_vs_p, fh_Nall, fh_Nel, fh_Nelprim, fh_Nhad, fh_Nhits, fh_Nk, fh_Nnoise, and fh_Npi.

CbmRichTestHits::CbmRichTestHits ( const CbmRichTestHits )
private

Copy constructor.

Member Function Documentation

void CbmRichTestHits::Exec ( Option_t *  option)
virtual

Inherited from FairTask.

Definition at line 140 of file CbmRichTestHits.cxx.

View newest version in sPHENIX GitHub at line 140 of file CbmRichTestHits.cxx

References fh_Det1ev, fh_Det1ev_zoom, fh_Detall, fh_Detall_zoom, fh_n_vs_p, fh_Nall, fh_Nel, fh_Nelprim, fh_Nhad, fh_Nhits, fh_Nk, fh_Nnoise, fh_Npi, fMcTracks, fNEvents, fRichHits, fRichPoints, FairTask::fVerbose, CbmMCTrack::GetMomentum(), CbmMCTrack::GetMotherId(), CbmMCTrack::GetNPoints(), CbmMCTrack::GetPdgCode(), CbmBaseHit::GetRefId(), CbmMCTrack::GetStartVertex(), FairMCPoint::GetTrackID(), kSTS, momentum, CbmPixelHit::Position(), and Acts::VectorHelpers::position().

+ Here is the call graph for this function:

void CbmRichTestHits::Finish ( void  )
virtual

Inherited from FairTask.

Reimplemented from FairTask.

Definition at line 233 of file CbmRichTestHits.cxx.

View newest version in sPHENIX GitHub at line 233 of file CbmRichTestHits.cxx

References fMcTracks, fRichHits, and fRichPoints.

InitStatus CbmRichTestHits::Init ( void  )
virtual

Inherited from FairTask.

z coordinate of photodetector (Labsystem, cm)

Reimplemented from FairTask.

Definition at line 112 of file CbmRichTestHits.cxx.

View newest version in sPHENIX GitHub at line 112 of file CbmRichTestHits.cxx

References fDetZ, fMcTracks, fPar, fRichHits, fRichPoints, 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:

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

Assignment operator.

void CbmRichTestHits::SetParContainers ( )
virtual

Inherited from FairTask.

Reimplemented from FairTask.

Definition at line 104 of file CbmRichTestHits.cxx.

View newest version in sPHENIX GitHub at line 104 of file CbmRichTestHits.cxx

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

+ Here is the call graph for this function:

Member Data Documentation

Double_t CbmRichTestHits::fDetZ
private

Definition at line 90 of file CbmRichTestHits.h.

View newest version in sPHENIX GitHub at line 90 of file CbmRichTestHits.h

Referenced by Init().

TH2D* CbmRichTestHits::fh_Det1ev
private

Definition at line 71 of file CbmRichTestHits.h.

View newest version in sPHENIX GitHub at line 71 of file CbmRichTestHits.h

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

TH2D* CbmRichTestHits::fh_Det1ev_zoom
private

Definition at line 72 of file CbmRichTestHits.h.

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

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

TH2D* CbmRichTestHits::fh_Detall
private

Definition at line 73 of file CbmRichTestHits.h.

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

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

TH2D* CbmRichTestHits::fh_Detall_zoom
private

Definition at line 74 of file CbmRichTestHits.h.

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

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

TH2D* CbmRichTestHits::fh_n_vs_p
private

Definition at line 75 of file CbmRichTestHits.h.

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

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

TH1D* CbmRichTestHits::fh_Nall
private

Definition at line 79 of file CbmRichTestHits.h.

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

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

TH1D* CbmRichTestHits::fh_Nel
private

Definition at line 80 of file CbmRichTestHits.h.

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

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

TH1D* CbmRichTestHits::fh_Nelprim
private

Definition at line 81 of file CbmRichTestHits.h.

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

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

TH1D* CbmRichTestHits::fh_Nhad
private

Definition at line 84 of file CbmRichTestHits.h.

View newest version in sPHENIX GitHub at line 84 of file CbmRichTestHits.h

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

TH1D* CbmRichTestHits::fh_Nhits
private

Definition at line 77 of file CbmRichTestHits.h.

View newest version in sPHENIX GitHub at line 77 of file CbmRichTestHits.h

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

TH1D* CbmRichTestHits::fh_Nk
private

Definition at line 83 of file CbmRichTestHits.h.

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

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

TH1D* CbmRichTestHits::fh_Nnoise
private

Definition at line 85 of file CbmRichTestHits.h.

View newest version in sPHENIX GitHub at line 85 of file CbmRichTestHits.h

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

TH1D* CbmRichTestHits::fh_Npi
private

Definition at line 82 of file CbmRichTestHits.h.

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

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

TClonesArray* CbmRichTestHits::fMcTracks
private

Definition at line 67 of file CbmRichTestHits.h.

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

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

Int_t CbmRichTestHits::fNEvents
private

Definition at line 69 of file CbmRichTestHits.h.

View newest version in sPHENIX GitHub at line 69 of file CbmRichTestHits.h

Referenced by Exec().

CbmGeoRichPar* CbmRichTestHits::fPar
private

Definition at line 89 of file CbmRichTestHits.h.

View newest version in sPHENIX GitHub at line 89 of file CbmRichTestHits.h

Referenced by Init(), and SetParContainers().

TClonesArray* CbmRichTestHits::fRichHits
private

Definition at line 65 of file CbmRichTestHits.h.

View newest version in sPHENIX GitHub at line 65 of file CbmRichTestHits.h

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

TClonesArray* CbmRichTestHits::fRichPoints
private

Definition at line 66 of file CbmRichTestHits.h.

View newest version in sPHENIX GitHub at line 66 of file CbmRichTestHits.h

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

TObjArray* CbmRichTestHits::fSensNodes
private

Definition at line 88 of file CbmRichTestHits.h.

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

Referenced by Init().


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