![]() |
AliRoot Core
3abf5b4 (3abf5b4)
|
Global trigger board. More...
#include <AliMUONGlobalTriggerBoard.h>
Public Member Functions | |
AliMUONGlobalTriggerBoard () | |
AliMUONGlobalTriggerBoard (const char *name, Int_t a) | |
virtual | ~AliMUONGlobalTriggerBoard () |
virtual void | SetRegionalResponse (UShort_t resp[16]) |
Set regional board responses. More... | |
virtual void | Response () |
virtual method for derivated classes More... | |
virtual UShort_t | Algo (UShort_t i, UShort_t j, const char *thres) |
response of the algorithm More... | |
virtual void | Reset () |
Reset regional board responses. More... | |
virtual void | Scan (Option_t *option) const |
scan response of regional boards More... | |
virtual void | Resp (Option_t *) const |
Dummy implementation. More... | |
void | Mask (Int_t index, UInt_t mask) |
Set mask for global input (from regional boards) More... | |
void | BuildGlobalInput () |
Build the 4 words (32bits) global input. More... | |
void | MaskGlobalInput () |
Apply masks to global input. More... | |
UInt_t * | GetGlobalInput () |
Global input 4 words (32bits) from regional responses. More... | |
void | RecomputeRegional (UInt_t globalInput[4]) |
![]() | |
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) |
Private Member Functions | |
UShort_t | InvertPairBits (Int_t iReg) |
Private Attributes | |
UShort_t | fRegionalResponse [16] |
Regional board responses. More... | |
UInt_t | fGlobalInput [4] |
Global input. More... | |
UInt_t | fMask [4] |
Mask for the global input. More... | |
Additional Inherited Members | |
![]() | |
Int_t | fSlot |
SLOT NUMBER IN CRATE. More... | |
UShort_t | fResponse |
RESPONSE. More... | |
Global trigger board.
Global trigger implementation:
Definition at line 16 of file AliMUONGlobalTriggerBoard.h.
AliMUONGlobalTriggerBoard::AliMUONGlobalTriggerBoard | ( | ) |
Default constructor
Definition at line 40 of file AliMUONGlobalTriggerBoard.cxx.
AliMUONGlobalTriggerBoard::AliMUONGlobalTriggerBoard | ( | const char * | name, |
Int_t | a | ||
) |
Standard constructor
Definition at line 50 of file AliMUONGlobalTriggerBoard.cxx.
|
virtual |
Destructor
Definition at line 60 of file AliMUONGlobalTriggerBoard.cxx.
|
virtual |
response of the algorithm
global trigger algorithm a ,b = reg response = Hpt (+|-|us|ls) | Lpt (+|-|us|ls)
Definition at line 142 of file AliMUONGlobalTriggerBoard.cxx.
Referenced by Response().
void AliMUONGlobalTriggerBoard::BuildGlobalInput | ( | ) |
Build the 4 words (32bits) global input.
build the 4 words (32bits) global input from the regional responses the order of regional responses is: 1R, 2R, 2-3R, 3R, 4R, 5R, 6R, 7R, 1L, 2L, 2-3L, 3L, 4L, 5L, 6L, 7L
Definition at line 195 of file AliMUONGlobalTriggerBoard.cxx.
Referenced by Response().
|
inline |
Global input 4 words (32bits) from regional responses.
Definition at line 49 of file AliMUONGlobalTriggerBoard.h.
Referenced by AliMUONTriggerElectronics::Digits2Trigger().
|
private |
invert "pair" bits in regional response [+, -, US, LS] becomes [+, -, LS, US]
Definition at line 301 of file AliMUONGlobalTriggerBoard.cxx.
Referenced by BuildGlobalInput(), and RecomputeRegional().
void AliMUONGlobalTriggerBoard::Mask | ( | Int_t | index, |
UInt_t | mask | ||
) |
Set mask for global input (from regional boards)
mask global trigger board input index with value mask
Definition at line 66 of file AliMUONGlobalTriggerBoard.cxx.
Referenced by AliMUONTriggerElectronics::LoadMasks(), AliMUONTriggerQADataMakerRec::RawTriggerInGlobal2OutGlobal(), and ReCalcGlobalTrigger().
void AliMUONGlobalTriggerBoard::MaskGlobalInput | ( | ) |
Apply masks to global input.
Apply masks to global input and recalculate regional inputs before applying the global response
Definition at line 225 of file AliMUONGlobalTriggerBoard.cxx.
Referenced by Response().
void AliMUONGlobalTriggerBoard::RecomputeRegional | ( | UInt_t | globalInput[4] | ) |
Recomput regional response from global input
Definition at line 241 of file AliMUONGlobalTriggerBoard.cxx.
Referenced by MaskGlobalInput(), and AliMUONTriggerQADataMakerRec::RawTriggerInGlobal2OutGlobal().
|
inlinevirtual |
Reset regional board responses.
Implements AliMUONTriggerBoard.
Definition at line 33 of file AliMUONGlobalTriggerBoard.h.
Referenced by AliMUONTriggerQADataMakerRec::RawTriggerInGlobal2OutGlobal(), and ReCalcGlobalTrigger().
|
inlinevirtual |
Dummy implementation.
Implements AliMUONTriggerBoard.
Definition at line 39 of file AliMUONGlobalTriggerBoard.h.
|
virtual |
virtual method for derivated classes
compute the global trigger board response according to the algo() method
Implements AliMUONTriggerBoard.
Definition at line 80 of file AliMUONGlobalTriggerBoard.cxx.
Referenced by AliMUONTriggerElectronics::GlobalResponse(), AliMUONTriggerQADataMakerRec::RawTriggerInGlobal2OutGlobal(), and ReCalcGlobalTrigger().
|
virtual |
scan response of regional boards
print global trigger output
Implements AliMUONTriggerBoard.
Definition at line 265 of file AliMUONGlobalTriggerBoard.cxx.
Referenced by ReCalcGlobalTrigger().
|
inlinevirtual |
Set regional board responses.
Definition at line 25 of file AliMUONGlobalTriggerBoard.h.
Referenced by AliMUONTriggerElectronics::GlobalResponse(), and ReCalcGlobalTrigger().
|
private |
Global input.
Definition at line 58 of file AliMUONGlobalTriggerBoard.h.
Referenced by AliMUONGlobalTriggerBoard(), BuildGlobalInput(), GetGlobalInput(), and MaskGlobalInput().
|
private |
Mask for the global input.
Definition at line 59 of file AliMUONGlobalTriggerBoard.h.
Referenced by AliMUONGlobalTriggerBoard(), Mask(), and MaskGlobalInput().
|
private |
Regional board responses.
Definition at line 57 of file AliMUONGlobalTriggerBoard.h.
Referenced by AliMUONGlobalTriggerBoard(), InvertPairBits(), RecomputeRegional(), Reset(), Response(), and SetRegionalResponse().