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