![]() |
AliRoot Core
d69033e (d69033e)
|
The manager class for definition of detection element types. More...
#include <AliMpDEManager.h>
Public Member Functions | |
virtual | ~AliMpDEManager () |
Static Public Member Functions | |
static Bool_t | IsValidDetElemId (Int_t detElemId, Bool_t warn=false) |
static Bool_t | IsValidChamberId (Int_t chamberId, Bool_t warn=false) |
static Bool_t | IsValidGeomModuleId (Int_t moduleId, Bool_t warn=false) |
static Int_t | GetChamberId (Int_t detElemId, Bool_t warn=true) |
static Int_t | GetGeomModuleId (Int_t detElemId, Bool_t warn=true) |
static AliMp::PlaneType | GetPlaneType (Int_t detElemId, AliMp::CathodType cath) |
static AliMp::CathodType | GetCathod (Int_t detElemId, AliMp::PlaneType planeType) |
static AliMp::StationType | GetStationType (Int_t detElemId) |
static AliMq::Station12Type | GetStation12Type (Int_t detElemId) |
static AliMpDetElement * | GetDetElement (Int_t detElemId, Bool_t warn=true) |
static AliMpDetElement * | GetDetElement (const TString &deName, Bool_t warn=true) |
static Int_t | GetNofDEInChamber (Int_t chamberId, Bool_t warn=true) |
static MpPair_t | GetDetElemIdRange (Int_t chamberId) |
Private Member Functions | |
AliMpDEManager () | |
Not implemented. More... | |
AliMpDEManager (const AliMpDEManager &rhs) | |
Not implemented. More... | |
AliMpDEManager & | operator= (const AliMpDEManager &rhs) |
Not implemented. More... | |
Static Private Member Functions | |
static TArrayI & | GetNofDEPerChamber () |
Static Private Attributes | |
static const Int_t | fgkCoefficient = 100 |
Coefficient used in DE Id <-> station. More... | |
The manager class for definition of detection element types.
The detection element types are defined via unique names in denames.dat file for each station in the mapping data. Detection element name is composed of DETypeName and planeTypeName. DETypeName is only one per station in case of station1 and 2 quadrants, there are more DETypes in case of slat and trigger stations.
Definition at line 37 of file AliMpDEManager.h.
|
virtual |
Destructor
Definition at line 271 of file AliMpDEManager.cxx.
|
private |
Not implemented.
|
private |
Not implemented.
|
static |
Return cathod number for given detElemId and planeType
Definition at line 217 of file AliMpDEManager.cxx.
Referenced by AliMUONDEPainter::AliMUONDEPainter(), AliMUONSt1GeometryBuilderV2::CreateQuadrant(), AliMUONPainterHelper::GetCathodeType(), AliMUONPainterHelper::GetPCB(), AliMUONPainterHelper::GetSector(), AliMUONPainterHelper::GetSlat(), AliMUONManuContourMaker::ManuPathName(), AliMUONDEPainter::Validate(), AliMUONManuPainter::Validate(), and AliMUONBusPatchPainter::Validate().
|
static |
Return chamber Id for given detElemId
Definition at line 122 of file AliMpDEManager.cxx.
Referenced by AliMUONClusterStoreV1::Add(), AliMUONDigitStoreV1::Add(), AliMUONTrackerData::BuildFromBPStore(), AliMUONTrackerData::BuildFromDEStore(), AliMUONHit::Chamber(), CheckTriggerDCS(), AliMpDCSNamer::DCSAliasName(), AliMpDCSNamer::DCSMCHLVAliasName(), AliMUONPainterHelper::DEPathName(), AliMpDCSNamer::DetElemId2DCS(), AliMUONTriggerElectronics::Feed(), AliMUONBusPatchEvolution::FillNumberOfPads(), AliMUONTriggerQADataMakerRec::FillTriggerDCSHistos(), AliMUONDigitStoreV1::FindIndex(), AliMUONTrackHitPattern::FindMatchingPads(), AliMUONTrackHitPattern::FindPadMatchingTrack(), AliMUONTrackHitPattern::FindPadMatchingTrig(), AliMpDEIterator::First(), AliMUONTriggerTrackToTrackerClusters::GenerateClusters(), GetBadChannels(), AliMUON2DStoreValidator::GetDE(), AliMpDDLStore::GetManuListIndex(), AliMUONTrackerData::GetParts(), AliMpDetElement::GetStation12Type(), AliMpDetElement::GetStationType(), AliMUONSimpleClusterServer::Global2Local(), AliMUONPadStatusMaker::HVSt12Status(), AliMUONPadStatusMaker::HVSt345Status(), AliMUONTrackHitPattern::IsMasked(), AliMUONTrackerQADataMakerRec::MakeRecPoints(), AliMUONManuContourMaker::ManuPathName(), AliMpDEIterator::Next(), AliMUONCDB::Plot(), AliMUONClusterStoreV1::Remove(), AliMUONDigitStoreV1::Remove(), AliMUONv1::StepManager(), and AliMpDEVisu::UpdateComboCH().
|
static |
Return det element for given detElemId
Definition at line 63 of file AliMpDEManager.cxx.
Referenced by AliMpDEVisu::AliMpDEVisu(), AliMpSegmentation::CreateMpSegmentation(), AliMpDEVisu::DrawQuadrant(), AliMpDEVisu::DrawSlat(), AliMpDDL::FillBusPatchIds(), GetCathod(), AliMpSegmentation::GetMpSegmentation(), GetPlaneType(), GetStation12Type(), GetStationType(), IsValidDetElemId(), AliMpDEVisu::ProcessMessage(), AliMpDDLStore::ReadDDLs(), AliMpDDLStore::SetTriggerDDLs(), AliMpDEVisu::UpdateComboCH(), and AliMpDEVisu::UpdateNameView().
|
static |
Return det element for given deName
Definition at line 71 of file AliMpDEManager.cxx.
|
static |
Return the detection element Id range for given chamberId es encoded pair
Definition at line 253 of file AliMpDEManager.cxx.
Referenced by AliMUONTriggerGUIbdmap::DrawDigits(), AliMUONDataInterface::GetIterator(), AliMUONMCDataInterface::GetIterator(), and AliMUONTriggerGUI::PrintDigitStore().
|
static |
Get module Id from detection element Id !!! moduleId != chamberId Station 1: Chamber: 1 Module: 0 Det elements: 100-103 Chamber: 2 Module: 1 Det elements: 200-203 Station 2: Chamber: 3 Module: 2 Det elements: 300-303 Chamber: 4 Module: 3 Det elements: 400-403 Station 3: Chamber: 5 Module: 4 Det elements: 500-504, 514-517 Module: 5 Det elements: 505-513, Chamber: 6 Module: 6 Det elements: 600-604, 614-617 Module: 7 Det elements: 605-613 Station 4: Chamber: 7 Module: 8 Det elements: 700-706, 720-725 Module: 9 Det elements: 707-719 Chamber: 8 Module: 10 Det elements: 800-806, 820-825 Module: 11 Det elements: 807-819 Station 5: Chamber: 9 Module: 12 Det elements: 900-906, 920-925 Module: 13 Det elements: 907-919 Chamber: 10 Module: 14 Det elements: 1000-1006,1020-1025 Module: 15 Det elements: 1007-1019 Station 6: Chamber: 11 Module: 16 Det elements: 1100-1117 Chamber: 12 Module: 17 Det elements: 1200-1217 Station 7: Chamber: 13 Module: 18 Det elements: 1300-1317 Chamber: 14 Module: 19 Det elements: 1400-1417
Definition at line 132 of file AliMpDEManager.cxx.
Referenced by AliMUONSlatGeometryBuilder::CreateGeometry(), AliMUONGeometryBuilder::CreateGeometryWithoutTGeo(), AliMUONGeometryBuilder::CreateGeometryWithTGeo(), AliMUONGeometryTransformer::CreateModules(), AliMUONGeometry::FillData3(), AliMUONGeometryTransformer::FillDetElemTransform(), AliMUONGeometryTransformer::GetDESymName(), AliMUONGeometry::GetModuleByDEId(), AliMUONGeometryTransformer::GetModuleTransformerByDEId(), and AliMUONVGeometryBuilder::MapSV().
|
static |
Return the number of detection elements in the chamber with the given chamberId
Definition at line 230 of file AliMpDEManager.cxx.
Referenced by AliMpDCSNamer::DCS2DE(), AliMpDCSNamer::DetElemId2DCS(), AliMUON2DStoreValidator::GetChamber(), and GetDetElemIdRange().
|
staticprivate |
number of detElemId per chamber
Definition at line 51 of file AliMpDEManager.cxx.
Referenced by GetNofDEInChamber().
|
static |
Return plane type
Failure causes Fatal error - as AliMp::PlaneType has no possibility to return undefined value
Definition at line 171 of file AliMpDEManager.cxx.
Referenced by AliMUONChamberPainter::AliMUONChamberPainter(), AliMUONDEPainter::AliMUONDEPainter(), AliMUONCheck::CheckOccupancy(), AliMUONDEPainter::Validate(), AliMUONManuPainter::Validate(), and AliMUONBusPatchPainter::Validate().
|
static |
Return station12 type
Failure causes Fatal error - as AliMp::StationNumber has no possibility to return undefined value
Definition at line 201 of file AliMpDEManager.cxx.
Referenced by AliMUONClusterSplitterMLEM::AliMUONClusterSplitterMLEM(), AliMpDCSNamer::ManuId2Sector(), AliMUONClusterFinderSimpleFit::Prepare(), AliMUONClusterFinderPeakFit::Prepare(), AliMpManuStore::ReadData(), AliMpDDLStore::ReadDDLs(), AliMpBusPatch::SetNofManusPerModule(), AliMpDDLStore::SetPatchModules(), and AliMpManuStore::WriteData().
|
static |
Return station type
Failure causes Fatal error - as AliMp::StationType has no possibility to return undefined value
Definition at line 186 of file AliMpDEManager.cxx.
Referenced by AliMpDetElement::AddManu(), AliMpSegmentation::AliMpSegmentation(), AliMUONDEPainter::AliMUONDEPainter(), AliMUONManuPainter::AliMUONManuPainter(), AliMUONDigitizerV3::ApplyResponse(), AliMpDCSNamer::CheckConsistency(), CheckTriggerDCS(), AliMpDCSNamer::CompactAliases(), AliMUONGeometryTransformer::CreateDEAreas(), AliMpDCSNamer::DCSAliasName(), AliMpDCSNamer::DCSMCHLVAliasName(), AliMpDCSNamer::DCSSwitchAliasName(), AliMUONManuPainter::Describe(), AliMpDCSNamer::DetElemId2DCS(), AliMpDEVisu::DrawDE(), AliMpDEVisu::DrawManuMotif(), AliMpDEVisu::EventToReal(), AliMpDCSNamer::GenerateAliases(), AliMUONContourHandler::GenerateTransformations(), AliMpDDLStore::GetBusPatchIndex(), AliMUONTriggerQADataMakerRec::GetDCSValues(), AliMUONPainterHelper::GetSector(), AliMUONPainterHelper::GetSlat(), AliMUONPadStatusMaker::HVStatus(), AliMUONTrackerQADataMakerRec::InitRecPoints(), AliMpDCSNamer::ManuId2Index(), AliMpDCSNamer::NumberOfPCBs(), AliMUONTriggerDCSSubprocessor::Process(), AliMUONHVSubprocessor::Process(), AliMpManuStore::ReadData(), AliMpDDLStore::ReadDDLs(), AliMpDDLStore::SetManus(), AliMpBusPatch::SetNofManusPerModule(), and AliMpManuStore::WriteData().
|
static |
Return true if chamberId is valid
Definition at line 94 of file AliMpDEManager.cxx.
Referenced by AliMpDEIterator::First(), GetDetElemIdRange(), GetNofDEInChamber(), AliMpDetElement::GetStation12Type(), and AliMpDetElement::GetStationType().
|
static |
Return true if detElemId is valid (is present in the DE map)
Definition at line 83 of file AliMpDEManager.cxx.
Referenced by AliMpDDL::AddDE(), AliMUONCheck::CheckOccupancy(), AliMUONTrackerConditionDataMaker::CreateHVStore(), AliMpSegmentation::CreateMpSegmentation(), AliMUONTrackerIO::DecodeConfig(), AliMUONTrackerIO::DecodePedestals(), AliMpDCSNamer::DetElemIdFromDCSAlias(), AliMUONTriggerTrackToTrackerClusters::GenerateClusters(), GetCathod(), GetChamberId(), GetGeomModuleId(), AliMpSegmentation::GetMpSegmentation(), GetPlaneType(), GetStation12Type(), GetStationType(), AliMpManuStore::NofManus(), AliMpDDLStore::ReadDDLs(), RecDigitsOk(), SimDigitsOk(), and SimSDigitsOk().
|
static |
Return true if moduleId is valid
Definition at line 108 of file AliMpDEManager.cxx.
|
private |
Not implemented.
|
staticprivate |
Coefficient used in DE Id <-> station.
Definition at line 72 of file AliMpDEManager.h.
Referenced by GetChamberId(), GetDetElemIdRange(), and GetGeomModuleId().