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

MUON Trigger circuit. More...

#include <AliMUONTriggerCircuit.h>

Inheritance diagram for AliMUONTriggerCircuit:

Public Member Functions

 AliMUONTriggerCircuit (const AliMUONGeometryTransformer *transformer)
 
virtual ~AliMUONTriggerCircuit ()
 
 AliMUONTriggerCircuit (const AliMUONTriggerCircuit &AliMUONTriggerCircuit)
 
AliMUONTriggerCircuitoperator= (const AliMUONTriggerCircuit &AliMUONTriggerCircuit)
 
Float_t GetX11Pos (Int_t localBoardId, Int_t istrip) const
 
Float_t GetY11Pos (Int_t localBoardId, Int_t istrip) const
 
Float_t GetY21Pos (Int_t localBoardId, Int_t istrip) const
 
Float_t GetZ11Pos (Int_t localBoardId, Int_t istrip) const
 
Float_t GetZ21Pos (Int_t localBoardId, Int_t istrip) const
 
Float_t GetX11Width (Int_t localBoardId, Int_t istrip) const
 
Float_t GetY11Width (Int_t localBoardId, Int_t istrip) const
 
Float_t GetY21Width (Int_t localBoardId, Int_t istrip) const
 
void SetTransformer (const AliMUONGeometryTransformer *transformer)
 Set pointer to transformations. More...
 
const AliMUONGeometryTransformerGetTransformer () const
 Get pointer to transformations. More...
 
Float_t PtCal (Int_t localBoardId, Int_t istripX, Int_t idev, Int_t istripY) const
 

Private Member Functions

void LoadYPos (AliMpLocalBoard *const localBoard)
 
void LoadXPos (AliMpLocalBoard *const localBoard)
 
Int_t FirstStrip (AliMpLocalBoard *localBoard)
 
void FillXstrips (const Int_t icol, const Int_t iFirstStrip, const Int_t iLastStrip, Int_t liStripCircuit, const Bool_t is11)
 
void FillYstrips (const Int_t iFirstStrip, const Int_t iLastStrip, Int_t liStripCircuit, const Bool_t doubling)
 
void XYGlobal (const AliMpPad &pad, Double_t *xyGlobal)
 

Private Attributes

TArrayF fXpos11 [235]
 X position of Y strips in MC11. More...
 
TArrayF fYpos11 [235]
 Y position of X strips in MC11. More...
 
TArrayF fYpos21 [235]
 Y position of X strips in MC21. More...
 
TArrayF fZpos11 [235]
 Z position of X strips in MC11. More...
 
TArrayF fZpos21 [235]
 Z position of X strips in MC21. More...
 
TArrayF fXwidth11 [235]
 width of Y strips in MC11 More...
 
TArrayF fYwidth11 [235]
 width of X strips in MC11 More...
 
TArrayF fYwidth21 [235]
 width of X strips in MC21 More...
 
const AliMUONGeometryTransformerfkTransformer
 ! pointer to transformation More...
 
const AliMpVSegmentationfkCurrentSeg
 ! current segmentation More...
 
Int_t fCurrentDetElem
 ! current detection elt id More...
 
Int_t fCurrentLocalBoard
 ! current local board id More...
 

Detailed Description

MUON Trigger circuit.

Contains as data members the Y positions of the X declusturized strips and the X positions of the (doubled or not) Y strips. This is used to associate the global positions to the fired strips of the local trigger output (see AliMUONTrackReconstructor::MakeTriggerTrack)

Author
Philippe Crochet (LPCCFd)

Definition at line 23 of file AliMUONTriggerCircuit.h.

Constructor & Destructor Documentation

AliMUONTriggerCircuit::AliMUONTriggerCircuit ( const AliMUONGeometryTransformer transformer)

Constructor

Definition at line 57 of file AliMUONTriggerCircuit.cxx.

AliMUONTriggerCircuit::~AliMUONTriggerCircuit ( )
virtual

Destructor

Definition at line 112 of file AliMUONTriggerCircuit.cxx.

AliMUONTriggerCircuit::AliMUONTriggerCircuit ( const AliMUONTriggerCircuit AliMUONTriggerCircuit)

Copy constructor

Definition at line 129 of file AliMUONTriggerCircuit.cxx.

Member Function Documentation

void AliMUONTriggerCircuit::FillXstrips ( const Int_t  icol,
const Int_t  iFirstStrip,
const Int_t  iLastStrip,
Int_t  liStripCircuit,
const Bool_t  is11 
)
private

fill

Definition at line 313 of file AliMUONTriggerCircuit.cxx.

Referenced by LoadYPos().

void AliMUONTriggerCircuit::FillYstrips ( const Int_t  iFirstStrip,
const Int_t  iLastStrip,
Int_t  liStripCircuit,
const Bool_t  doubling 
)
private

fill

Definition at line 403 of file AliMUONTriggerCircuit.cxx.

Referenced by LoadXPos().

Int_t AliMUONTriggerCircuit::FirstStrip ( AliMpLocalBoard localBoard)
private

returns the first strip from mapping for board boardName take care of special case for boards RC1L6B12 & LC1L6B12

Definition at line 511 of file AliMUONTriggerCircuit.cxx.

Referenced by LoadYPos().

const AliMUONGeometryTransformer* AliMUONTriggerCircuit::GetTransformer ( ) const
inline

Get pointer to transformations.

Definition at line 50 of file AliMUONTriggerCircuit.h.

Float_t AliMUONTriggerCircuit::GetX11Pos ( Int_t  localBoardId,
Int_t  istrip 
) const

returns X position of Y strip istrip in MC11

Definition at line 465 of file AliMUONTriggerCircuit.cxx.

Referenced by AliMUONDataInterface::NtupleTrigger(), and AliMUONVTrackReconstructor::TriggerToTrack().

Float_t AliMUONTriggerCircuit::GetX11Width ( Int_t  localBoardId,
Int_t  istrip 
) const

returns width of Y strip istrip in MC11

Definition at line 493 of file AliMUONTriggerCircuit.cxx.

Referenced by AliMUONVTrackReconstructor::TriggerToTrack().

Float_t AliMUONTriggerCircuit::GetY11Pos ( Int_t  localBoardId,
Int_t  istrip 
) const

returns Y position of X strip istrip in MC11

Definition at line 470 of file AliMUONTriggerCircuit.cxx.

Referenced by AliMUONDataInterface::NtupleTrigger(), and AliMUONVTrackReconstructor::TriggerToTrack().

Float_t AliMUONTriggerCircuit::GetY11Width ( Int_t  localBoardId,
Int_t  istrip 
) const

returns width of X strip istrip in MC11

Definition at line 498 of file AliMUONTriggerCircuit.cxx.

Referenced by AliMUONVTrackReconstructor::TriggerToTrack().

Float_t AliMUONTriggerCircuit::GetY21Pos ( Int_t  localBoardId,
Int_t  istrip 
) const

returns Y position of X strip istrip in MC21

Definition at line 476 of file AliMUONTriggerCircuit.cxx.

Referenced by AliMUONDataInterface::NtupleTrigger(), and AliMUONVTrackReconstructor::TriggerToTrack().

Float_t AliMUONTriggerCircuit::GetY21Width ( Int_t  localBoardId,
Int_t  istrip 
) const

returns width of X strip istrip in MC21

Definition at line 504 of file AliMUONTriggerCircuit.cxx.

Referenced by AliMUONVTrackReconstructor::TriggerToTrack().

Float_t AliMUONTriggerCircuit::GetZ11Pos ( Int_t  localBoardId,
Int_t  istrip 
) const

returns Z position of X strip istrip in MC11

Definition at line 482 of file AliMUONTriggerCircuit.cxx.

Referenced by AliMUONVTrackReconstructor::TriggerToTrack().

Float_t AliMUONTriggerCircuit::GetZ21Pos ( Int_t  localBoardId,
Int_t  istrip 
) const

returns Z position of X strip istrip in MC21

Definition at line 488 of file AliMUONTriggerCircuit.cxx.

Referenced by AliMUONVTrackReconstructor::TriggerToTrack().

void AliMUONTriggerCircuit::LoadXPos ( AliMpLocalBoard *const  localBoard)
private

fill fXpos11 -> x position of Y strips for the first plane only fXpos11 contains the x position of Y strip for the current circuit taking into account whether or nor not part(s) of the circuit (middle, up or down) has(have) 16 strips (handdled by means of switchs)

Definition at line 350 of file AliMUONTriggerCircuit.cxx.

void AliMUONTriggerCircuit::LoadYPos ( AliMpLocalBoard *const  localBoard)
private

fill fYpos11 and fYpos21 -> y position of X declusterized strips

Definition at line 178 of file AliMUONTriggerCircuit.cxx.

AliMUONTriggerCircuit & AliMUONTriggerCircuit::operator= ( const AliMUONTriggerCircuit AliMUONTriggerCircuit)

Assignment operator

Definition at line 151 of file AliMUONTriggerCircuit.cxx.

Float_t AliMUONTriggerCircuit::PtCal ( Int_t  localBoardId,
Int_t  istripX,
Int_t  idev,
Int_t  istripY 
) const

returns calculated pt for circuit/istripX/idev/istripY according to the formula of the TRD. Note : idev (input) is in [0+30]

Definition at line 542 of file AliMUONTriggerCircuit.cxx.

void AliMUONTriggerCircuit::SetTransformer ( const AliMUONGeometryTransformer transformer)
inline

Set pointer to transformations.

Definition at line 48 of file AliMUONTriggerCircuit.h.

void AliMUONTriggerCircuit::XYGlobal ( const AliMpPad pad,
Double_t *  xyGlobal 
)
private

returns pad x & y positions and x & y pad dimensions in global coordinates note: no need for transformation for pad dimensions

Definition at line 445 of file AliMUONTriggerCircuit.cxx.

Referenced by FillXstrips(), and FillYstrips().

Member Data Documentation

Int_t AliMUONTriggerCircuit::fCurrentDetElem
private

! current detection elt id

Definition at line 85 of file AliMUONTriggerCircuit.h.

Referenced by LoadXPos(), LoadYPos(), operator=(), and XYGlobal().

Int_t AliMUONTriggerCircuit::fCurrentLocalBoard
private

! current local board id

Definition at line 86 of file AliMUONTriggerCircuit.h.

Referenced by FillXstrips(), FillYstrips(), LoadXPos(), LoadYPos(), and operator=().

const AliMpVSegmentation* AliMUONTriggerCircuit::fkCurrentSeg
private

! current segmentation

Definition at line 83 of file AliMUONTriggerCircuit.h.

Referenced by FillXstrips(), FillYstrips(), LoadXPos(), LoadYPos(), and operator=().

const AliMUONGeometryTransformer* AliMUONTriggerCircuit::fkTransformer
private

! pointer to transformation

Definition at line 82 of file AliMUONTriggerCircuit.h.

Referenced by GetTransformer(), operator=(), SetTransformer(), and XYGlobal().

TArrayF AliMUONTriggerCircuit::fXpos11[235]
private

X position of Y strips in MC11.

Definition at line 73 of file AliMUONTriggerCircuit.h.

Referenced by AliMUONTriggerCircuit(), FillYstrips(), GetX11Pos(), operator=(), PtCal(), and ~AliMUONTriggerCircuit().

TArrayF AliMUONTriggerCircuit::fXwidth11[235]
private

width of Y strips in MC11

Definition at line 78 of file AliMUONTriggerCircuit.h.

Referenced by AliMUONTriggerCircuit(), FillYstrips(), GetX11Width(), operator=(), and ~AliMUONTriggerCircuit().

TArrayF AliMUONTriggerCircuit::fYpos11[235]
private

Y position of X strips in MC11.

Definition at line 74 of file AliMUONTriggerCircuit.h.

Referenced by AliMUONTriggerCircuit(), FillXstrips(), GetY11Pos(), operator=(), PtCal(), and ~AliMUONTriggerCircuit().

TArrayF AliMUONTriggerCircuit::fYpos21[235]
private

Y position of X strips in MC21.

Definition at line 75 of file AliMUONTriggerCircuit.h.

Referenced by AliMUONTriggerCircuit(), FillXstrips(), GetY21Pos(), LoadYPos(), operator=(), PtCal(), and ~AliMUONTriggerCircuit().

TArrayF AliMUONTriggerCircuit::fYwidth11[235]
private

width of X strips in MC11

Definition at line 79 of file AliMUONTriggerCircuit.h.

Referenced by AliMUONTriggerCircuit(), FillXstrips(), GetY11Width(), operator=(), and ~AliMUONTriggerCircuit().

TArrayF AliMUONTriggerCircuit::fYwidth21[235]
private

width of X strips in MC21

Definition at line 80 of file AliMUONTriggerCircuit.h.

Referenced by AliMUONTriggerCircuit(), FillXstrips(), GetY21Width(), LoadYPos(), operator=(), and ~AliMUONTriggerCircuit().

TArrayF AliMUONTriggerCircuit::fZpos11[235]
private

Z position of X strips in MC11.

Definition at line 76 of file AliMUONTriggerCircuit.h.

Referenced by AliMUONTriggerCircuit(), FillXstrips(), GetZ11Pos(), operator=(), PtCal(), and ~AliMUONTriggerCircuit().

TArrayF AliMUONTriggerCircuit::fZpos21[235]
private

Z position of X strips in MC21.

Definition at line 77 of file AliMUONTriggerCircuit.h.

Referenced by AliMUONTriggerCircuit(), FillXstrips(), GetZ21Pos(), LoadYPos(), operator=(), PtCal(), and ~AliMUONTriggerCircuit().


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