![]() |
AliRoot Core
a565103 (a565103)
|
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... | |
The namespace for mapping enums and related functions.
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 | ) |
Convert integer number in enum;.
Return cathod type for a given cathod number of Int_t type
Definition at line 20 of file AliMpCathodType.cxx.
Referenced by AliMpSegmentation::AliMpSegmentation(), AliMpUID::CathodeId(), AliMUONAlignmentCompareDialog::CompareAlignment(), AliMUONGeometryTransformer::CreateDEAreas(), AliMUONTriggerGUI::CreateDigitStore(), AliMUONResponseTrigger::DisIntegrate(), AliMUONResponseTriggerV1::DisIntegrate(), AliMUONResponseV0::DisIntegrate(), AliMUONTriggerGUIbdmap::DrawDigits(), AliMUONTriggerGUIdimap::DrawMaps(), AliMUONChamberCalibrationTask::Exec(), AliMUONTriggerElectronics::Feed(), AliMpSegmentation::FillElCardsMap(), AliMUONTrackHitPattern::FindMatchingPads(), AliMUONSimpleClusterServer::FindMCLabel(), AliMUONTrackHitPattern::FindPadMatchingTrack(), AliMUONTrackHitPattern::FindPadMatchingTrig(), AliMUONDigitizerV3::GenerateNoisyDigitsForOneCathode(), AliMUONDigitizerV3::GenerateNoisyDigitsForTrigger(), AliMUONTrackHitPattern::GetTrackParamAtChamber(), AliMUONTriggerUtilities::Init(), AliMUONTriggerDisplay::InitOrDisplayTriggerInfo(), AliMUONTrackHitPattern::IsMasked(), AliMUONTriggerCircuit::LoadXPos(), AliMUONTriggerCircuit::LoadYPos(), AliMUONTriggerQADataMakerRec::MakeRaws(), AliMUONRecoCheck::MakeTriggerableTracks(), MUONClusterInfo(), AliMUONTrackHitPattern::PadsFromPos(), AliMUONTriggerGUI::PrintDigitStore(), AliMpDDLStore::SetManus(), AliMUONDigitMaker::TriggerDigits(), and AliMUONSimpleClusterServer::UseDigits().
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 | ||
) |
Encode the pair of integers to another integer.
See also AliMp::PairFirst(), AliMp::PairSecond()
Definition at line 29 of file AliMpEncodePair.cxx.
Referenced by AliMpPad::AddLocation(), AliMpManuStore::AddManu(), AliMpMotifReader::BuildMotifType(), AliMpSectorSegmentation::CircleTest(), AliMpPCB::Clone(), AliMpPCBPadIterator::CropArea(), AliMpSectorSegmentation::FindMotifPosition(), AliMpPCB::FindMotifPosition(), AliMpVRowSegmentSpecial::FindRelativeLowIndicesOf(), AliMpDEManager::GetDetElemIdRange(), AliMpFrtCrocusConstants::GetLinkPortId(), AliMpManuStore::GetManuSerial(), AliMpMotif::GetPadDimensionsByIndices(), AliMpLocalBoard::GetPosition(), AliMpPad::HasLocation(), AliMpFastSegmentation::HasPadByIndices(), AliMpSectorSegmentation::HasPadByIndices(), AliMpSlatSegmentation::HasPadByIndices(), AliMUONCluster::NofPads(), AliMpSectorSegmentation::PadByIndices(), AliMpFastSegmentation::PadByIndices(), AliMpSlatSegmentation::PadByIndices(), AliMpMotif::PadIndicesLocal(), AliMpMotifSpecial::PadIndicesLocal(), AliMpManuStore::ReplaceManu(), AliMpRow::SetGlobalIndices(), AliMpVIndexed::SetHighIndicesLimit(), AliMpRowSegmentLSpecial::SetIndicesToMotifPosition(), AliMpRowSegmentRSpecial::SetIndicesToMotifPosition(), AliMpRowSegment::SetIndicesToMotifPosition(), AliMpVIndexed::SetLowIndicesLimit(), AliMpSector::SetMaxPadIndices(), AliMpPCBPadIterator::SetPad(), and AliMpRowSegmentLSpecial::UpdatePadsOffset().
Int_t AliMp::PairFirst | ( | MpPair_t | pair | ) |
Decode the first integer from encoded pair.
See also AliMp::Pair(), AliMp::PairSecond()
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()
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().