]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ZDC/AliZDCDigit.cxx
Merging implemented
[u/mrichter/AliRoot.git] / ZDC / AliZDCDigit.cxx
index 8d03f9f67946fcde1dcd0155c6656ef5d56839e5..a8eb8963270b7ca50055a353c7797a14766f5ca1 100644 (file)
@@ -30,18 +30,20 @@ ClassImp(AliZDCDigit)
 {
   // Default constructor 
   
-  fDetector = 0;
-  fQuadrant = 0;
+  fSector[0]   = 0;
+  fSector[1]   = 0;
   fADCValue = 0;  
 }
 
 //____________________________________________________________________________
-AliZDCDigit::AliZDCDigit(Int_t Det, Int_t Quad, Float_t ADCValue) 
+AliZDCDigit::AliZDCDigit(Int_t *Sector, Int_t ADCValue) 
 {  
   // Constructor 
  
-  fDetector = Det;
-  fQuadrant = Quad;
+  Int_t i;
+  for(i=0; i<2; i++) {
+     fSector[i] = Sector[i];
+  }
   fADCValue = ADCValue;  
 }
 
@@ -50,8 +52,8 @@ AliZDCDigit::AliZDCDigit(const AliZDCDigit & digit)
 {
   // Copy constructor
 
-  fDetector = digit.fDetector;           
-  fQuadrant = digit.fQuadrant;           
+  fSector[0]   = digit.fSector[0];           
+  fSector[1]   = digit.fSector[1];           
   fADCValue = digit.fADCValue;             
 
 }