CbmRoot
CbmRichProjectionProducer2 Class Reference

#include <CbmRichProjectionProducer2.h>

Inheritance diagram for CbmRichProjectionProducer2:
[legend]
Collaboration diagram for CbmRichProjectionProducer2:
[legend]

Public Member Functions

 CbmRichProjectionProducer2 ()
 
virtual ~CbmRichProjectionProducer2 ()
 
virtual void Init ()
 Initialization in case one needs to initialize some TCloneArrays. More...
 
virtual void DoProjection (TClonesArray *projectedPoint)
 
Double_t * ProjectionProducer (FairTrackParam *point)
 
void GetPmtNormal (Int_t NofPMTPoints, vector< Double_t > &normalPMT, Double_t &normalCste)
 
void ComputeR2 (vector< Double_t > &ptR2Center, vector< Double_t > &ptR2Mirr, vector< Double_t > ptM, vector< Double_t > ptC, vector< Double_t > ptR1, TGeoNavigator *navi, TString s)
 
void ComputeP (vector< Double_t > &ptPMirr, vector< Double_t > &ptPR2, vector< Double_t > normalPMT, vector< Double_t > ptM, vector< Double_t > ptR2Mirr, Double_t normalCste)
 
void SetOutputDir (TString dir)
 
void SetNumbAxis (TString n)
 
void SetTileName (TString t)
 
virtual void SetMirrorCorrectionParameterFile (const string &s)
 

Protected Attributes

string fPathToMirrorCorrectionParameterFile
 
CbmRichMirrorMisalignmentCorrectionUtilsfMirrorCorrectionParameterFile
 

Private Member Functions

 CbmRichProjectionProducer2 (const CbmRichProjectionProducer2 &)
 
CbmRichProjectionProducer2operator= (const CbmRichProjectionProducer2 &)
 
 ClassDef (CbmRichProjectionProducer2, 1)
 

Private Attributes

TClonesArray * fTrackParams
 
TClonesArray * fMCTracks
 
TClonesArray * fRichPoints
 
TString fNumbAxis
 
TString fTile
 
TString fOutputDir
 
Int_t fEventNum
 

Detailed Description

Definition at line 18 of file CbmRichProjectionProducer2.h.

Constructor & Destructor Documentation

◆ CbmRichProjectionProducer2() [1/2]

CbmRichProjectionProducer2::CbmRichProjectionProducer2 ( )

Definition at line 26 of file CbmRichProjectionProducer2.cxx.

◆ ~CbmRichProjectionProducer2()

CbmRichProjectionProducer2::~CbmRichProjectionProducer2 ( )
virtual

Definition at line 35 of file CbmRichProjectionProducer2.cxx.

◆ CbmRichProjectionProducer2() [2/2]

CbmRichProjectionProducer2::CbmRichProjectionProducer2 ( const CbmRichProjectionProducer2 )
private

Member Function Documentation

◆ ClassDef()

CbmRichProjectionProducer2::ClassDef ( CbmRichProjectionProducer2  ,
 
)
private

◆ ComputeP()

void CbmRichProjectionProducer2::ComputeP ( vector< Double_t > &  ptPMirr,
vector< Double_t > &  ptPR2,
vector< Double_t >  normalPMT,
vector< Double_t >  ptM,
vector< Double_t >  ptR2Mirr,
Double_t  normalCste 
)

Definition at line 496 of file CbmRichProjectionProducer2.cxx.

Referenced by ProjectionProducer().

◆ ComputeR2()

void CbmRichProjectionProducer2::ComputeR2 ( vector< Double_t > &  ptR2Center,
vector< Double_t > &  ptR2Mirr,
vector< Double_t >  ptM,
vector< Double_t >  ptC,
vector< Double_t >  ptR1,
TGeoNavigator *  navi,
TString  s 
)

Definition at line 367 of file CbmRichProjectionProducer2.cxx.

References fNumbAxis, fOutputDir, fTile, i, x, y, and z2.

Referenced by ProjectionProducer().

◆ DoProjection()

void CbmRichProjectionProducer2::DoProjection ( TClonesArray *  richProj)
virtual

Creates track projections onto the photodetector plane.

Parameters
[out]richProjArray of track projections onto the photodetector plane.

cout << pmtXMin << " " << pmtXMax << " " << pmtYBottom << " " << pmtYTop << endl;

Implements CbmRichProjectionProducerBase.

Definition at line 61 of file CbmRichProjectionProducer2.cxx.

References fEventNum, CbmRichGeoManager::fGP, CbmRichRecGeoParPmt::fHeight, CbmRichRecGeoParPmt::fPlaneX, CbmRichRecGeoParPmt::fPlaneY, CbmRichRecGeoPar::fPmt, fTrackParams, CbmRichRecGeoParPmt::fWidth, CbmRichGeoManager::GetInstance(), and ProjectionProducer().

◆ GetPmtNormal()

void CbmRichProjectionProducer2::GetPmtNormal ( Int_t  NofPMTPoints,
vector< Double_t > &  normalPMT,
Double_t &  normalCste 
)

Definition at line 259 of file CbmRichProjectionProducer2.cxx.

References fMCTracks, fRichPoints, and CbmMCTrack::GetMotherId().

Referenced by ProjectionProducer().

◆ Init()

void CbmRichProjectionProducer2::Init ( )
virtual

Initialization in case one needs to initialize some TCloneArrays.

Reimplemented from CbmRichProjectionProducerBase.

Definition at line 40 of file CbmRichProjectionProducer2.cxx.

References fMCTracks, fRichPoints, and fTrackParams.

◆ operator=()

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

◆ ProjectionProducer()

Double_t * CbmRichProjectionProducer2::ProjectionProducer ( FairTrackParam *  point)

◆ SetMirrorCorrectionParameterFile()

virtual void CbmRichProjectionProducerBase::SetMirrorCorrectionParameterFile ( const string &  s)
inlinevirtualinherited

◆ SetNumbAxis()

void CbmRichProjectionProducer2::SetNumbAxis ( TString  n)
inline

Definition at line 82 of file CbmRichProjectionProducer2.h.

◆ SetOutputDir()

void CbmRichProjectionProducer2::SetOutputDir ( TString  dir)
inline

Definition at line 77 of file CbmRichProjectionProducer2.h.

◆ SetTileName()

void CbmRichProjectionProducer2::SetTileName ( TString  t)
inline

Definition at line 87 of file CbmRichProjectionProducer2.h.

Member Data Documentation

◆ fEventNum

Int_t CbmRichProjectionProducer2::fEventNum
private

Definition at line 98 of file CbmRichProjectionProducer2.h.

Referenced by DoProjection().

◆ fMCTracks

TClonesArray* CbmRichProjectionProducer2::fMCTracks
private

Definition at line 92 of file CbmRichProjectionProducer2.h.

Referenced by GetPmtNormal(), and Init().

◆ fMirrorCorrectionParameterFile

CbmRichMirrorMisalignmentCorrectionUtils* CbmRichProjectionProducerBase::fMirrorCorrectionParameterFile
protectedinherited

◆ fNumbAxis

TString CbmRichProjectionProducer2::fNumbAxis
private

Definition at line 95 of file CbmRichProjectionProducer2.h.

Referenced by ComputeR2().

◆ fOutputDir

TString CbmRichProjectionProducer2::fOutputDir
private

Definition at line 97 of file CbmRichProjectionProducer2.h.

Referenced by ComputeR2().

◆ fPathToMirrorCorrectionParameterFile

string CbmRichProjectionProducerBase::fPathToMirrorCorrectionParameterFile
protectedinherited

◆ fRichPoints

TClonesArray* CbmRichProjectionProducer2::fRichPoints
private

Definition at line 93 of file CbmRichProjectionProducer2.h.

Referenced by GetPmtNormal(), Init(), and ProjectionProducer().

◆ fTile

TString CbmRichProjectionProducer2::fTile
private

Definition at line 96 of file CbmRichProjectionProducer2.h.

Referenced by ComputeR2().

◆ fTrackParams

TClonesArray* CbmRichProjectionProducer2::fTrackParams
private

Definition at line 91 of file CbmRichProjectionProducer2.h.

Referenced by DoProjection(), and Init().


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