]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ZDC/AliZDCDigit.cxx
integrated times correction implemented during reconstruction in AliTOFReconstructor...
[u/mrichter/AliRoot.git] / ZDC / AliZDCDigit.cxx
index d765d0ada1f1722ce37a937ff8e5c9d47d353d1e..43745cf5303d95219a7052f7b4c8f3981d60fc26 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-//_________________________________________________________________________
+//**********************************************************************
 //
+//             Class for ZDC digit 
+//           ADC Channels for each PM 
+//        5 for hadronic ZDCs 2 for EM ZDCs
 //
-//   ZDC digit = ADC Channels for each PM 
-//
-//_________________________________________________________________________
+//**********************************************************************
 
 #include "AliZDCDigit.h"
 
@@ -30,10 +31,9 @@ ClassImp(AliZDCDigit)
 {
   // Default constructor 
   
-  fSector[0]   = 0;
-  fSector[1]   = 0;
-  fADCValue[0] = 0;  
-  fADCValue[1] = 0;  
+  Int_t i;
+  for(i=0; i<2; i++) fSector[i] = 0;
+  for(i=0; i<2; i++) fADCValue[i] = 0;  
 }
 
 //____________________________________________________________________________
@@ -42,12 +42,8 @@ AliZDCDigit::AliZDCDigit(Int_t *Sector, Int_t *ADCValue)
   // Constructor 
  
   Int_t i;
-  for(i=0; i<2; i++) {
-     fSector[i] = Sector[i];
-  }
-  for(i=0; i<2; i++) {
-    fADCValue[i] = ADCValue[i];  
-  }
+  for(i=0; i<2; i++) fSector[i] = Sector[i];
+  for(i=0; i<2; i++) fADCValue[i] = ADCValue[i];  
 }
 
 //____________________________________________________________________________
@@ -61,3 +57,4 @@ AliZDCDigit::AliZDCDigit(const AliZDCDigit & digit):TObject(digit)
   fADCValue[1] = digit.fADCValue[1];             
 
 }
+