lcsim/src/org/lcsim/event/base
diff -u -r1.1 -r1.2
--- MCReconstructedParticle.java 9 Feb 2007 17:36:07 -0000 1.1
+++ MCReconstructedParticle.java 15 Feb 2007 18:14:56 -0000 1.2
@@ -22,7 +22,7 @@
*/
public class MCReconstructedParticle extends BaseReconstructedParticle
{
-
+ MCParticle pp;
/** Creates a new instance of MCReconstructedParticle */
public MCReconstructedParticle(MCParticle p)
{
@@ -34,6 +34,7 @@
ParticleID pid = new CheatParticleID(p.getPDGID());
super.setParticleIdUsed(pid);
super.addParticleID(pid);
+ pp = p;
}
public void useMassAndP(double mass)
{
@@ -55,5 +56,5 @@
Hep3Vector newmom = new BasicHep3Vector(mom.x()*norm, mom.y()*norm, mom.z()*norm);
super.set4Vector(new BasicHepLorentzVector(super.getEnergy(),newmom));
}
-
+ public MCParticle getMCParticle(){return pp;}
}