]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
fCalcMass not copied in ctor. with TParticle parameter
authorskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 31 Oct 2002 11:22:25 +0000 (11:22 +0000)
committerskowron <skowron@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 31 Oct 2002 11:22:25 +0000 (11:22 +0000)
HBTAN/AliHBTParticle.cxx

index a1d8d84b6127651c6bd629140987402c67f642cc..294b05f9311f07d0be168b4a5cb321cfe4975373 100644 (file)
@@ -33,11 +33,12 @@ AliHBTParticle::AliHBTParticle(Int_t pdg, Double_t px, Double_t py, Double_t pz,
 
 //______________________________________________________________________________
 AliHBTParticle::AliHBTParticle(const TParticle &p):
-   fPdgCode(p.GetPdgCode()), 
+   fPdgCode(p.GetPdgCode()),fCalcMass(p.GetCalcMass()),
    fPx(p.Px()),fPy(p.Py()),fPz(p.Pz()),fE(p.Energy()), 
    fVx(p.Vx()),fVy(p.Vy()),fVz(p.Vz()),fVt(p.T())
 {
  //all copied in the initialization
 }
 
 //______________________________________________________________________________