]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
xyd is now initialized to 0,0,0
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 7 Feb 2001 09:43:59 +0000 (09:43 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 7 Feb 2001 09:43:59 +0000 (09:43 +0000)
PHOS/AliPHOSv1.cxx

index 39bc25f734a7be5e1d11e8eafd5a2747c66716c2..37deb15e32d082a5a3692ff74e0ff8c087ca84d9 100644 (file)
@@ -515,18 +515,13 @@ void AliPHOSv1::StepManager(void)
 {
   // Accumulates hits as long as the track stays in a single crystal or PPSD gas Cell
 
-//    if (gMC->IsTrackEntering())
-//      cout << "Track enters the volume " << gMC->CurrentVolName() << endl;
-//    if (gMC->IsTrackExiting())
-//      cout << "Track leaves the volume " << gMC->CurrentVolName() << endl;
-
-  Int_t          relid[4] ;      // (box, layer, row, column) indices
-  Int_t          absid    ;      // absolute cell ID number
+  Int_t          relid[4] ;           // (box, layer, row, column) indices
+  Int_t          absid    ;           // absolute cell ID number
   Float_t        xyze[4]={0,0,0,0}  ; // position wrt MRS and energy deposited
-  TLorentzVector pos      ;      // Lorentz vector of the track current position
-  TLorentzVector pmom     ;      //momentum of the particle initiated hit
-  Float_t        xyd[3]   ;      //local posiiton of the entering
-  Bool_t         entered = kFALSE    ;  
+  TLorentzVector pos      ;           // Lorentz vector of the track current position
+  TLorentzVector pmom = 0    ;        //momentum of the particle initiated hit
+  Float_t        xyd[3]={0,0,0}   ;   //local posiiton of the entering
+  Bool_t         entered = kFALSE ;  
   Int_t          copy     ;
 
   Int_t tracknumber =  gAlice->CurrentTrack() ;