/
CbmRichPoint.h
64 lines (41 loc) · 1.52 KB
/
CbmRichPoint.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// -------------------------------------------------------------------------
// ----- CbmRichPoint header file -----
// ----- Created 28/04/04 by B. Polichtchouk -----
// -------------------------------------------------------------------------
/** CbmRichPoint.h
*@author B. Polichtchouk
**
** Interception of MC track with an RICH photodetector.
**/
#ifndef CBMRICHPOINT_H
#define CBMRICHPOINT_H 1
#include "FairMCPoint.h"
class TVector3;
class CbmRichPoint : public FairMCPoint
{
public:
/** Default constructor **/
CbmRichPoint();
/** Constructor with arguments
*@param trackID Index of MCTrack
*@param detID Detector ID
*@param pos Coordinates at entrance to active volume [cm]
*@param mom Momentum of track at entrance [GeV]
*@param tof Time since event start [ns]
*@param length Track length since creation [cm]
*@param eLoss Energy deposit [GeV]
**/
CbmRichPoint(Int_t trackID, Int_t pdg, Int_t detID, TVector3 pos, TVector3 mom,
Double_t tof, Double_t length, Double_t eLoss);
/** Copy constructor **/
CbmRichPoint(const CbmRichPoint& point) { *this = point; };
/** Destructor **/
virtual ~CbmRichPoint();
/** Output to screen **/
virtual void Print(const Option_t* opt) const;
// Somehow fail to propagate this through MC tracks (they are not stored and
// besides this trackID is always equal -2); so it's a hack for now;
Int_t fPDG;
ClassDef(CbmRichPoint,2)
};
#endif