]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFhitT0.cxx
removal of effective c++ warnings (C.Zampolli)
[u/mrichter/AliRoot.git] / TOF / AliTOFhitT0.cxx
index 7a829a5137a85f50e19110bc9c3a4b7cbec5684c..3ce5c1145a69de14eec1f63cf1e6930233f20ec1 100644 (file)
 ClassImp(AliTOFhitT0)
 
 //____________________________________________________________________________
-AliTOFhitT0::AliTOFhitT0(const AliTOFhitT0 & hit)
-:AliHit(hit)
+  AliTOFhitT0::AliTOFhitT0():
+  AliHit(),
+  fSector(-1),
+  fPlate(-1),
+  fStrip(-1),
+  fPadx(-1),
+  fPadz(-1),
+  fPx(0),
+  fPy(0),
+  fPz(0),
+  fPmom(0),
+  fTof(0),
+  fLenTof(0),
+  fDx(0),
+  fDy(0),
+  fDz(0),
+  fIncA(0),
+  fEdep(0)
 {
+}
+//____________________________________________________________________________
+AliTOFhitT0::AliTOFhitT0(const AliTOFhitT0 & hit):
+  AliHit(hit),
+  fSector(-1),
+  fPlate(-1),
+  fStrip(-1),
+  fPadx(-1),
+  fPadz(-1),
+  fPx(0),
+  fPy(0),
+  fPz(0),
+  fPmom(0),
+  fTof(0),
+  fLenTof(0),
+  fDx(0),
+  fDy(0),
+  fDz(0),
+  fIncA(0),
+  fEdep(0){
    //
    // copy ctor for AliTOFhitT0 object
    //
@@ -85,8 +121,24 @@ AliTOFhitT0::AliTOFhitT0(const AliTOFhitT0 & hit)
  
 //______________________________________________________________________________
 AliTOFhitT0::AliTOFhitT0(Int_t shunt, Int_t track, Int_t *vol,
-                     Float_t *hits)
-:AliHit(shunt, track)
+                     Float_t *hits):
+  AliHit(shunt, track),
+  fSector(-1),
+  fPlate(-1),
+  fStrip(-1),
+  fPadx(-1),
+  fPadz(-1),
+  fPx(0),
+  fPy(0),
+  fPz(0),
+  fPmom(0),
+  fTof(0),
+  fLenTof(0),
+  fDx(0),
+  fDy(0),
+  fDz(0),
+  fIncA(0),
+  fEdep(0)
 {
 //
 // Constructor of hit object