EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairRadLenPoint.cxx
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FairRadLenPoint.cxx
1 // -------------------------------------------------------------------------
2 // ----- FairRadLenPoint source file -----
3 // ----- Created 14/01/08 by M. Al-Turany -----
4 // -------------------------------------------------------------------------
5 
6 
7 #include "FairRadLenPoint.h"
8 
9 
10 // ----- Default constructor -------------------------------------------
12  : FairMCPoint(),
13  fA(0),
14  fZmat(0),
15  fDensity(0),
16  fRadLen(0),
17  fXOut(0),
18  fYOut(0),
19  fZOut(0),
20  fPxOut(0),
21  fPyOut(0),
22  fPzOut(0)
23 
24 
25 {
27 }
28 // -------------------------------------------------------------------------
29 
30 
31 
32 // ----- Standard constructor ------------------------------------------
33 FairRadLenPoint::FairRadLenPoint(Int_t trackID, Int_t detID, TVector3 pos,
34  TVector3 mom, Double_t tof, Double_t length, Double_t eLoss,
35  TVector3 posOut, TVector3 momOut,
36  Float_t A, Float_t Z, Float_t Density, Float_t RadLen)
37  : FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss),
38  fA(A),
39  fZmat(Z),
40  fDensity(Density),
41  fRadLen(RadLen),
42  fXOut ( posOut.X()),
43  fYOut ( posOut.Y()),
44  fZOut ( posOut.Z()),
45  fPxOut ( momOut.Px()),
46  fPyOut ( momOut.Py()),
47  fPzOut ( momOut.Pz())
48 {
51 }
52 // -------------------------------------------------------------------------
53 
54 
55 // ----- Destructor ----------------------------------------------------
57 // -------------------------------------------------------------------------
58 
59 void FairRadLenPoint::Print(const Option_t*) const
60 {
64 }
66