CbmRoot
Loading...
Searching...
No Matches
alignment/CbmRichProjectionProducerAnalytical.h
Go to the documentation of this file.
1/* Copyright (C) 2016-2017 Justus-Liebig-Universitaet Giessen, Giessen
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Petr Stolpovsky, Semen Lebedev, Jordan Bendarouach [committer] */
4
15#ifndef CBM_RICH_PROJECTION_PRODUCER_ANALYTICAL
16#define CBM_RICH_PROJECTION_PRODUCER_ANALYTICAL
18#include "TObject.h"
19#include "TVector3.h"
20
21#include <string>
22
23using namespace std;
24
25class TClonesArray;
26class TObjArray;
27class FairTrackParam;
28
39 public:
44
49
53 virtual void Init();
54
59 virtual void DoProjection(TClonesArray* richProj);
60
61 void GetPmtIntersectionPointTwoWings(const TVector3* centerP, const TVector3* crossP, const TVector3* ref,
62 TVector3* outPoint);
63
64 /*
65 * Find the intersection point with cylindrical PMT plane.
66 *
67 */
68 void GetPmtIntersectionPointCyl(const TVector3* centerP, const TVector3* crossP, const TVector3* ref,
69 TVector3* outPoint);
70
71 TVector3 MirrorCenter(const TVector3 centerP, const string volumeName);
72
73 string GetMirrorID(const string volumeName);
74
75
76 private:
77 TClonesArray* fTrackParams; // Starting points&directions
78
79 int fNHits; // Number of hits
80 int fEventNum; // number of events
81
86
91};
92
93#endif
TClonesArray * richProj
Base class for STS track projections onto the photodetector plane.
Project track by straight line from imaginary plane to the mirror and reflect it to the photodetector...
void GetPmtIntersectionPointCyl(const TVector3 *centerP, const TVector3 *crossP, const TVector3 *ref, TVector3 *outPoint)
virtual void DoProjection(TClonesArray *richProj)
Execute task.
void GetPmtIntersectionPointTwoWings(const TVector3 *centerP, const TVector3 *crossP, const TVector3 *ref, TVector3 *outPoint)
CbmRichProjectionProducerAnalytical & operator=(const CbmRichProjectionProducerAnalytical &)
Assignment operator.
CbmRichProjectionProducerAnalytical(const CbmRichProjectionProducerAnalytical &)
Copy constructor.
TVector3 MirrorCenter(const TVector3 centerP, const string volumeName)
Base class for STS track projections onto the photodetector plane.
Hash for CbmL1LinkKey.