![]() |
AliRoot Core
3dc7879 (3dc7879)
|
MUON trigger look up table class. More...
#include <AliMUONTriggerLut.h>
Public Member Functions | |
AliMUONTriggerLut () | |
virtual | ~AliMUONTriggerLut () |
Int_t | Compare (const TObject *object) const |
void | GetLutOutput (Int_t circuit, Int_t xstrip, Int_t idev, Int_t ystrip, Int_t lutLpt[2], Int_t lutHpt[2]) const |
void | ReadFromFile (const char *filename) |
void | SetContent (const char *hname, Int_t icirc, UChar_t istripX, UChar_t idev, Short_t value) |
void | SetLutCode (const UChar_t lutCode) |
void | PrintLutCode () |
Private Member Functions | |
AliMUONTriggerLut (const AliMUONTriggerLut &AliMUONTriggerLut) | |
Not implemented copy constructor. More... | |
AliMUONTriggerLut & | operator= (const AliMUONTriggerLut &AliMUONTriggerLut) |
Not implemented assignment operator. More... | |
void | Add (TH3 *h) |
Int_t | Compare (TH3 *h1, TH3 *h2) const |
Int_t | GetMask (Int_t ystrip) const |
void | RegisterHistos () |
Private Attributes | |
TH3 * | fLptPlus |
3-d histogram with 234x32x31 bins Low pt Plus More... | |
TH3 * | fLptMinu |
3-d histogram with 234x32x31 bins Low pt Minus More... | |
TH3 * | fLptUnde |
3-d histogram with 234x32x31 bins Low pt Undefined More... | |
TH3 * | fHptPlus |
3-d histogram with 234x32x31 bins High pt Plus More... | |
TH3 * | fHptMinu |
3-d histogram with 234x32x31 bins High pt Minus More... | |
TH3 * | fHptUnde |
3-d histogram with 234x32x31 bins High pt Undefined More... | |
TH3 * | fAptPlus |
3-d histogram with 234x32x31 bins All pt Plus More... | |
TH3 * | fAptMinu |
3-d histogram with 234x32x31 bins All pt Minus More... | |
TH3 * | fAptUnde |
3-d histogram with 234x32x31 bins All pt Undefined More... | |
TMap * | fMap |
! from name to histo More... | |
MUON trigger look up table class.
Local Trigger Look Up Table reading interface LUT data is stored into TH3S histograms and readout from the Local Trigger algorithm
Histograms structure is : X 234 bins, 1 to 235 = local board number Y 31 bins, 0 to 31 = x strip Z 31 bins, 0 to 31 = x deviation content = Short_t = y strip mask
overflow bin is used !
Definition at line 21 of file AliMUONTriggerLut.h.
AliMUONTriggerLut::AliMUONTriggerLut | ( | ) |
ctor
Definition at line 50 of file AliMUONTriggerLut.cxx.
|
virtual |
Destructor
Definition at line 67 of file AliMUONTriggerLut.cxx.
|
private |
Not implemented copy constructor.
|
private |
Update internal map
Definition at line 210 of file AliMUONTriggerLut.cxx.
Referenced by RegisterHistos().
Int_t AliMUONTriggerLut::Compare | ( | const TObject * | object | ) | const |
Return 0 if the two luts are strictly equal
Definition at line 117 of file AliMUONTriggerLut.cxx.
|
private |
Return 0 if both histograms are strictly equal (at the bin-by-bin level)
Definition at line 85 of file AliMUONTriggerLut.cxx.
void AliMUONTriggerLut::GetLutOutput | ( | Int_t | circuit, |
Int_t | xstrip, | ||
Int_t | idev, | ||
Int_t | ystrip, | ||
Int_t | lutLpt[2], | ||
Int_t | lutHpt[2] | ||
) | const |
Return output of LuT for corresponding TH3S
Definition at line 254 of file AliMUONTriggerLut.cxx.
Referenced by AliMUONLocalTriggerBoard::LocalTrigger(), and AliMUONTriggerIO::WriteLocalLUT().
|
private |
Return the mask corresponding to ystrip
Definition at line 312 of file AliMUONTriggerLut.cxx.
Referenced by GetLutOutput().
|
private |
Not implemented assignment operator.
void AliMUONTriggerLut::PrintLutCode | ( | ) |
Print out the LUT code for the pair of cuts see AliMUONTriggerIO::ReadLUT for the definitions
Definition at line 337 of file AliMUONTriggerLut.cxx.
void AliMUONTriggerLut::ReadFromFile | ( | const char * | filename | ) |
Return output of LuT for corresponding TH3S
Definition at line 152 of file AliMUONTriggerLut.cxx.
Referenced by AliMUONCDB::MakeTriggerLUT().
|
private |
Add histos to our internal map
Definition at line 191 of file AliMUONTriggerLut.cxx.
Referenced by ReadFromFile(), and SetContent().
void AliMUONTriggerLut::SetContent | ( | const char * | hname, |
Int_t | icirc, | ||
UChar_t | istripX, | ||
UChar_t | idev, | ||
Short_t | value | ||
) |
Set the content of one bin of one histogram
Definition at line 224 of file AliMUONTriggerLut.cxx.
Referenced by AliMUONTriggerIO::FillLut().
void AliMUONTriggerLut::SetLutCode | ( | const UChar_t | lutCode | ) |
Set the LUT code for the pair of cuts see AliMUONTriggerIO::ReadLUT for the definitions
Definition at line 320 of file AliMUONTriggerLut.cxx.
Referenced by AliMUONTriggerIO::ReadLUT().
|
private |
3-d histogram with 234x32x31 bins All pt Minus
Definition at line 64 of file AliMUONTriggerLut.h.
Referenced by Compare(), ReadFromFile(), RegisterHistos(), SetContent(), and ~AliMUONTriggerLut().
|
private |
3-d histogram with 234x32x31 bins All pt Plus
Definition at line 63 of file AliMUONTriggerLut.h.
Referenced by Compare(), ReadFromFile(), RegisterHistos(), SetContent(), and ~AliMUONTriggerLut().
|
private |
3-d histogram with 234x32x31 bins All pt Undefined
Definition at line 65 of file AliMUONTriggerLut.h.
Referenced by Compare(), ReadFromFile(), RegisterHistos(), SetContent(), and ~AliMUONTriggerLut().
|
private |
3-d histogram with 234x32x31 bins High pt Minus
Definition at line 61 of file AliMUONTriggerLut.h.
Referenced by Compare(), GetLutOutput(), ReadFromFile(), RegisterHistos(), SetContent(), and ~AliMUONTriggerLut().
|
private |
3-d histogram with 234x32x31 bins High pt Plus
Definition at line 60 of file AliMUONTriggerLut.h.
Referenced by Compare(), GetLutOutput(), ReadFromFile(), RegisterHistos(), SetContent(), and ~AliMUONTriggerLut().
|
private |
3-d histogram with 234x32x31 bins High pt Undefined
Definition at line 62 of file AliMUONTriggerLut.h.
Referenced by Compare(), GetLutOutput(), ReadFromFile(), RegisterHistos(), SetContent(), and ~AliMUONTriggerLut().
|
private |
3-d histogram with 234x32x31 bins Low pt Minus
Definition at line 58 of file AliMUONTriggerLut.h.
Referenced by Compare(), GetLutOutput(), ReadFromFile(), RegisterHistos(), SetContent(), and ~AliMUONTriggerLut().
|
private |
3-d histogram with 234x32x31 bins Low pt Plus
Definition at line 57 of file AliMUONTriggerLut.h.
Referenced by Compare(), GetLutOutput(), PrintLutCode(), ReadFromFile(), RegisterHistos(), SetContent(), and ~AliMUONTriggerLut().
|
private |
3-d histogram with 234x32x31 bins Low pt Undefined
Definition at line 59 of file AliMUONTriggerLut.h.
Referenced by Compare(), GetLutOutput(), ReadFromFile(), RegisterHistos(), SetContent(), and ~AliMUONTriggerLut().
|
private |
! from name to histo
Definition at line 67 of file AliMUONTriggerLut.h.
Referenced by Add(), SetContent(), SetLutCode(), and ~AliMUONTriggerLut().