CbmRoot
Loading...
Searching...
No Matches
CbmRichProjectionProducer2 Class Referenceabstract

#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.
 
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 DoProjection (CbmEvent *event, TClonesArray *richProj)=0
 
virtual void SetMirrorCorrectionParameterFile (const string &s)
 
int GetSuccessfullProj () const
 

Protected Attributes

string fPathToMirrorCorrectionParameterFile
 
CbmRichMirrorMisalignmentCorrectionUtilsfMirrorCorrectionParameterFile
 
int fnSuccessfullProj {}
 

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 23 of file CbmRichProjectionProducer2.h.

Constructor & Destructor Documentation

◆ CbmRichProjectionProducer2() [1/2]

CbmRichProjectionProducer2::CbmRichProjectionProducer2 ( )

Definition at line 29 of file CbmRichProjectionProducer2.cxx.

◆ ~CbmRichProjectionProducer2()

CbmRichProjectionProducer2::~CbmRichProjectionProducer2 ( )
virtual

Definition at line 40 of file CbmRichProjectionProducer2.cxx.

◆ CbmRichProjectionProducer2() [2/2]

CbmRichProjectionProducer2::CbmRichProjectionProducer2 ( const CbmRichProjectionProducer2 & )
private

Member Function Documentation

◆ ClassDef()

CbmRichProjectionProducer2::ClassDef ( CbmRichProjectionProducer2 ,
1  )
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 452 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 343 of file CbmRichProjectionProducer2.cxx.

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

Referenced by ProjectionProducer().

◆ DoProjection() [1/2]

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 67 of file CbmRichProjectionProducer2.cxx.

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

◆ DoProjection() [2/2]

virtual void CbmRichProjectionProducerBase::DoProjection ( CbmEvent * event,
TClonesArray * richProj )
pure virtualinherited

Creates track projections onto the photodetector plane.

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

Implemented in CbmRichProjectionProducerAnalytical, and CbmRichProjectionProducerTGeo.

◆ GetPmtNormal()

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

Definition at line 253 of file CbmRichProjectionProducer2.cxx.

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

Referenced by ProjectionProducer().

◆ GetSuccessfullProj()

int CbmRichProjectionProducerBase::GetSuccessfullProj ( ) const
inlineinherited

Get number of successful projections

Definition at line 53 of file tracks/CbmRichProjectionProducerBase.h.

References CbmRichProjectionProducerBase::fnSuccessfullProj.

◆ Init()

void CbmRichProjectionProducer2::Init ( )
virtual

Initialization in case one needs to initialize some TCloneArrays.

Reimplemented from CbmRichProjectionProducerBase.

Definition at line 46 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 76 of file CbmRichProjectionProducer2.h.

References fNumbAxis.

◆ SetOutputDir()

void CbmRichProjectionProducer2::SetOutputDir ( TString dir)
inline

Definition at line 71 of file CbmRichProjectionProducer2.h.

References fOutputDir.

◆ SetTileName()

void CbmRichProjectionProducer2::SetTileName ( TString t)
inline

Definition at line 81 of file CbmRichProjectionProducer2.h.

References fTile.

Member Data Documentation

◆ fEventNum

Int_t CbmRichProjectionProducer2::fEventNum
private

Definition at line 92 of file CbmRichProjectionProducer2.h.

Referenced by DoProjection().

◆ fMCTracks

TClonesArray* CbmRichProjectionProducer2::fMCTracks
private

Definition at line 86 of file CbmRichProjectionProducer2.h.

Referenced by GetPmtNormal(), and Init().

◆ fMirrorCorrectionParameterFile

CbmRichMirrorMisalignmentCorrectionUtils* CbmRichProjectionProducerBase::fMirrorCorrectionParameterFile
protectedinherited

◆ fnSuccessfullProj

int CbmRichProjectionProducerBase::fnSuccessfullProj {}
protectedinherited

◆ fNumbAxis

TString CbmRichProjectionProducer2::fNumbAxis
private

Definition at line 89 of file CbmRichProjectionProducer2.h.

Referenced by ComputeR2(), and SetNumbAxis().

◆ fOutputDir

TString CbmRichProjectionProducer2::fOutputDir
private

Definition at line 91 of file CbmRichProjectionProducer2.h.

Referenced by ComputeR2(), and SetOutputDir().

◆ fPathToMirrorCorrectionParameterFile

string CbmRichProjectionProducerBase::fPathToMirrorCorrectionParameterFile
protectedinherited

◆ fRichPoints

TClonesArray* CbmRichProjectionProducer2::fRichPoints
private

Definition at line 87 of file CbmRichProjectionProducer2.h.

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

◆ fTile

TString CbmRichProjectionProducer2::fTile
private

Definition at line 90 of file CbmRichProjectionProducer2.h.

Referenced by ComputeR2(), and SetTileName().

◆ fTrackParams

TClonesArray* CbmRichProjectionProducer2::fTrackParams
private

Definition at line 85 of file CbmRichProjectionProducer2.h.

Referenced by DoProjection(), and Init().


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