40 #include "AliCodeTimer.h"
43 #include <Riostream.h>
54 const TString& segType, AliMp::
PlaneType planeType)
60 fPlaneType(planeType),
106 <<
"Bus patch Id = " << busPatchId <<
" already present."
163 AliFatal(
"Cannot return AliMp::StationType value.");
172 AliFatal(
"Cannot return AliMp::StationType value.");
185 AliFatal(
"Cannot return AliMp::StationType value.");
194 AliFatal(
"Cannot return AliMp::StationType value.");
213 <<
"In DE = " <<
fId <<
": Index " << index <<
" outside limits." << endl;
278 AliCodeTimerAuto(
"",0)
280 AliDebug(1,Form(
"DE %4d Manu %4d",
fId,manuId));
293 for ( Int_t i = 0; i < 2; ++i )
302 nmanus += manus.GetSize();
341 hv->
Add(manuId,kFALSE);
static UInt_t BuildUniqueID(Int_t detElemId, Int_t manuId)
const AliMpVSegmentation * GetMpSegmentation(Int_t detElemId, AliMp::CathodType cath, Bool_t warn=true) const
AliMp::PlaneType OtherPlaneType(AliMp::PlaneType planeType)
Return the other plane type.
static AliMpSegmentation * Instance(Bool_t warn=true)
AliMq::Station12Type GetStation12Type() const
AliMp::StationType GetStationType() const
Bool_t HasValue(Int_t value) const
Collection of methods usefull to DCS handling for MUON TRK and TRG.
static UInt_t BuildUniqueID(Int_t detElemId, Int_t index)
const AliMpVSegmentation * GetMpSegmentationByElectronics(Int_t detElemId, Int_t elCardID, Bool_t warn=true) const
Bool_t Add(Int_t value, Bool_t warn=kTRUE)
The class defines the electronics properties of detection element.
TExMap fManuList
map of manus
TString GetSegName(AliMp::CathodType cath) const
Bool_t AddBusPatch(Int_t busPatchId)
static Int_t GetChamberId(Int_t detElemId, Bool_t warn=true)
static Int_t ManuNofChannels()
Max number of channels per manu.
TString fSegType
Segmentation type name.
TExMap fTrackerChannels
list of connected pads (tracker only)
Int_t ManuId2Index(Int_t detElemId, Int_t manuId) const
AliMpArrayI fBusPatchIds
Bus patches connected to this detection element.
TString StationTypeName(AliMp::StationType stationType)
Return name for given stationType.
TString PlaneTypeName(AliMp::PlaneType planeType)
Return name for given planeType.
static AliMp::StationType GetStationType(Int_t detElemId)
virtual ~AliMpDetElement()
AliMp::PlaneType GetPlaneType(AliMp::CathodType cath) const
TObject * GetValue(Int_t keyFirst, Int_t keySecond) const
AliMpDetElement()
Not implemented.
void Add(Int_t keyFirst, Int_t keySecond, TObject *object)
Helper class for sorted integer array.
static UInt_t BuildUniqueID(Int_t detElemId, Int_t manuId, Int_t manuChannel)
Int_t NofChannelsInManu(Int_t manuId) const
void SetOwner(Bool_t owner)
Bool_t IsValid() const
Return validity.
value for all non sector stations
AliMpExMap fHVmanus
map of HV->manu
Int_t GetNofBusPatches() const
AliMp::CathodType GetCathodType(AliMp::PlaneType planeType) const
The abstract base class for the segmentation.
AliMp::CathodType GetCathodTypeFromManuId(Int_t manuId) const
Int_t GetBusPatchId(Int_t index) const
static Bool_t IsValidChamberId(Int_t chamberId, Bool_t warn=false)
AliMp::PlaneType fPlaneType
Plane type on cathod0.
const AliMpArrayI * ManusForHV(Int_t hvIndex) const
Int_t GetValue(Int_t index) const
Bool_t IsConnectedChannel(Int_t manuId, Int_t manuChannel) const
void AddManu(Int_t manuId)
virtual AliMpPad PadByLocation(Int_t manuId, Int_t manuChannel, Bool_t warning=true) const =0
Find pad by location.
Int_t fId
Identifier (unique)
Bool_t IsExistingChannel(Int_t manuId, Int_t manuChannel) const
Bool_t HasBusPatchId(Int_t busPatchId) const
Int_t fNofChannels
number of channels in this detection element
static const char fgkNameSeparator
Separator character used in DE names.
static Int_t ManuMask(AliMp::PlaneType planeType)
virtual void GetAllElectronicCardIDs(TArrayI &ecn) const =0
Fill the given array with the electronic card IDs.