]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpConnection.cxx
Update for station2:
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpConnection.cxx
1 // $Id$
2 // Category: motif
3 //
4 // Class AliMpConnection
5 // ----------------
6 // Class that defines a connexion properties.
7 //
8 // Authors: David Guez, Ivana Hrivnacova; IPN Orsay
9
10 #include <TError.h>
11
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
29 //_____________________________________________________________________________
30 AliMpConnection::AliMpConnection(const AliMpConnection& right) 
31   : TObject(right) {
32 // 
33   Fatal("AliMpConnection", "Copy constructor not provided.");
34 }
35
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 }
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