![]() |
AliRoot Core
edcc906 (edcc906)
|
Globally used constants definition. More...
#include <AliMpConstants.h>
Public Member Functions | |
AliMpConstants () | |
virtual | ~AliMpConstants () |
Static Public Member Functions | |
static Bool_t | IsEqual (Double_t length1, Double_t length2) |
static Bool_t | IsEqual (Double_t v1x, Double_t v1y, Double_t v2x, Double_t v2y) |
static Double_t | LengthTolerance () |
Return the length precision for tests. More... | |
static Double_t | LengthStep () |
Return the step in length used to move from a geometric border. More... | |
static Int_t | StartPadIndex () |
Return global pad indices start value. More... | |
static Int_t | NofCathodes () |
Return number of cathodes. More... | |
static Int_t | NofChambers () |
Return number of chambers. More... | |
static Int_t | NofTrackingChambers () |
Return number of tracking chambers. More... | |
static Int_t | NofTriggerChambers () |
static Int_t | NofGeomModules () |
Return number of geometry modules. More... | |
static Int_t | ManuMask (AliMp::PlaneType planeType) |
static Int_t | NofLocalBoards () |
Return number of trigger local boards. More... | |
static Int_t | TotalNofLocalBoards () |
Return total number of trigger local boards. More... | |
static Int_t | ManuNofChannels () |
Max number of channels per manu. More... | |
static Int_t | LocalBoardNofChannels () |
Max number of channels per local board. More... | |
Private Member Functions | |
virtual Bool_t | IsEqual (const TObject *) const |
unused derived functions More... | |
Static Private Attributes | |
static const Double_t | fgkLengthTolerance = 1e-05 |
the length precision for tests More... | |
static const Double_t | fgkLengthStep = 0.1 |
the step in length used to move from a geometric border inside (pad, motif) More... | |
static const Int_t | fgkStartPadIndex = 1 |
global pad indices start value More... | |
static const Int_t | fgkNofCathodes = 2 |
number of cathodes More... | |
static const Int_t | fgkNofChambers = 14 |
number of chambers More... | |
static const Int_t | fgkNofTrackingChambers = 10 |
number of tracking chambers More... | |
static const Int_t | fgkNofGeomModules = 20 |
number of geometry modules More... | |
static const Int_t | fgkNonBendingManuMask |
bit to set to indicate a manu located in non-bending plane More... | |
static const Int_t | fgkNofLocalBoards = 234 |
number of notified trigger local boards More... | |
static const Int_t | fgkTotalNofLocalBoards = 242 |
total number of trigger local boards More... | |
static const Int_t | fgkManuNofChannels |
max number of channels per manu More... | |
static const Int_t | fgkLocalBoardNofChannels |
max number of channels per local trigger board More... | |
Globally used constants definition.
Definition at line 19 of file AliMpConstants.h.
AliMpConstants::AliMpConstants | ( | ) |
Default constructor
Definition at line 51 of file AliMpConstants.cxx.
|
virtual |
Destructor
Definition at line 58 of file AliMpConstants.cxx.
|
static |
Compare lengths within the length tolerance.
Definition at line 64 of file AliMpConstants.cxx.
Referenced by AliMpMotifSpecial::SetPadDimensions().
|
static |
Compare x, y vector coordinates within the length tolerance.
Definition at line 72 of file AliMpConstants.cxx.
|
inlineprivatevirtual |
unused derived functions
Definition at line 47 of file AliMpConstants.h.
|
inlinestatic |
Return the step in length used to move from a geometric border.
Definition at line 72 of file AliMpConstants.h.
Referenced by AliMpSectorAreaHPadIterator::Next(), and AliMpSectorAreaVPadIterator::Next().
|
inlinestatic |
Return the length precision for tests.
Definition at line 70 of file AliMpConstants.h.
Referenced by AliMpTrigger::AdoptLayer(), AliMpArea::AliMpArea(), AliMpPCBPadIterator::CropArea(), AliMUONTrackHitPattern::DetElemIdFromPos(), AliMpVSegmentation::GetNeighbours(), AliMUONTrackHitPattern::GetTrackParamAtChamber(), AliMUONTrackHitPattern::IsCloseToAccEdge(), AliMpArea::Overlap(), AliMpMotif::PadIndicesLocal(), AliMpBusPatch::SetNofManusPerModule(), and AliMpRow::SetOffsetY().
|
inlinestatic |
Max number of channels per local board.
Definition at line 90 of file AliMpConstants.h.
Referenced by AliMpRegionalTrigger::AliMpRegionalTrigger(), AliMUONRegionalTriggerConfig::AliMUONRegionalTriggerConfig(), AliMUONGlobalCrateConfig::GetFirstDarcCrateName(), AliMUONGlobalCrateConfig::GetJtagCrateName(), AliMUONGlobalCrateConfig::GetSecondDarcCrateName(), AliMUONGlobalCrateConfig::SetFirstDarcCrateName(), AliMUONGlobalCrateConfig::SetJtagCrateName(), AliMUONGlobalCrateConfig::SetSecondDarcCrateName(), and AliMUONRawWriter::WriteTriggerDDL().
|
static |
The manuIDs get an offset if they are in the non-bending plane
Definition at line 82 of file AliMpConstants.cxx.
Referenced by AliMUONBusPatchPainter::AliMUONBusPatchPainter(), AliMUONTrackerConditionDataMaker::CreateLVStore(), AliMUONSt1GeometryBuilderV2::CreateQuadrant(), AliMUONChamberCalibrationTask::Exec(), AliMUONPedestalEventGenerator::GenerateDigits(), AliMpDDLStore::GetBusPatchIndex(), AliMUONPainterHelper::GetCathodeType(), AliMpDetElement::GetCathodTypeFromManuId(), AliMUONQAMappingCheck::GetClusterLocation(), AliMUONPainterHelper::GetPlaneType(), AliMUONPadStatusMaker::LVStatus(), AliMUONCDB::MakePedestalStore(), AliMUONManuContourMaker::ManuPathName(), MUONClusterInfo(), AliMpManuStore::ReadData(), AliMpSectorReader::ReadRowSegmentsData(), AliMpSectorReader::ReadRowSegmentSpecialData(), AliMpSt345Reader::ReadSlat(), AliMpDDLStore::SetManus(), AliMUONBusPatchPainter::Validate(), and AliMpManuStore::WriteData().
|
inlinestatic |
Max number of channels per manu.
Definition at line 88 of file AliMpConstants.h.
Referenced by AliMUONQAMappingCheck::AddClusterLocation(), AliMpMotifType::AddConnection(), AddEventsSingleRun(), AliMpDetElement::AddManu(), AliMUONTrackerDataHistogrammer::AddManuHisto(), AliMpFastSegmentation::AliMpFastSegmentation(), AliMUONPadStatusMapMaker::AliMUONPadStatusMapMaker(), AliMUONQAMappingCheck::AliMUONQAMappingCheck(), AliMUONTrackerData::AliMUONTrackerData(), AliMUONAlignmentCompareDialog::CompareAlignment(), AliMUONTrackerData::CompareData(), AliMUONManuPadPainter::ComputeDataRange(), AliMUONPadStatusMaker::ComputeStatus(), AliMUONPadStatusMapMaker::ComputeStatusMap(), AliMUONTrackerConditionDataMaker::CreateHVStore(), AliMUONTrackerConditionDataMaker::CreateLVStore(), AliMUONManuContourMaker::CreateMotifContour(), AliMUONTrackerConditionDataMaker::CreateStatusMapStore(), AliMUONTrackerConditionDataMaker::CreateStatusStore(), CreateWeightedRejectList(), AliMUONTrackerIO::DecodePedestals(), AliMUONTrackerConditionDataMaker::ExpandConfig(), GetBadChannels(), AliMUONTrackerData::GetChannelSparseHisto(), AliMUONTrackerDataHistogrammer::GetDataRange(), AliMUONTrackerData::InternalAdd(), AliMpDetElement::IsExistingChannel(), AliMUONQAMappingCheck::IsManuDead(), AliMUONPedestal::LoadConfig(), main(), AliMUONTrackerQADataMakerRec::MakeDigits(), AliMUONPedestal::MakePed(), AliMUONCDB::MakePedestalStore(), AliMUONTrackerQADataMakerRec::MakeRecPoints(), AliMUONManuPadPainter::PaintArea(), AliMUONManuPadPainter::PaintOutline(), AliMUONPadStatusMaker::Report(), AliMUONTrackerHV::ReportTrips(), AliMUONRejectList::SetChannelProbability(), and AliMUONCDB::ShowConfig().
|
inlinestatic |
Return number of cathodes.
Definition at line 76 of file AliMpConstants.h.
Referenced by AliMUONTriggerEfficiencyCells::CheckConstants(), AliMUONTriggerQADataMakerRec::DisplayTriggerInfo(), AliMUONTriggerUtilities::Init(), AliMUONTriggerDisplay::InitOrDisplayTriggerInfo(), and AliMUONTriggerQADataMakerRec::InitRaws().
|
inlinestatic |
Return number of chambers.
Definition at line 78 of file AliMpConstants.h.
Referenced by AliMUONTrackerData::AliMUONTrackerData(), AliMUONDigitStoreV1::Connect(), AliMpDCSNamer::DetElemId2DCS(), AliMpLocalBoard::GetIndex(), AliMUONDataInterface::GetIterator(), AliMUONMCDataInterface::GetIterator(), AliMpDEManager::GetNofDEInChamber(), AliMpDEManager::IsValidChamberId(), AliMUONConstants::NCh(), RecDigitsOk(), SimDigitsOk(), and SimSDigitsOk().
|
inlinestatic |
Return number of geometry modules.
Definition at line 82 of file AliMpConstants.h.
Referenced by AliMUONGeometryTransformer::CreateModules(), AliMpDEManager::IsValidGeomModuleId(), MUONGenerateTestGMS(), and AliMUONGMSSubprocessor::ProcessFile().
|
inlinestatic |
Return number of trigger local boards.
Definition at line 84 of file AliMpConstants.h.
Referenced by AliMUONTriggerCircuit::AliMUONTriggerCircuit(), AliMUONTriggerChamberEfficiency::FillFromList(), AliMUONTriggerDisplay::GetBoardNumberHisto(), AliMUONTriggerUtilities::Init(), AliMUONTriggerDisplay::InitOrDisplayTriggerInfo(), main(), AliMUONTriggerCircuit::operator=(), AliMpRegionalTrigger::ReadData(), AliMpTriggerReader::ReadLocalBoardMapping(), and AliMUONTriggerCircuit::~AliMUONTriggerCircuit().
|
inlinestatic |
Return number of tracking chambers.
Definition at line 80 of file AliMpConstants.h.
Referenced by AliMUONClusterStoreV2::Add(), AliMUONClusterStoreV2::Clear(), AliMUONClusterStoreV1::Connect(), AliMUONClusterStoreV2::CreateChamberIterator(), AliMUONClusterStoreV1::CreateIterator(), AliMUONTriggerChamberEfficiency::FillFromList(), AliMUONTriggerQADataMakerRec::FillTriggerDCSHistos(), AliMUONTriggerChamberEfficiency::FindChamberIndex(), AliMUON2DStoreValidator::GetChamber(), AliMpLocalBoard::GetIndex(), AliMUONTriggerDisplay::InitOrDisplayTriggerInfo(), AliMUONTrackerQADataMakerRec::InitRecPoints(), AliMUONConstants::NTrackingCh(), Occupancy(), AliMUONCDB::Plot(), RawClustersOk(), and AliMUONClusterStoreV2::ReMap().
|
static |
Return number of trigger chambers
Definition at line 90 of file AliMpConstants.cxx.
Referenced by AliMUONTriggerEfficiencyCells::CheckConstants(), AliMUONTriggerChamberEfficiency::DisplayEfficiency(), AliMUONTriggerQADataMakerRec::DisplayTriggerInfo(), AliMUONTriggerChamberEfficiency::FillFromList(), AliMUONTriggerChamberEfficiency::GetIndex(), AliMpLocalBoard::GetIndex(), AliMUONTriggerUtilities::Init(), AliMUONTriggerQADataMakerRec::InitRaws(), main(), and AliMUONTriggerQADataMakerRec::MakeRaws().
|
inlinestatic |
Return global pad indices start value.
Definition at line 74 of file AliMpConstants.h.
Referenced by AliMpRowSegmentLSpecial::SetGlobalIndices(), AliMpRowSegmentRSpecial::SetGlobalIndices(), AliMpRow::SetGlobalIndices(), AliMpRowSegment::SetGlobalIndices(), and AliMpRowSegmentLSpecial::SetIndicesToMotifPosition().
|
inlinestatic |
Return total number of trigger local boards.
Definition at line 86 of file AliMpConstants.h.
Referenced by AliDAConfig::AliDAConfig(), AliMUONTriggerSubprocessor::Initialize(), AliMUONCDB::MakeLocalTriggerMaskStore(), MakePatternStore(), and AliMUONCDB::WriteLocalTriggerMasks().
|
staticprivate |
the step in length used to move from a geometric border inside (pad, motif)
Definition at line 51 of file AliMpConstants.h.
Referenced by LengthStep().
|
staticprivate |
the length precision for tests
Definition at line 50 of file AliMpConstants.h.
Referenced by IsEqual(), and LengthTolerance().
|
staticprivate |
max number of channels per local trigger board
Definition at line 62 of file AliMpConstants.h.
Referenced by LocalBoardNofChannels().
|
staticprivate |
max number of channels per manu
Definition at line 61 of file AliMpConstants.h.
Referenced by ManuNofChannels().
|
staticprivate |
|
staticprivate |
number of chambers
Definition at line 55 of file AliMpConstants.h.
Referenced by NofChambers(), and NofTriggerChambers().
|
staticprivate |
number of geometry modules
Definition at line 57 of file AliMpConstants.h.
Referenced by NofGeomModules().
|
staticprivate |
number of notified trigger local boards
Definition at line 59 of file AliMpConstants.h.
Referenced by NofLocalBoards().
|
staticprivate |
number of tracking chambers
Definition at line 56 of file AliMpConstants.h.
Referenced by NofTrackingChambers(), and NofTriggerChambers().
|
staticprivate |
bit to set to indicate a manu located in non-bending plane
Definition at line 58 of file AliMpConstants.h.
Referenced by ManuMask().
|
staticprivate |
global pad indices start value
Definition at line 53 of file AliMpConstants.h.
Referenced by StartPadIndex().
|
staticprivate |
total number of trigger local boards
Definition at line 60 of file AliMpConstants.h.
Referenced by TotalNofLocalBoards().