|
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.
References fEventNum, fMCTracks, fNumbAxis, fOutputDir, fRichPoints, fTile, and fTrackParams.
Referenced by CbmRichProjectionProducer2(), ClassDef(), and operator=().
|
virtual |
Definition at line 40 of file CbmRichProjectionProducer2.cxx.
|
private |
References CbmRichProjectionProducer2().
|
private |
References CbmRichProjectionProducer2().
| 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.
References richProj.
| 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 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 |
References CbmRichProjectionProducer2().
| 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 fPathToMirrorCorrectionParameterFile.
|
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 CbmRichProjectionProducer2(), and DoProjection().
|
private |
Definition at line 86 of file CbmRichProjectionProducer2.h.
Referenced by CbmRichProjectionProducer2(), GetPmtNormal(), and Init().
|
protectedinherited |
Definition at line 60 of file alignment/CbmRichProjectionProducerBase.h.
Referenced by CbmRichProjectionProducerBase(), CbmRichProjectionProducerAnalytical::Init(), and CbmRichProjectionProducerAnalytical::MirrorCenter().
|
protectedinherited |
Definition at line 56 of file tracks/CbmRichProjectionProducerBase.h.
Referenced by CbmRichProjectionProducerAnalytical::DoProjection(), CbmRichProjectionProducerTGeo::DoProjection(), and GetSuccessfullProj().
|
private |
Definition at line 89 of file CbmRichProjectionProducer2.h.
Referenced by CbmRichProjectionProducer2(), ComputeR2(), and SetNumbAxis().
|
private |
Definition at line 91 of file CbmRichProjectionProducer2.h.
Referenced by CbmRichProjectionProducer2(), ComputeR2(), and SetOutputDir().
|
protectedinherited |
Definition at line 59 of file alignment/CbmRichProjectionProducerBase.h.
Referenced by CbmRichProjectionProducerBase(), CbmRichProjectionProducerAnalytical::Init(), and SetMirrorCorrectionParameterFile().
|
private |
Definition at line 87 of file CbmRichProjectionProducer2.h.
Referenced by CbmRichProjectionProducer2(), GetPmtNormal(), Init(), and ProjectionProducer().
|
private |
Definition at line 90 of file CbmRichProjectionProducer2.h.
Referenced by CbmRichProjectionProducer2(), ComputeR2(), and SetTileName().
|
private |
Definition at line 85 of file CbmRichProjectionProducer2.h.
Referenced by CbmRichProjectionProducer2(), DoProjection(), and Init().