![]() |
AliRoot Core
3dc7879 (3dc7879)
|
The class defined electronics properties of DDL. More...
#include <AliMpDDL.h>
Public Member Functions | |
AliMpDDL (Int_t id) | |
AliMpDDL (TRootIOCtor *) | |
virtual | ~AliMpDDL () |
Bool_t | AddDE (Int_t detElemId) |
Bool_t | AddFrt (Int_t frtId) |
Bool_t | AddTriggerCrate (Int_t crateId) |
void | FillBusPatchIds () |
Int_t | GetId () const |
Return the unique Id. More... | |
Int_t | GetNofDEs () const |
Int_t | GetDEId (Int_t index) const |
Bool_t | HasDEId (Int_t detElemId) const |
Int_t | GetNofFrts () const |
Int_t | GetFrtId (Int_t index) const |
Bool_t | HasFrtId (Int_t frtId) const |
Int_t | GetNofBusPatches () const |
Int_t | GetBusPatchId (Int_t index) const |
Bool_t | HasBusPatchId (Int_t busPatchId) const |
Int_t | GetNofTriggerCrates () const |
Int_t | GetTriggerCrateId (Int_t index) const |
Bool_t | HasTriggerCrateId (Int_t crateId) const |
Int_t | GetMaxDsp () const |
void | GetBusPerDsp (Int_t *iBusPerDSP) const |
Private Member Functions | |
AliMpDDL () | |
Not implemented. More... | |
AliMpDDL (const AliMpDDL &rhs) | |
Not implemented. More... | |
AliMpDDL & | operator= (const AliMpDDL &rhs) |
Not implemented. More... | |
Private Attributes | |
Int_t | fId |
Identifier (unique) More... | |
AliMpArrayI | fDEIds |
Detection element Ids connected to this DDL. More... | |
AliMpArrayI | fFrtIds |
FRT Crocus Ids connected to this DDL. More... | |
AliMpArrayI | fBusPatchIds |
Bus patch Ids connected to this DDL. More... | |
AliMpArrayI | fTriggerCrateIds |
Trigger crate Ids connected to this DDL. More... | |
The class defined electronics properties of DDL.
Definition at line 20 of file AliMpDDL.h.
AliMpDDL::AliMpDDL | ( | Int_t | id | ) |
Standard constructor
Definition at line 43 of file AliMpDDL.cxx.
AliMpDDL::AliMpDDL | ( | TRootIOCtor * | ) |
Root IO constructor
Definition at line 56 of file AliMpDDL.cxx.
|
virtual |
Destructor
Definition at line 68 of file AliMpDDL.cxx.
|
private |
Not implemented.
|
private |
Not implemented.
Bool_t AliMpDDL::AddDE | ( | Int_t | detElemId | ) |
Add detection element with given detElemId. Return true if the detection element was added
Definition at line 96 of file AliMpDDL.cxx.
Referenced by AliMpDDLStore::ReadDDLs(), and AliMpDDLStore::SetTriggerDDLs().
Bool_t AliMpDDL::AddFrt | ( | Int_t | frtId | ) |
Add FRT with given frtId. Return true if the FRT was added
Definition at line 135 of file AliMpDDL.cxx.
Referenced by AliMpDDLStore::ReadBusPatchInfo().
Bool_t AliMpDDL::AddTriggerCrate | ( | Int_t | crateId | ) |
Add trigger crate with given crateId. Return true if the trigger crate was added
Definition at line 117 of file AliMpDDL.cxx.
Referenced by AliMpDDLStore::SetTriggerDDLs().
void AliMpDDL::FillBusPatchIds | ( | ) |
Fill array with bus patch Ids
Definition at line 78 of file AliMpDDL.cxx.
Referenced by AliMpDDLStore::ReadDDLs().
Int_t AliMpDDL::GetBusPatchId | ( | Int_t | index | ) | const |
Return the detection element by index (in loop)
Definition at line 211 of file AliMpDDL.cxx.
Referenced by PlotBusPatchOccupancies(), AliMpDDLStore::ReadBusPatchInfo(), and AliMUONRawWriter::WriteTrackerDDL().
void AliMpDDL::GetBusPerDsp | ( | Int_t * | iBusPerDSP | ) | const |
calculates buspatch per block
Definition at line 265 of file AliMpDDL.cxx.
Referenced by AliMUONTrackerQADataMakerRec::FillReadoutStatus(), and AliMUONRawWriter::WriteTrackerDDL().
Int_t AliMpDDL::GetDEId | ( | Int_t | index | ) | const |
Return the detection element by index (in loop)
Definition at line 162 of file AliMpDDL.cxx.
Referenced by FillBusPatchIds(), AliMUONBusPatchEvolution::GroupByDDL(), AliMUONTrackerQADataMakerRec::ProjectTrackerData(), and AliMpDDLStore::SetManus().
Int_t AliMpDDL::GetFrtId | ( | Int_t | index | ) | const |
Return the FRT by index (in loop)
Definition at line 186 of file AliMpDDL.cxx.
Referenced by AliMUONTrackerQADataMakerRec::FillReadoutStatus().
|
inline |
Return the unique Id.
Definition at line 83 of file AliMpDDL.h.
Referenced by AliMUONTrackerQADataMakerRec::ProjectTrackerData(), and AliMpDDLStore::ReadBusPatchInfo().
Int_t AliMpDDL::GetMaxDsp | ( | ) | const |
calculates the number of DSP
Definition at line 251 of file AliMpDDL.cxx.
Referenced by AliMUONTrackerQADataMakerRec::FillReadoutStatus(), GetBusPerDsp(), and AliMUONRawWriter::WriteTrackerDDL().
Int_t AliMpDDL::GetNofBusPatches | ( | ) | const |
Return the number of detection elements connected to this DDL
Definition at line 203 of file AliMpDDL.cxx.
Referenced by AliMUONRawWriter::Digits2Raw(), PlotBusPatchOccupancies(), and AliMpDDLStore::ReadBusPatchInfo().
Int_t AliMpDDL::GetNofDEs | ( | ) | const |
Return the number of detection elements connected to this DDL
Definition at line 154 of file AliMpDDL.cxx.
Referenced by FillBusPatchIds(), AliMUONBusPatchEvolution::GroupByDDL(), AliMUONTrackerQADataMakerRec::ProjectTrackerData(), and AliMpDDLStore::SetManus().
Int_t AliMpDDL::GetNofFrts | ( | ) | const |
Return the number of FRT connected to this DDL
Definition at line 178 of file AliMpDDL.cxx.
Referenced by AliMUONTrackerQADataMakerRec::FillReadoutStatus().
Int_t AliMpDDL::GetNofTriggerCrates | ( | ) | const |
Return the number of trigger crate connected to this DDL
Definition at line 227 of file AliMpDDL.cxx.
Referenced by AliMpDDLStore::GetTriggerCrate().
Int_t AliMpDDL::GetTriggerCrateId | ( | Int_t | index | ) | const |
Return the trigger crate by index (in loop)
Definition at line 235 of file AliMpDDL.cxx.
Bool_t AliMpDDL::HasBusPatchId | ( | Int_t | busPatchId | ) | const |
Return true if the detection element Id is present
Definition at line 219 of file AliMpDDL.cxx.
Bool_t AliMpDDL::HasDEId | ( | Int_t | detElemId | ) | const |
Return true if the detection element Id is present
Definition at line 170 of file AliMpDDL.cxx.
Referenced by AddDE(), and AliMpDDLStore::SetTriggerDDLs().
Bool_t AliMpDDL::HasFrtId | ( | Int_t | frtId | ) | const |
Return true if the FRT Id is present
Definition at line 194 of file AliMpDDL.cxx.
Referenced by AddFrt(), and AliMpDDLStore::ReadBusPatchInfo().
Bool_t AliMpDDL::HasTriggerCrateId | ( | Int_t | crateId | ) | const |
Return true if the trigger crate Id is present
Definition at line 243 of file AliMpDDL.cxx.
Referenced by AddTriggerCrate(), and AliMpDDLStore::SetTriggerDDLs().
|
private |
Bus patch Ids connected to this DDL.
Definition at line 73 of file AliMpDDL.h.
Referenced by FillBusPatchIds(), GetBusPatchId(), GetBusPerDsp(), GetMaxDsp(), GetNofBusPatches(), and HasBusPatchId().
|
private |
Detection element Ids connected to this DDL.
Definition at line 71 of file AliMpDDL.h.
Referenced by AddDE(), GetDEId(), GetNofDEs(), and HasDEId().
|
private |
FRT Crocus Ids connected to this DDL.
Definition at line 72 of file AliMpDDL.h.
Referenced by AddFrt(), GetFrtId(), GetNofFrts(), and HasFrtId().
|
private |
|
private |
Trigger crate Ids connected to this DDL.
Definition at line 74 of file AliMpDDL.h.
Referenced by AddTriggerCrate(), GetNofTriggerCrates(), GetTriggerCrateId(), and HasTriggerCrateId().