AliRoot Core
3abf5b4 (3abf5b4)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
34
ClassImp
(
AliMpConnection
)
36
37
//_____________________________________________________________________________
38
AliMpConnection
::
AliMpConnection
(Int_t padNum,
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
//_____________________________________________________________________________
86
AliMpConnection::~AliMpConnection
()
87
{
89
90
AliDebug(1,Form(
"this=%p"
,
this
));
91
}
92
93
//_____________________________________________________________________________
94
Int_t
AliMpConnection::GetLocalIx
()
const
95
{
97
98
return
AliMp::PairFirst
(
fLocalIndices
);
99
}
100
101
Int_t
AliMpConnection::GetLocalIy
()
const
102
{
104
105
return
AliMp::PairSecond
(
fLocalIndices
);
106
}
107
AliMpEncodePair.h
AliMpConnection
A connection properties.
Definition:
AliMpConnection.h:23
AliMpConnection::GetLocalIx
Int_t GetLocalIx() const
Definition:
AliMpConnection.cxx:94
AliMpConnection::fLocalIndices
MpPair_t fLocalIndices
Local indices.
Definition:
AliMpConnection.h:78
ClassImp
ClassImp(TPCGenInfo)
Definition:
AliTPCCmpNG.C:254
AliMpConnection::AliMpConnection
AliMpConnection()
Not implemented.
AliMpConnection::GetLocalIy
Int_t GetLocalIy() const
Definition:
AliMpConnection.cxx:101
MpPair_t
Int_t MpPair_t
Definition:
AliMpEncodePair.h:18
AliMp::PairFirst
Int_t PairFirst(MpPair_t pair)
Decode the first integer from encoded pair.
Definition:
AliMpEncodePair.cxx:38
AliMpConnection::~AliMpConnection
virtual ~AliMpConnection()
Definition:
AliMpConnection.cxx:86
AliMp::PairSecond
Int_t PairSecond(MpPair_t pair)
Decode the second integer from encoded pair.
Definition:
AliMpEncodePair.cxx:47
AliMpConnection.h
MUON
MUONmapping
AliMpConnection.cxx
Generated on Tue Jun 7 2016 10:34:29 for AliRoot Core by
1.8.6