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