AliPhysics  9c66e61 (9c66e61)
AddTaskCaloFilter.C File Reference

Configuration analysis task filtering events and calorimeter data into AOD format. More...

#include <TString.h>
#include <TROOT.h>
#include "AliAnalysisTaskCaloFilter.h"
#include "AliAnalysisManager.h"
#include "AliInputEventHandler.h"
#include "AliEMCALRecoUtils.h"
Include dependency graph for AddTaskCaloFilter.C:

Go to the source code of this file.

Functions

AliAnalysisTaskCaloFilterAddTaskCaloFilter (const Bool_t bias=kTRUE, const Bool_t mc=kFALSE, const Float_t minE=6., const Int_t minN=3, const Float_t vz=10., const Int_t opt=0, const Bool_t correct=kFALSE, const Bool_t fillTrack=kFALSE, const Bool_t fillAOD=kTRUE)
 

Detailed Description

Configuration analysis task filtering events and calorimeter data into AOD format.

The configuration is EMCal oriented, if PHOS oriented modifications are needed. Events filtered with at least EMCal or PHOS clusters/cells are stored in a new AOD file. Optionally tracks and other event info can be stored. Event selection depending on EMCal/PHOS/TPC info can be set.

Author
: Gustavo Conesa Balbastre Gusta.nosp@m.vo.C.nosp@m.onesa.nosp@m..Bal.nosp@m.bastr.nosp@m.e@ce.nosp@m.rn.ch, (LPSC-CNRS)

Definition in file AddTaskCaloFilter.C.

Function Documentation

AliAnalysisTaskCaloFilter* AddTaskCaloFilter ( const Bool_t  bias = kTRUE,
const Bool_t  mc = kFALSE,
const Float_t  minE = 6.,
const Int_t  minN = 3,
const Float_t  vz = 10.,
const Int_t  opt = 0,
const Bool_t  correct = kFALSE,
const Bool_t  fillTrack = kFALSE,
const Bool_t  fillAOD = kTRUE 
)

Main method calling all the configuration

The parameters passed to the analysis are:

Parameters
bias: bias or not depending on EMCal signal.
mc: simulation or data.
minE: at least one cluster in EMCal with this energy.
minN: at least one cluster in EMCal with this number of cells.
vz: z vertex cut.
opt: filter EMCal only, PHOS only or both.
correct: calibrate the EMCal, remove bad cells ...
fillTrack: Fill event with hybrid tracks
fillAOD: Output AOD is filled, not used only for a secondary task analysis at the same time.

Definition at line 42 of file AddTaskCaloFilter.C.

Referenced by anaCaloFilter().