![]() |
AliRoot Core
d69033e (d69033e)
|
Implementation of local trigger board objects. More...
#include <AliMUONLocalTriggerBoard.h>
Public Member Functions | |
AliMUONLocalTriggerBoard () | |
AliMUONLocalTriggerBoard (AliMpLocalBoard *mpLocalBoard) | |
virtual | ~AliMUONLocalTriggerBoard () |
Bool_t | HasLUT () const |
Return true if LUT is set. More... | |
void | SetLUT (AliMUONTriggerLut *lut) |
Set LUT. More... | |
void | SetCoinc44 (Int_t coinc44=0) |
Set Coinc 44 (0/1 = coinc34/coinc44) More... | |
virtual void | SetbitM (Int_t strip, Int_t cathode, Int_t chamber) |
virtual void | Pattern (const Option_t *option="X Y") const |
virtual void | Reset () |
virtual method for derivated classes More... | |
virtual void | ResetResponse () |
virtual UShort_t | GetSwitch (Int_t i) const |
Return i-th Switch value. More... | |
virtual Bool_t | GetTC () const |
Return Transverse connector. More... | |
virtual Int_t | GetNumber () const |
Return Board number. More... | |
virtual Bool_t | IsNotified () const |
Is notified (copy boards are not) More... | |
virtual TString | GetCrate () const |
Return Crate name. More... | |
virtual void | GetXY (UShort_t XY[2][4]) const |
Return XY. More... | |
virtual UShort_t | GetXY (Int_t i, Int_t j) const |
Return XY. More... | |
virtual void | SetXY (UShort_t XY[2][4]) |
Set XY. More... | |
virtual void | Conf () const |
virtual void | Response () |
virtual method for derivated classes More... | |
virtual void | Mask (Int_t index, UShort_t value) |
virtual void | TrigX (Int_t ch1q[16], Int_t ch2q[16], Int_t ch3q[32], Int_t ch4q[32]) |
virtual void | Sort2x5 (Int_t dev1[6], Int_t dev2[6], Int_t minDev[6], Int_t &dev1GTdev2) |
virtual void | TrigY (Int_t y1[16], Int_t y2[16], Int_t y3[16], Int_t y4[16], Int_t y3u[16], Int_t y3d[16], Int_t y4u[16], Int_t y4d[16]) |
virtual void | SetXYU (UShort_t V[2][4]) |
Set XYU. More... | |
virtual void | GetXYU (UShort_t V[2][4]) const |
Return XYU. More... | |
virtual void | SetXYD (UShort_t V[2][4]) |
Set XYD. More... | |
virtual void | GetXYD (UShort_t V[2][4]) const |
Return XYD. More... | |
virtual void | Scan (Option_t *option="") const |
virtual method for derivated classes More... | |
virtual Int_t | GetI () const |
virtual void | LocalTrigger () |
virtual Int_t | Triggered () const |
Return info if Board has triggered. More... | |
virtual Int_t | GetStripX11 () const |
Return MT1 X position of the valid road. More... | |
virtual Int_t | GetStripY11 () const |
Return MT1 Y position of the valid road. More... | |
virtual Int_t | GetDev () const |
Return Deviation. More... | |
virtual Int_t | GetSdev () const |
Return Sign of Deviation. More... | |
virtual Int_t | GetTrigY () const |
Return Trigger in Y. More... | |
virtual Bool_t | IsTrigY () const |
virtual Bool_t | IsTrigX () const |
AliMUONLocalTriggerBoard (const AliMUONLocalTriggerBoard &right) | |
AliMUONLocalTriggerBoard & | operator= (const AliMUONLocalTriggerBoard &right) |
virtual Bool_t | IsNull () const |
![]() | |
AliMUONTriggerBoard () | |
AliMUONTriggerBoard (const char *name, Int_t islot) | |
virtual | ~AliMUONTriggerBoard () |
virtual UShort_t | GetResponse () const |
Return response. More... | |
AliMUONTriggerBoard (const AliMUONTriggerBoard &rhs) | |
AliMUONTriggerBoard & | operator= (const AliMUONTriggerBoard &rhs) |
Protected Member Functions | |
virtual void | Resp (Option_t *option) const |
local trigger info before ("I") and after ("F") LUT More... | |
virtual void | BP (const Option_t *option) const |
display X/Y bp More... | |
Static Protected Attributes | |
static const Int_t | fgkCircuitId [234] |
old numbering (to be removed) More... | |
Private Attributes | |
AliMpLocalBoard * | fMpLocalBoard |
pointer to the local board mapping More... | |
UShort_t | fXY [2][4] |
Bit pattern. More... | |
UShort_t | fXYU [2][4] |
Bit pattern UP. More... | |
UShort_t | fXYD [2][4] |
Bit pattern DOWN. More... | |
UShort_t | fMask [2][4] |
Mask. More... | |
Int_t | fStripX11 |
MT1 X position of the valid road. More... | |
Int_t | fStripY11 |
MT1 Y position of the valid road. More... | |
Int_t | fDev |
X deviation as in table 3-1 of Local Trigger Board PRR. More... | |
Int_t | fTrigY |
Trigger in Y. More... | |
Int_t | fLutLpt [2] |
Low Pt cuts estimated from LUT. More... | |
Int_t | fLutHpt [2] |
High Pt cuts estimated from LUT. More... | |
Int_t | fOutput |
Board has triggered. More... | |
Int_t | fMinDevStrip [5] |
X (from algo) More... | |
Int_t | fMinDev [5] |
Dev (from algo) More... | |
Int_t | fCoordY [5] |
Y (from algo) More... | |
AliMUONTriggerLut * | fLUT |
! Pointer to trigger LUT, that we do not own. More... | |
Int_t | fCoinc44 |
Coinc 44 (0/1 = coinc34/coinc44) More... | |
Additional Inherited Members | |
![]() | |
Int_t | fSlot |
SLOT NUMBER IN CRATE. More... | |
UShort_t | fResponse |
RESPONSE. More... | |
Implementation of local trigger board objects.
A local trigger board has as input a bit pattern and returns the local trigger response after comparison w/ a LUT
Definition at line 19 of file AliMUONLocalTriggerBoard.h.
AliMUONLocalTriggerBoard::AliMUONLocalTriggerBoard | ( | ) |
default constructor
Definition at line 65 of file AliMUONLocalTriggerBoard.cxx.
AliMUONLocalTriggerBoard::AliMUONLocalTriggerBoard | ( | AliMpLocalBoard * | mpLocalBoard | ) |
Standard constructor
Definition at line 93 of file AliMUONLocalTriggerBoard.cxx.
|
virtual |
Destructor
Definition at line 203 of file AliMUONLocalTriggerBoard.cxx.
AliMUONLocalTriggerBoard::AliMUONLocalTriggerBoard | ( | const AliMUONLocalTriggerBoard & | right | ) |
Copy constructor
Definition at line 121 of file AliMUONLocalTriggerBoard.cxx.
|
protectedvirtual |
display X/Y bp
Respect the old printout format
Definition at line 264 of file AliMUONLocalTriggerBoard.cxx.
Referenced by Pattern().
|
virtual |
|
inlinevirtual |
Return Crate name.
Definition at line 57 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONTriggerGUI::InitBoards().
|
inlinevirtual |
Return Deviation.
Definition at line 110 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONTriggerElectronics::Digits2Trigger().
|
virtual |
|
inlinevirtual |
Return Board number.
Definition at line 51 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONTriggerElectronics::Digits2Trigger(), AliMUONTriggerElectronics::LoadMasks(), AliMUONTriggerElectronics::LocalResponse(), LocalTrigger(), and ReCalcGlobalTrigger().
|
inlinevirtual |
Return Sign of Deviation.
Definition at line 113 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONTriggerElectronics::Digits2Trigger().
|
inlinevirtual |
Return MT1 X position of the valid road.
Definition at line 104 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONTriggerElectronics::Digits2Trigger().
|
inlinevirtual |
Return MT1 Y position of the valid road.
Definition at line 107 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONTriggerElectronics::Digits2Trigger().
|
inlinevirtual |
Return i-th Switch value.
Definition at line 45 of file AliMUONLocalTriggerBoard.h.
Referenced by BP(), Conf(), AliMUONTriggerElectronics::Feed(), AliMUONTriggerGUIbdmap::LocalTriggerInfo(), AliMUONTriggerGUI::PrintTriggerStore(), TrigX(), and TrigY().
|
inlinevirtual |
Return Transverse connector.
Definition at line 48 of file AliMUONLocalTriggerBoard.h.
Referenced by Conf().
|
inlinevirtual |
Return Trigger in Y.
Definition at line 116 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONTriggerElectronics::Digits2Trigger().
|
inlinevirtual |
Return XY.
Definition at line 60 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONTriggerElectronics::Digits2Trigger(), AliMUONTriggerElectronics::FeedCopyNeighbours(), and AliMUONTriggerElectronics::ModifiedLocalResponse().
|
inlinevirtual |
Return XY.
Definition at line 63 of file AliMUONLocalTriggerBoard.h.
|
inlinevirtual |
Return XYD.
Definition at line 92 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONTriggerElectronics::ModifiedLocalResponse().
|
inlinevirtual |
Return XYU.
Definition at line 86 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONTriggerElectronics::ModifiedLocalResponse().
|
inline |
Return true if LUT is set.
Definition at line 29 of file AliMUONLocalTriggerBoard.h.
|
inlinevirtual |
Is notified (copy boards are not)
Definition at line 54 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONTriggerElectronics::LocalResponse().
|
virtual |
Check if board has fired strips in the first station
Definition at line 1393 of file AliMUONLocalTriggerBoard.cxx.
Referenced by Response().
|
virtual |
Return the response of bending plane
Definition at line 1377 of file AliMUONLocalTriggerBoard.cxx.
Referenced by LocalTrigger(), and AliMUONTriggerElectronics::ModifiedLocalResponse().
|
virtual |
Return the response of non-bending plane
Definition at line 1362 of file AliMUONLocalTriggerBoard.cxx.
Referenced by LocalTrigger(), and AliMUONTriggerElectronics::ModifiedLocalResponse().
|
virtual |
L0 trigger after LUT
Definition at line 1075 of file AliMUONLocalTriggerBoard.cxx.
Referenced by Response().
|
virtual |
set mask
Definition at line 1178 of file AliMUONLocalTriggerBoard.cxx.
Referenced by AliMUONTriggerElectronics::LoadMasks().
AliMUONLocalTriggerBoard & AliMUONLocalTriggerBoard::operator= | ( | const AliMUONLocalTriggerBoard & | right | ) |
Assigment operator; equal operator
Definition at line 158 of file AliMUONLocalTriggerBoard.cxx.
|
virtual |
print bit pattern
Definition at line 251 of file AliMUONLocalTriggerBoard.cxx.
Referenced by Scan().
|
virtual |
virtual method for derivated classes
reset board
Implements AliMUONTriggerBoard.
Definition at line 210 of file AliMUONLocalTriggerBoard.cxx.
|
virtual |
reset board response
Definition at line 222 of file AliMUONLocalTriggerBoard.cxx.
Referenced by AliMUONTriggerElectronics::ModifiedLocalResponse(), and Reset().
|
protectedvirtual |
local trigger info before ("I") and after ("F") LUT
board I/O
Implements AliMUONTriggerBoard.
Definition at line 1242 of file AliMUONLocalTriggerBoard.cxx.
Referenced by Scan().
|
virtual |
virtual method for derivated classes
algo
Implements AliMUONTriggerBoard.
Definition at line 1272 of file AliMUONLocalTriggerBoard.cxx.
Referenced by AliMUONTriggerElectronics::LocalResponse(), and AliMUONTriggerElectronics::ModifiedLocalResponse().
|
virtual |
virtual method for derivated classes
full dump
Implements AliMUONTriggerBoard.
Definition at line 1195 of file AliMUONLocalTriggerBoard.cxx.
Referenced by AliMUONTriggerElectronics::DumpOS(), and AliMUONTriggerElectronics::Scan().
|
virtual |
0 .. LBS : N-1 .. MSB
Definition at line 242 of file AliMUONLocalTriggerBoard.cxx.
Referenced by AliMUONTriggerElectronics::Feed().
|
inline |
Set Coinc 44 (0/1 = coinc34/coinc44)
Definition at line 34 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONTriggerElectronics::ModifiedLocalResponse(), and AliMUONTriggerCrateStore::ReadFromFile().
|
inline |
Set LUT.
Definition at line 32 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONTriggerCrateStore::ReadFromFile().
|
inlinevirtual |
Set XY.
Definition at line 66 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONTriggerElectronics::Feed(), and AliMUONTriggerElectronics::ModifiedLocalResponse().
|
inlinevirtual |
Set XYD.
Definition at line 89 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONTriggerElectronics::FeedCopyNeighbours(), and AliMUONTriggerElectronics::ModifiedLocalResponse().
|
inlinevirtual |
Set XYU.
Definition at line 83 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONTriggerElectronics::FeedCopyNeighbours(), and AliMUONTriggerElectronics::ModifiedLocalResponse().
|
virtual |
returns minimun between dev1 and dev2
Definition at line 828 of file AliMUONLocalTriggerBoard.cxx.
Referenced by TrigX().
|
inlinevirtual |
Return info if Board has triggered.
Definition at line 101 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONTriggerElectronics::ModifiedLocalResponse().
|
virtual |
note : coinc44 = flag 0 or 1 (0 coincidence -> 3/4, 1 coincidence -> 4/4)
------------------------------------------------------—
Definition at line 464 of file AliMUONLocalTriggerBoard.cxx.
Referenced by Response().
|
virtual |
note : resMid = 1 -> cancel
------------------------------------------------------—
Definition at line 853 of file AliMUONLocalTriggerBoard.cxx.
Referenced by Response().
|
private |
Coinc 44 (0/1 = coinc34/coinc44)
Definition at line 160 of file AliMUONLocalTriggerBoard.h.
Referenced by operator=(), Resp(), SetCoinc44(), TrigX(), and TrigY().
|
private |
Y (from algo)
Definition at line 157 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONLocalTriggerBoard(), IsTrigY(), LocalTrigger(), operator=(), ResetResponse(), Resp(), Response(), and TrigY().
|
private |
X deviation as in table 3-1 of Local Trigger Board PRR.
Definition at line 147 of file AliMUONLocalTriggerBoard.h.
Referenced by GetDev(), LocalTrigger(), operator=(), ResetResponse(), and Resp().
|
staticprotected |
old numbering (to be removed)
Definition at line 129 of file AliMUONLocalTriggerBoard.h.
|
private |
! Pointer to trigger LUT, that we do not own.
Definition at line 159 of file AliMUONLocalTriggerBoard.h.
Referenced by HasLUT(), LocalTrigger(), operator=(), and SetLUT().
|
private |
High Pt cuts estimated from LUT.
Definition at line 151 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONLocalTriggerBoard(), LocalTrigger(), operator=(), ResetResponse(), and Resp().
|
private |
Low Pt cuts estimated from LUT.
Definition at line 150 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONLocalTriggerBoard(), LocalTrigger(), operator=(), ResetResponse(), and Resp().
|
private |
Mask.
Definition at line 141 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONLocalTriggerBoard(), Mask(), operator=(), and SetbitM().
|
private |
Dev (from algo)
Definition at line 156 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONLocalTriggerBoard(), GetSdev(), IsTrigX(), LocalTrigger(), operator=(), ResetResponse(), Resp(), Response(), and TrigX().
|
private |
X (from algo)
Definition at line 155 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONLocalTriggerBoard(), LocalTrigger(), operator=(), ResetResponse(), Resp(), and TrigX().
|
private |
pointer to the local board mapping
Definition at line 136 of file AliMUONLocalTriggerBoard.h.
Referenced by GetCrate(), GetNumber(), GetSwitch(), GetTC(), IsNotified(), and operator=().
|
private |
Board has triggered.
Definition at line 154 of file AliMUONLocalTriggerBoard.h.
Referenced by LocalTrigger(), operator=(), ResetResponse(), Resp(), and Triggered().
|
private |
MT1 X position of the valid road.
Definition at line 143 of file AliMUONLocalTriggerBoard.h.
Referenced by GetStripX11(), LocalTrigger(), operator=(), ResetResponse(), and Resp().
|
private |
MT1 Y position of the valid road.
Definition at line 145 of file AliMUONLocalTriggerBoard.h.
Referenced by GetStripY11(), LocalTrigger(), operator=(), ResetResponse(), and Resp().
|
private |
Trigger in Y.
Definition at line 148 of file AliMUONLocalTriggerBoard.h.
Referenced by GetTrigY(), LocalTrigger(), operator=(), ResetResponse(), and Resp().
|
private |
Bit pattern.
Definition at line 138 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONLocalTriggerBoard(), BP(), GetXY(), IsNull(), operator=(), Reset(), Response(), SetbitM(), and SetXY().
|
private |
Bit pattern DOWN.
Definition at line 140 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONLocalTriggerBoard(), BP(), GetXYD(), operator=(), Reset(), Response(), and SetXYD().
|
private |
Bit pattern UP.
Definition at line 139 of file AliMUONLocalTriggerBoard.h.
Referenced by AliMUONLocalTriggerBoard(), BP(), GetXYU(), operator=(), Reset(), Response(), and SetXYU().