lcio/src/cpp/include/IMPL
diff -u -r1.21 -r1.22
--- MCParticleImpl.h 27 May 2005 07:55:54 -0000 1.21
+++ MCParticleImpl.h 29 Mar 2006 14:11:26 -0000 1.22
@@ -19,19 +19,20 @@
/** Implementation of MCParticle.
*
* @author gaede
- * @version $Id: MCParticleImpl.h,v 1.21 2005/05/27 07:55:54 gaede Exp $
+ * @version $Id: MCParticleImpl.h,v 1.22 2006/03/29 14:11:26 gaede Exp $
*/
class MCParticleImpl : public EVENT::MCParticle, public AccessChecked {
public:
MCParticleImpl() ;
+
+// /** Copy c'tor */
+// MCParticleImpl(const EVENT::MCParticle& p) ;
/// Destructor.
virtual ~MCParticleImpl() ;
-
-
virtual int id() { return simpleUID() ; }
/** Returns the parents of this particle.
lcio/src/cpp/src/IMPL
diff -u -r1.27 -r1.28
--- MCParticleImpl.cc 23 Feb 2006 14:44:18 -0000 1.27
+++ MCParticleImpl.cc 29 Mar 2006 14:11:26 -0000 1.28
@@ -32,6 +32,29 @@
_endpoint[2] = 0.0 ;
}
+// MCParticleImpl::MCParticleImpl(const EVENT::MCParticle& p) :
+// _pdg( p.getPDG() ),
+// _genstatus( p.getGeneratorStatus() ),
+// _simstatus( p.getSimulatorStatus() ),
+// _mass( p.getMass() ),
+// _charge( p.getCharge() ),
+// _time( p.getTime() ),
+// _parents( p.getParents() ),
+// _daughters( p.getDaughters() )
+// {
+// _vertex[0] = p.getVertex()[0] ;
+// _vertex[1] = p.getVertex()[1] ;
+// _vertex[2] = p.getVertex()[2] ;
+// _p[0] = p.getMomentum()[0] ;
+// _p[1] = p.getMomentum()[1] ;
+// _p[2] = p.getMomentum()[2] ;
+// _endpoint[0] = p.getEndpoint()[0] ;
+// _endpoint[1] = p.getEndpoint()[1] ;
+// _endpoint[2] = p.getEndpoint()[2] ;
+// }
+
+
+
MCParticleImpl::~MCParticleImpl(){
// no dynamic variables
// delete [] _readDaughters ;