CbmRoot
tracks/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 
73 private:
74  TClonesArray* fTrackParams; // Starting points&directions
75 
76  int fNHits; // Number of hits
77  int fEventNum; // number of events
78 
84 
90 };
91 
92 #endif
CbmRichProjectionProducerAnalytical::GetPmtIntersectionPointCyl
void GetPmtIntersectionPointCyl(const TVector3 *centerP, const TVector3 *crossP, const TVector3 *ref, TVector3 *outPoint)
CbmRichProjectionProducerAnalytical::operator=
CbmRichProjectionProducerAnalytical & operator=(const CbmRichProjectionProducerAnalytical &)
Assignment operator.
CbmRichProjectionProducerBase.h
Base class for STS track projections onto the photodetector plane.
CbmRichProjectionProducerAnalytical::CbmRichProjectionProducerAnalytical
CbmRichProjectionProducerAnalytical()
Standard constructor.
CbmRichProjectionProducerAnalytical::DoProjection
virtual void DoProjection(TClonesArray *richProj)
Execute task.
CbmRichProjectionProducerAnalytical::Init
virtual void Init()
Initialization of the task.
CbmRichProjectionProducerAnalytical
Project track by straight line from imaginary plane to the mirror and reflect it to the photodetector...
Definition: alignment/CbmRichProjectionProducerAnalytical.h:35
CbmRichProjectionProducerAnalytical::CbmRichProjectionProducerAnalytical
CbmRichProjectionProducerAnalytical(const CbmRichProjectionProducerAnalytical &)
Copy constructor.
CbmRichProjectionProducerAnalytical::~CbmRichProjectionProducerAnalytical
virtual ~CbmRichProjectionProducerAnalytical()
Destructor.
richProj
TClonesArray * richProj
Definition: Compute_distance.h:18
CbmRichProjectionProducerAnalytical::GetPmtIntersectionPointTwoWings
void GetPmtIntersectionPointTwoWings(const TVector3 *centerP, const TVector3 *crossP, const TVector3 *ref, TVector3 *outPoint)
CbmRichProjectionProducerBase
Base class for STS track projections onto the photodetector plane.
Definition: alignment/CbmRichProjectionProducerBase.h:27