]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PMD/AliPMDddldata.cxx
- The part of JETAN dealing with ESD data has been separated from the one using MC...
[u/mrichter/AliRoot.git] / PMD / AliPMDddldata.cxx
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 ClassImp(AliPMDddldata)
20
21 //------------------------------------------------------------
22 AliPMDddldata::AliPMDddldata():
23   fDetector(-1),
24   fSMN(-1),
25   fModule(-1),
26   fPatchBus(-1),
27   fMCM(-1),
28   fChannel(-1),
29   fRow(-1),
30   fCol(-1),
31   fSignal(-1),
32   fBit(-1)
33 {
34   //
35   // ctor
36   //
37
38 }
39
40 //___________________________________________
41 AliPMDddldata::~AliPMDddldata()
42 {
43   // 
44   // dtor
45   //
46 }
47
48 //___________________________________________
49 AliPMDddldata::AliPMDddldata(const AliPMDddldata & ddl) :
50   TObject(),
51   fDetector(ddl.fDetector),
52   fSMN(ddl.fSMN),
53   fModule(ddl.fModule),
54   fPatchBus(ddl.fPatchBus),
55   fMCM(ddl.fMCM),
56   fChannel(ddl.fChannel),
57   fRow(ddl.fRow),
58   fCol(ddl.fCol),
59   fSignal(ddl.fSignal),
60   fBit(ddl.fBit)
61 {
62   //
63   // copy ctor
64   //
65 }
66
67 //___________________________________________
68 AliPMDddldata& AliPMDddldata::operator=(const AliPMDddldata &ddl)
69 {
70   // 
71   // assignment operator
72   //
73   if (this != &ddl)
74     {
75       fDetector = ddl.fDetector;
76       fSMN   = ddl.fSMN;
77       fModule   = ddl.fModule;
78       fPatchBus = ddl.fPatchBus;
79       fMCM      = ddl.fMCM;
80       fChannel  = ddl.fChannel;
81       fRow      = ddl.fRow;
82       fCol      = ddl.fCol;
83       fSignal   = ddl.fSignal;
84       fBit      = ddl.fBit;
85     }
86   return *this;
87 }