AliRoot Core  edcc906 (edcc906)
AliMpPadRow Class Reference

A pad row composed of the pad row segments. More...

#include <AliMpPadRow.h>

Inheritance diagram for AliMpPadRow:

Public Member Functions

 AliMpPadRow (AliMp::XDirection direction)
 
 AliMpPadRow ()
 
virtual ~AliMpPadRow ()
 
AliMpVPadRowSegmentAddPadRowSegment (AliMpMotif *motif, Int_t motifPositionId, Int_t nofPads)
 
AliMpVPadRowSegmentFindPadRowSegment (Double_t x) const
 
Double_t HalfSizeY () const
 
void SetID (Int_t id)
 
void SetOffsetX (Double_t offsetX)
 
Int_t GetID () const
 
Int_t GetNofPadRowSegments () const
 
AliMpVPadRowSegmentGetPadRowSegment (Int_t i) const
 
Int_t GetNofPads () const
 

Private Member Functions

Double_t CurrentBorderX () const
 

Private Attributes

AliMp::XDirection fDirection
 the pad row x direction More...
 
Int_t fID
 the pad row ID More...
 
Double_t fOffsetX
 the x position of the border More...
 
TObjArray fSegments
 the pad row segments More...
 

Detailed Description

A pad row composed of the pad row segments.

Author
David Guez, Ivana Hrivnacova; IPN Orsay

Definition at line 25 of file AliMpPadRow.h.

Constructor & Destructor Documentation

AliMpPadRow::AliMpPadRow ( AliMp::XDirection  direction)

Standard constructor

Definition at line 42 of file AliMpPadRow.cxx.

AliMpPadRow::AliMpPadRow ( )

Default constructor

Definition at line 53 of file AliMpPadRow.cxx.

AliMpPadRow::~AliMpPadRow ( )
virtual

Destructor

Definition at line 64 of file AliMpPadRow.cxx.

Member Function Documentation

AliMpVPadRowSegment * AliMpPadRow::AddPadRowSegment ( AliMpMotif motif,
Int_t  motifPositionId,
Int_t  nofPads 
)

Add a pad row segment.

Definition at line 97 of file AliMpPadRow.cxx.

Referenced by AliMpSectorReader::ReadRowSegmentSpecialData().

Double_t AliMpPadRow::CurrentBorderX ( ) const
private

Return the left/right x border (depending on the direction which the row segments are filled in).

Definition at line 77 of file AliMpPadRow.cxx.

Referenced by AddPadRowSegment().

AliMpVPadRowSegment * AliMpPadRow::FindPadRowSegment ( Double_t  x) const

Find the row segment for the specified x position; return 0 if no row segment is found.

Definition at line 123 of file AliMpPadRow.cxx.

Referenced by AliMpVRowSegmentSpecial::FindMotif(), and AliMpVRowSegmentSpecial::FindMotifPositionId().

Int_t AliMpPadRow::GetID ( ) const
Int_t AliMpPadRow::GetNofPads ( ) const

Return the number of pads in this pad row.

Definition at line 191 of file AliMpPadRow.cxx.

Referenced by AliMpVRowSegmentSpecial::MaxNofPadsInRow().

void AliMpPadRow::SetID ( Int_t  id)

Set the ID.

Definition at line 146 of file AliMpPadRow.cxx.

Referenced by AliMpVRowSegmentSpecial::AddPadRow().

void AliMpPadRow::SetOffsetX ( Double_t  offsetX)

Set the x offset.

Definition at line 154 of file AliMpPadRow.cxx.

Referenced by AliMpVRowSegmentSpecial::AddPadRow().

Member Data Documentation

AliMp::XDirection AliMpPadRow::fDirection
private

the pad row x direction

Definition at line 54 of file AliMpPadRow.h.

Referenced by AddPadRowSegment(), and CurrentBorderX().

Int_t AliMpPadRow::fID
private

the pad row ID

Definition at line 55 of file AliMpPadRow.h.

Referenced by GetID(), and SetID().

Double_t AliMpPadRow::fOffsetX
private

the x position of the border

Definition at line 56 of file AliMpPadRow.h.

Referenced by CurrentBorderX(), and SetOffsetX().

TObjArray AliMpPadRow::fSegments
private

the pad row segments

Definition at line 57 of file AliMpPadRow.h.

Referenced by AddPadRowSegment(), GetNofPadRowSegments(), GetPadRowSegment(), and ~AliMpPadRow().


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