10 #include "FairLogger.h" 12 ERTrack::ERTrack(
const TVector3& detectorVertex,
const TVector3& targetVertex, Double_t edep)
13 : fTargetVertex(targetVertex), fDetectorVertex(detectorVertex), fEdep(edep)
17 void ERTrack::Print(
const Option_t* opt )
const {
18 LOG(INFO) <<
"-I- ERDigi: detector position = (" << fDetectorVertex.X() <<
", " 19 << fDetectorVertex.Y() <<
", " << fDetectorVertex.Z()
20 <<
"), target position = (" << fTargetVertex.X() <<
", " << fTargetVertex.Y()
21 <<
", " << fTargetVertex.Z() <<
")" << FairLogger::endl;