1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
16 //_________________________________________________________________________
19 // ZDC digit = ADC Channels for each PM
21 //_________________________________________________________________________
23 #include "AliZDCDigit.h"
28 //____________________________________________________________________________
29 AliZDCDigit::AliZDCDigit()
31 // Default constructor
39 //____________________________________________________________________________
40 AliZDCDigit::AliZDCDigit(Int_t *Sector, Int_t *ADCValue)
46 fSector[i] = Sector[i];
49 fADCValue[i] = ADCValue[i];
53 //____________________________________________________________________________
54 AliZDCDigit::AliZDCDigit(const AliZDCDigit & digit):TObject(digit)
58 fSector[0] = digit.fSector[0];
59 fSector[1] = digit.fSector[1];
60 fADCValue[0] = digit.fADCValue[0];
61 fADCValue[1] = digit.fADCValue[1];