Skip to content
Snippets Groups Projects

Update TrackIPResolutionCheckerNT.cpp to follow MCParticle changes

Merged Marco Cattaneo requested to merge cherry-pick-771af981 into stripping24-patches
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -353,7 +353,7 @@ StatusCode TrackIPResolutionCheckerNT::execute()
if( hasMCMatch ) {
Gaudi::XYZPoint trueorigin = mcparticle->originVertex()->position() ;
const LHCb::MCParticle* mother = mcparticle->originVertex()->mother() ;
const LHCb::MCVertex* UltOrigVertex =findMCOriginVertex(mcparticle, 1e-3) ;
const LHCb::MCVertex* UltOrigVertex =findMCOriginVertex(*mcparticle, 1e-3) ;
const LHCb::MCParticle* ulmother = UltOrigVertex ? UltOrigVertex->mother() : 0 ;
mcOVT = mcVertexType( UltOrigVertex ) ;
theTuple->column("truepid", mcparticle->particleID().pid() ) ;
Loading