AliPhysics  29d4213 (29d4213)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliAnalysisTaskEmcalPatchesRef.cxx File Reference
#include <map>
#include <vector>
#include <TArrayD.h>
#include <TClonesArray.h>
#include <THashList.h>
#include <TString.h>
#include "AliAnalysisUtils.h"
#include "AliEMCalHistoContainer.h"
#include "AliEmcalTriggerPatchInfoAP.h"
#include "AliInputEventHandler.h"
#include "AliLog.h"
#include "AliAnalysisTaskEmcalPatchesRef.h"
Include dependency graph for AliAnalysisTaskEmcalPatchesRef.cxx:

Go to the source code of this file.

Functions

 ClassImp (EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalPatchesRef) namespace EMCalTriggerPtAnalysis
 

Function Documentation

Dummy (I/O) onstructor

Named constructor

Parameters
nameName of the task

Destructor

Creating output histograms:

  • Patch (calibrated) energy spectrum - separated by patch type - for different trigger classes
  • Patch eta-phi map - separated by patch type - for different trigger classes and different min. energies

Run event loop

Parameters
Notused

Filling patch related histogram

Parameters
triggerclassName of the trigger class firing the event
patchnameName of the patchtype
energyCalibrated energy of the patch
etaPatch eta at the geometrical center
phiPatch phi at the geometrical center

Create new energy binning

Parameters
binning

Create any kind of linear binning from given ranges and stores it in the binning array.

Parameters
binningoutput array
nbinsNumber of bins
minlower range
maxupper range

Apply additional cut requiring at least one offline patch above a given energy (not fake ADC!) Attention: This task groups into single shower triggers (L0, EG1, EG2) and jet triggers (EJ1 and EJ2). Per convention the low threshold patch is selected. No energy cut should be applied in the trigger maker

Parameters
trgclsTrigger class for which to apply additional offline patch selection
triggerpatchesArray of trigger patches
Returns
True if at least on patch above threshold is found or no cut is applied

Apply trigger selection using offline patches and trigger thresholds based on offline ADC Amplitude

Parameters
triggerpatchesTrigger patches found by the trigger maker
Returns
String with EMCAL trigger decision

Definition at line 31 of file AliAnalysisTaskEmcalPatchesRef.cxx.