Skip to content
Snippets Groups Projects
Commit d8bc604d authored by John Derek Chapman's avatar John Derek Chapman Committed by Graeme Stewart
Browse files

EntryLayerTool: set TrackRecord time using ISFParticle::timeStamp in convert...

EntryLayerTool: set TrackRecord time using ISFParticle::timeStamp in convert method. ATLASSAIM-1808. Tagging ISF_Geant4CommonTools-00-03-03-02 (ISF_Geant4CommonTools-00-03-03-02)
parent 59849b6f
No related branches found
No related tags found
No related merge requests found
......@@ -233,7 +233,7 @@ TrackRecord *ISF::EntryLayerTool::convert( const ISF::ISFParticle &p,
CLHEP::Hep3Vector mom( p.momentum().x(), p.momentum().y(), p.momentum().z() );// not optimal, but required by TrackRecord
CLHEP::Hep3Vector pos( p.position().x(), p.position().y(), p.position().z() );// not optimal, but required by TrackRecord
double energy = sqrt(mass*mass + mom.mag2());
double time = 0.; //!< @TODO: fix time
double time = p.timeStamp(); //!< @TODO: fix time
// finally create the TrackRecord
TrackRecord *tRec = new TrackRecord( p.pdgCode(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment