lcio/src/cpp/include/UTIL
diff -u -r1.9 -r1.10
--- LCFourVector.icc 17 Jan 2011 13:11:11 -0000 1.9
+++ LCFourVector.icc 12 Mar 2011 17:00:26 -0000 1.10
@@ -1,4 +1,3 @@
-#include "UTIL/LCFourVector.h"
#include "IMPL/MCParticleImpl.h"
#include "IMPL/ReconstructedParticleImpl.h"
#include "Exceptions.h"
@@ -21,7 +20,8 @@
template<>
inline LCFourVector<MCParticle>::LCFourVector( const MCParticle* mcPart ) :
- HepLorentzVector(mcPart->getMomentum()[0],
+ _lcObj( mcPart ),
+ HepLorentzVector(mcPart->getMomentum()[0],
mcPart->getMomentum()[1],
mcPart->getMomentum()[2],
mcPart->getEnergy() )
@@ -46,6 +46,7 @@
template<>
inline LCFourVector<ReconstructedParticle>::LCFourVector( const ReconstructedParticle* part ):
+ _lcObj( part ),
HepLorentzVector(part->getMomentum()[0],
part->getMomentum()[1],
part->getMomentum()[2],