CbmRoot
|
Project track by straight line from imaginary plane to the mirror and reflect it to the photodetector plane. More...
#include <CbmRichProjectionProducerAnalytical.h>
Public Member Functions | |
CbmRichProjectionProducerAnalytical () | |
Standard constructor. More... | |
virtual | ~CbmRichProjectionProducerAnalytical () |
Destructor. More... | |
virtual void | Init () |
Initialization of the task. More... | |
virtual void | DoProjection (TClonesArray *richProj) |
Execute task. More... | |
void | GetPmtIntersectionPointTwoWings (const TVector3 *centerP, const TVector3 *crossP, const TVector3 *ref, TVector3 *outPoint) |
void | GetPmtIntersectionPointCyl (const TVector3 *centerP, const TVector3 *crossP, const TVector3 *ref, TVector3 *outPoint) |
TVector3 | MirrorCenter (const TVector3 centerP, const string volumeName) |
string | GetMirrorID (const string volumeName) |
CbmRichProjectionProducerAnalytical () | |
Standard constructor. More... | |
virtual | ~CbmRichProjectionProducerAnalytical () |
Destructor. More... | |
virtual void | Init () |
Initialization of the task. More... | |
virtual void | DoProjection (TClonesArray *richProj) |
Execute task. More... | |
void | GetPmtIntersectionPointTwoWings (const TVector3 *centerP, const TVector3 *crossP, const TVector3 *ref, TVector3 *outPoint) |
void | GetPmtIntersectionPointCyl (const TVector3 *centerP, const TVector3 *crossP, const TVector3 *ref, TVector3 *outPoint) |
virtual void | SetMirrorCorrectionParameterFile (const string &s) |
Protected Attributes | |
string | fPathToMirrorCorrectionParameterFile |
CbmRichMirrorMisalignmentCorrectionUtils * | fMirrorCorrectionParameterFile |
Private Member Functions | |
CbmRichProjectionProducerAnalytical (const CbmRichProjectionProducerAnalytical &) | |
Copy constructor. More... | |
CbmRichProjectionProducerAnalytical & | operator= (const CbmRichProjectionProducerAnalytical &) |
Assignment operator. More... | |
CbmRichProjectionProducerAnalytical (const CbmRichProjectionProducerAnalytical &) | |
Copy constructor. More... | |
CbmRichProjectionProducerAnalytical & | operator= (const CbmRichProjectionProducerAnalytical &) |
Assignment operator. More... | |
Private Attributes | |
TClonesArray * | fTrackParams |
int | fNHits |
int | fEventNum |
Project track by straight line from imaginary plane to the mirror and reflect it to the photodetector plane.
Definition at line 34 of file alignment/CbmRichProjectionProducerAnalytical.h.
CbmRichProjectionProducerAnalytical::CbmRichProjectionProducerAnalytical | ( | ) |
Standard constructor.
Definition at line 40 of file alignment/CbmRichProjectionProducerAnalytical.cxx.
|
virtual |
Destructor.
Definition at line 43 of file alignment/CbmRichProjectionProducerAnalytical.cxx.
|
private |
Copy constructor.
CbmRichProjectionProducerAnalytical::CbmRichProjectionProducerAnalytical | ( | ) |
Standard constructor.
|
virtual |
Destructor.
|
private |
Copy constructor.
|
virtual |
Execute task.
[out] | richProj | Output array of created projections. |
Implements CbmRichProjectionProducerBase.
Definition at line 64 of file alignment/CbmRichProjectionProducerAnalytical.cxx.
References CbmRichGeometryTypeCylindrical, CbmRichGeometryTypeTwoWings, fEventNum, CbmRichRecGeoPar::fGeometryType, CbmRichGeoManager::fGP, CbmRichNavigationUtil::FindIntersection(), CbmRichRecGeoPar::fMirrorR, CbmRichRecGeoPar::fMirrorX, CbmRichRecGeoPar::fMirrorY, CbmRichRecGeoPar::fMirrorZ, fTrackParams, CbmRichGeoManager::GetInstance(), GetPmtIntersectionPointCyl(), GetPmtIntersectionPointTwoWings(), i, CbmRichGeoManager::IsPointInsidePmt(), MirrorCenter(), richProj, and CbmRichGeoManager::RotatePoint().
|
virtual |
Execute task.
[out] | richProj | Output array of created projections. |
Implements CbmRichProjectionProducerBase.
string CbmRichProjectionProducerAnalytical::GetMirrorID | ( | const string | volumeName | ) |
Definition at line 345 of file alignment/CbmRichProjectionProducerAnalytical.cxx.
Referenced by MirrorCenter().
void CbmRichProjectionProducerAnalytical::GetPmtIntersectionPointCyl | ( | const TVector3 * | centerP, |
const TVector3 * | crossP, | ||
const TVector3 * | ref, | ||
TVector3 * | outPoint | ||
) |
Definition at line 446 of file alignment/CbmRichProjectionProducerAnalytical.cxx.
References CbmRichGeometryTypeCylindrical, CbmRichRecGeoPar::fGeometryType, CbmRichGeoManager::fGP, CbmRichRecGeoPar::fPmtMap, and CbmRichGeoManager::GetInstance().
Referenced by DoProjection().
void CbmRichProjectionProducerAnalytical::GetPmtIntersectionPointCyl | ( | const TVector3 * | centerP, |
const TVector3 * | crossP, | ||
const TVector3 * | ref, | ||
TVector3 * | outPoint | ||
) |
void CbmRichProjectionProducerAnalytical::GetPmtIntersectionPointTwoWings | ( | const TVector3 * | centerP, |
const TVector3 * | crossP, | ||
const TVector3 * | ref, | ||
TVector3 * | outPoint | ||
) |
void CbmRichProjectionProducerAnalytical::GetPmtIntersectionPointTwoWings | ( | const TVector3 * | centerP, |
const TVector3 * | crossP, | ||
const TVector3 * | ref, | ||
TVector3 * | outPoint | ||
) |
Definition at line 358 of file alignment/CbmRichProjectionProducerAnalytical.cxx.
References CbmRichGeometryTypeTwoWings, CbmRichRecGeoPar::fGeometryType, CbmRichGeoManager::fGP, CbmRichRecGeoParPmt::fPhi, CbmRichRecGeoParPmt::fPlaneX, CbmRichRecGeoParPmt::fPlaneY, CbmRichRecGeoParPmt::fPlaneZ, CbmRichRecGeoPar::fPmt, CbmRichRecGeoParPmt::fTheta, and CbmRichGeoManager::GetInstance().
Referenced by DoProjection().
|
virtual |
Initialization of the task.
Reimplemented from CbmRichProjectionProducerBase.
Definition at line 49 of file alignment/CbmRichProjectionProducerAnalytical.cxx.
References CbmRichProjectionProducerBase::fMirrorCorrectionParameterFile, CbmRichProjectionProducerBase::fPathToMirrorCorrectionParameterFile, fTrackParams, and CbmRichMirrorMisalignmentCorrectionUtils::Init().
|
virtual |
Initialization of the task.
Reimplemented from CbmRichProjectionProducerBase.
TVector3 CbmRichProjectionProducerAnalytical::MirrorCenter | ( | const TVector3 | centerP, |
const string | volumeName | ||
) |
Definition at line 249 of file alignment/CbmRichProjectionProducerAnalytical.cxx.
References CbmRichProjectionProducerBase::fMirrorCorrectionParameterFile, CbmRichMirrorMisalignmentCorrectionUtils::GetMirrorCorrectionParamBool(), CbmRichMirrorMisalignmentCorrectionUtils::GetMirrorCorrectionParamMap(), and GetMirrorID().
Referenced by DoProjection().
|
private |
Assignment operator.
|
private |
Assignment operator.
|
inlinevirtualinherited |
Definition at line 53 of file alignment/CbmRichProjectionProducerBase.h.
Referenced by CbmRichReconstruction::InitProjection().
|
private |
Definition at line 81 of file alignment/CbmRichProjectionProducerAnalytical.h.
Referenced by DoProjection().
|
protectedinherited |
Definition at line 60 of file alignment/CbmRichProjectionProducerBase.h.
Referenced by Init(), and MirrorCenter().
|
private |
Definition at line 80 of file alignment/CbmRichProjectionProducerAnalytical.h.
|
protectedinherited |
Definition at line 59 of file alignment/CbmRichProjectionProducerBase.h.
Referenced by Init().
|
private |
Definition at line 78 of file alignment/CbmRichProjectionProducerAnalytical.h.
Referenced by DoProjection(), and Init().