WCSimTrueTrack.cc

Go to the documentation of this file.
00001 #include "WCSimTrueTrack.hh"
00002 
00003 #include <iostream>
00004 
00005 ClassImp(WCSimTrueTrack)
00006 
00007 WCSimTrueTrack::WCSimTrueTrack( Int_t ipdg, Int_t ipdgParent,
00008                                 Double_t g4vx, Double_t g4vy, Double_t g4vz,
00009                                 Double_t g4ex, Double_t g4ey, Double_t g4ez,
00010                                 Double_t vx, Double_t vy, Double_t vz,
00011                                 Double_t ex, Double_t ey, Double_t ez,
00012                                 Double_t px, Double_t py, Double_t pz,
00013                                 Double_t trkE, Double_t trkP )
00014 {
00015   fIpdg = ipdg;
00016   fIpdgParent = ipdgParent;
00017 
00018   fG4VtxX = g4vx;
00019   fG4VtxY = g4vy;
00020   fG4VtxZ = g4vz;
00021  
00022   fG4EndX = g4ex;
00023   fG4EndY = g4ey;
00024   fG4EndZ = g4ez; 
00025 
00026   fVtxX = vx;
00027   fVtxY = vy;
00028   fVtxZ = vz;
00029  
00030   fEndX = ex;
00031   fEndY = ey;
00032   fEndZ = ez; 
00033 
00034   fDirX = px;
00035   fDirY = py;
00036   fDirZ = pz;
00037 
00038   fTrkP = trkP;
00039   fTrkE = trkE;
00040 }
00041 
00042 WCSimTrueTrack::~WCSimTrueTrack()
00043 {
00044 
00045 }
00046  
00047 void WCSimTrueTrack::PrintTrack()
00048 {
00049   std::cout << " *** WCSimTrueTrack::PrintTrack() *** " << std::endl
00050             << " * fIpdg = " << fIpdg << std::endl
00051             << " * fIpdgParent=" << fIpdgParent << std::endl         
00052             << " * fG4VtxX = " << fG4VtxX << std::endl
00053             << " * fG4VtxY = " << fG4VtxY << std::endl
00054             << " * fG4VtxZ = " << fG4VtxZ << std::endl
00055             << " * fG4EndX = " << fG4EndX << std::endl
00056             << " * fG4EndY = " << fG4EndY << std::endl
00057             << " * fG4EndZ = " << fG4EndZ << std::endl
00058             << " * fVtxX = " << fVtxX << std::endl
00059             << " * fVtxY = " << fVtxY << std::endl
00060             << " * fVtxZ = " << fVtxZ << std::endl
00061             << " * fEndX = " << fEndX << std::endl
00062             << " * fEndY = " << fEndY << std::endl
00063             << " * fEndZ = " << fEndZ << std::endl
00064             << " * fDirX = " << fDirX << std::endl
00065             << " * fDirY = " << fDirY << std::endl
00066             << " * fDirZ = " << fDirZ << std::endl
00067             << " * fTrkP = " << fTrkP << std::endl
00068             << " * fTrkE = " << fTrkE << std::endl
00069             << " *********************************** " << std::endl;
00070 
00071   return;
00072 }
00073