AliRoot Core  3abf5b4 (3abf5b4)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMpPadUID Class Reference

Unique ID for pads. More...

#include <AliMpPadUID.h>

Inheritance diagram for AliMpPadUID:

Public Member Functions

 AliMpPadUID (UInt_t uid=0)
 AliMpPadUID (Int_t detElemId, Int_t manuId, Int_t manuChannel)
virtual ~AliMpPadUID ()
Int_t DetElemId () const
 Get detection element. More...
Int_t ManuId () const
 Get manuId. More...
Int_t ManuChannel () const
 Get manu channel. More...

Static Public Member Functions

static UInt_t BuildUniqueID (Int_t detElemId, Int_t manuId, Int_t manuChannel)
static Int_t DetElemId (UInt_t uniqueID)
static Int_t ManuChannel (UInt_t uniqueID)
static Int_t ManuId (UInt_t uniqueID)

Detailed Description

Unique ID for pads.

Unique ID for pads

Laurent Aphecetche, Subatech

Definition at line 19 of file AliMpPadUID.h.

Constructor & Destructor Documentation

AliMpPadUID::AliMpPadUID ( UInt_t  uid = 0)


Definition at line 31 of file AliMpPadUID.cxx.

AliMpPadUID::AliMpPadUID ( Int_t  detElemId,
Int_t  manuId,
Int_t  manuChannel 


Definition at line 39 of file AliMpPadUID.cxx.

AliMpPadUID::~AliMpPadUID ( )


Definition at line 47 of file AliMpPadUID.cxx.

Member Function Documentation

UInt_t AliMpPadUID::BuildUniqueID ( Int_t  detElemId,
Int_t  manuId,
Int_t  manuChannel 

Build a single integer with id information

Definition at line 54 of file AliMpPadUID.cxx.

Referenced by AliMpDetElement::AddManu(), AliMpPadUID(), and AliMpDetElement::IsConnectedChannel().

Int_t AliMpPadUID::DetElemId ( ) const

Get detection element.

Definition at line 27 of file AliMpPadUID.h.

Int_t AliMpPadUID::DetElemId ( UInt_t  uniqueID)

Return detection element id part of the uniqueID

Definition at line 63 of file AliMpPadUID.cxx.

Int_t AliMpPadUID::ManuChannel ( ) const

Get manu channel.

Definition at line 33 of file AliMpPadUID.h.

Int_t AliMpPadUID::ManuChannel ( UInt_t  uniqueID)

Return manuChannel part of the uniqueID

Definition at line 71 of file AliMpPadUID.cxx.

Int_t AliMpPadUID::ManuId ( ) const

Get manuId.

Definition at line 30 of file AliMpPadUID.h.

Int_t AliMpPadUID::ManuId ( UInt_t  uniqueID)

Return manuId part of the uniqueID

Definition at line 79 of file AliMpPadUID.cxx.

The documentation for this class was generated from the following files: