![]() |
AliPhysics
4c9ecbb (4c9ecbb)
|
Kernel of the EMCAL trigger patch maker. More...
#include <AliEmcalTriggerMakerKernel.h>
Public Types | |
enum | ELevel0TriggerStatus_t { kNotLevel0, kLevel0Candidate, kLevel0Fired } |
Public Member Functions | |
AliEmcalTriggerMakerKernel () | |
Constructor. More... | |
virtual | ~AliEmcalTriggerMakerKernel () |
Destructor. More... | |
void | Init () |
Initialize the trigger maker Kernel. More... | |
void | CreateTriggerPatches (const AliVEvent *inputevent, std::vector< AliEMCALTriggerPatchInfo > &outputcont, Bool_t useL0amp=kFALSE) |
Run patch finders on input data. More... | |
const std::set< Short_t > & | GetListOfBadFastORAbsIDs () const |
Get the list of online masked FastOR's used in the trigger maker. More... | |
const std::set< Short_t > & | GetListOfOfflineBadCellAbsIDs () const |
Get the list of bad cells used when calculating offline patch energy. More... | |
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) |
double | GetL0TriggerChannelAmplitude (Int_t col, Int_t row) const |
Get L0 amplitude of a given trigger channel (in col-row space) More... | |
double | GetTriggerChannelADC (Int_t col, Int_t row) const |
Get ADC value of a given trigger channel (in col-row space) More... | |
double | GetTriggerChannelEnergyRough (Int_t col, Int_t row) const |
Get estimated energy of the trigger channel based on ADC measurement (in col-row space) More... | |
double | GetTriggerChannelADCSimple (Int_t col, Int_t row) const |
Get ADC value of trigger channel estimated from cell energies. More... | |
double | GetTriggerChannelEnergy (Int_t col, Int_t row) const |
Get energy of the trigger channel estimated from cells (in col-row space) More... | |
double | GetTriggerChannelEnergySmeared (Int_t col, Int_t row) const |
Get (simulated) smeared energy of a trigger channel estimated based on the measured energy from cells (in col-row space) More... | |
double | GetDataGridDimensionRows () const |
Get the dimension of the underlying data grids in row direction. More... | |
void | SetIsMC (Bool_t isMC) |
Define whether running on MC or not (for offset) More... | |
void | SetGeometry (const AliEMCALGeometry *const geo) |
Provide the EMCAL geometry to the trigger maker Kernel. More... | |
void | SetTriggerBitConfig (const AliEMCALTriggerBitConfig *const config) |
Set the trigger bit configuration applied for the given data set. More... | |
void | SetL0TimeRange (Int_t min, Int_t max) |
Set range for L0 time. More... | |
void | SetFastORandCellThresholds (Int_t l0, Int_t l1, Int_t cell) |
Set thresholds applied to FastORs and offline cells before patch reconstruction. More... | |
void | SetL1ADCtoGeVConversion (Double_t conversionfactor) |
Set conversion between ADC counts and energy in GeV. More... | |
void | AddFastORBadChannel (Short_t absId) |
Add a FastOR bad channel to the list. More... | |
void | ReadFastORBadChannelFromStream (std::istream &stream) |
Read the FastOR bad channel map from a standard stream. More... | |
void | ClearFastORBadChannels () |
Clear FastOR bad channel list. More... | |
void | ReadFastORBadChannelFromFile (const char *fname) |
Read the FastOR bad channel map from a text file. More... | |
void | AddOfflineBadChannel (Short_t absId) |
Add an offline bad channel to the set. More... | |
void | ReadOfflineBadChannelFromStream (std::istream &stream) |
Read the offline bad channel map from a standard stream. More... | |
void | ReadOfflineBadChannelFromFile (const char *fname) |
Read the offline bad channel map from a text file. More... | |
void | ClearOfflineBadChannels () |
Clear offline bad channel list. More... | |
void | ReadFastORPedestalFromStream (std::istream &stream) |
Read the FastOR pedestals from a standard stream. More... | |
void | ReadFastORPedestalFromFile (const char *fname) |
Read the FastOR pedestals from a text file. More... | |
void | SetFastORPedestal (Short_t absId, Float_t ped) |
Set the pedestal value for a FastOR. More... | |
void | ResetFastORPedestal () |
Reset the FastOR pedestal array. More... | |
void | SetMaxAbsCellTime (Double_t maxCellTime) |
Set symmmetric limit of the cell time allowed to accept the cell contributing to cell offline energy / offline patches. More... | |
void | SetAcceptCellTimeRange (Double_t minCellTime, Double_t maxCellTime) |
Set symmmetric limit of the cell time allowed to accept the cell contributing to cell offline energy / offline patches. More... | |
void | SetLowerCellTimeCut (Double_t minCellTime) |
Set lower cut on the cell time allowed to accept the cell contributing to cell offline energy / offline patches. More... | |
void | SetUpperCellTimeCut (Double_t maxCellTime) |
Set upper cut on the cell time allowed to accept the cell contributing to cell offline energy / offline patches. More... | |
void | SetMinFEEAmplitude (Double_t minamp) |
Set cut on the minimum cell amplitude. More... | |
void | SetApplyOnlineBadChannelMaskingToOffline (Bool_t doApply=kTRUE) |
Apply online bad channel masking to offline channel energies. This means that cell energies in cells within FastOrs that are masked online are ignored. By applying this the online trigger acceptance can be applied to offline patches as well. More... | |
void | Reset () |
Reset all data grids and VZERO-dependent L1 thresholds. More... | |
void | ReadTriggerData (AliVCaloTrigger *trigger) |
Read the calo trigger data. More... | |
void | ReadCellData (AliVCaloCells *cells) |
Read the EMCAL cell data. More... | |
void | BuildL1ThresholdsOffline (const AliVVZERO *vzdata) |
Build VZERO-dependent thresholds for the offline trigger. More... | |
void | AddL1TriggerAlgorithm (Int_t rowmin, Int_t rowmax, UInt_t bitmask, Int_t patchSize, Int_t subregionSize) |
void | SetL0TriggerAlgorithm (Int_t rowmin, Int_t rowmax, UInt_t bitmask, Int_t patchSize, Int_t subregionSize) |
Set the L0 algorithm. More... | |
void | SetSmearModel (TF1 *mean, TF1 *width) |
Set energy-dependent models for gaussian energy smearing. More... | |
void | SetSmearThreshold (Double_t threshold) |
Set the energy threshold for smearing. More... | |
Bool_t | IsConfigured () const |
void | ConfigureForPbPb2015 () |
Configure the class for 2015 PbPb. More... | |
void | ConfigureForPP2015 () |
Configure the class for 2015 pp. More... | |
void | ConfigureForPP20158x8 () |
Configure the class for 2015 pp. More... | |
void | ConfigureForPPb2013 () |
Configure the class for 2013 pPb. More... | |
void | ConfigureForPP2012 () |
Configure the class for 2012 pp. More... | |
void | ConfigureForPbPb2011 () |
Configure the class for 2011 PbPb. More... | |
void | ConfigureForPP2011 () |
Configure the class for 2011 pp. More... | |
Protected Types | |
enum | { kColsEta = 48 } |
Protected Member Functions | |
ELevel0TriggerStatus_t | CheckForL0 (Int_t col, Int_t row) const |
Accept trigger patch as Level0 patch. More... | |
Bool_t | IsGammaPatch (const AliEMCALTriggerRawPatch &patch) const |
Check from the bitmask whether the patch is a gamma patch. More... | |
Bool_t | IsJetPatch (const AliEMCALTriggerRawPatch &patch) const |
Check from the bitmask whether the patch is a jet patch. More... | |
Bool_t | IsBkgPatch (const AliEMCALTriggerRawPatch &patch) const |
Check from the bitmask whether the patch is a background patch. More... | |
bool | HasPHOSOverlap (const AliEMCALTriggerRawPatch &patch) const |
Protected Attributes | |
std::set< Short_t > | fBadChannels |
Container of bad channels. More... | |
std::set< Short_t > | fOfflineBadChannels |
Abd ID of offline bad channels. More... | |
TArrayF | fFastORPedestal |
FastOR pedestal. More... | |
const AliEMCALTriggerBitConfig * | fTriggerBitConfig |
Trigger bit configuration, aliroot-dependent. More... | |
AliEMCALTriggerPatchFinder< double > * | fPatchFinder |
The actual patch finder. More... | |
AliEMCALTriggerAlgorithm< double > * | fLevel0PatchFinder |
Patch finder for Level0 patches. More... | |
Int_t | fL0MinTime |
Minimum L0 time. More... | |
Int_t | fL0MaxTime |
Maximum L0 time. More... | |
Int_t | fMinCellAmp |
Minimum offline amplitude of the cells used to generate the patches. More... | |
Int_t | fMinL0FastORAmp |
Minimum L0 amplitude of the FastORs used to generate the patches. More... | |
Int_t | fMinL1FastORAmp |
Minimum L1 amplitude of the FastORs used to generate the patches. 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... | |
Double_t | fCellTimeLimits [2] |
Maximum allowed abs cell time (default [0] = - 10000, [1] = 10000) More... | |
Double_t | fMinCellAmplitude |
Minimum amplitude in cell required to be considered for filling the data grid. More... | |
Bool_t | fApplyOnlineBadChannelsToOffline |
Apply online bad channels to offline ADC values. More... | |
Bool_t | fConfigured |
Switch specifying whether the trigger maker kernel has been configured for a given data set. More... | |
TF1 * | fSmearModelMean |
Smearing parameterization for the mean. More... | |
TF1 * | fSmearModelSigma |
Smearing parameterization for the width. More... | |
Double_t | fSmearThreshold |
Smear threshold: Only cell energies above threshold are smeared. 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< double > * | fPatchEnergySimpleSmeared |
! Data grid for smeared energy values from cell energies More... | |
AliEMCALTriggerDataGrid< char > * | fLevel0TimeMap |
! Map needed to store the level0 times More... | |
AliEMCALTriggerDataGrid< int > * | fTriggerBitMap |
! Map of trigger bits More... | |
Double_t | fADCtoGeV |
! Conversion factor from ADC to GeV More... | |
Kernel of the EMCAL trigger patch maker.
The trigger maker kernel contains the core functionality of the trigger maker:
Definition at line 50 of file AliEmcalTriggerMakerKernel.h.
|
protected |
Enumerator | |
---|---|
kColsEta |
Definition at line 434 of file AliEmcalTriggerMakerKernel.h.
Enumerator | |
---|---|
kNotLevel0 | |
kLevel0Candidate | |
kLevel0Fired |
Definition at line 53 of file AliEmcalTriggerMakerKernel.h.
AliEmcalTriggerMakerKernel::AliEmcalTriggerMakerKernel | ( | ) |
Constructor.
Definition at line 45 of file AliEmcalTriggerMakerKernel.cxx.
|
virtual |
Destructor.
Definition at line 83 of file AliEmcalTriggerMakerKernel.cxx.
|
inline |
Add a FastOR bad channel to the list.
[in] | absId | Absolute ID of the bad channel |
Definition at line 215 of file AliEmcalTriggerMakerKernel.h.
Referenced by AliEmcalTriggerMakerTask::InitializeFastORMaskingFromOADB(), AliEmcalTriggerMakerTask::InitializeFastORMaskingFromOCDB(), and ReadFastORBadChannelFromStream().
void AliEmcalTriggerMakerKernel::AddL1TriggerAlgorithm | ( | Int_t | rowmin, |
Int_t | rowmax, | ||
UInt_t | bitmask, | ||
Int_t | patchSize, | ||
Int_t | subregionSize | ||
) |
Add a L1 trigger algorithm
[in] | rowmin | Minimum row value |
[in] | rowmax | Maximum row value |
[in] | bitmask | Offline bit mask to be applied to the patches |
[in] | patchSize | Size of the patches |
[in] | subregionSize | Size of the sliding sub region |
Definition at line 124 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by ConfigureForPbPb2011(), ConfigureForPbPb2015(), ConfigureForPP2012(), ConfigureForPP2015(), ConfigureForPP20158x8(), and ConfigureForPPb2013().
|
inline |
Add an offline bad channel to the set.
[in] | absId | Absolute ID of the bad channel |
Definition at line 238 of file AliEmcalTriggerMakerKernel.h.
Referenced by AliEmcalTriggerMakerTask::InitializeBadFEEChannels(), and ReadOfflineBadChannelFromStream().
void AliEmcalTriggerMakerKernel::BuildL1ThresholdsOffline | ( | const AliVVZERO * | vzdata | ) |
Build VZERO-dependent thresholds for the offline trigger.
vzdata | VERO charges |
Definition at line 463 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
[in] | col | Starting coloumn of the patch |
[in] | row | Starting row of the patch |
Definition at line 660 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by CreateTriggerPatches().
void AliEmcalTriggerMakerKernel::ClearFastORBadChannels | ( | ) |
Clear FastOR bad channel list.
Definition at line 694 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::RunChanged().
void AliEmcalTriggerMakerKernel::ClearOfflineBadChannels | ( | ) |
Clear offline bad channel list.
Definition at line 698 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::InitializeBadFEEChannels(), and AliEmcalTriggerMakerTask::RunChanged().
void AliEmcalTriggerMakerKernel::ConfigureForPbPb2011 | ( | ) |
Configure the class for 2011 PbPb.
Definition at line 222 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::ExecOnce().
void AliEmcalTriggerMakerKernel::ConfigureForPbPb2015 | ( | ) |
Configure the class for 2015 PbPb.
Definition at line 141 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::ExecOnce().
void AliEmcalTriggerMakerKernel::ConfigureForPP2011 | ( | ) |
Configure the class for 2011 pp.
Definition at line 237 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::ExecOnce().
void AliEmcalTriggerMakerKernel::ConfigureForPP2012 | ( | ) |
Configure the class for 2012 pp.
Definition at line 207 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::ExecOnce().
void AliEmcalTriggerMakerKernel::ConfigureForPP2015 | ( | ) |
Configure the class for 2015 pp.
Definition at line 158 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::ExecOnce().
void AliEmcalTriggerMakerKernel::ConfigureForPP20158x8 | ( | ) |
Configure the class for 2015 pp.
Definition at line 175 of file AliEmcalTriggerMakerKernel.cxx.
void AliEmcalTriggerMakerKernel::ConfigureForPPb2013 | ( | ) |
Configure the class for 2013 pPb.
Definition at line 192 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::ExecOnce().
void AliEmcalTriggerMakerKernel::CreateTriggerPatches | ( | const AliVEvent * | inputevent, |
std::vector< AliEMCALTriggerPatchInfo > & | outputcont, | ||
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;
[in] | inputevent | Input ESD/AOD event, used for kinematics calculation |
[out] | output | container for reconstructed trigger patches |
[in] | useL0amp | if true the Level0 amplitude is used |
Definition at line 475 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::Run().
double AliEmcalTriggerMakerKernel::GetDataGridDimensionRows | ( | ) | const |
Get the dimension of the underlying data grids in row direction.
Definition at line 656 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::Run().
Get L0 amplitude of a given trigger channel (in col-row space)
[in] | col | Column of the trigger channel |
[in] | row | Row of the trigger channel |
Definition at line 594 of file AliEmcalTriggerMakerKernel.cxx.
|
inline |
Get the list of online masked FastOR's used in the trigger maker.
Definition at line 100 of file AliEmcalTriggerMakerKernel.h.
Referenced by AliEmcalTriggerMakerTask::RunChanged().
|
inline |
Get the list of bad cells used when calculating offline patch energy.
Bad cells were not masked at online level, instead they were determined by a calibration algorithm.
Definition at line 109 of file AliEmcalTriggerMakerKernel.h.
Get ADC value of a given trigger channel (in col-row space)
[in] | col | Column of the trigger channel |
[in] | row | Row of the trigger channel |
Definition at line 604 of file AliEmcalTriggerMakerKernel.cxx.
Get ADC value of trigger channel estimated from cell energies.
[in] | col | Column of the trigger channel |
[in] | row | Row of the trigger channel |
Definition at line 624 of file AliEmcalTriggerMakerKernel.cxx.
Get energy of the trigger channel estimated from cells (in col-row space)
[in] | col | Column of the trigger channel |
[in] | row | Row of the trigger channel |
Definition at line 634 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::Run().
Get estimated energy of the trigger channel based on ADC measurement (in col-row space)
[in] | col | Column of the trigger channel |
[in] | row | Row of the trigger channel |
Definition at line 614 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::Run().
Get (simulated) smeared energy of a trigger channel estimated based on the measured energy from cells (in col-row space)
[in] | col | Column of the trigger channel |
[in] | row | Row of the trigger channel |
Definition at line 644 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::Run().
|
protected |
Check according to geometrical cuts whether the patch has overlap with the PHOS region. Partial overlap is sufficient for this check.
[in] | patch | Patch to check |
Definition at line 723 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by CreateTriggerPatches().
void AliEmcalTriggerMakerKernel::Init | ( | ) |
Initialize the trigger maker Kernel.
Definition at line 95 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::ExecOnce().
|
protected |
Check from the bitmask whether the patch is a background patch.
[in] | patch | Patch to check |
Definition at line 712 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by CreateTriggerPatches().
|
inline |
Check whether the trigger maker has been specially configured. Status has to be set in the functions ConfigureForXX.
Definition at line 396 of file AliEmcalTriggerMakerKernel.h.
Referenced by AliEmcalTriggerMakerTask::ExecOnce(), and AliEmcalTriggerMakerTask::Run().
|
protected |
Check from the bitmask whether the patch is a gamma patch.
[in] | patch | Patch to check |
Definition at line 702 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by CreateTriggerPatches().
|
protected |
Check from the bitmask whether the patch is a jet patch.
[in] | patch | Patch to check |
Definition at line 707 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by CreateTriggerPatches().
void AliEmcalTriggerMakerKernel::ReadCellData | ( | AliVCaloCells * | cells | ) |
Read the EMCAL cell data.
Cell data are converted into ADC values and summed per FastOR. Cell data can be rejected
[in] | cells | EMCAL cell data |
Definition at line 403 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::Run().
void AliEmcalTriggerMakerKernel::ReadFastORBadChannelFromFile | ( | const char * | fname | ) |
Read the FastOR bad channel map from a text file.
[in] | fname | Path and name of the file |
Definition at line 276 of file AliEmcalTriggerMakerKernel.cxx.
void AliEmcalTriggerMakerKernel::ReadFastORBadChannelFromStream | ( | std::istream & | stream | ) |
Read the FastOR bad channel map from a standard stream.
[in] | stream | A reference to a standard stream to read from (can be a file stream) |
Definition at line 266 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by ReadFastORBadChannelFromFile().
void AliEmcalTriggerMakerKernel::ReadFastORPedestalFromFile | ( | const char * | fname | ) |
Read the FastOR pedestals from a text file.
[in] | fname | Path and name of the file |
Definition at line 302 of file AliEmcalTriggerMakerKernel.cxx.
void AliEmcalTriggerMakerKernel::ReadFastORPedestalFromStream | ( | std::istream & | stream | ) |
Read the FastOR pedestals from a standard stream.
[in] | stream | A reference to a standard stream to read from (can be a file stream) |
Definition at line 291 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by ReadFastORPedestalFromFile().
void AliEmcalTriggerMakerKernel::ReadOfflineBadChannelFromFile | ( | const char * | fname | ) |
Read the offline bad channel map from a text file.
[in] | fname | Path and name of the file |
Definition at line 260 of file AliEmcalTriggerMakerKernel.cxx.
void AliEmcalTriggerMakerKernel::ReadOfflineBadChannelFromStream | ( | std::istream & | stream | ) |
Read the offline bad channel map from a standard stream.
[in] | stream | A reference to a standard stream to read from (can be a file stream) |
Definition at line 250 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by ReadOfflineBadChannelFromFile().
void AliEmcalTriggerMakerKernel::ReadTriggerData | ( | AliVCaloTrigger * | trigger | ) |
Read the calo trigger data.
Filling the data grids for L0 and L1 amplitude. Amplitudes from FastORs which are masked are ignored.
[in] | trigger | Input calo trigger data |
Definition at line 318 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::Run().
void AliEmcalTriggerMakerKernel::Reset | ( | ) |
Reset all data grids and VZERO-dependent L1 thresholds.
Definition at line 308 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by AliEmcalTriggerMakerTask::Run().
|
inline |
Reset the FastOR pedestal array.
Definition at line 279 of file AliEmcalTriggerMakerKernel.h.
|
inline |
Set symmmetric limit of the cell time allowed to accept the cell contributing to cell offline energy / offline patches.
[in] | minCellTime | Minimum allowed cell time |
[in] | maxCellTime | Maximum allowed cell time |
Definition at line 292 of file AliEmcalTriggerMakerKernel.h.
|
inline |
Apply online bad channel masking to offline channel energies. This means that cell energies in cells within FastOrs that are masked online are ignored. By applying this the online trigger acceptance can be applied to offline patches as well.
[in] | doApply | If true the online masking is applied to offline patch energies |
Definition at line 319 of file AliEmcalTriggerMakerKernel.h.
Referenced by AliEmcalTriggerMakerTask::SetApplyTRUMaskingToFEE().
|
inline |
Definition at line 115 of file AliEmcalTriggerMakerKernel.h.
|
inline |
Set thresholds applied to FastORs and offline cells before patch reconstruction.
[in] | l0 | Threshold for L0 FastOR amplitudes |
[in] | l1 | Threshold for L1 FastOR amplitudes |
[in] | cell | Threshold for cell amplitudes |
Definition at line 203 of file AliEmcalTriggerMakerKernel.h.
Set the pedestal value for a FastOR.
[in] | absId | Absolute ID of a FastOR |
[in] | ped | Pedestal value |
Definition at line 282 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by ReadFastORPedestalFromStream().
|
inline |
Provide the EMCAL geometry to the trigger maker Kernel.
[in] | geo | EMCAL geometry |
Definition at line 182 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 176 of file AliEmcalTriggerMakerKernel.h.
Referenced by AliEmcalTriggerMakerTask::Run().
|
inline |
Definition at line 116 of file AliEmcalTriggerMakerKernel.h.
Set range for L0 time.
min | Minimum L0 time (default is 7) |
max | Maximum L0 time (default is 10) |
Definition at line 195 of file AliEmcalTriggerMakerKernel.h.
Referenced by AliEmcalTriggerMakerTask::SetL0TimeRange().
void AliEmcalTriggerMakerKernel::SetL0TriggerAlgorithm | ( | Int_t | rowmin, |
Int_t | rowmax, | ||
UInt_t | bitmask, | ||
Int_t | patchSize, | ||
Int_t | subregionSize | ||
) |
Set the L0 algorithm.
[in] | rowmin | Minimum row value |
[in] | rowmax | Maximum row value |
[in] | bitmask | Offline bit mask to be applied to the patches |
[in] | patchSize | Size of the patches |
[in] | subregionSize | Size of the sliding sub region |
Definition at line 133 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by ConfigureForPbPb2011(), ConfigureForPbPb2015(), ConfigureForPP2011(), ConfigureForPP2012(), ConfigureForPP2015(), ConfigureForPP20158x8(), and ConfigureForPPb2013().
|
inline |
Set conversion between ADC counts and energy in GeV.
[in] | conversionfactor | Conversion between ADC counts and energy |
Definition at line 209 of file AliEmcalTriggerMakerKernel.h.
|
inline |
Set lower cut on the cell time allowed to accept the cell contributing to cell offline energy / offline patches.
[in] | minCellTime | Minimum allowed cell time |
Definition at line 298 of file AliEmcalTriggerMakerKernel.h.
|
inline |
Set symmmetric limit of the cell time allowed to accept the cell contributing to cell offline energy / offline patches.
[in] | maxCellTime | Maximum accepted value of the absolute cell time |
Definition at line 285 of file AliEmcalTriggerMakerKernel.h.
|
inline |
Set cut on the minimum cell amplitude.
[in] | minamp | Min cell amplitude accepted |
Definition at line 310 of file AliEmcalTriggerMakerKernel.h.
|
inline |
Set energy-dependent models for gaussian energy smearing.
[in] | mean | Parameterization of the mean |
[in] | width | Parameterization of the width |
Definition at line 378 of file AliEmcalTriggerMakerKernel.h.
|
inline |
Set the energy threshold for smearing.
Only summed energies above this threshold are smeared
[in] | threshold | Smear threshold |
Definition at line 389 of file AliEmcalTriggerMakerKernel.h.
void AliEmcalTriggerMakerKernel::SetTriggerBitConfig | ( | const AliEMCALTriggerBitConfig *const | config | ) |
Set the trigger bit configuration applied for the given data set.
[in] | config | Trigger bit config applied |
Definition at line 717 of file AliEmcalTriggerMakerKernel.cxx.
Referenced by ConfigureForPbPb2011(), ConfigureForPbPb2015(), ConfigureForPP2011(), ConfigureForPP2012(), ConfigureForPP2015(), ConfigureForPP20158x8(), ConfigureForPPb2013(), Init(), and AliEmcalTriggerMakerTask::SetUseTriggerBitConfig().
Definition at line 114 of file AliEmcalTriggerMakerKernel.h.
Referenced by AliEmcalTriggerMakerTask::SetTriggerThresholdGammaHigh().
Definition at line 113 of file AliEmcalTriggerMakerKernel.h.
Referenced by AliEmcalTriggerMakerTask::SetTriggerThresholdGammaLow().
Definition at line 112 of file AliEmcalTriggerMakerKernel.h.
Referenced by AliEmcalTriggerMakerTask::SetTriggerThresholdJetHigh().
Definition at line 111 of file AliEmcalTriggerMakerKernel.h.
Referenced by AliEmcalTriggerMakerTask::SetTriggerThresholdJetLow().
|
inline |
Set upper cut on the cell time allowed to accept the cell contributing to cell offline energy / offline patches.
[in] | minCellTime | Minimum allowed cell time |
Definition at line 304 of file AliEmcalTriggerMakerKernel.h.
|
protected |
! Conversion factor from ADC to GeV
Definition at line 510 of file AliEmcalTriggerMakerKernel.h.
Referenced by CreateTriggerPatches(), GetTriggerChannelEnergy(), and ReadCellData().
|
protected |
Apply online bad channels to offline ADC values.
Definition at line 496 of file AliEmcalTriggerMakerKernel.h.
Referenced by ReadCellData().
|
protected |
Container of bad channels.
Definition at line 476 of file AliEmcalTriggerMakerKernel.h.
Referenced by ClearFastORBadChannels(), ReadCellData(), and ReadTriggerData().
|
protected |
threshold for the background patches (8x8)
Definition at line 490 of file AliEmcalTriggerMakerKernel.h.
Referenced by CreateTriggerPatches().
|
protected |
Maximum allowed abs cell time (default [0] = - 10000, [1] = 10000)
Definition at line 494 of file AliEmcalTriggerMakerKernel.h.
Referenced by ReadCellData().
|
protected |
Switch specifying whether the trigger maker kernel has been configured for a given data set.
Definition at line 497 of file AliEmcalTriggerMakerKernel.h.
Referenced by ConfigureForPbPb2011(), ConfigureForPbPb2015(), ConfigureForPP2011(), ConfigureForPP2012(), ConfigureForPP2015(), ConfigureForPP20158x8(), and ConfigureForPPb2013().
|
protected |
Debug lebel;.
Definition at line 493 of file AliEmcalTriggerMakerKernel.h.
|
protected |
FastOR pedestal.
Definition at line 478 of file AliEmcalTriggerMakerKernel.h.
Referenced by ReadTriggerData(), and SetFastORPedestal().
|
protected |
! Underlying EMCAL geometry
Definition at line 502 of file AliEmcalTriggerMakerKernel.h.
Referenced by CheckForL0(), CreateTriggerPatches(), Init(), ReadCellData(), and ReadTriggerData().
|
protected |
Set MC offset.
Definition at line 492 of file AliEmcalTriggerMakerKernel.h.
Referenced by CreateTriggerPatches().
|
protected |
Maximum L0 time.
Definition at line 484 of file AliEmcalTriggerMakerKernel.h.
Referenced by CheckForL0().
|
protected |
Minimum L0 time.
Definition at line 483 of file AliEmcalTriggerMakerKernel.h.
Referenced by CheckForL0().
|
protected |
threshold for the L0 patches (2x2)
Definition at line 491 of file AliEmcalTriggerMakerKernel.h.
Referenced by CreateTriggerPatches().
|
protected |
container for V0-dependent offline thresholds
Definition at line 489 of file AliEmcalTriggerMakerKernel.h.
Referenced by BuildL1ThresholdsOffline(), CreateTriggerPatches(), and Reset().
|
protected |
Patch finder for Level0 patches.
Definition at line 482 of file AliEmcalTriggerMakerKernel.h.
Referenced by CreateTriggerPatches(), SetL0TriggerAlgorithm(), and ~AliEmcalTriggerMakerKernel().
|
protected |
! Map needed to store the level0 times
Definition at line 507 of file AliEmcalTriggerMakerKernel.h.
Referenced by Init(), Reset(), and ~AliEmcalTriggerMakerKernel().
|
protected |
Minimum offline amplitude of the cells used to generate the patches.
Definition at line 485 of file AliEmcalTriggerMakerKernel.h.
Referenced by ReadCellData().
|
protected |
Minimum amplitude in cell required to be considered for filling the data grid.
Definition at line 495 of file AliEmcalTriggerMakerKernel.h.
Referenced by ReadCellData().
|
protected |
Minimum L0 amplitude of the FastORs used to generate the patches.
Definition at line 486 of file AliEmcalTriggerMakerKernel.h.
Referenced by ReadTriggerData().
|
protected |
Minimum L1 amplitude of the FastORs used to generate the patches.
Definition at line 487 of file AliEmcalTriggerMakerKernel.h.
Referenced by ReadTriggerData().
|
protected |
Abd ID of offline bad channels.
Definition at line 477 of file AliEmcalTriggerMakerKernel.h.
Referenced by ClearOfflineBadChannels(), and ReadCellData().
|
protected |
! ADC values map
Definition at line 505 of file AliEmcalTriggerMakerKernel.h.
Referenced by CreateTriggerPatches(), GetDataGridDimensionRows(), Init(), Reset(), and ~AliEmcalTriggerMakerKernel().
|
protected |
! patch map for simple offline trigger
Definition at line 504 of file AliEmcalTriggerMakerKernel.h.
Referenced by CreateTriggerPatches(), Init(), ReadCellData(), Reset(), and ~AliEmcalTriggerMakerKernel().
|
protected |
! TRU Amplitudes (for L0)
Definition at line 503 of file AliEmcalTriggerMakerKernel.h.
Referenced by CreateTriggerPatches(), Init(), Reset(), and ~AliEmcalTriggerMakerKernel().
|
protected |
! Data grid for smeared energy values from cell energies
Definition at line 506 of file AliEmcalTriggerMakerKernel.h.
Referenced by CreateTriggerPatches(), GetTriggerChannelEnergySmeared(), Init(), ReadCellData(), Reset(), and ~AliEmcalTriggerMakerKernel().
|
protected |
The actual patch finder.
Definition at line 481 of file AliEmcalTriggerMakerKernel.h.
Referenced by AddL1TriggerAlgorithm(), ConfigureForPbPb2011(), ConfigureForPbPb2015(), ConfigureForPP2011(), ConfigureForPP2012(), ConfigureForPP2015(), ConfigureForPP20158x8(), ConfigureForPPb2013(), CreateTriggerPatches(), and ~AliEmcalTriggerMakerKernel().
|
protected |
Smearing parameterization for the mean.
Definition at line 498 of file AliEmcalTriggerMakerKernel.h.
Referenced by Init(), and ReadCellData().
|
protected |
Smearing parameterization for the width.
Definition at line 499 of file AliEmcalTriggerMakerKernel.h.
Referenced by Init(), and ReadCellData().
|
protected |
Smear threshold: Only cell energies above threshold are smeared.
Definition at line 500 of file AliEmcalTriggerMakerKernel.h.
Referenced by ReadCellData().
|
protected |
simple offline trigger thresholds constants
Definition at line 488 of file AliEmcalTriggerMakerKernel.h.
Referenced by BuildL1ThresholdsOffline().
|
protected |
Trigger bit configuration, aliroot-dependent.
Definition at line 479 of file AliEmcalTriggerMakerKernel.h.
Referenced by ConfigureForPbPb2011(), ConfigureForPbPb2015(), ConfigureForPP2011(), ConfigureForPP2012(), ConfigureForPP2015(), ConfigureForPP20158x8(), ConfigureForPPb2013(), CreateTriggerPatches(), Init(), IsBkgPatch(), IsGammaPatch(), IsJetPatch(), SetTriggerBitConfig(), and ~AliEmcalTriggerMakerKernel().
|
protected |
! Map of trigger bits
Definition at line 508 of file AliEmcalTriggerMakerKernel.h.
Referenced by Init(), Reset(), and ~AliEmcalTriggerMakerKernel().