AliRoot Core  v5-06-15 (45dab64)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMpConnection.cxx
Go to the documentation of this file.
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 "AliMpEncodePair.h"
30 
31 #include "AliLog.h"
32 
36 
37 //_____________________________________________________________________________
39  Int_t bergNum,
40  Int_t kaptonNum,
41  Int_t gassiNum,
42  MpPair_t localIndices)
43  : TObject(),
44  fBergNum(bergNum),
45  fKaptonNum(kaptonNum),
46  fGassiNum(gassiNum),
47  fLocalIndices(localIndices),
48  fOwner(0)
49 {
51 
52  AliDebug(1,Form("this=%p padNum=%d bergNum=%d kaptonNum=%d gassiNum=%d",
53  this,padNum,bergNum,kaptonNum,gassiNum));
54  SetUniqueID(padNum);
55 }
56 
57 //_____________________________________________________________________________
58 AliMpConnection::AliMpConnection(TRootIOCtor* /*ioCtor*/)
59  : TObject(),
60  fBergNum(),
61  fKaptonNum(),
62  fGassiNum(),
63  fLocalIndices(),
64  fOwner()
65 {
67 
68  AliDebug(1,Form("this=%p",this));
69 }
70 /*
71 //_____________________________________________________________________________
72 AliMpConnection::AliMpConnection()
73  : TObject(),
74  fBergNum(-1),
75  fKaptonNum(-1),
76  fGassiNum(-1),
77  fLocalIndices(-1)
78  fOwner(0)
79 {
81 
82  AliDebug(1,Form("this=%p",this));
83 }
84 */
85 //_____________________________________________________________________________
87 {
89 
90  AliDebug(1,Form("this=%p", this));
91 }
92 
93 //_____________________________________________________________________________
95 {
97 
99 }
100 
102 {
104 
106 }
107 
A connection properties.
Int_t GetLocalIx() const
MpPair_t fLocalIndices
Local indices.
ClassImp(TPCGenInfo)
Definition: AliTPCCmpNG.C:254
AliMpConnection()
Not implemented.
Int_t GetLocalIy() const
Int_t MpPair_t
Int_t PairFirst(MpPair_t pair)
Decode the first integer from encoded pair.
virtual ~AliMpConnection()
Int_t PairSecond(MpPair_t pair)
Decode the second integer from encoded pair.