]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - MUON/mapping/AliMpConnection.cxx
In assignment operator: call Copy function only once
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpConnection.cxx
... / ...
CommitLineData
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.7 2006/05/24 13:58:41 ivana Exp $
18// Category: motif
19
20//-----------------------------------------------------------------------------
21// Class AliMpConnection
22// ----------------
23// Class that defines a connexion properties.
24// Included in AliRoot: 2003/05/02
25// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
26//-----------------------------------------------------------------------------
27
28#include "AliMpConnection.h"
29#include "AliLog.h"
30
31/// \cond CLASSIMP
32ClassImp(AliMpConnection)
33/// \endcond
34
35//_____________________________________________________________________________
36AliMpConnection::AliMpConnection(Int_t padNum, Int_t bergNum,Int_t kaptonNum,
37 Int_t gassiNum)
38 : TObject(),
39 fPadNum(padNum),
40 fBergNum(bergNum),
41 fKaptonNum(kaptonNum),
42 fGassiNum(gassiNum),
43 fOwner(0)
44{
45/// Standard constructor
46 AliDebug(1,Form("this=%p padNum=%d bergNum=%d kaptonNum=%d gassiNum=%d",
47 this,padNum,bergNum,kaptonNum,gassiNum));
48}
49
50//_____________________________________________________________________________
51AliMpConnection::AliMpConnection()
52 : TObject(),
53 fPadNum(-1),
54 fBergNum(-1),
55 fKaptonNum(-1),
56 fGassiNum(-1),
57 fOwner(0)
58{
59/// Default constructor
60 AliDebug(1,Form("this=%p",this));
61}
62
63//_____________________________________________________________________________
64AliMpConnection::~AliMpConnection()
65{
66/// Destructor
67 AliDebug(1,Form("this=%p"));
68}