]>
Commit | Line | Data |
---|---|---|
9f0d3dfb | 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 | #include "AliPMDddldata.h" | |
18 | ||
19 | ||
20 | ||
21 | ClassImp(AliPMDddldata) | |
22 | ||
23 | ||
24 | //------------------------------------------------------------ | |
25 | AliPMDddldata::AliPMDddldata(): | |
26 | fDetector(-1), | |
27 | fSMN(-1), | |
28 | fModule(-1), | |
29 | fPatchBus(-1), | |
30 | fMCM(-1), | |
31 | fChannel(-1), | |
32 | fRow(-1), | |
33 | fCol(-1), | |
34 | fSignal(-1), | |
35 | fBit(-1) | |
36 | { | |
37 | // | |
38 | // ctor | |
39 | // | |
40 | ||
41 | } | |
42 | ||
43 | //___________________________________________ | |
44 | AliPMDddldata::~AliPMDddldata() | |
45 | { | |
46 | // | |
47 | // dtor | |
48 | // | |
49 | } | |
50 | ||
51 | //___________________________________________ | |
52 | AliPMDddldata::AliPMDddldata(const AliPMDddldata & ddl) : TObject() | |
53 | { | |
54 | // | |
55 | // copy ctor | |
56 | // | |
57 | fDetector = ddl.fDetector; | |
58 | fSMN = ddl.fSMN; | |
59 | fModule = ddl.fModule; | |
60 | fPatchBus = ddl.fPatchBus; | |
61 | fMCM = ddl.fMCM; | |
62 | fChannel = ddl.fChannel; | |
63 | fRow = ddl.fRow; | |
64 | fCol = ddl.fCol; | |
65 | fSignal = ddl.fSignal; | |
66 | fBit = ddl.fBit; | |
67 | ||
68 | } | |
69 | ||
70 | //___________________________________________ | |
71 | AliPMDddldata& AliPMDddldata::operator=(const AliPMDddldata &ddl) | |
72 | { | |
73 | // | |
74 | // assignment operator | |
75 | // | |
76 | if (this == &ddl) return *this; | |
77 | ||
78 | fDetector = ddl.fDetector; | |
79 | fSMN = ddl.fSMN; | |
80 | fModule = ddl.fModule; | |
81 | fPatchBus = ddl.fPatchBus; | |
82 | fMCM = ddl.fMCM; | |
83 | fChannel = ddl.fChannel; | |
84 | fRow = ddl.fRow; | |
85 | fCol = ddl.fCol; | |
86 | fSignal = ddl.fSignal; | |
87 | fBit = ddl.fBit; | |
88 | ||
89 | return *this; | |
90 | } |