AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMpTrigger Class Reference

A trigger slat. More...

#include <AliMpTrigger.h>

Inheritance diagram for AliMpTrigger:

Public Member Functions

 AliMpTrigger ()
 
 AliMpTrigger (const char *slatType, AliMp::PlaneType bendingOrNonBending)
 
virtual ~AliMpTrigger ()
 
Bool_t AdoptLayer (AliMpSlat *slat)
 
void GetAllLocalBoardNumbers (TArrayI &lbn) const
 
const char * GetID () const
 
const char * GetName () const
 
Double_t DX () const
 
Double_t DY () const
 
Double_t GetPositionX () const
 Return x position. More...
 
Double_t GetPositionY () const
 Return y position. More...
 
AliMpSlatGetLayer (int layer) const
 
AliMpVSegmentationGetLayerSegmentation (int layer) const
 
Int_t GetNofPadsX () const
 
Int_t GetMaxNofPadsY () const
 
Int_t GetSize () const
 Returns the number of layers. More...
 
void Print (Option_t *option="") const
 
AliMp::PlaneType PlaneType () const
 
Double_t GetDimensionX () const
 Return the x dimension (half-sizes) of that slat (cm) More...
 
Double_t GetDimensionY () const
 Return the y dimension (half-sizes) of that slat (cm) More...
 

Private Member Functions

Bool_t IsLayerValid (int layer) const
 

Private Attributes

TString fId
 name of that slat More...
 
AliMp::PlaneType fPlaneType
 bending or non-bending More...
 
TObjArray fSlats
 virtual slat composing this trigger slat More...
 
TObjArray fSlatSegmentations
 segmentations for virtual slats More...
 
Int_t fMaxNofPadsY
 max number of pads in y direction More...
 
Double_t fDX
 half-size in x (cm) More...
 
Double_t fDY
 half-size in y (cm) More...
 

Detailed Description

A trigger slat.

A trigger 'slat' object. It is to be viewed as a superposition of virtual layers of AliMpSlat objects. The need for more than one layer arise from the fact that a given local board deals with strips located in different detelem. So a given strip (pad) can have several "locations".

Author
Laurent Aphecetche

Definition at line 37 of file AliMpTrigger.h.

Constructor & Destructor Documentation

AliMpTrigger::AliMpTrigger ( )

default ctor

Definition at line 69 of file AliMpTrigger.cxx.

AliMpTrigger::AliMpTrigger ( const char *  slatType,
AliMp::PlaneType  bendingOrNonBending 
)

normal ctor

Definition at line 88 of file AliMpTrigger.cxx.

AliMpTrigger::~AliMpTrigger ( )
virtual

dtor

Definition at line 107 of file AliMpTrigger.cxx.

Member Function Documentation

Bool_t AliMpTrigger::AdoptLayer ( AliMpSlat slat)

Adopt (i.e. we become owner of that pointer) a slat, as a layer of this trigger slat.

Definition at line 117 of file AliMpTrigger.cxx.

Referenced by AliMpTriggerReader::ReadSlat().

Double_t AliMpTrigger::DX ( ) const

Returns the half-size in X (cm)

Definition at line 151 of file AliMpTrigger.cxx.

Referenced by GetDimensionX(), and GetPositionX().

Double_t AliMpTrigger::DY ( ) const

Returns the half-size in Y (cm)

Definition at line 159 of file AliMpTrigger.cxx.

Referenced by GetDimensionY(), and GetPositionY().

void AliMpTrigger::GetAllLocalBoardNumbers ( TArrayI &  lbn) const

Fills lbn with the local board numbers we're dealing with

Definition at line 167 of file AliMpTrigger.cxx.

Referenced by AliMpTriggerSegmentation::GetAllElectronicCardIDs(), and AliMpTriggerSegmentation::GetNofElectronicCards().

Double_t AliMpTrigger::GetDimensionX ( ) const
inline

Return the x dimension (half-sizes) of that slat (cm)

Definition at line 75 of file AliMpTrigger.h.

Referenced by AliMpTriggerSegmentation::GetDimensionX().

Double_t AliMpTrigger::GetDimensionY ( ) const
inline

Return the y dimension (half-sizes) of that slat (cm)

Definition at line 77 of file AliMpTrigger.h.

Referenced by AliMpTriggerSegmentation::GetDimensionY().

const char * AliMpTrigger::GetID ( ) const

returns the id of this slat

Definition at line 194 of file AliMpTrigger.cxx.

Referenced by AdoptLayer(), GetName(), and Print().

AliMpSlat * AliMpTrigger::GetLayer ( int  layer) const
AliMpVSegmentation * AliMpTrigger::GetLayerSegmentation ( int  layer) const
Int_t AliMpTrigger::GetMaxNofPadsY ( ) const

Maximum number of pads in y direction

Definition at line 260 of file AliMpTrigger.cxx.

Referenced by AliMpTriggerSegmentation::MaxPadIndexY().

const char * AliMpTrigger::GetName ( ) const

returns the name (=id+bending/non-bending) of this slat

Definition at line 202 of file AliMpTrigger.cxx.

Referenced by AliMpTriggerSegmentation::GetName().

Int_t AliMpTrigger::GetNofPadsX ( ) const

Returns the number of pad in x direction

Definition at line 247 of file AliMpTrigger.cxx.

Referenced by AliMpTriggerSegmentation::MaxPadIndexX().

Double_t AliMpTrigger::GetPositionX ( ) const
inline

Return x position.

Definition at line 56 of file AliMpTrigger.h.

Referenced by AliMpTriggerSegmentation::GetPositionX().

Double_t AliMpTrigger::GetPositionY ( ) const
inline

Return y position.

Definition at line 58 of file AliMpTrigger.h.

Referenced by AliMpTriggerSegmentation::GetPositionY().

Bool_t AliMpTrigger::IsLayerValid ( int  layer) const
private

Whether a given layer index is valid or not

Definition at line 276 of file AliMpTrigger.cxx.

Referenced by GetLayer(), and GetLayerSegmentation().

AliMp::PlaneType AliMpTrigger::PlaneType ( ) const

Bending or not

Definition at line 288 of file AliMpTrigger.cxx.

Referenced by AliMpTriggerSegmentation::PlaneType().

void AliMpTrigger::Print ( Option_t *  option = "") const

Dump on screen

Definition at line 296 of file AliMpTrigger.cxx.

Referenced by AliMpTriggerReader::ReadSlat().

Member Data Documentation

Double_t AliMpTrigger::fDX
private

half-size in x (cm)

Definition at line 88 of file AliMpTrigger.h.

Referenced by AdoptLayer(), and DX().

Double_t AliMpTrigger::fDY
private

half-size in y (cm)

Definition at line 89 of file AliMpTrigger.h.

Referenced by AdoptLayer(), and DY().

TString AliMpTrigger::fId
private

name of that slat

Definition at line 83 of file AliMpTrigger.h.

Referenced by GetID().

Int_t AliMpTrigger::fMaxNofPadsY
private

max number of pads in y direction

Definition at line 87 of file AliMpTrigger.h.

Referenced by AdoptLayer(), and GetMaxNofPadsY().

AliMp::PlaneType AliMpTrigger::fPlaneType
private

bending or non-bending

Definition at line 84 of file AliMpTrigger.h.

Referenced by GetName(), and PlaneType().

TObjArray AliMpTrigger::fSlats
private

virtual slat composing this trigger slat

Definition at line 85 of file AliMpTrigger.h.

Referenced by AdoptLayer(), AliMpTrigger(), GetLayer(), and GetSize().

TObjArray AliMpTrigger::fSlatSegmentations
private

segmentations for virtual slats

Definition at line 86 of file AliMpTrigger.h.

Referenced by AdoptLayer(), AliMpTrigger(), GetLayerSegmentation(), and ~AliMpTrigger().


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