/
FairRadLenPoint.cxx
66 lines (50 loc) · 1.78 KB
/
FairRadLenPoint.cxx
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
65
// -------------------------------------------------------------------------
// ----- FairRadLenPoint source file -----
// ----- Created 14/01/08 by M. Al-Turany -----
// -------------------------------------------------------------------------
#include "FairRadLenPoint.h"
// ----- Default constructor -------------------------------------------
FairRadLenPoint::FairRadLenPoint()
: FairMCPoint(),
fA(0),
fZmat(0),
fDensity(0),
fRadLen(0),
fXOut(0),
fYOut(0),
fZOut(0),
fPxOut(0),
fPyOut(0),
fPzOut(0)
{
/**default ctor*/
}
// -------------------------------------------------------------------------
// ----- Standard constructor ------------------------------------------
FairRadLenPoint::FairRadLenPoint(Int_t trackID, Int_t detID, TVector3 pos,
TVector3 mom, Double_t tof, Double_t length, Double_t eLoss,
TVector3 posOut, TVector3 momOut,
Float_t A, Float_t Z, Float_t Density, Float_t RadLen)
: FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss),
fA(A),
fZmat(Z),
fDensity(Density),
fRadLen(RadLen),
fXOut ( posOut.X()),
fYOut ( posOut.Y()),
fZOut ( posOut.Z()),
fPxOut ( momOut.Px()),
fPyOut ( momOut.Py()),
fPzOut ( momOut.Pz())
{
/**std ctor*/
}
// -------------------------------------------------------------------------
// ----- Destructor ----------------------------------------------------
FairRadLenPoint::~FairRadLenPoint() { }
// -------------------------------------------------------------------------
void FairRadLenPoint::Print(const Option_t*) const
{
/**to be implimented*/
}
ClassImp(FairRadLenPoint)