AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMpHVUID Class Reference

Unique ID class for HV channels. More...

#include <AliMpHVUID.h>

Inheritance diagram for AliMpHVUID:

Public Member Functions

 AliMpHVUID ()
 
virtual ~AliMpHVUID ()
 

Static Public Member Functions

static UInt_t BuildUniqueID (Int_t detElemId, Int_t index)
 
static Int_t DetElemId (UInt_t uniqueId)
 
static Int_t Index (UInt_t uniqueID)
 

Detailed Description

Unique ID class for HV channels.

A utility class to assign a unique ID to a given HV channel

Author
: Laurent Aphecetche, Subatech

Definition at line 19 of file AliMpHVUID.h.

Constructor & Destructor Documentation

AliMpHVUID::AliMpHVUID ( )

ctor

Definition at line 31 of file AliMpHVUID.cxx.

AliMpHVUID::~AliMpHVUID ( )
virtual

dtor

Definition at line 37 of file AliMpHVUID.cxx.

Member Function Documentation

UInt_t AliMpHVUID::BuildUniqueID ( Int_t  detElemId,
Int_t  index 
)
static

Build a single index from the pair (de,index)

Definition at line 44 of file AliMpHVUID.cxx.

Referenced by AliMpDetElement::AddManu(), and AliMpDetElement::ManusForHV().

Int_t AliMpHVUID::DetElemId ( UInt_t  uniqueId)
static

Extract detElemId from uniqueID

Definition at line 60 of file AliMpHVUID.cxx.

Int_t AliMpHVUID::Index ( UInt_t  uniqueID)
static

Extract index from uniqueID

Definition at line 52 of file AliMpHVUID.cxx.


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