]>
Commit | Line | Data |
---|---|---|
5f91c9e8 | 1 | // $Id$ |
2 | // Category: motif | |
3 | // | |
4 | // Class AliMpConnection | |
5 | // ---------------- | |
6 | // Class that defines a connexion properties. | |
dbe945cc | 7 | // Included in AliRoot: 2003/05/02 |
5f91c9e8 | 8 | // Authors: David Guez, Ivana Hrivnacova; IPN Orsay |
9 | ||
2998a151 | 10 | #include <TError.h> |
11 | ||
5f91c9e8 | 12 | #include "AliMpConnection.h" |
13 | ||
14 | ClassImp(AliMpConnection) | |
15 | ||
16 | //_____________________________________________________________________________ | |
17 | AliMpConnection::AliMpConnection(Int_t padNum, Int_t bergNum,Int_t kaptonNum, | |
18 | Int_t gassiNum) | |
19 | : TObject(), | |
20 | fPadNum(padNum), | |
21 | fBergNum(bergNum), | |
22 | fKaptonNum(kaptonNum), | |
23 | fGassiNum(gassiNum), | |
24 | fOwner(0) | |
25 | { | |
26 | // | |
27 | } | |
28 | ||
2998a151 | 29 | //_____________________________________________________________________________ |
30 | AliMpConnection::AliMpConnection(const AliMpConnection& right) | |
31 | : TObject(right) { | |
32 | // | |
33 | Fatal("AliMpConnection", "Copy constructor not provided."); | |
34 | } | |
35 | ||
5f91c9e8 | 36 | //_____________________________________________________________________________ |
37 | AliMpConnection::AliMpConnection() | |
38 | : TObject(), | |
39 | fPadNum(-1), | |
40 | fBergNum(-1), | |
41 | fKaptonNum(-1), | |
42 | fGassiNum(-1), | |
43 | fOwner(0) | |
44 | { | |
45 | // | |
46 | } | |
47 | ||
48 | //_____________________________________________________________________________ | |
49 | AliMpConnection::~AliMpConnection() { | |
50 | // | |
51 | } | |
2998a151 | 52 | |
53 | // operators | |
54 | ||
55 | //_____________________________________________________________________________ | |
56 | AliMpConnection& | |
57 | AliMpConnection::operator=(const AliMpConnection& right) | |
58 | { | |
59 | // check assignement to self | |
60 | if (this == &right) return *this; | |
61 | ||
62 | Fatal("operator =", "Assignement operator not provided."); | |
63 | ||
64 | return *this; | |
65 | } | |
66 |