![]() |
AliRoot Core
a565103 (a565103)
|
The class defines the electronics properties of detection element. More...
#include <AliMpDetElement.h>
Public Member Functions | |
AliMpDetElement (Int_t id, const TString &name, const TString &segType, AliMp::PlaneType planeType) | |
AliMpDetElement (TRootIOCtor *ioCtor) | |
virtual | ~AliMpDetElement () |
Bool_t | AddBusPatch (Int_t busPatchId) |
void | AddManu (Int_t manuId) |
void | SetDdlId (Int_t ddlId) |
Set DDL Id. More... | |
Int_t | GetId () const |
Return Id. More... | |
Int_t | GetDdlId () const |
Return DDL Id. More... | |
TString | GetDEName () const |
Return name. More... | |
TString | GetSegType () const |
Return segmentation type name. More... | |
TString | GetSegName (AliMp::CathodType cath) const |
AliMp::PlaneType | GetPlaneType (AliMp::CathodType cath) const |
AliMp::CathodType | GetCathodType (AliMp::PlaneType planeType) const |
AliMp::CathodType | GetCathodTypeFromManuId (Int_t manuId) const |
AliMp::StationType | GetStationType () const |
AliMq::Station12Type | GetStation12Type () const |
Int_t | GetNofBusPatches () const |
Int_t | GetBusPatchId (Int_t index) const |
Bool_t | HasBusPatchId (Int_t busPatchId) const |
Int_t | NofManus () const |
Int_t | NofChannelsInManu (Int_t manuId) const |
Bool_t | IsExistingChannel (Int_t manuId, Int_t manuChannel) const |
Bool_t | IsConnectedChannel (Int_t manuId, Int_t manuChannel) const |
const AliMpArrayI * | ManusForHV (Int_t hvIndex) const |
Int_t | NofChannels () const |
Return the number of channels in this detection element. More... | |
Static Public Member Functions | |
static char | GetNameSeparator () |
Return the name separator. More... | |
Private Member Functions | |
AliMpDetElement () | |
Not implemented. More... | |
AliMpDetElement (const AliMpDetElement &rhs) | |
Not implemented. More... | |
AliMpDetElement & | operator= (const AliMpDetElement &rhs) |
Not implemented. More... | |
Private Attributes | |
Int_t | fId |
Identifier (unique) More... | |
Int_t | fDdlId |
DDL Id to which this DE is connected. More... | |
TString | fName |
Name unique. More... | |
TString | fSegType |
Segmentation type name. More... | |
AliMp::PlaneType | fPlaneType |
Plane type on cathod0. More... | |
AliMpArrayI | fBusPatchIds |
Bus patches connected to this detection element. More... | |
TExMap | fManuList |
map of manus More... | |
TExMap | fTrackerChannels |
list of connected pads (tracker only) More... | |
AliMpExMap | fHVmanus |
map of HV->manu More... | |
Int_t | fNofChannels |
number of channels in this detection element More... | |
Static Private Attributes | |
static const char | fgkNameSeparator = '_' |
Separator character used in DE names. More... | |
The class defines the electronics properties of detection element.
Definition at line 34 of file AliMpDetElement.h.
AliMpDetElement::AliMpDetElement | ( | Int_t | id, |
const TString & | name, | ||
const TString & | segType, | ||
AliMp::PlaneType | planeType | ||
) |
Standard constructor
Definition at line 53 of file AliMpDetElement.cxx.
AliMpDetElement::AliMpDetElement | ( | TRootIOCtor * | ioCtor | ) |
Root IO constructor
Definition at line 71 of file AliMpDetElement.cxx.
|
virtual |
Destructor
Definition at line 88 of file AliMpDetElement.cxx.
|
private |
Not implemented.
|
private |
Not implemented.
Bool_t AliMpDetElement::AddBusPatch | ( | Int_t | busPatchId | ) |
Add bus patch Id if a bus patch with the same Id is not yet present; return false if bus patch was not added
Definition at line 99 of file AliMpDetElement.cxx.
Referenced by AliMpDDLStore::ReadDDLs().
void AliMpDetElement::AddManu | ( | Int_t | manuId | ) |
Fills the fManuList and fTrackerChannels
Definition at line 271 of file AliMpDetElement.cxx.
Referenced by AliMpDDLStore::SetManus().
Int_t AliMpDetElement::GetBusPatchId | ( | Int_t | index | ) | const |
Return the index-th bus patch
Definition at line 207 of file AliMpDetElement.cxx.
Referenced by AliMUONTrackerDataHistogrammer::AddDEHisto(), AddEventsSingleRun(), AliMUONDEPainter::AliMUONDEPainter(), AliMUONTrackerData::AliMUONTrackerData(), CheckDE_BP_ManuPedestals(), AliMUONCDB::CheckHV(), AliMUONTrackerData::CreateChamberParam(), AliMUONTrackerData::CreateDetectionElementParam(), CreateWeightedRejectList(), AliMpDDL::FillBusPatchIds(), AliMpDDLStore::GetBusPatchId(), AliMUONBusPatchEvolution::GroupByDE(), AliMpDEVisu::InfoDE(), AliMpDDLStore::PrintAllManu(), AliMpDDLStore::SetManus(), and AliMpDDLStore::SetPatchModules().
AliMp::CathodType AliMpDetElement::GetCathodType | ( | AliMp::PlaneType | planeType | ) | const |
Return cathod type for given planeType
Definition at line 133 of file AliMpDetElement.cxx.
Referenced by AliMpDEVisu::AliMpDEVisu(), AliMUONVTrackReconstructor::ChangeMonoCathodClusterRes(), AliMUONPedestalEventGenerator::GenerateDigits(), AliMpDEManager::GetCathod(), GetCathodTypeFromManuId(), AliMUONQAMappingCheck::GetClusterLocation(), AliMpDEVisu::ProcessMessage(), AliMUONDigitMaker::ReadTrackerDDL(), AliMpDEVisu::UpdateComboCH(), and AliMpDEVisu::UpdateNameView().
AliMp::CathodType AliMpDetElement::GetCathodTypeFromManuId | ( | Int_t | manuId | ) | const |
Return cathod type for given manuId
Definition at line 142 of file AliMpDetElement.cxx.
|
inline |
Return DDL Id.
Definition at line 122 of file AliMpDetElement.h.
Referenced by AliMUONTrackerData::BuildFromDEStore(), AliMUONTrackerData::DdlIdFromDetElemId(), AliMUONPainterHelper::DEPathName(), AliMUONBusPatchEvolution::FillNumberOfPads(), AliMpDEVisu::InfoDE(), and AliMpDDLStore::SetTriggerDDLs().
|
inline |
Return name.
Definition at line 126 of file AliMpDetElement.h.
Referenced by AliMpDEVisu::AliMpDEVisu(), AliMpManuStore::ReadData(), AliMpDEVisu::UpdateNameView(), and AliMpManuStore::WriteData().
|
inline |
Return Id.
Definition at line 118 of file AliMpDetElement.h.
Referenced by AliMUONTrackerData::AliMUONTrackerData(), AliMUONAlignmentCompareDialog::CompareAlignment(), AliMpDEIterator::CurrentDEId(), AliMpDEVisu::InfoDE(), AliMUONTrackerData::InternalAdd(), AliMpDEIterator::Next(), AliMpDDLStore::PrintAllManu(), AliMpManuStore::ReadData(), AliMpManuStore::ReadManuSerial(), AliMpDEVisu::UpdateComboCH(), AliMpDEVisu::UpdateComboDE(), AliMpDEVisu::UpdateNameView(), and AliMpManuStore::WriteData().
|
inlinestatic |
Return the name separator.
Definition at line 110 of file AliMpDetElement.h.
Referenced by AliMpDEStore::ReadDENames().
Int_t AliMpDetElement::GetNofBusPatches | ( | ) | const |
Return the number of bus patches in this detection element
Definition at line 199 of file AliMpDetElement.cxx.
Referenced by AliMUONTrackerDataHistogrammer::AddDEHisto(), AddEventsSingleRun(), AliMUONDEPainter::AliMUONDEPainter(), AliMUONTrackerData::AliMUONTrackerData(), CheckDE_BP_ManuPedestals(), AliMUONTrackerData::CreateChamberParam(), AliMUONTrackerData::CreateDetectionElementParam(), CreateWeightedRejectList(), AliMpDDL::FillBusPatchIds(), AliMpDDLStore::GetBusPatchId(), GetBusPatchId(), AliMUONBusPatchEvolution::GroupByDE(), AliMpDEVisu::InfoDE(), AliMpDDLStore::PrintAllManu(), AliMpDDLStore::SetManus(), and AliMpDDLStore::SetPatchModules().
AliMp::PlaneType AliMpDetElement::GetPlaneType | ( | AliMp::CathodType | cath | ) | const |
Return plane type
Definition at line 124 of file AliMpDetElement.cxx.
Referenced by AliMpSegmentation::CreateMpSegmentation(), AliMpDEManager::GetPlaneType(), GetSegName(), and AliMpDDLStore::SetManus().
TString AliMpDetElement::GetSegName | ( | AliMp::CathodType | cath | ) | const |
Return the segmentation name for the given catod type
Definition at line 116 of file AliMpDetElement.cxx.
Referenced by AliMpSegmentation::CreateMpSegmentation(), and AliMpSegmentation::GetMpSegmentation().
|
inline |
Return segmentation type name.
Definition at line 130 of file AliMpDetElement.h.
Referenced by AliMpSegmentation::CreateMpSegmentation(), and AliMpDEVisu::DrawSlat().
AliMq::Station12Type AliMpDetElement::GetStation12Type | ( | ) | const |
Return station12 type
Failure causes Fatal error - as AliMp::Station12Type has no possibility to return undefined value
Definition at line 177 of file AliMpDetElement.cxx.
Referenced by AliMpSegmentation::CreateMpSegmentation(), AliMpDEVisu::DrawQuadrant(), and AliMpDEManager::GetStation12Type().
AliMp::StationType AliMpDetElement::GetStationType | ( | ) | const |
Return station type
Failure causes Fatal error - as AliMp::StationType has no possibility to return undefined value
Definition at line 155 of file AliMpDetElement.cxx.
Referenced by AliMpSegmentation::CreateMpSegmentation(), AliMUONTrackerData::GetParts(), AliMpDEManager::GetStationType(), and AliMUONBusPatchEvolution::GroupByDE().
Bool_t AliMpDetElement::HasBusPatchId | ( | Int_t | busPatchId | ) | const |
Return true if the bus patch Id is present
Definition at line 222 of file AliMpDetElement.cxx.
Referenced by AddBusPatch().
Bool_t AliMpDetElement::IsConnectedChannel | ( | Int_t | manuId, |
Int_t | manuChannel | ||
) | const |
Whether or not the channel is a connected one (i.e. it is valid plus it corresponds to a real pad)
Definition at line 261 of file AliMpDetElement.cxx.
Referenced by AliMUONPadStatusMapMaker::AliMUONPadStatusMapMaker(), AliMUONTrackerData::CompareData(), AliMUONTrackerData::CreateDouble(), GetBadChannels(), AliMUONTrackerData::InternalAdd(), AliMUONDigitCalibrator::IsValidDigit(), AliMUONCDB::MakePedestalStore(), AliMUONDigitMaker::ReadTrackerDDL(), AliMUONPadStatusMaker::Report(), AliMUONCDB::ShowConfig(), and AliMUON2DStoreValidator::Validate().
Bool_t AliMpDetElement::IsExistingChannel | ( | Int_t | manuId, |
Int_t | manuChannel | ||
) | const |
Whether or not the channel is a valid one (does not tell if it is connected or not
Definition at line 242 of file AliMpDetElement.cxx.
Referenced by AliMUONTrackerConditionDataMaker::ExpandConfig(), and AliMUONDigitCalibrator::IsValidDigit().
const AliMpArrayI * AliMpDetElement::ManusForHV | ( | Int_t | hvIndex | ) | const |
Return the list of manus sharing a hv channel
Definition at line 348 of file AliMpDetElement.cxx.
Referenced by AliMUONCDB::CheckHV(), AliMUONTrackerConditionDataMaker::CreateHVStore(), AliMUONTrackerHV::ReportTrips(), AliMUONRejectList::SetHVProbability(), and AliMUONPadStatusMaker::SetHVStatus().
|
inline |
Return the number of channels in this detection element.
Definition at line 75 of file AliMpDetElement.h.
Referenced by AddEventsSingleRun(), and AliMUONTrackerData::AliMUONTrackerData().
Int_t AliMpDetElement::NofChannelsInManu | ( | Int_t | manuId | ) | const |
Return the number of channels in a given manu
Definition at line 231 of file AliMpDetElement.cxx.
Referenced by AddEventsSingleRun(), AliMUONTrackerData::AliMUONTrackerData(), CheckDE_BP_ManuPedestals(), AliMUONBusPatchEvolution::ComputeNumberOfPads(), AliMUONTrackerData::CreateBusPatchParam(), AliMUONTrackerData::CreateChamberParam(), AliMUONTrackerData::CreateDetectionElementParam(), AliMUONTrackerData::CreateManuParam(), AliMUONTrackerIO::DecodeOccupancy(), AliMUONTrackerData::InternalAdd(), IsExistingChannel(), MakeConfigCodeForBPEVOda(), MakeConfigFileForBPEVOda(), AliMUONCDB::MakeOccupancyMapStore(), and AliMUONCDB::ShowFaultyBusPatches().
Int_t AliMpDetElement::NofManus | ( | ) | const |
Return the number of manus in this detection element
Definition at line 356 of file AliMpDetElement.cxx.
|
private |
Not implemented.
|
inline |
Set DDL Id.
Definition at line 114 of file AliMpDetElement.h.
Referenced by AliMpDDLStore::ReadDDLs(), and AliMpDDLStore::SetTriggerDDLs().
|
private |
Bus patches connected to this detection element.
Definition at line 95 of file AliMpDetElement.h.
Referenced by AddBusPatch(), GetBusPatchId(), GetNofBusPatches(), and HasBusPatchId().
|
private |
DDL Id to which this DE is connected.
Definition at line 90 of file AliMpDetElement.h.
Referenced by GetDdlId(), and SetDdlId().
|
staticprivate |
Separator character used in DE names.
Definition at line 86 of file AliMpDetElement.h.
Referenced by GetNameSeparator(), and GetSegName().
|
private |
map of HV->manu
Definition at line 100 of file AliMpDetElement.h.
Referenced by AddManu(), and ManusForHV().
|
private |
Identifier (unique)
Definition at line 89 of file AliMpDetElement.h.
Referenced by AddManu(), GetBusPatchId(), GetId(), GetStation12Type(), GetStationType(), IsConnectedChannel(), ManusForHV(), and NofChannelsInManu().
|
mutableprivate |
map of manus
Definition at line 97 of file AliMpDetElement.h.
Referenced by AddManu(), NofChannelsInManu(), and NofManus().
|
private |
|
private |
number of channels in this detection element
Definition at line 102 of file AliMpDetElement.h.
Referenced by AddManu(), and NofChannels().
|
private |
Plane type on cathod0.
Definition at line 93 of file AliMpDetElement.h.
Referenced by GetCathodType(), and GetPlaneType().
|
private |
Segmentation type name.
Definition at line 92 of file AliMpDetElement.h.
Referenced by GetSegName(), and GetSegType().
|
mutableprivate |
list of connected pads (tracker only)
Definition at line 98 of file AliMpDetElement.h.
Referenced by AddManu(), and IsConnectedChannel().