AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMp Namespace Reference

The namespace for mapping enums and related functions. More...

Enumerations

enum  CathodType { kCath0, kCath1 }
 
enum  Direction { kX, kY }
 
enum  PlaneType { kBendingPlane, kNonBendingPlane }
 
enum  StationType { kStation12, kStation345, kStationTrigger }
 
enum  XDirection { kLeft, kRight }
 

Functions

AliMp::CathodType GetCathodType (Int_t cathodNumber)
 Convert integer number in enum;. More...
 
TString CathodTypeName (AliMp::CathodType cathodType)
 Return name for given cathodType. More...
 
AliMp::CathodType OtherCathodType (AliMp::CathodType cathodType)
 Return the other cathod type. More...
 
MpPair_t Pair (Int_t first, Int_t second)
 Encode the pair of integers to another integer. More...
 
Int_t PairFirst (MpPair_t pair)
 Decode the first integer from encoded pair. More...
 
Int_t PairSecond (MpPair_t pair)
 Decode the second integer from encoded pair. More...
 
ostream & PairPut (ostream &s, MpPair_t pair)
 A special printing for encoded pair. More...
 
TString PlaneTypeName (AliMp::PlaneType planeType)
 Return name for given planeType. More...
 
AliMp::PlaneType OtherPlaneType (AliMp::PlaneType planeType)
 Return the other plane type. More...
 
TString StationTypeName (AliMp::StationType stationType)
 Return name for given stationType. More...
 

Detailed Description

The namespace for mapping enums and related functions.

Function Documentation

TString AliMp::CathodTypeName ( AliMp::CathodType  cathodType)

Return name for given cathodType.

Return cathod type name for a given cathod type

Definition at line 39 of file AliMpCathodType.cxx.

AliMp::CathodType AliMp::GetCathodType ( Int_t  cathodNumber)
AliMp::CathodType AliMp::OtherCathodType ( AliMp::CathodType  cathodType)

Return the other cathod type.

Return the other cathod type for a given cathod type

Definition at line 54 of file AliMpCathodType.cxx.

AliMp::PlaneType AliMp::OtherPlaneType ( AliMp::PlaneType  planeType)

Return the other plane type.

Return the other plane type for a given plane type

Definition at line 32 of file AliMpPlaneType.cxx.

Referenced by AliMpDEVisu::DrawQuadrant(), AliMpDEVisu::DrawSlat(), AliMpDetElement::GetPlaneType(), and AliMpDEStore::ReadDENames().

MpPair_t AliMp::Pair ( Int_t  first,
Int_t  second 
)
Int_t AliMp::PairFirst ( MpPair_t  pair)

Decode the first integer from encoded pair.

See also AliMp::Pair(), AliMp::PairSecond()

Author
L. Aphecetche, SUBATECH

Definition at line 38 of file AliMpEncodePair.cxx.

Referenced by AliMUONClusterFinderMLEM::AddVirtualPad(), AliMpMotifReader::BuildMotifType(), AliMpPCB::Clone(), AliMpPCBPadIterator::CropArea(), AliMUONTriggerGUIbdmap::DrawDigits(), AliMpMotifType::FindConnectionByLocalIndices(), AliMpPCBPadIterator::First(), AliMUONTriggerCircuit::FirstStrip(), AliMUONClusterSplitterMLEM::Fit(), AliMUONTrackerData::GetDEManu(), AliMpVIndexed::GetHighLimitIx(), AliMUONDataInterface::GetIterator(), AliMUONMCDataInterface::GetIterator(), AliMpPad::GetIx(), AliMpPad::GetLocalBoardId(), AliMpConnection::GetLocalIx(), AliMpVIndexed::GetLowLimitIx(), AliMpPad::GetManuId(), AliMpDDLStore::GetNextDEfromLocalBoard(), AliMpPCBPadIterator::GetNextPosition(), AliMpMotifSpecial::GetPadDimensionsByIndices(), AliMpDDLStore::GetPreviousDEfromLocalBoard(), AliMpVIndexed::HasIndices(), AliMUONTriggerCircuit::LoadXPos(), AliMUONTriggerCircuit::LoadYPos(), AliMpSectorSegmentation::MaxPadIndexX(), AliMpPCBPadIterator::Next(), AliMUONCluster::NofPads(), AliMpSlatSegmentation::PadByPosition(), AliMpMotif::PadPositionLocal(), AliMpMotifSpecial::PadPositionLocal(), AliMUONClusterFinderPeakCOG::PadsInXandY(), AliMUONClusterFinderPeakFit::PadsInXandY(), AliMUONClusterFinderMLEM::PadsInXandY(), PairPut(), AliMpPCBPadIterator::Print(), AliMUONTriggerGUI::PrintDigitStore(), AliMpRowSegmentLSpecial::SetIndicesToMotifPosition(), AliMpRowSegmentRSpecial::SetIndicesToMotifPosition(), AliMpRowSegment::SetIndicesToMotifPosition(), AliMpRowSegment::SetOffset(), AliMpMotifSpecial::SetPadDimensions(), and AliMpManuStore::WriteData().

ostream & AliMp::PairPut ( ostream &  s,
MpPair_t  pair 
)

A special printing for encoded pair.

A special printing for encoded pair.

Definition at line 56 of file AliMpEncodePair.cxx.

Referenced by AliMpManuStore::AddManu(), and AliMpPad::PrintOn().

Int_t AliMp::PairSecond ( MpPair_t  pair)

Decode the second integer from encoded pair.

See also AliMp::Pair(), AliMp::PairFirst()

Author
L. Aphecetche, SUBATECH

Definition at line 47 of file AliMpEncodePair.cxx.

Referenced by AliMUONClusterFinderMLEM::AddVirtualPad(), AliMpMotifReader::BuildMotifType(), AliMpPCBPadIterator::CropArea(), AliMUONTriggerGUIbdmap::DrawDigits(), AliMpMotifType::FindConnectionByLocalIndices(), AliMpPCBPadIterator::First(), AliMUONTriggerCircuit::FirstStrip(), AliMUONClusterSplitterMLEM::Fit(), AliMUONTrackerData::GetDEManu(), AliMpVIndexed::GetHighLimitIy(), AliMUONDataInterface::GetIterator(), AliMUONMCDataInterface::GetIterator(), AliMpPad::GetIy(), AliMpPad::GetLocalBoardChannel(), AliMpConnection::GetLocalIy(), AliMpVIndexed::GetLowLimitIy(), AliMpPad::GetManuChannel(), AliMpPCBPadIterator::GetNextPosition(), AliMpMotifSpecial::GetPadDimensionsByIndices(), AliMpVIndexed::HasIndices(), AliMUONTriggerCircuit::LoadXPos(), AliMUONTriggerCircuit::LoadYPos(), AliMpSectorSegmentation::MaxPadIndexY(), AliMpPCBPadIterator::Next(), AliMUONCluster::NofPads(), AliMpSlatSegmentation::PadByPosition(), AliMpMotif::PadPositionLocal(), AliMpMotifSpecial::PadPositionLocal(), AliMUONClusterFinderPeakCOG::PadsInXandY(), AliMUONClusterFinderPeakFit::PadsInXandY(), AliMUONClusterFinderMLEM::PadsInXandY(), PairPut(), AliMpPCBPadIterator::Print(), AliMUONTriggerGUI::PrintDigitStore(), AliMpRowSegmentLSpecial::SetIndicesToMotifPosition(), AliMpRowSegment::SetOffset(), AliMpMotifSpecial::SetPadDimensions(), and AliMpManuStore::WriteData().

TString AliMp::PlaneTypeName ( AliMp::PlaneType  planeType)

Return name for given planeType.

Return plane type name for given plane type

Definition at line 17 of file AliMpPlaneType.cxx.

Referenced by AliMpTriggerReader::BuildSlat(), AliMpDetElement::GetSegName(), AliMpDEStore::IsPlaneType(), AliMpSector::Print(), AliMpManuStore::ReadData(), AliMpDEStore::ReadDENames(), and AliMpManuStore::WriteData().

TString AliMp::StationTypeName ( AliMp::StationType  stationType)

Return name for given stationType.

Return the station name for given station type

Definition at line 19 of file AliMpStationType.cxx.

Referenced by AliMpDetElement::AddManu().