AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMpDetElement Class Reference

The class defines the electronics properties of detection element. More...

#include <AliMpDetElement.h>

Inheritance diagram for AliMpDetElement:

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 AliMpArrayIManusForHV (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...
 
AliMpDetElementoperator= (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...
 

Detailed Description

The class defines the electronics properties of detection element.

Author
Ivana Hrivnacova, IPN Orsay; Laurent Aphecetche, Ch. Finck, Subatech Nantes

Definition at line 34 of file AliMpDetElement.h.

Constructor & Destructor Documentation

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.

AliMpDetElement::~AliMpDetElement ( )
virtual

Destructor

Definition at line 88 of file AliMpDetElement.cxx.

AliMpDetElement::AliMpDetElement ( )
private

Not implemented.

AliMpDetElement::AliMpDetElement ( const AliMpDetElement rhs)
private

Not implemented.

Member Function Documentation

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

AliMp::CathodType AliMpDetElement::GetCathodTypeFromManuId ( Int_t  manuId) const

Return cathod type for given manuId

Definition at line 142 of file AliMpDetElement.cxx.

TString AliMpDetElement::GetDEName ( ) const
inline
char AliMpDetElement::GetNameSeparator ( )
inlinestatic

Return the name separator.

Definition at line 110 of file AliMpDetElement.h.

Referenced by AliMpDEStore::ReadDENames().

AliMp::PlaneType AliMpDetElement::GetPlaneType ( AliMp::CathodType  cath) const
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().

TString AliMpDetElement::GetSegType ( ) const
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
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
Int_t AliMpDetElement::NofChannels ( ) const
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::NofManus ( ) const

Return the number of manus in this detection element

Definition at line 356 of file AliMpDetElement.cxx.

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

Not implemented.

void AliMpDetElement::SetDdlId ( Int_t  ddlId)
inline

Set DDL Id.

Definition at line 114 of file AliMpDetElement.h.

Referenced by AliMpDDLStore::ReadDDLs(), and AliMpDDLStore::SetTriggerDDLs().

Member Data Documentation

AliMpArrayI AliMpDetElement::fBusPatchIds
private

Bus patches connected to this detection element.

Definition at line 95 of file AliMpDetElement.h.

Referenced by AddBusPatch(), GetBusPatchId(), GetNofBusPatches(), and HasBusPatchId().

Int_t AliMpDetElement::fDdlId
private

DDL Id to which this DE is connected.

Definition at line 90 of file AliMpDetElement.h.

Referenced by GetDdlId(), and SetDdlId().

const char AliMpDetElement::fgkNameSeparator = '_'
staticprivate

Separator character used in DE names.

Definition at line 86 of file AliMpDetElement.h.

Referenced by GetNameSeparator(), and GetSegName().

AliMpExMap AliMpDetElement::fHVmanus
private

map of HV->manu

Definition at line 100 of file AliMpDetElement.h.

Referenced by AddManu(), and ManusForHV().

Int_t AliMpDetElement::fId
private
TExMap AliMpDetElement::fManuList
mutableprivate

map of manus

Definition at line 97 of file AliMpDetElement.h.

Referenced by AddManu(), NofChannelsInManu(), and NofManus().

TString AliMpDetElement::fName
private

Name unique.

Definition at line 91 of file AliMpDetElement.h.

Referenced by GetDEName().

Int_t AliMpDetElement::fNofChannels
private

number of channels in this detection element

Definition at line 102 of file AliMpDetElement.h.

Referenced by AddManu(), and NofChannels().

AliMp::PlaneType AliMpDetElement::fPlaneType
private

Plane type on cathod0.

Definition at line 93 of file AliMpDetElement.h.

Referenced by GetCathodType(), and GetPlaneType().

TString AliMpDetElement::fSegType
private

Segmentation type name.

Definition at line 92 of file AliMpDetElement.h.

Referenced by GetSegName(), and GetSegType().

TExMap AliMpDetElement::fTrackerChannels
mutableprivate

list of connected pads (tracker only)

Definition at line 98 of file AliMpDetElement.h.

Referenced by AddManu(), and IsConnectedChannel().


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