]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - VZERO/AliVZEROv5.cxx
VZEROTUNING2da.cxx has been renamed VZEROINTEGRATIONGATETUNINGda.cxx
[u/mrichter/AliRoot.git] / VZERO / AliVZEROv5.cxx
index 62f9b209960b2ad358ebd8a8ccadbfa733002b93..e7c032c3ae4a401fb004622def4d0d88fce0f17b 100755 (executable)
 ClassImp(AliVZEROv5)
 
 //_____________________________________________________________________________
-AliVZEROv5:: AliVZEROv5():AliVZERO()
+AliVZEROv5:: AliVZEROv5():AliVZERO(),
+   fCellId(0),
+   fTrackPosition(),
+   fTrackMomentum(), 
+   fLightYield(93.75),
+   fLightAttenuation(0.05),
+   fnMeters(15.0),
+   fFibToPhot(0.3)
 {
 // Standard default constructor 
 }
 
 //_____________________________________________________________________________
 AliVZEROv5::AliVZEROv5(const char *name, const char *title):
- AliVZERO(name,title)
+   AliVZERO(name,title),
+   fCellId(0),
+   fTrackPosition(),
+   fTrackMomentum(),
+   fLightYield(93.75),
+   fLightAttenuation(0.05),
+   fnMeters(15.0),
+   fFibToPhot(0.3)    
 {
 
 // Standard constructor for V-zero Detector  version 5
 
   AliDebug(2,"Create VZERO object ");
-      
-  fLightYield              =  93.75; // Light yield in BC408 (93.75 eV per photon)
-  fLightAttenuation        =   0.05; // Light attenuation in fiber (0.05 per meter)
-  fnMeters                 =   15.0; // Number of meters of clear fibers to PM
-  fFibToPhot               =    0.3; // Attenuation at fiber-photocathode interface
+//       
+//   fLightYield              =  93.75; // Light yield in BC408 (93.75 eV per photon)
+//   fLightAttenuation        =   0.05; // Light attenuation in fiber (0.05 per meter)
+//   fnMeters                 =   15.0; // Number of meters of clear fibers to PM
+//   fFibToPhot               =    0.3; // Attenuation at fiber-photocathode interface
 }
 
 //_____________________________________________________________________________
@@ -1071,7 +1085,6 @@ Int_t AliVZEROv5::GetCellId(Int_t *vol, Float_t *hits)
 //    cout << "X     = " << hits[0] << "    Y = " << hits[1] << endl;
    
    Float_t phi = Float_t(TMath::ATan2(Double_t(hits[1]),Double_t(hits[0])) ); 
-   Float_t kRaddeg = 180.0/TMath::Pi();
    phi = kRaddeg * phi;
     
    if (index < 7) index = index + 8;