AliRoot Core  3abf5b4 (3abf5b4)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMpDDL Class Reference

The class defined electronics properties of DDL. More...

#include <AliMpDDL.h>

Inheritance diagram for AliMpDDL:

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...
 
AliMpDDLoperator= (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...
 

Detailed Description

The class defined electronics properties of DDL.

Author
Ivana Hrivnacova, IPN Orsay

Definition at line 20 of file AliMpDDL.h.

Constructor & Destructor Documentation

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.

AliMpDDL::~AliMpDDL ( )
virtual

Destructor

Definition at line 68 of file AliMpDDL.cxx.

AliMpDDL::AliMpDDL ( )
private

Not implemented.

AliMpDDL::AliMpDDL ( const AliMpDDL rhs)
private

Not implemented.

Member Function Documentation

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().

Int_t AliMpDDL::GetId ( ) const
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().

AliMpDDL& AliMpDDL::operator= ( const AliMpDDL rhs)
private

Not implemented.

Member Data Documentation

AliMpArrayI AliMpDDL::fBusPatchIds
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().

AliMpArrayI AliMpDDL::fDEIds
private

Detection element Ids connected to this DDL.

Definition at line 71 of file AliMpDDL.h.

Referenced by AddDE(), GetDEId(), GetNofDEs(), and HasDEId().

AliMpArrayI AliMpDDL::fFrtIds
private

FRT Crocus Ids connected to this DDL.

Definition at line 72 of file AliMpDDL.h.

Referenced by AddFrt(), GetFrtId(), GetNofFrts(), and HasFrtId().

Int_t AliMpDDL::fId
private

Identifier (unique)

Definition at line 70 of file AliMpDDL.h.

Referenced by GetId().

AliMpArrayI AliMpDDL::fTriggerCrateIds
private

Trigger crate Ids connected to this DDL.

Definition at line 74 of file AliMpDDL.h.

Referenced by AddTriggerCrate(), GetNofTriggerCrates(), GetTriggerCrateId(), and HasTriggerCrateId().


The documentation for this class was generated from the following files: