AliPhysics  9538fdd (9538fdd)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalTriggerMakerKernel Class Reference

Kernel of the EMCAL trigger patch maker. More...

#include <AliEmcalTriggerMakerKernel.h>

Inheritance diagram for AliEmcalTriggerMakerKernel:

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...
 
TObjArrayCreateTriggerPatches (const AliVEvent *inputevent, 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)
 
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 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 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_tfBadChannels
 Container of bad channels. More...
 
std::set< Short_tfOfflineBadChannels
 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...
 

Detailed Description

Kernel of the EMCAL trigger patch maker.

Author
Markus Fasel marku.nosp@m.s.fa.nosp@m.sel@c.nosp@m.ern..nosp@m.ch, Lawrence Berkeley National Laboratory
Salvatore Aiola, Yale University
Since
Oct. 22nd, 2015

The trigger maker kernel contains the core functionality of the trigger maker:

  • Filling of the data grids
  • Steering and running the patch finders
  • Conversion of the raw patches obtained by the patch finders to full EMCAL trigger patch info objects. I/O, which means interaction with the ALICE analysis system, is done outside in a dedicated steering task.

Definition at line 47 of file AliEmcalTriggerMakerKernel.h.

Member Enumeration Documentation

anonymous enum
protected
Enumerator
kColsEta 

Definition at line 365 of file AliEmcalTriggerMakerKernel.h.

Enumerator
kNotLevel0 
kLevel0Candidate 
kLevel0Fired 

Definition at line 50 of file AliEmcalTriggerMakerKernel.h.

Constructor & Destructor Documentation

AliEmcalTriggerMakerKernel::AliEmcalTriggerMakerKernel ( )

Constructor.

Definition at line 45 of file AliEmcalTriggerMakerKernel.cxx.

AliEmcalTriggerMakerKernel::~AliEmcalTriggerMakerKernel ( )
virtual

Destructor.

Definition at line 83 of file AliEmcalTriggerMakerKernel.cxx.

Member Function Documentation

void AliEmcalTriggerMakerKernel::AddFastORBadChannel ( Short_t  absId)
inline

Add a FastOR bad channel to the list.

Parameters
[in]absIdAbsolute ID of the bad channel

Definition at line 151 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

Parameters
[in]rowminMinimum row value
[in]rowmaxMaximum row value
[in]bitmaskOffline bit mask to be applied to the patches
[in]patchSizeSize of the patches
[in]subregionSizeSize of the sliding sub region

Definition at line 124 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by ConfigureForPbPb2011(), ConfigureForPbPb2015(), ConfigureForPP2012(), ConfigureForPP2015(), and ConfigureForPPb2013().

void AliEmcalTriggerMakerKernel::AddOfflineBadChannel ( Short_t  absId)
inline

Add an offline bad channel to the set.

Parameters
[in]absIdAbsolute ID of the bad channel

Definition at line 174 of file AliEmcalTriggerMakerKernel.h.

Referenced by AliEmcalTriggerMakerTask::InitializeBadFEEChannels(), and ReadOfflineBadChannelFromStream().

void AliEmcalTriggerMakerKernel::BuildL1ThresholdsOffline ( const AliVVZERO *  vzdata)

Build VZERO-dependent thresholds for the offline trigger.

Parameters
vzdataVERO charges

Definition at line 446 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by AliEmcalTriggerMakerTask::Run().

AliEmcalTriggerMakerKernel::ELevel0TriggerStatus_t AliEmcalTriggerMakerKernel::CheckForL0 ( Int_t  col,
Int_t  row 
) const
protected

Accept trigger patch as Level0 patch.

Level0 patches are identified as 2x2 FASTOR patches in the same TRU

Parameters
[in]colStarting coloumn of the patch
[in]rowStarting row of the patch
Returns
the status of the patch (not L0, candidate, fired)

Definition at line 577 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by CreateTriggerPatches().

void AliEmcalTriggerMakerKernel::ClearFastORBadChannels ( )

Clear FastOR bad channel list.

Definition at line 611 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by AliEmcalTriggerMakerTask::RunChanged().

void AliEmcalTriggerMakerKernel::ClearOfflineBadChannels ( )

Clear offline bad channel list.

Definition at line 615 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by AliEmcalTriggerMakerTask::InitializeBadFEEChannels(), and AliEmcalTriggerMakerTask::RunChanged().

void AliEmcalTriggerMakerKernel::ConfigureForPbPb2011 ( )

Configure the class for 2011 PbPb.

Definition at line 205 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 220 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by AliEmcalTriggerMakerTask::ExecOnce().

void AliEmcalTriggerMakerKernel::ConfigureForPP2012 ( )

Configure the class for 2012 pp.

Definition at line 190 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.

void AliEmcalTriggerMakerKernel::ConfigureForPPb2013 ( )

Configure the class for 2013 pPb.

Definition at line 175 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by AliEmcalTriggerMakerTask::ExecOnce().

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;

  • Bit selection map from the STU (bits for non-matching patch types are removed)
  • Offline trigger selection status
  • Recalculation trigger selection status There are no more several patches for the three categories. The only difference left over is the distinction of patch types according to
  • Jet patches (16x16 FAST-ors)
  • Gamma patches (2x2 FAST-ors)
  • Level0 patches (2x2 FAST-ors, using L0 amplitude and L0 times for the selection)
    Parameters
    [in]inputeventInput ESD/AOD event, used for kinematics calculation
    [in]useL0ampif true the Level0 amplitude is used
    Returns
    Array of reconstructed trigger patches

Definition at line 458 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by AliEmcalTriggerMakerTask::Run().

const std::set<Short_t>& AliEmcalTriggerMakerKernel::GetListOfBadFastORAbsIDs ( ) const
inline

Get the list of online masked FastOR's used in the trigger maker.

Returns
Absolute FastOR IDs (full EMCAL + DCAL in run2+) of masked channels

Definition at line 96 of file AliEmcalTriggerMakerKernel.h.

Referenced by AliEmcalTriggerMakerTask::RunChanged().

const std::set<Short_t>& AliEmcalTriggerMakerKernel::GetListOfOfflineBadCellAbsIDs ( ) const
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.

Returns
Absolute Cell IDs (full EMCAL + DCAL in run2+) of bad cells

Definition at line 105 of file AliEmcalTriggerMakerKernel.h.

bool AliEmcalTriggerMakerKernel::HasPHOSOverlap ( const AliEMCALTriggerRawPatch &  patch) const
protected

Check according to geometrical cuts whether the patch has overlap with the PHOS region. Partial overlap is sufficient for this check.

Parameters
[in]patchPatch to check
Returns
True if the patch has at least partial overlap with PHOS

Definition at line 640 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by CreateTriggerPatches().

void AliEmcalTriggerMakerKernel::Init ( )

Initialize the trigger maker Kernel.

  • Allocates the data grids according to the EMCAL setup for the given run (obtained from the geometry)
  • Initialize patch finders: Different patch finders are created for EMCAL and DCAL both for gamma and jet patches, using the data grids only in the active area of the EMCAL or DCAL

Definition at line 95 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by AliEmcalTriggerMakerTask::ExecOnce().

Bool_t AliEmcalTriggerMakerKernel::IsBkgPatch ( const AliEMCALTriggerRawPatch &  patch) const
protected

Check from the bitmask whether the patch is a background patch.

Parameters
[in]patchPatch to check
Returns
True if patch is a background patch

Definition at line 629 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by CreateTriggerPatches().

Bool_t AliEmcalTriggerMakerKernel::IsConfigured ( ) const
inline

Check whether the trigger maker has been specially configured. Status has to be set in the functions ConfigureForXX.

Returns
True if the trigger maker kernel is configured, false otherwise

Definition at line 332 of file AliEmcalTriggerMakerKernel.h.

Referenced by AliEmcalTriggerMakerTask::ExecOnce().

Bool_t AliEmcalTriggerMakerKernel::IsGammaPatch ( const AliEMCALTriggerRawPatch &  patch) const
protected

Check from the bitmask whether the patch is a gamma patch.

Parameters
[in]patchPatch to check
Returns
True if patch is a gamma patch

Definition at line 619 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by CreateTriggerPatches().

Bool_t AliEmcalTriggerMakerKernel::IsJetPatch ( const AliEMCALTriggerRawPatch &  patch) const
protected

Check from the bitmask whether the patch is a jet patch.

Parameters
[in]patchPatch to check
Returns
True if patch is a jet patch

Definition at line 624 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 case a cell time cut is set and the cell time is out of range
  • In case a minimum amplitude cut is set and the cell data is below threshold Cells which are masked, or which belong to masked FastORs are rejected as well.
    Parameters
    [in]cellsEMCAL cell data

Definition at line 386 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by AliEmcalTriggerMakerTask::Run().

void AliEmcalTriggerMakerKernel::ReadFastORBadChannelFromFile ( const char *  fname)

Read the FastOR bad channel map from a text file.

Parameters
[in]fnamePath and name of the file

Definition at line 259 of file AliEmcalTriggerMakerKernel.cxx.

void AliEmcalTriggerMakerKernel::ReadFastORBadChannelFromStream ( std::istream &  stream)

Read the FastOR bad channel map from a standard stream.

Parameters
[in]streamA reference to a standard stream to read from (can be a file stream)

Definition at line 249 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by ReadFastORBadChannelFromFile().

void AliEmcalTriggerMakerKernel::ReadFastORPedestalFromFile ( const char *  fname)

Read the FastOR pedestals from a text file.

Parameters
[in]fnamePath and name of the file

Definition at line 285 of file AliEmcalTriggerMakerKernel.cxx.

void AliEmcalTriggerMakerKernel::ReadFastORPedestalFromStream ( std::istream &  stream)

Read the FastOR pedestals from a standard stream.

Parameters
[in]streamA reference to a standard stream to read from (can be a file stream)

Definition at line 274 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by ReadFastORPedestalFromFile().

void AliEmcalTriggerMakerKernel::ReadOfflineBadChannelFromFile ( const char *  fname)

Read the offline bad channel map from a text file.

Parameters
[in]fnamePath and name of the file

Definition at line 243 of file AliEmcalTriggerMakerKernel.cxx.

void AliEmcalTriggerMakerKernel::ReadOfflineBadChannelFromStream ( std::istream &  stream)

Read the offline bad channel map from a standard stream.

Parameters
[in]streamA reference to a standard stream to read from (can be a file stream)

Definition at line 233 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.

Parameters
[in]triggerInput calo trigger data

Definition at line 301 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by AliEmcalTriggerMakerTask::Run().

void AliEmcalTriggerMakerKernel::Reset ( )

Reset all data grids and VZERO-dependent L1 thresholds.

Definition at line 291 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by AliEmcalTriggerMakerTask::Run().

void AliEmcalTriggerMakerKernel::ResetFastORPedestal ( )
inline

Reset the FastOR pedestal array.

Definition at line 215 of file AliEmcalTriggerMakerKernel.h.

void AliEmcalTriggerMakerKernel::SetAcceptCellTimeRange ( Double_t  minCellTime,
Double_t  maxCellTime 
)
inline

Set symmmetric limit of the cell time allowed to accept the cell contributing to cell offline energy / offline patches.

Parameters
[in]minCellTimeMinimum allowed cell time
[in]maxCellTimeMaximum allowed cell time

Definition at line 228 of file AliEmcalTriggerMakerKernel.h.

void AliEmcalTriggerMakerKernel::SetApplyOnlineBadChannelMaskingToOffline ( Bool_t  doApply = kTRUE)
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.

Parameters
[in]doApplyIf true the online masking is applied to offline patch energies

Definition at line 255 of file AliEmcalTriggerMakerKernel.h.

Referenced by AliEmcalTriggerMakerTask::SetApplyTRUMaskingToFEE().

void AliEmcalTriggerMakerKernel::SetBackgroundThreshold ( Int_t  t)
inline

Definition at line 111 of file AliEmcalTriggerMakerKernel.h.

void AliEmcalTriggerMakerKernel::SetFastORandCellThresholds ( Int_t  l0,
Int_t  l1,
Int_t  cell 
)
inline

Set thresholds applied to FastORs and offline cells before patch reconstruction.

Parameters
[in]l0Threshold for L0 FastOR amplitudes
[in]l1Threshold for L1 FastOR amplitudes
[in]cellThreshold for cell amplitudes

Definition at line 145 of file AliEmcalTriggerMakerKernel.h.

void AliEmcalTriggerMakerKernel::SetFastORPedestal ( Short_t  absId,
Float_t  ped 
)

Set the pedestal value for a FastOR.

Parameters
[in]absIdAbsolute ID of a FastOR
[in]pedPedestal value

Definition at line 265 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by ReadFastORPedestalFromStream().

void AliEmcalTriggerMakerKernel::SetGeometry ( const AliEMCALGeometry *const  geo)
inline

Provide the EMCAL geometry to the trigger maker Kernel.

Parameters
[in]geoEMCAL geometry

Definition at line 124 of file AliEmcalTriggerMakerKernel.h.

Referenced by AliEmcalTriggerMakerTask::ExecOnce().

void AliEmcalTriggerMakerKernel::SetIsMC ( Bool_t  isMC)
inline

Define whether running on MC or not (for offset)

Parameters
isMCFlag for MC

Definition at line 118 of file AliEmcalTriggerMakerKernel.h.

Referenced by AliEmcalTriggerMakerTask::Run().

void AliEmcalTriggerMakerKernel::SetL0Threshold ( Int_t  t)
inline

Definition at line 112 of file AliEmcalTriggerMakerKernel.h.

void AliEmcalTriggerMakerKernel::SetL0TimeRange ( Int_t  min,
Int_t  max 
)
inline

Set range for L0 time.

Parameters
minMinimum L0 time (default is 7)
maxMaximum L0 time (default is 10)

Definition at line 137 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.

Parameters
[in]rowminMinimum row value
[in]rowmaxMaximum row value
[in]bitmaskOffline bit mask to be applied to the patches
[in]patchSizeSize of the patches
[in]subregionSizeSize of the sliding sub region

Definition at line 133 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by ConfigureForPbPb2011(), ConfigureForPbPb2015(), ConfigureForPP2011(), ConfigureForPP2012(), ConfigureForPP2015(), and ConfigureForPPb2013().

void AliEmcalTriggerMakerKernel::SetLowerCellTimeCut ( Double_t  minCellTime)
inline

Set lower cut on the cell time allowed to accept the cell contributing to cell offline energy / offline patches.

Parameters
[in]minCellTimeMinimum allowed cell time

Definition at line 234 of file AliEmcalTriggerMakerKernel.h.

void AliEmcalTriggerMakerKernel::SetMaxAbsCellTime ( Double_t  maxCellTime)
inline

Set symmmetric limit of the cell time allowed to accept the cell contributing to cell offline energy / offline patches.

Parameters
[in]maxCellTimeMaximum accepted value of the absolute cell time

Definition at line 221 of file AliEmcalTriggerMakerKernel.h.

void AliEmcalTriggerMakerKernel::SetMinFEEAmplitude ( Double_t  minamp)
inline

Set cut on the minimum cell amplitude.

Parameters
[in]minampMin cell amplitude accepted

Definition at line 246 of file AliEmcalTriggerMakerKernel.h.

void AliEmcalTriggerMakerKernel::SetSmearModel ( TF1 *  mean,
TF1 *  width 
)
inline

Set energy-dependent models for gaussian energy smearing.

Parameters
[in]meanParameterization of the mean
[in]widthParameterization of the width

Definition at line 314 of file AliEmcalTriggerMakerKernel.h.

void AliEmcalTriggerMakerKernel::SetSmearThreshold ( Double_t  threshold)
inline

Set the energy threshold for smearing.

Only summed energies above this threshold are smeared

Parameters
[in]thresholdSmear threshold

Definition at line 325 of file AliEmcalTriggerMakerKernel.h.

void AliEmcalTriggerMakerKernel::SetTriggerBitConfig ( const AliEMCALTriggerBitConfig *const  config)

Set the trigger bit configuration applied for the given data set.

Parameters
[in]configTrigger bit config applied

Definition at line 634 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by ConfigureForPbPb2011(), ConfigureForPbPb2015(), ConfigureForPP2011(), ConfigureForPP2012(), ConfigureForPP2015(), ConfigureForPPb2013(), Init(), and AliEmcalTriggerMakerTask::SetUseTriggerBitConfig().

void AliEmcalTriggerMakerKernel::SetTriggerThresholdGammaHigh ( Int_t  a,
Int_t  b,
Int_t  c 
)
inline
void AliEmcalTriggerMakerKernel::SetTriggerThresholdGammaLow ( Int_t  a,
Int_t  b,
Int_t  c 
)
inline
void AliEmcalTriggerMakerKernel::SetTriggerThresholdJetHigh ( Int_t  a,
Int_t  b,
Int_t  c 
)
inline
void AliEmcalTriggerMakerKernel::SetTriggerThresholdJetLow ( Int_t  a,
Int_t  b,
Int_t  c 
)
inline
void AliEmcalTriggerMakerKernel::SetUpperCellTimeCut ( Double_t  maxCellTime)
inline

Set upper cut on the cell time allowed to accept the cell contributing to cell offline energy / offline patches.

Parameters
[in]minCellTimeMinimum allowed cell time

Definition at line 240 of file AliEmcalTriggerMakerKernel.h.

Member Data Documentation

Double_t AliEmcalTriggerMakerKernel::fADCtoGeV
protected

! Conversion factor from ADC to GeV

Definition at line 441 of file AliEmcalTriggerMakerKernel.h.

Referenced by CreateTriggerPatches(), and ReadCellData().

Bool_t AliEmcalTriggerMakerKernel::fApplyOnlineBadChannelsToOffline
protected

Apply online bad channels to offline ADC values.

Definition at line 427 of file AliEmcalTriggerMakerKernel.h.

Referenced by ReadCellData(), and SetApplyOnlineBadChannelMaskingToOffline().

std::set<Short_t> AliEmcalTriggerMakerKernel::fBadChannels
protected
Int_t AliEmcalTriggerMakerKernel::fBkgThreshold
protected

threshold for the background patches (8x8)

Definition at line 421 of file AliEmcalTriggerMakerKernel.h.

Referenced by CreateTriggerPatches(), and SetBackgroundThreshold().

Double_t AliEmcalTriggerMakerKernel::fCellTimeLimits[2]
protected

Maximum allowed abs cell time (default [0] = - 10000, [1] = 10000)

Definition at line 425 of file AliEmcalTriggerMakerKernel.h.

Referenced by ReadCellData(), SetAcceptCellTimeRange(), SetLowerCellTimeCut(), SetMaxAbsCellTime(), and SetUpperCellTimeCut().

Bool_t AliEmcalTriggerMakerKernel::fConfigured
protected

Switch specifying whether the trigger maker kernel has been configured for a given data set.

Definition at line 428 of file AliEmcalTriggerMakerKernel.h.

Referenced by ConfigureForPbPb2011(), ConfigureForPbPb2015(), ConfigureForPP2011(), ConfigureForPP2012(), ConfigureForPP2015(), ConfigureForPPb2013(), and IsConfigured().

Int_t AliEmcalTriggerMakerKernel::fDebugLevel
protected

Debug lebel;.

Definition at line 424 of file AliEmcalTriggerMakerKernel.h.

TArrayF AliEmcalTriggerMakerKernel::fFastORPedestal
protected

FastOR pedestal.

Definition at line 409 of file AliEmcalTriggerMakerKernel.h.

Referenced by ReadTriggerData(), ResetFastORPedestal(), and SetFastORPedestal().

const AliEMCALGeometry* AliEmcalTriggerMakerKernel::fGeometry
protected

! Underlying EMCAL geometry

Definition at line 433 of file AliEmcalTriggerMakerKernel.h.

Referenced by CheckForL0(), CreateTriggerPatches(), Init(), ReadCellData(), ReadTriggerData(), and SetGeometry().

Bool_t AliEmcalTriggerMakerKernel::fIsMC
protected

Set MC offset.

Definition at line 423 of file AliEmcalTriggerMakerKernel.h.

Referenced by CreateTriggerPatches(), and SetIsMC().

Int_t AliEmcalTriggerMakerKernel::fL0MaxTime
protected

Maximum L0 time.

Definition at line 415 of file AliEmcalTriggerMakerKernel.h.

Referenced by CheckForL0(), and SetL0TimeRange().

Int_t AliEmcalTriggerMakerKernel::fL0MinTime
protected

Minimum L0 time.

Definition at line 414 of file AliEmcalTriggerMakerKernel.h.

Referenced by CheckForL0(), and SetL0TimeRange().

Int_t AliEmcalTriggerMakerKernel::fL0Threshold
protected

threshold for the L0 patches (2x2)

Definition at line 422 of file AliEmcalTriggerMakerKernel.h.

Referenced by CreateTriggerPatches(), and SetL0Threshold().

ULong64_t AliEmcalTriggerMakerKernel::fL1ThresholdsOffline[4]
protected

container for V0-dependent offline thresholds

Definition at line 420 of file AliEmcalTriggerMakerKernel.h.

Referenced by BuildL1ThresholdsOffline(), CreateTriggerPatches(), and Reset().

AliEMCALTriggerAlgorithm<double>* AliEmcalTriggerMakerKernel::fLevel0PatchFinder
protected

Patch finder for Level0 patches.

Definition at line 413 of file AliEmcalTriggerMakerKernel.h.

Referenced by CreateTriggerPatches(), SetL0TriggerAlgorithm(), and ~AliEmcalTriggerMakerKernel().

AliEMCALTriggerDataGrid<char>* AliEmcalTriggerMakerKernel::fLevel0TimeMap
protected

! Map needed to store the level0 times

Definition at line 438 of file AliEmcalTriggerMakerKernel.h.

Referenced by Init(), Reset(), and ~AliEmcalTriggerMakerKernel().

Int_t AliEmcalTriggerMakerKernel::fMinCellAmp
protected

Minimum offline amplitude of the cells used to generate the patches.

Definition at line 416 of file AliEmcalTriggerMakerKernel.h.

Referenced by ReadCellData(), and SetFastORandCellThresholds().

Double_t AliEmcalTriggerMakerKernel::fMinCellAmplitude
protected

Minimum amplitude in cell required to be considered for filling the data grid.

Definition at line 426 of file AliEmcalTriggerMakerKernel.h.

Referenced by ReadCellData(), and SetMinFEEAmplitude().

Int_t AliEmcalTriggerMakerKernel::fMinL0FastORAmp
protected

Minimum L0 amplitude of the FastORs used to generate the patches.

Definition at line 417 of file AliEmcalTriggerMakerKernel.h.

Referenced by ReadTriggerData(), and SetFastORandCellThresholds().

Int_t AliEmcalTriggerMakerKernel::fMinL1FastORAmp
protected

Minimum L1 amplitude of the FastORs used to generate the patches.

Definition at line 418 of file AliEmcalTriggerMakerKernel.h.

Referenced by ReadTriggerData(), and SetFastORandCellThresholds().

std::set<Short_t> AliEmcalTriggerMakerKernel::fOfflineBadChannels
protected

Abd ID of offline bad channels.

Definition at line 408 of file AliEmcalTriggerMakerKernel.h.

Referenced by AddOfflineBadChannel(), ClearOfflineBadChannels(), GetListOfOfflineBadCellAbsIDs(), and ReadCellData().

AliEMCALTriggerDataGrid<double>* AliEmcalTriggerMakerKernel::fPatchADC
protected

! ADC values map

Definition at line 436 of file AliEmcalTriggerMakerKernel.h.

Referenced by CreateTriggerPatches(), Init(), Reset(), and ~AliEmcalTriggerMakerKernel().

AliEMCALTriggerDataGrid<double>* AliEmcalTriggerMakerKernel::fPatchADCSimple
protected

! patch map for simple offline trigger

Definition at line 435 of file AliEmcalTriggerMakerKernel.h.

Referenced by CreateTriggerPatches(), Init(), ReadCellData(), Reset(), and ~AliEmcalTriggerMakerKernel().

AliEMCALTriggerDataGrid<double>* AliEmcalTriggerMakerKernel::fPatchAmplitudes
protected

! TRU Amplitudes (for L0)

Definition at line 434 of file AliEmcalTriggerMakerKernel.h.

Referenced by CreateTriggerPatches(), Init(), Reset(), and ~AliEmcalTriggerMakerKernel().

AliEMCALTriggerDataGrid<double>* AliEmcalTriggerMakerKernel::fPatchEnergySimpleSmeared
protected

! Data grid for smeared energy values from cell energies

Definition at line 437 of file AliEmcalTriggerMakerKernel.h.

Referenced by CreateTriggerPatches(), Init(), ReadCellData(), Reset(), and ~AliEmcalTriggerMakerKernel().

TF1* AliEmcalTriggerMakerKernel::fSmearModelMean
protected

Smearing parameterization for the mean.

Definition at line 429 of file AliEmcalTriggerMakerKernel.h.

Referenced by Init(), ReadCellData(), and SetSmearModel().

TF1* AliEmcalTriggerMakerKernel::fSmearModelSigma
protected

Smearing parameterization for the width.

Definition at line 430 of file AliEmcalTriggerMakerKernel.h.

Referenced by Init(), ReadCellData(), and SetSmearModel().

Double_t AliEmcalTriggerMakerKernel::fSmearThreshold
protected

Smear threshold: Only cell energies above threshold are smeared.

Definition at line 431 of file AliEmcalTriggerMakerKernel.h.

Referenced by ReadCellData(), and SetSmearThreshold().

Int_t AliEmcalTriggerMakerKernel::fThresholdConstants[4][3]
protected
const AliEMCALTriggerBitConfig* AliEmcalTriggerMakerKernel::fTriggerBitConfig
protected
AliEMCALTriggerDataGrid<int>* AliEmcalTriggerMakerKernel::fTriggerBitMap
protected

! Map of trigger bits

Definition at line 439 of file AliEmcalTriggerMakerKernel.h.

Referenced by Init(), Reset(), and ~AliEmcalTriggerMakerKernel().


The documentation for this class was generated from the following files: