AliPhysics  cda3415 (cda3415)
 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 ()
 
virtual ~AliEmcalTriggerMakerKernel ()
 
void Init ()
 
TObjArrayCreateTriggerPatches (const AliVEvent *inputevent, Bool_t useL0amp=kFALSE)
 
const std::set< Short_t > & GetListOfBadFastORAbsIDs () const
 
const std::set< Short_t > & GetListOfOfflineBadCellAbsIDs () const
 
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)
 
void SetGeometry (const AliEMCALGeometry *const geo)
 
void SetTriggerBitConfig (const AliEMCALTriggerBitConfig *const config)
 
void SetL0TimeRange (Int_t min, Int_t max)
 
void SetFastORandCellThresholds (Int_t l0, Int_t l1, Int_t cell)
 
void AddFastORBadChannel (Short_t absId)
 
void ReadFastORBadChannelFromStream (std::istream &stream)
 
void ClearFastORBadChannels ()
 
void ReadFastORBadChannelFromFile (const char *fname)
 
void AddOfflineBadChannel (Short_t absId)
 
void ReadOfflineBadChannelFromStream (std::istream &stream)
 
void ReadOfflineBadChannelFromFile (const char *fname)
 
void ClearOfflineBadChannels ()
 
void ReadFastORPedestalFromStream (std::istream &stream)
 
void ReadFastORPedestalFromFile (const char *fname)
 
void SetFastORPedestal (Short_t absId, Float_t ped)
 
void ResetFastORPedestal ()
 
void SetMaxAbsCellTime (Double_t maxCellTime)
 
void SetAcceptCellTimeRange (Double_t minCellTime, Double_t maxCellTime)
 
void SetLowerCellTimeCut (Double_t minCellTime)
 
void SetUpperCellTimeCut (Double_t maxCellTime)
 
void SetMinFEEAmplitude (Double_t minamp)
 
void SetApplyOnlineBadChannelMaskingToOffline (Bool_t doApply=kTRUE)
 
void Reset ()
 
void ReadTriggerData (AliVCaloTrigger *trigger)
 
void ReadCellData (AliVCaloCells *cells)
 
void BuildL1ThresholdsOffline (const AliVVZERO *vzdata)
 
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)
 
Bool_t IsConfigured () const
 
void ConfigureForPbPb2015 ()
 
void ConfigureForPP2015 ()
 
void ConfigureForPPb2013 ()
 
void ConfigureForPP2012 ()
 
void ConfigureForPbPb2011 ()
 
void ConfigureForPP2011 ()
 

Protected Types

enum  { kColsEta = 48 }
 

Protected Member Functions

ELevel0TriggerStatus_t CheckForL0 (Int_t col, Int_t row) const
 
Bool_t IsGammaPatch (const AliEMCALTriggerRawPatch &patch) const
 
Bool_t IsJetPatch (const AliEMCALTriggerRawPatch &patch) const
 
Bool_t IsBkgPatch (const AliEMCALTriggerRawPatch &patch) const
 
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...
 
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...
 
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 46 of file AliEmcalTriggerMakerKernel.h.

Member Enumeration Documentation

anonymous enum
protected
Enumerator
kColsEta 

Definition at line 333 of file AliEmcalTriggerMakerKernel.h.

Enumerator
kNotLevel0 
kLevel0Candidate 
kLevel0Fired 

Definition at line 49 of file AliEmcalTriggerMakerKernel.h.

Constructor & Destructor Documentation

AliEmcalTriggerMakerKernel::AliEmcalTriggerMakerKernel ( )

Constructor

Definition at line 43 of file AliEmcalTriggerMakerKernel.cxx.

AliEmcalTriggerMakerKernel::~AliEmcalTriggerMakerKernel ( )
virtual

Destructor

Definition at line 77 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 146 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 111 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 169 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 413 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 523 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by CreateTriggerPatches().

void AliEmcalTriggerMakerKernel::ClearFastORBadChannels ( )

Clear FastOR bad channel list

Definition at line 557 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by AliEmcalTriggerMakerTask::RunChanged().

void AliEmcalTriggerMakerKernel::ClearOfflineBadChannels ( )

Clear offline bad channel list.

Definition at line 561 of file AliEmcalTriggerMakerKernel.cxx.

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

void AliEmcalTriggerMakerKernel::ConfigureForPbPb2011 ( )

Configure the class for 2011 PbPb

Definition at line 192 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by AliEmcalTriggerMakerTask::ExecOnce().

void AliEmcalTriggerMakerKernel::ConfigureForPbPb2015 ( )

Configure the class for 2015 PbPb

Definition at line 128 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by AliEmcalTriggerMakerTask::ExecOnce().

void AliEmcalTriggerMakerKernel::ConfigureForPP2011 ( )

Configure the class for 2011 pp

Definition at line 207 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by AliEmcalTriggerMakerTask::ExecOnce().

void AliEmcalTriggerMakerKernel::ConfigureForPP2012 ( )

Configure the class for 2012 pp

Definition at line 177 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by AliEmcalTriggerMakerTask::ExecOnce().

void AliEmcalTriggerMakerKernel::ConfigureForPP2015 ( )

Configure the class for 2015 pp

Definition at line 145 of file AliEmcalTriggerMakerKernel.cxx.

void AliEmcalTriggerMakerKernel::ConfigureForPPb2013 ( )

Configure the class for 2013 pPb

Definition at line 162 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 425 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 92 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. These 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 100 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 586 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 88 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 575 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 300 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 565 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 570 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by CreateTriggerPatches().

void AliEmcalTriggerMakerKernel::ReadCellData ( AliVCaloCells *  cells)

Read the EMCAL cell data

Parameters
[in]cellsEMCAL cell data

Definition at line 372 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 246 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 236 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 272 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 261 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 230 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 220 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by ReadOfflineBadChannelFromFile().

void AliEmcalTriggerMakerKernel::ReadTriggerData ( AliVCaloTrigger *  trigger)

Read the calo trigger data

Parameters
[in]triggerInput calo trigger data

Definition at line 287 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by AliEmcalTriggerMakerTask::Run().

void AliEmcalTriggerMakerKernel::Reset ( )

Reset data grids

Definition at line 278 of file AliEmcalTriggerMakerKernel.cxx.

Referenced by AliEmcalTriggerMakerTask::Run().

void AliEmcalTriggerMakerKernel::ResetFastORPedestal ( )
inline

Reset the FastOR pedestal array

Definition at line 210 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 223 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 250 of file AliEmcalTriggerMakerKernel.h.

Referenced by AliEmcalTriggerMakerTask::SetApplyTRUMaskingToFEE().

void AliEmcalTriggerMakerKernel::SetBackgroundThreshold ( Int_t  t)
inline

Definition at line 106 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 140 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 252 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 119 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 113 of file AliEmcalTriggerMakerKernel.h.

Referenced by AliEmcalTriggerMakerTask::Run().

void AliEmcalTriggerMakerKernel::SetL0Threshold ( Int_t  t)
inline

Definition at line 107 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 132 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 120 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 229 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 216 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 241 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 580 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 235 of file AliEmcalTriggerMakerKernel.h.

Member Data Documentation

Double_t AliEmcalTriggerMakerKernel::fADCtoGeV
protected

! Conversion factor from ADC to GeV

Definition at line 404 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 394 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 388 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 392 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 395 of file AliEmcalTriggerMakerKernel.h.

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

Int_t AliEmcalTriggerMakerKernel::fDebugLevel
protected

Debug lebel;.

Definition at line 391 of file AliEmcalTriggerMakerKernel.h.

TArrayF AliEmcalTriggerMakerKernel::fFastORPedestal
protected

FastOR pedestal.

Definition at line 376 of file AliEmcalTriggerMakerKernel.h.

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

const AliEMCALGeometry* AliEmcalTriggerMakerKernel::fGeometry
protected

! Underlying EMCAL geometry

Definition at line 397 of file AliEmcalTriggerMakerKernel.h.

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

Bool_t AliEmcalTriggerMakerKernel::fIsMC
protected

Set MC offset.

Definition at line 390 of file AliEmcalTriggerMakerKernel.h.

Referenced by CreateTriggerPatches(), and SetIsMC().

Int_t AliEmcalTriggerMakerKernel::fL0MaxTime
protected

Maximum L0 time.

Definition at line 382 of file AliEmcalTriggerMakerKernel.h.

Referenced by CheckForL0(), and SetL0TimeRange().

Int_t AliEmcalTriggerMakerKernel::fL0MinTime
protected

Minimum L0 time.

Definition at line 381 of file AliEmcalTriggerMakerKernel.h.

Referenced by CheckForL0(), and SetL0TimeRange().

Int_t AliEmcalTriggerMakerKernel::fL0Threshold
protected

threshold for the L0 patches (2x2)

Definition at line 389 of file AliEmcalTriggerMakerKernel.h.

Referenced by CreateTriggerPatches(), and SetL0Threshold().

ULong64_t AliEmcalTriggerMakerKernel::fL1ThresholdsOffline[4]
protected

container for V0-dependent offline thresholds

Definition at line 387 of file AliEmcalTriggerMakerKernel.h.

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

AliEMCALTriggerAlgorithm<double>* AliEmcalTriggerMakerKernel::fLevel0PatchFinder
protected

Patch finder for Level0 patches.

Definition at line 380 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 401 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 383 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 393 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 384 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 385 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 375 of file AliEmcalTriggerMakerKernel.h.

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

AliEMCALTriggerDataGrid<double>* AliEmcalTriggerMakerKernel::fPatchADC
protected

! ADC values map

Definition at line 400 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 399 of file AliEmcalTriggerMakerKernel.h.

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

AliEMCALTriggerDataGrid<double>* AliEmcalTriggerMakerKernel::fPatchAmplitudes
protected

! TRU Amplitudes (for L0)

Definition at line 398 of file AliEmcalTriggerMakerKernel.h.

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

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

! Map of trigger bits

Definition at line 402 of file AliEmcalTriggerMakerKernel.h.

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


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