![]() |
AliPhysics
de71be2 (de71be2)
|
Kernel of the EMCAL trigger patch makerThe trigger maker kernel contains the core functionality of the trigger maker: More...
#include <AliEmcalTriggerMakerKernel.h>
Public Member Functions | |
AliEmcalTriggerMakerKernel () | |
virtual | ~AliEmcalTriggerMakerKernel () |
void | Init () |
TObjArray * | CreateTriggerPatches (const AliVEvent *inputevent, Bool_t useL0amp=kFALSE) |
void | SetTriggerThresholdJetLow (Int_t a, Int_t b, Int_t c) |
void | SetTriggerThresholdJetHigh (Int_t a, Int_t b, Int_t c) |
void | SetTriggerThresholdGammaLow (Int_t a, Int_t b, Int_t c) |
void | SetTriggerThresholdGammaHigh (Int_t a, Int_t b, Int_t c) |
void | SetBackgroundThreshold (Int_t t) |
void | SetL0Threshold (Int_t t) |
void | SetJetPatchsize (Int_t patchsize) |
void | SetIsMC (Bool_t isMC) |
void | SetGeometry (const AliEMCALGeometry *const geo) |
void | SetTriggerBitConfig (const AliEMCALTriggerBitConfig *const config) |
void | Reset () |
void | ReadTriggerData (AliVCaloTrigger *trigger) |
void | ReadCellData (AliVCaloCells *cells) |
void | BuildL1ThresholdsOffline (const AliVVZERO *vzdata) |
Protected Types | |
enum | { kColsEta = 48 } |
Protected Member Functions | |
Bool_t | CheckForL0 (Int_t col, Int_t row) const |
AliEMCALTriggerAlgorithm < double > * | CreateGammaTriggerAlgorithm (Int_t rowmin, Int_t rowmax) const |
AliEMCALTriggerAlgorithm < double > * | CreateJetTriggerAlgorithm (Int_t rowmin, Int_t rowmax) const |
AliEMCALTriggerAlgorithm < double > * | CreateBkgTriggerAlgorithm (Int_t rowmin, Int_t rowmax) const |
Bool_t | IsGammaPatch (const AliEMCALTriggerRawPatch &patch) const |
Bool_t | IsJetPatch (const AliEMCALTriggerRawPatch &patch) const |
Bool_t | IsBkgPatch (const AliEMCALTriggerRawPatch &patch) const |
Protected Attributes | |
AliEMCALTriggerChannelContainer | fBadChannels |
Container of bad channels. More... | |
const AliEMCALTriggerBitConfig * | fTriggerBitConfig |
Trigger bit configuration, aliroot-dependent. More... | |
const AliEMCALGeometry * | fGeometry |
! Underlying EMCAL geometry More... | |
AliEMCALTriggerDataGrid< double > * | fPatchAmplitudes |
! TRU Amplitudes (for L0) More... | |
AliEMCALTriggerDataGrid< double > * | fPatchADCSimple |
! patch map for simple offline trigger More... | |
AliEMCALTriggerDataGrid< double > * | fPatchADC |
! ADC values map More... | |
AliEMCALTriggerDataGrid< char > * | fLevel0TimeMap |
! Map needed to store the level0 times More... | |
AliEMCALTriggerDataGrid< int > * | fTriggerBitMap |
! Map of trigger bits More... | |
AliEMCALTriggerPatchFinder < double > * | fPatchFinder |
! The actual patch finder More... | |
AliEMCALTriggerAlgorithm < double > * | fLevel0PatchFinder |
! Patch finder for Level0 patches More... | |
Double_t | fADCtoGeV |
! Conversion factor from ADC to GeV More... | |
Int_t | fJetPatchsize |
Size of a jet patch. More... | |
Int_t | fThresholdConstants [4][3] |
simple offline trigger thresholds constants More... | |
ULong64_t | fL1ThresholdsOffline [4] |
container for V0-dependent offline thresholds More... | |
Int_t | fBkgThreshold |
threshold for the background patches (8x8) More... | |
Int_t | fL0Threshold |
threshold for the L0 patches (2x2) More... | |
Bool_t | fIsMC |
Set MC offset. More... | |
Int_t | fDebugLevel |
Debug lebel;. More... | |
Kernel of the EMCAL trigger patch maker
The trigger maker kernel contains the core functionality of the trigger maker:
Definition at line 41 of file AliEmcalTriggerMakerKernel.h.
|
protected |
Enumerator | |
---|---|
kColsEta |
Definition at line 133 of file AliEmcalTriggerMakerKernel.h.
AliEmcalTriggerMakerKernel::AliEmcalTriggerMakerKernel | ( | ) |
Constructor
Definition at line 42 of file AliEmcalTriggerMakerKernel.cxx.
|
virtual |
Destructor
Definition at line 65 of file AliEmcalTriggerMakerKernel.cxx.
void AliEmcalTriggerMakerKernel::BuildL1ThresholdsOffline | ( | const AliVVZERO * | vzdata | ) |
Build VZERO-dependent thresholds for the offline trigger
vzdata | VERO charges |
Definition at line 190 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::Run().
|
protected |
Accept trigger patch as Level0 patch. Level0 patches are identified as 2x2 FASTOR patches in the same TRU
trg | Triggers object with the pointer set to the patch to inspect |
Definition at line 296 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by CreateTriggerPatches().
|
protected |
Create trigger algorithm for jet triggers
rowmin | Minimum row the trigger algorithm operates on |
rowmax | Maximum row the trigger algorithm operates on |
Definition at line 341 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by Init().
|
protected |
Create trigger algorithm for gamma triggers
rowmin | Minimum row the trigger algorithm operates on |
rowmax | Maximum row the trigger algorithm operates on |
Definition at line 325 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by Init().
|
protected |
Create trigger algorithm for jet triggers
rowmin | Minimum row the trigger algorithm operates on |
rowmax | Maximum row the trigger algorithm operates on |
Definition at line 333 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by Init().
TObjArray * AliEmcalTriggerMakerKernel::CreateTriggerPatches | ( | const AliVEvent * | inputevent, |
Bool_t | useL0amp = kFALSE |
||
) |
Run patch finders on input data. Patches are converted from raw patches into AliEMCALTriggerPatchInfo data. Trigger patches contain all information of the given category;
inputevent | Input ESD/AOD event, used for kinematics calculation |
Definition at line 202 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::Run().
void AliEmcalTriggerMakerKernel::Init | ( | ) |
Initialize the trigger maker Kernel:
Definition at line 76 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::ExecOnce().
|
protected |
Check from the bitmask whether the patch is a background patch
patch | Patch to check |
Definition at line 359 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by CreateTriggerPatches().
|
protected |
Check from the bitmask whether the patch is a gamma patch
patch | Patch to check |
Definition at line 349 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by CreateTriggerPatches().
|
protected |
Check from the bitmask whether the patch is a jet patch
patch | Patch to check |
Definition at line 354 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by CreateTriggerPatches().
void AliEmcalTriggerMakerKernel::ReadCellData | ( | AliVCaloCells * | cells | ) |
Read the EMCAL cell data
cells | EMCAL cell data |
Definition at line 173 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::Run().
void AliEmcalTriggerMakerKernel::ReadTriggerData | ( | AliVCaloTrigger * | trigger | ) |
Read the calo trigger data
trigger | Input calo trigger data |
Definition at line 131 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::Run().
void AliEmcalTriggerMakerKernel::Reset | ( | ) |
Reset data grids
Definition at line 122 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::Run().
|
inline |
Definition at line 84 of file AliEmcalTriggerMakerKernel.h.
|
inline |
Provide the EMCAL geometry to the trigger maker Kernel
geo |
Definition at line 101 of file AliEmcalTriggerMakerKernel.h.
Referenced by AliEmcalTriggerMakerTask::ExecOnce().
|
inline |
Define whether running on MC or not (for offset)
isMC | Flag for MC |
Definition at line 95 of file AliEmcalTriggerMakerKernel.h.
Referenced by AliEmcalTriggerMakerTask::Run().
|
inline |
Set the size of jet patches
patchsize | Size of jet patches |
Definition at line 90 of file AliEmcalTriggerMakerKernel.h.
Referenced by AliEmcalTriggerMakerTask::ExecOnce().
|
inline |
Definition at line 85 of file AliEmcalTriggerMakerKernel.h.
|
inline |
Set the trigger bit configuration applied for the given data set
config | Trigger bit config applied |
Definition at line 107 of file AliEmcalTriggerMakerKernel.h.
Referenced by AliEmcalTriggerMakerTask::ExecOnce().
|
inline |
Definition at line 83 of file AliEmcalTriggerMakerKernel.h.
Referenced by AliEmcalTriggerMakerTask::SetTriggerThresholdGammaHigh().
|
inline |
Definition at line 82 of file AliEmcalTriggerMakerKernel.h.
Referenced by AliEmcalTriggerMakerTask::SetTriggerThresholdGammaLow().
|
inline |
Definition at line 81 of file AliEmcalTriggerMakerKernel.h.
Referenced by AliEmcalTriggerMakerTask::SetTriggerThresholdJetHigh().
|
inline |
Definition at line 80 of file AliEmcalTriggerMakerKernel.h.
Referenced by AliEmcalTriggerMakerTask::SetTriggerThresholdJetLow().
|
protected |
! Conversion factor from ADC to GeV
Definition at line 199 of file AliEmcalTriggerMakerKernel.h.
Referenced by CreateTriggerPatches(), and ReadCellData().
|
protected |
Container of bad channels.
Definition at line 186 of file AliEmcalTriggerMakerKernel.h.
Referenced by ReadTriggerData().
|
protected |
threshold for the background patches (8x8)
Definition at line 204 of file AliEmcalTriggerMakerKernel.h.
Referenced by CreateTriggerPatches(), and SetBackgroundThreshold().
|
protected |
Debug lebel;.
Definition at line 207 of file AliEmcalTriggerMakerKernel.h.
|
protected |
! Underlying EMCAL geometry
Definition at line 188 of file AliEmcalTriggerMakerKernel.h.
Referenced by CheckForL0(), CreateTriggerPatches(), Init(), ReadCellData(), and SetGeometry().
|
protected |
Set MC offset.
Definition at line 206 of file AliEmcalTriggerMakerKernel.h.
Referenced by CreateTriggerPatches(), and SetIsMC().
|
protected |
Size of a jet patch.
Definition at line 201 of file AliEmcalTriggerMakerKernel.h.
Referenced by CreateJetTriggerAlgorithm(), Init(), and SetJetPatchsize().
|
protected |
threshold for the L0 patches (2x2)
Definition at line 205 of file AliEmcalTriggerMakerKernel.h.
Referenced by CreateTriggerPatches(), and SetL0Threshold().
|
protected |
container for V0-dependent offline thresholds
Definition at line 203 of file AliEmcalTriggerMakerKernel.h.
Referenced by BuildL1ThresholdsOffline(), CreateTriggerPatches(), and Reset().
|
protected |
! Patch finder for Level0 patches
Definition at line 197 of file AliEmcalTriggerMakerKernel.h.
Referenced by CreateTriggerPatches(), Init(), and ~AliEmcalTriggerMakerKernel().
|
protected |
! Map needed to store the level0 times
Definition at line 193 of file AliEmcalTriggerMakerKernel.h.
Referenced by Init(), Reset(), and ~AliEmcalTriggerMakerKernel().
|
protected |
! ADC values map
Definition at line 192 of file AliEmcalTriggerMakerKernel.h.
Referenced by CreateTriggerPatches(), Init(), Reset(), and ~AliEmcalTriggerMakerKernel().
|
protected |
! patch map for simple offline trigger
Definition at line 191 of file AliEmcalTriggerMakerKernel.h.
Referenced by CreateTriggerPatches(), Init(), Reset(), and ~AliEmcalTriggerMakerKernel().
|
protected |
! TRU Amplitudes (for L0)
Definition at line 190 of file AliEmcalTriggerMakerKernel.h.
Referenced by CreateTriggerPatches(), Init(), Reset(), and ~AliEmcalTriggerMakerKernel().
|
protected |
! The actual patch finder
Definition at line 196 of file AliEmcalTriggerMakerKernel.h.
Referenced by CreateTriggerPatches(), Init(), and ~AliEmcalTriggerMakerKernel().
|
protected |
simple offline trigger thresholds constants
Definition at line 202 of file AliEmcalTriggerMakerKernel.h.
Referenced by BuildL1ThresholdsOffline(), SetTriggerThresholdGammaHigh(), SetTriggerThresholdGammaLow(), SetTriggerThresholdJetHigh(), and SetTriggerThresholdJetLow().
|
protected |
Trigger bit configuration, aliroot-dependent.
Definition at line 187 of file AliEmcalTriggerMakerKernel.h.
Referenced by CreateBkgTriggerAlgorithm(), CreateGammaTriggerAlgorithm(), CreateJetTriggerAlgorithm(), CreateTriggerPatches(), Init(), IsBkgPatch(), IsGammaPatch(), IsJetPatch(), SetTriggerBitConfig(), and ~AliEmcalTriggerMakerKernel().
|
protected |
! Map of trigger bits
Definition at line 194 of file AliEmcalTriggerMakerKernel.h.
Referenced by Init(), Reset(), and ~AliEmcalTriggerMakerKernel().