]>
Commit | Line | Data |
---|---|---|
6cb3ec36 | 1 | /************************************************************************** |
2 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
3 | * * | |
4 | * Author: The ALICE Off-line Project. * | |
5 | * Contributors are mentioned in the code where appropriate. * | |
6 | * * | |
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 | **************************************************************************/ | |
15 | ||
16 | //_________________________________________________________________________ | |
17 | // | |
18 | // | |
19 | // ZDC digit = ADC Channels for each PM | |
20 | // | |
21 | //_________________________________________________________________________ | |
22 | ||
23 | #include "AliZDCDigit.h" | |
24 | ||
25 | ||
26 | ClassImp(AliZDCDigit) | |
27 | ||
28 | //____________________________________________________________________________ | |
29 | AliZDCDigit::AliZDCDigit() | |
30 | { | |
31 | // Default constructor | |
32 | ||
5a881c97 | 33 | fDetector = 0; |
34 | fQuadrant = 0; | |
35 | fADCValue = 0; | |
6cb3ec36 | 36 | } |
37 | ||
38 | //____________________________________________________________________________ | |
39 | AliZDCDigit::AliZDCDigit(Int_t Det, Int_t Quad, Float_t ADCValue) | |
40 | { | |
5a881c97 | 41 | // Constructor |
42 | ||
6cb3ec36 | 43 | fDetector = Det; |
44 | fQuadrant = Quad; | |
45 | fADCValue = ADCValue; | |
46 | } | |
47 | ||
48 | //____________________________________________________________________________ | |
49 | AliZDCDigit::AliZDCDigit(const AliZDCDigit & digit) | |
50 | { | |
5a881c97 | 51 | // Copy constructor |
6cb3ec36 | 52 | |
53 | fDetector = digit.fDetector; | |
54 | fQuadrant = digit.fQuadrant; | |
55 | fADCValue = digit.fADCValue; | |
56 | ||
57 | } |