![]() |
AliRoot Core
ee782a0 (ee782a0)
|
The class defines the properties of BusPatch. More...
#include <AliMpBusPatch.h>
Public Member Functions | |
AliMpBusPatch (Int_t id, Int_t deId, Int_t ddlId) | |
AliMpBusPatch (TRootIOCtor *) | |
virtual | ~AliMpBusPatch () |
Bool_t | AddManu (Int_t manuId) |
Bool_t | SetNofManusPerModule (Int_t manuNumber=0) |
void | SetTranslatorLabel (TString label) |
Set label of translator. More... | |
void | SetCableLabel (TString label) |
Set label of buspatch. More... | |
void | SetCableLength (Float_t length) |
Set length of buspatch. More... | |
void | SetFrtId (Int_t id) |
Set FRT id for buspatch. More... | |
void | RevertReadout () |
void | ResetReadout () |
Int_t | GetId () const |
Return the unique Id. More... | |
Int_t | GetDEId () const |
Return the Detection element Id. More... | |
Int_t | GetDdlId () const |
Return the Ddl Id. More... | |
Int_t | GetFrtId () const |
Return the FRT Id. More... | |
Int_t | GetNofManus () const |
Int_t | GetManuId (Int_t index) const |
Bool_t | HasManu (Int_t manuId) const |
Int_t | GetNofPatchModules () const |
Int_t | GetNofManusPerModule (Int_t patchModule) const |
Float_t | GetCableLength () const |
Return length of buspatch. More... | |
TString | GetCableLabel () const |
Return label of buspatch. More... | |
TString | GetTranslatorLabel () const |
Return label of translator. More... | |
TString | GetFRTPosition () const |
virtual void | Print (Option_t *opt="") const |
Static Public Member Functions | |
static Int_t | GetGlobalBusID (Int_t localID, Int_t ddlID) |
static Int_t | GetLocalBusID (Int_t globalID, Int_t ddlID) |
Private Member Functions | |
AliMpBusPatch () | |
Not implemented. More... | |
AliMpBusPatch (const AliMpBusPatch &rhs) | |
Not implemented. More... | |
AliMpBusPatch & | operator= (const AliMpBusPatch &rhs) |
Not implemented. More... | |
Private Attributes | |
Int_t | fId |
Identifier (unique) More... | |
Int_t | fDEId |
Detection element to which this bus patch is connected. More... | |
Int_t | fDdlId |
DDL to which this bus patch is connected. More... | |
AliMpArrayI | fManus |
Manu Ids connected to this bus patch. More... | |
AliMpArrayI | fNofManusPerModule |
Nof Manus per patch modules (PCBs) More... | |
Float_t | fCableLength |
length of the buspatch cable More... | |
TString | fCableLabel |
label of the buspatch cable More... | |
TString | fTranslatorLabel |
label of the translator board More... | |
Int_t | fFrtId |
FRT Ids connected to this bus patch. More... | |
Static Private Attributes | |
static const Int_t | fgkOffset = 100 |
Offset for conversion global/local ID. More... | |
The class defines the properties of BusPatch.
Definition at line 21 of file AliMpBusPatch.h.
AliMpBusPatch::AliMpBusPatch | ( | Int_t | id, |
Int_t | deId, | ||
Int_t | ddlId | ||
) |
Standard constructor
Definition at line 69 of file AliMpBusPatch.cxx.
AliMpBusPatch::AliMpBusPatch | ( | TRootIOCtor * | ) |
Root IO constructor
Definition at line 85 of file AliMpBusPatch.cxx.
|
virtual |
Destructor
Definition at line 101 of file AliMpBusPatch.cxx.
|
private |
Not implemented.
|
private |
Not implemented.
Bool_t AliMpBusPatch::AddManu | ( | Int_t | manuId | ) |
Add detection element with given detElemId. Return true if the detection element was added
Definition at line 111 of file AliMpBusPatch.cxx.
Referenced by AliMpDDLStore::SetManus().
|
inline |
Return label of buspatch.
Definition at line 117 of file AliMpBusPatch.h.
|
inline |
Return length of buspatch.
Definition at line 105 of file AliMpBusPatch.h.
|
inline |
Return the Ddl Id.
Definition at line 97 of file AliMpBusPatch.h.
Referenced by AliMUONTrackerData::BuildFromBPStore(), AliMUONTrackerData::DdlIdFromBusPatchId(), AliMUONTrackerQADataMakerRec::FillReadoutStatus(), GenerateConfig(), AliMpDDLStore::GetDDLfromBus(), and AliMpDDLStore::GetLinkPortId().
|
inline |
Return the Detection element Id.
Definition at line 93 of file AliMpBusPatch.h.
Referenced by AliMUONTrackerDataHistogrammer::AddBusPatchHisto(), AliMpDDLStore::GetDEfromBus(), AliMUONTrackerQADataMakerRec::InitCommon(), AliMpManuIterator::Next(), and AliMpDDLStore::SetPatchModules().
|
inline |
Return the FRT Id.
Definition at line 101 of file AliMpBusPatch.h.
Referenced by AliMUONTrackerQADataMakerRec::FillReadoutStatus().
TString AliMpBusPatch::GetFRTPosition | ( | ) | const |
Return CRXX-Y-Z where XX is the Crocus number, Y the FRT number and Z the local bus patch number.
Definition at line 266 of file AliMpBusPatch.cxx.
Referenced by Print().
|
static |
return global bus id from local bus and ddl id
Definition at line 52 of file AliMpBusPatch.cxx.
Referenced by MUONGenerateBusPatch(), and AliMpDDLStore::ReadBusPatchSpecial().
|
inline |
Return the unique Id.
Definition at line 89 of file AliMpBusPatch.h.
Referenced by AliMUONTrackerQAChecker::BeautifyOccupancyHistograms(), AliMUONPadStatusMaker::CheckConfigConsistencyWithPedestalInformation(), AliMUONBusPatchEvolution::ComputeNumberOfPads(), AliMUONTrackerQADataMakerRec::FillReadoutStatus(), GenerateConfig(), AliMUONTrackerQADataMakerRec::InitCommon(), AliMUONCDB::MakeBusPatchEvolution(), MakeConfigCodeForBPEVOda(), MakeConfigFileForBPEVOda(), AliMpDDLStore::PrintAllManu(), AliMUONTrackerQADataMakerRec::ProjectTrackerData(), AliMUONCDB::ReadIntegers(), AliMpDDLStore::SetManus(), AliMUONCDB::ShowConfig(), AliMUONCDB::ShowFaultyBusPatches(), and AliMUONCDB::WriteConfig().
|
static |
return local bus id from local bus id
Definition at line 60 of file AliMpBusPatch.cxx.
Referenced by GetFRTPosition(), and AliMpDDLStore::GetLinkPortId().
Int_t AliMpBusPatch::GetManuId | ( | Int_t | index | ) | const |
Return the detection element by index (in loop)
Definition at line 241 of file AliMpBusPatch.cxx.
Referenced by AliMUONTrackerDataHistogrammer::AddBusPatchHisto(), AddEventsSingleRun(), AliMUONTrackerData::AliMUONTrackerData(), AliMUONPadStatusMaker::CheckConfigConsistencyWithPedestalInformation(), CheckDE_BP_ManuPedestals(), AliMUONCDB::CheckHV(), AliMUONBusPatchEvolution::ComputeNumberOfPads(), AliMUONTrackerData::CreateBusPatchParam(), AliMUONTrackerData::CreateChamberParam(), AliMUONTrackerData::CreateDetectionElementParam(), CreateWeightedRejectList(), GenerateConfig(), AliMUONTrackerQADataMakerRec::InitCommon(), MakeConfigCodeForBPEVOda(), MakeConfigFileForBPEVOda(), AliMpManuIterator::Next(), AliMpDDLStore::PrintAllManu(), AliMUONCDB::ReadIntegers(), AliMpDDLStore::SetManus(), SetNofManusPerModule(), AliMUONCDB::ShowFaultyBusPatches(), AliMUONCDB::ShowFaultyPedestalsBusPatches(), AliMUONBusPatchPainter::Validate(), and AliMUONCDB::WriteConfig().
Int_t AliMpBusPatch::GetNofManus | ( | ) | const |
Return the number of detection elements connected to this DDL
Definition at line 233 of file AliMpBusPatch.cxx.
Referenced by AliMUONTrackerDataHistogrammer::AddBusPatchHisto(), AddEventsSingleRun(), AliMUONTrackerData::AliMUONTrackerData(), AliMUONPadStatusMaker::CheckConfigConsistencyWithPedestalInformation(), CheckDE_BP_ManuPedestals(), AliMUONBusPatchEvolution::ComputeNumberOfPads(), AliMUONTrackerData::CreateBusPatchParam(), AliMUONTrackerData::CreateChamberParam(), AliMUONTrackerData::CreateDetectionElementParam(), CreateWeightedRejectList(), GenerateConfig(), AliMUONTrackerQADataMakerRec::InitCommon(), MakeConfigCodeForBPEVOda(), MakeConfigFileForBPEVOda(), AliMpDDLStore::PrintAllManu(), AliMUONCDB::ReadIntegers(), AliMpDDLStore::SetManus(), SetNofManusPerModule(), AliMUONCDB::ShowFaultyBusPatches(), AliMUONCDB::ShowFaultyPedestalsBusPatches(), AliMUONBusPatchPainter::Validate(), and AliMUONCDB::WriteConfig().
Int_t AliMpBusPatch::GetNofManusPerModule | ( | Int_t | patchModule | ) | const |
Return the number of manus per patch module (PCB)
Definition at line 274 of file AliMpBusPatch.cxx.
Int_t AliMpBusPatch::GetNofPatchModules | ( | ) | const |
Return the number of patch modules (PCB) connected to this bus patch.
Definition at line 257 of file AliMpBusPatch.cxx.
Referenced by GetNofManusPerModule().
|
inline |
Return label of translator.
Definition at line 125 of file AliMpBusPatch.h.
Bool_t AliMpBusPatch::HasManu | ( | Int_t | manuId | ) | const |
Return true if bus patch has manu with given manuId
Definition at line 249 of file AliMpBusPatch.cxx.
Referenced by AddManu().
|
private |
Not implemented.
|
virtual |
void AliMpBusPatch::ResetReadout | ( | ) |
Revert order of manus
Definition at line 225 of file AliMpBusPatch.cxx.
void AliMpBusPatch::RevertReadout | ( | ) |
Revert order of manus
Definition at line 217 of file AliMpBusPatch.cxx.
|
inline |
Set label of buspatch.
Definition at line 121 of file AliMpBusPatch.h.
Referenced by AliMpDDLStore::ReadBusPatchInfo().
|
inline |
Set length of buspatch.
Definition at line 113 of file AliMpBusPatch.h.
Referenced by AliMpDDLStore::ReadBusPatchInfo().
|
inline |
Set FRT id for buspatch.
Definition at line 109 of file AliMpBusPatch.h.
Referenced by AliMpDDLStore::ReadBusPatchInfo().
Bool_t AliMpBusPatch::SetNofManusPerModule | ( | Int_t | manuNumber = 0 | ) |
Set the number of manus per patch module (PCB):
Definition at line 128 of file AliMpBusPatch.cxx.
Referenced by AliMpDDLStore::SetPatchModules().
|
inline |
Set label of translator.
Definition at line 129 of file AliMpBusPatch.h.
Referenced by AliMpDDLStore::ReadBusPatchInfo().
|
private |
label of the buspatch cable
Definition at line 79 of file AliMpBusPatch.h.
Referenced by GetCableLabel(), GetTranslatorLabel(), Print(), and SetCableLabel().
|
private |
length of the buspatch cable
Definition at line 78 of file AliMpBusPatch.h.
Referenced by GetCableLength(), and SetCableLength().
|
private |
DDL to which this bus patch is connected.
Definition at line 75 of file AliMpBusPatch.h.
Referenced by GetDdlId(), GetFRTPosition(), and Print().
|
private |
Detection element to which this bus patch is connected.
Definition at line 74 of file AliMpBusPatch.h.
Referenced by GetDEId(), and SetNofManusPerModule().
|
private |
FRT Ids connected to this bus patch.
Definition at line 81 of file AliMpBusPatch.h.
Referenced by GetFrtId(), GetFRTPosition(), and SetFrtId().
|
staticprivate |
Offset for conversion global/local ID.
Definition at line 70 of file AliMpBusPatch.h.
Referenced by GetLocalBusID().
|
private |
Identifier (unique)
Definition at line 73 of file AliMpBusPatch.h.
Referenced by GetFRTPosition(), GetId(), and Print().
|
private |
Manu Ids connected to this bus patch.
Definition at line 76 of file AliMpBusPatch.h.
Referenced by AddManu(), GetManuId(), GetNofManus(), HasManu(), Print(), ResetReadout(), and RevertReadout().
|
private |
Nof Manus per patch modules (PCBs)
Definition at line 77 of file AliMpBusPatch.h.
Referenced by GetNofManusPerModule(), GetNofPatchModules(), Print(), and SetNofManusPerModule().
|
private |
label of the translator board
Definition at line 80 of file AliMpBusPatch.h.
Referenced by Print(), and SetTranslatorLabel().