CbmRoot
|
#include <CbmRichProjectionProducer2.h>
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 |
CbmRichMirrorMisalignmentCorrectionUtils * | fMirrorCorrectionParameterFile |
int | fnSuccessfullProj {} |
Private Member Functions | |
CbmRichProjectionProducer2 (const CbmRichProjectionProducer2 &) | |
CbmRichProjectionProducer2 & | operator= (const CbmRichProjectionProducer2 &) |
ClassDef (CbmRichProjectionProducer2, 1) | |
Private Attributes | |
TClonesArray * | fTrackParams |
TClonesArray * | fMCTracks |
TClonesArray * | fRichPoints |
TString | fNumbAxis |
TString | fTile |
TString | fOutputDir |
Int_t | fEventNum |
Definition at line 23 of file CbmRichProjectionProducer2.h.
CbmRichProjectionProducer2::CbmRichProjectionProducer2 | ( | ) |
Definition at line 29 of file CbmRichProjectionProducer2.cxx.
|
virtual |
Definition at line 40 of file CbmRichProjectionProducer2.cxx.
|
private |
|
private |
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().
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().
|
virtual |
Creates track projections onto the photodetector plane.
[out] | richProj | Array 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().
|
pure virtualinherited |
Creates track projections onto the photodetector plane.
[out] | richProj | Array of track projections onto the photodetector plane. |
Implemented in CbmRichProjectionProducerAnalytical, and CbmRichProjectionProducerTGeo.
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().
|
inlineinherited |
Get number of successful projections
Definition at line 53 of file tracks/CbmRichProjectionProducerBase.h.
References CbmRichProjectionProducerBase::fnSuccessfullProj.
|
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.
|
private |
Double_t * CbmRichProjectionProducer2::ProjectionProducer | ( | FairTrackParam * | point | ) |
Definition at line 139 of file CbmRichProjectionProducer2.cxx.
References ComputeP(), ComputeR2(), CbmRichNavigationUtil2::FindIntersection(), fRichPoints, CbmRichNavigationUtil2::GetDirCos(), CbmRichGeoManager::GetInstance(), GetPmtNormal(), and CbmRichGeoManager::RotatePoint().
Referenced by DoProjection().
|
inlinevirtualinherited |
Definition at line 55 of file alignment/CbmRichProjectionProducerBase.h.
References CbmRichProjectionProducerBase::fPathToMirrorCorrectionParameterFile.
Referenced by CbmRichReconstruction::InitProjection().
|
inline |
Definition at line 76 of file CbmRichProjectionProducer2.h.
References fNumbAxis.
|
inline |
Definition at line 71 of file CbmRichProjectionProducer2.h.
References fOutputDir.
|
inline |
Definition at line 81 of file CbmRichProjectionProducer2.h.
References fTile.
|
private |
Definition at line 92 of file CbmRichProjectionProducer2.h.
Referenced by DoProjection().
|
private |
Definition at line 86 of file CbmRichProjectionProducer2.h.
Referenced by GetPmtNormal(), and Init().
|
protectedinherited |
Definition at line 60 of file alignment/CbmRichProjectionProducerBase.h.
Referenced by CbmRichProjectionProducerAnalytical::Init(), and CbmRichProjectionProducerAnalytical::MirrorCenter().
|
protectedinherited |
Definition at line 56 of file tracks/CbmRichProjectionProducerBase.h.
Referenced by CbmRichProjectionProducerAnalytical::DoProjection(), CbmRichProjectionProducerTGeo::DoProjection(), and CbmRichProjectionProducerBase::GetSuccessfullProj().
|
private |
Definition at line 89 of file CbmRichProjectionProducer2.h.
Referenced by ComputeR2(), and SetNumbAxis().
|
private |
Definition at line 91 of file CbmRichProjectionProducer2.h.
Referenced by ComputeR2(), and SetOutputDir().
|
protectedinherited |
Definition at line 59 of file alignment/CbmRichProjectionProducerBase.h.
Referenced by CbmRichProjectionProducerAnalytical::Init(), and CbmRichProjectionProducerBase::SetMirrorCorrectionParameterFile().
|
private |
Definition at line 87 of file CbmRichProjectionProducer2.h.
Referenced by GetPmtNormal(), Init(), and ProjectionProducer().
|
private |
Definition at line 90 of file CbmRichProjectionProducer2.h.
Referenced by ComputeR2(), and SetTileName().
|
private |
Definition at line 85 of file CbmRichProjectionProducer2.h.
Referenced by DoProjection(), and Init().