X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TOF%2FAliTOFhitT0.cxx;h=3ce5c1145a69de14eec1f63cf1e6930233f20ec1;hb=b16234abcee5c9025022b25728a41def26c3ca02;hp=78d729a0a10959eeacec47204743b5b67c3c3475;hpb=58e32bd2a9a7a396e7154d0414eb39fdce5896fc;p=u%2Fmrichter%2FAliRoot.git diff --git a/TOF/AliTOFhitT0.cxx b/TOF/AliTOFhitT0.cxx index 78d729a0a10..3ce5c1145a6 100644 --- a/TOF/AliTOFhitT0.cxx +++ b/TOF/AliTOFhitT0.cxx @@ -54,8 +54,45 @@ ClassImp(AliTOFhitT0) //____________________________________________________________________________ -AliTOFhitT0::AliTOFhitT0(const AliTOFhitT0 & 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 // @@ -84,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