EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairRadMapPoint.cxx
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FairRadMapPoint.cxx
1 // -------------------------------------------------------------------------
2 // ----- FairRadMapPoint source file -----
3 // -------------------------------------------------------------------------
4 
5 
6 #include "FairRadMapPoint.h"
7 
8 
9 // ----- Default constructor -------------------------------------------
11  : FairMCPoint(),
12  fPdg(0),
13  fA(0),
14  fZmat(0),
15  fDensity(0),
16  fVolMass(0),
17  fStep(0),
18  fDose(0),
19  fDoseSL(0),
20  fXOut(0),
21  fYOut(0),
22  fZOut(0),
23  fPxOut(0),
24  fPyOut(0),
25  fPzOut(0)
26 
27 
28 {
30 }
31 // -------------------------------------------------------------------------
32 
33 
34 
35 // ----- Standard constructor ------------------------------------------
36 FairRadMapPoint::FairRadMapPoint(Int_t trackID, Int_t detID, TVector3 pos,
37  TVector3 mom, Double_t tof, Double_t length,
38  Double_t eLoss, TVector3 posOut, TVector3 momOut,
39  Float_t A, Float_t Z, Float_t Density, Double_t VolMass,
40  Double_t Step, Double_t Dose, Double_t DoseSL, Int_t Pdg)
41  : FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss),
42  fPdg(Pdg),
43  fA(A),
44  fZmat(Z),
45  fDensity(Density),
46  fVolMass(VolMass),
47  fStep(Step),
48  fDose(Dose),
49  fDoseSL(DoseSL),
50  fXOut ( posOut.X()),
51  fYOut ( posOut.Y()),
52  fZOut ( posOut.Z()),
53  fPxOut ( momOut.Px()),
54  fPyOut ( momOut.Py()),
55  fPzOut ( momOut.Pz())
56 
57 {
60 }
61 // -------------------------------------------------------------------------
62 
63 
64 // ----- Destructor ----------------------------------------------------
66 // -------------------------------------------------------------------------
67 
68 void FairRadMapPoint::Print(const Option_t*) const
69 {
73 }
75