Warning fTime initialization fixed
authorbasanta <basanta@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 Oct 2009 04:15:02 +0000 (04:15 +0000)
committerbasanta <basanta@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 15 Oct 2009 04:15:02 +0000 (04:15 +0000)
PMD/AliPMDhit.cxx

index deb2b35..11ded4d 100644 (file)
@@ -33,7 +33,8 @@ AliPMDhit::AliPMDhit():
 //_____________________________________________________________________________
 AliPMDhit::AliPMDhit(Int_t shunt,Int_t track, Int_t *vol, Float_t *hits):
   AliHit(shunt, track),
-  fEnergy(hits[3])
+  fEnergy(hits[3]),
+  fTime(hits[4])
 {
   //
   // Add a PMD hit
@@ -43,11 +44,11 @@ AliPMDhit::AliPMDhit(Int_t shunt,Int_t track, Int_t *vol, Float_t *hits):
   fX=hits[0];
   fY=hits[1];
   fZ=hits[2];
-  fTime = hits[3];
 }
 //_____________________________________________________________________________
 AliPMDhit::AliPMDhit(AliPMDhit* oldhit):
-  fEnergy(0.)
+  fEnergy(0.),
+  fTime(0.)
 {
   *this=*oldhit;
 }