CbmRoot
alignment/CbmRichProjectionProducerAnalytical.h
Go to the documentation of this file.
1 
11 #ifndef CBM_RICH_PROJECTION_PRODUCER_ANALYTICAL
12 #define CBM_RICH_PROJECTION_PRODUCER_ANALYTICAL
14 #include "TObject.h"
15 #include "TVector3.h"
16 
17 #include <string>
18 
19 using namespace std;
20 
21 class TClonesArray;
22 class TObjArray;
23 class FairTrackParam;
24 
36 public:
41 
46 
50  virtual void Init();
51 
56  virtual void DoProjection(TClonesArray* richProj);
57 
58  void GetPmtIntersectionPointTwoWings(const TVector3* centerP,
59  const TVector3* crossP,
60  const TVector3* ref,
61  TVector3* outPoint);
62 
63  /*
64  * Find the intersection point with cylindrical PMT plane.
65  *
66  */
67  void GetPmtIntersectionPointCyl(const TVector3* centerP,
68  const TVector3* crossP,
69  const TVector3* ref,
70  TVector3* outPoint);
71 
72  TVector3 MirrorCenter(const TVector3 centerP, const string volumeName);
73 
74  string GetMirrorID(const string volumeName);
75 
76 
77 private:
78  TClonesArray* fTrackParams; // Starting points&directions
79 
80  int fNHits; // Number of hits
81  int fEventNum; // number of events
82 
88 
94 };
95 
96 #endif
CbmRichProjectionProducerAnalytical::operator=
CbmRichProjectionProducerAnalytical & operator=(const CbmRichProjectionProducerAnalytical &)
Assignment operator.
CbmRichProjectionProducerBase.h
Base class for STS track projections onto the photodetector plane.
CbmRichProjectionProducerAnalytical
Project track by straight line from imaginary plane to the mirror and reflect it to the photodetector...
Definition: alignment/CbmRichProjectionProducerAnalytical.h:35
CbmRichProjectionProducerAnalytical::fNHits
int fNHits
Definition: alignment/CbmRichProjectionProducerAnalytical.h:80
CbmRichProjectionProducerAnalytical::CbmRichProjectionProducerAnalytical
CbmRichProjectionProducerAnalytical(const CbmRichProjectionProducerAnalytical &)
Copy constructor.
CbmRichProjectionProducerAnalytical::fTrackParams
TClonesArray * fTrackParams
Definition: alignment/CbmRichProjectionProducerAnalytical.h:78
CbmRichProjectionProducerAnalytical::fEventNum
int fEventNum
Definition: alignment/CbmRichProjectionProducerAnalytical.h:81
richProj
TClonesArray * richProj
Definition: Compute_distance.h:18
CbmRichProjectionProducerBase
Base class for STS track projections onto the photodetector plane.
Definition: alignment/CbmRichProjectionProducerBase.h:27