]>
Commit | Line | Data |
---|---|---|
dee1d5f1 | 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 | ||
5f91c9e8 | 16 | // $Id$ |
2c605e66 | 17 | // $MpId: AliMpConnection.cxx,v 1.6 2006/03/17 11:38:06 ivana Exp $ |
5f91c9e8 | 18 | // Category: motif |
19 | // | |
20 | // Class AliMpConnection | |
21 | // ---------------- | |
22 | // Class that defines a connexion properties. | |
dbe945cc | 23 | // Included in AliRoot: 2003/05/02 |
5f91c9e8 | 24 | // Authors: David Guez, Ivana Hrivnacova; IPN Orsay |
25 | ||
26 | #include "AliMpConnection.h" | |
27 | ||
28 | ClassImp(AliMpConnection) | |
29 | ||
30 | //_____________________________________________________________________________ | |
31 | AliMpConnection::AliMpConnection(Int_t padNum, Int_t bergNum,Int_t kaptonNum, | |
32 | Int_t gassiNum) | |
33 | : TObject(), | |
34 | fPadNum(padNum), | |
35 | fBergNum(bergNum), | |
36 | fKaptonNum(kaptonNum), | |
37 | fGassiNum(gassiNum), | |
38 | fOwner(0) | |
39 | { | |
dee1d5f1 | 40 | /// Standard constructor |
5f91c9e8 | 41 | } |
42 | ||
2998a151 | 43 | //_____________________________________________________________________________ |
44 | AliMpConnection::AliMpConnection(const AliMpConnection& right) | |
dee1d5f1 | 45 | : TObject(right) |
46 | { | |
47 | /// Protected copy constructor (not provided) | |
48 | ||
2998a151 | 49 | Fatal("AliMpConnection", "Copy constructor not provided."); |
50 | } | |
51 | ||
5f91c9e8 | 52 | //_____________________________________________________________________________ |
53 | AliMpConnection::AliMpConnection() | |
54 | : TObject(), | |
55 | fPadNum(-1), | |
56 | fBergNum(-1), | |
57 | fKaptonNum(-1), | |
58 | fGassiNum(-1), | |
59 | fOwner(0) | |
60 | { | |
dee1d5f1 | 61 | /// Default constructor |
5f91c9e8 | 62 | } |
63 | ||
64 | //_____________________________________________________________________________ | |
65 | AliMpConnection::~AliMpConnection() { | |
66 | // | |
67 | } | |
2998a151 | 68 | |
dee1d5f1 | 69 | // |
2998a151 | 70 | // operators |
dee1d5f1 | 71 | // |
2998a151 | 72 | |
73 | //_____________________________________________________________________________ | |
74 | AliMpConnection& | |
75 | AliMpConnection::operator=(const AliMpConnection& right) | |
76 | { | |
dee1d5f1 | 77 | /// Protected assignment operator (not provided) |
78 | ||
79 | // check assignment to self | |
2998a151 | 80 | if (this == &right) return *this; |
81 | ||
dee1d5f1 | 82 | Fatal("operator =", "Assignment operator not provided."); |
2998a151 | 83 | |
84 | return *this; | |
85 | } | |
86 |