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

Go to the source code of this file.

Functions

 ClassImp (EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClustersRef) namespace EMCalTriggerPtAnalysis
 

Function Documentation

Dummy (I/O) constructor

Named constructor

Parameters
nameName of the task

Destructor

Creates output histograms: distribution of cluster energy for different trigger classes and number of events

Parameters
Createnew energy binning
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

Check whether cluster is inside a trigger patch which has fired the trigger

Parameters
etaclust\( \eta \) of the cluster at center
phiclust\( \phi \) of the cluster at center
triggerpatchesList of trigger patches which have fired the trigger
Returns
True if the cluster can be correlated to a triggerpatch fired the trigger, false otherwise

Find all patches in an event which could have fired the trigger 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
triggerclassEMCAL trigger class firing
triggerpatchesTrigger patches found in the event
Returns
List of patches which could have fired the trigger

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 39 of file AliAnalysisTaskEmcalClustersRef.cxx.