CbmRoot
Loading...
Searching...
No Matches
tracks/CbmRichProjectionProducerAnalytical.h
Go to the documentation of this file.
1/* Copyright (C) 2016-2021 GSI/JINR-LIT, Darmstadt/Dubna
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Petr Stolpovsky, Semen Lebedev, Andrey Lebedev [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(CbmEvent* event, 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
72 private:
73 TClonesArray* fTrackParams = nullptr;
74 int fEventNum = 0;
75
80
85};
86
87#endif
TClonesArray * richProj
Class characterising one event by a collection of links (indices) to data objects,...
Definition CbmEvent.h:34
Project track by straight line from imaginary plane to the mirror and reflect it to the photodetector...
virtual ~CbmRichProjectionProducerAnalytical()
Destructor.
void GetPmtIntersectionPointCyl(const TVector3 *centerP, const TVector3 *crossP, const TVector3 *ref, TVector3 *outPoint)
virtual void DoProjection(TClonesArray *richProj)
Execute task.
virtual void Init()
Initialization of the 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.
CbmRichProjectionProducerAnalytical()
Standard constructor.
Base class for STS track projections onto the photodetector plane.
Hash for CbmL1LinkKey.
Base class for STS track projections onto the photodetector plane.