1 #ifndef ALIANALYSISTASKCALOFILTER_H
2 #define ALIANALYSISTASKCALOFILTER_H
31 #include "AliAnalysisTaskSE.h"
32 class AliEMCALRecoUtils;
33 class AliEMCALGeometry;
void SwitchOffLoadOwnEMCALGeometryMatrices()
void FillAODTracks()
Copy AOD track.
void SwitchOffFillMCParticles()
void FillAODCaloClusters()
void SwitchOnFillAODFile()
TString EMCALGeometryName() const
Bool_t CheckForPrimaryVertex()
AliEMCALGeometry * fEMCALGeo
! EMCAL geometry.
void SetConfigFileName(TString name)
Bool_t fEventSelection[3]
Define which detector is used to select the event: {EMCAL,PHOS,Tracks}.
void SwitchOffAcceptAllMBEvent()
Int_t fPHOSNcellsCut
At least a PHOS cluster with fNCellsCut cells over fEnergyCut.
void SwitchOnAcceptAllMBEvent()
void FillAODVZERO()
Copy VZERO.
Float_t fTrackPtCut
Select events with at least a track with this pT.
void SetEventSelection(Bool_t emcal, Bool_t phos, Bool_t track)
void SwitchOnFillHybridTracks()
Bool_t fFillVZERO
Fill the output AOD file with VZERO input.
virtual void UserExec(Option_t *option)
void PrintInfo()
Print settings.
Bool_t fFillTracks
Fill the output AOD file with tracks.
Bool_t CheckForPrimaryVertexInESDs()
void FillAODVertices()
Copy vertices.
Bool_t fCheckEventVertex
Check the primary vertex of the event or not.
void SwitchOffCheckEventPrimaryVertex()
Bool_t fAcceptAllMBEvent
Do not select the MB events with same Event selection cuts as other triggers.
Int_t fCorrect
Recalibrate or recalculate different cluster parameters, only for EMCal.
void SetVzCut(Float_t cut)
AliAnalysisTaskCaloFilter()
Default constructor.
Bool_t fFillHybridTracks
Fill the output AOD file with hybrid tracks, only when fFillTracks = kTRUE.
void FillAODCaloTrigger()
AliAODCaloTrigger direct copy.
void SwitchOnFillMCParticles()
AliEMCALRecoUtils * GetEMCALRecoUtils() const
void SwitchOffFillAllVertices()
void SetEMCALNcellsCut(Int_t cut)
Float_t GetPHOSEnergyCut() const
Int_t fCaloFilter
Calorimeter to filter: kBoth, kEMCAL, kPHOS.
void SwitchOffClusterCorrection()
virtual void UserCreateOutputObjects()
Init EMCal geometry and create the AOD MC particles branch.
void SwitchOnFillTracks()
AliAODEvent * fAODEvent
! AOD event pointer (cast of fEvent).
Int_t GetEMCALNcellsCut() const
void SwitchOffFillTracks()
void SwitchOffFillHybridTracks()
TString fEMCALGeoName
Name of geometry to use.
void SwitchOffFillAODFile()
TString fConfigName
Name of analysis configuration file.
void SwitchOnCheckEventPrimaryVertex()
Bool_t AcceptEventVertex()
Float_t GetTrackPtCut() const
Filter Calorimeter ESDs into AODs.
Bool_t fLoadEMCALMatrices
Matrices set from configuration, not get from geometry.root or from ESDs/AODs.
AliEMCALRecoUtils * fEMCALRecoUtils
Pointer to EMCAL utilities for clusterization.
TString GetCaloFilter() const
void SwitchOnClusterCorrection()
void SetTrackPtCut(Float_t cut)
Int_t fEMCALNcellsCut
At least an EMCAL cluster with fNCellsCut cells over fEnergyCut.
AliAnalysisTaskCaloFilter & operator=(const AliAnalysisTaskCaloFilter &)
Assignment operator not implemented.
void SetEMCALEnergyCut(Float_t cut)
void SetEMCALGeometryName(TString name)
Float_t fEMCALEnergyCut
At least an EMCAL cluster with this energy in the event.
void FillAODHeader()
AOD Header copy.
void SetPHOSNcellsCut(Int_t cut)
void SwitchOnLoadOwnEMCALGeometryMatrices()
AliESDEvent * fESDEvent
! ESD event pointer (cast of fEvent).
AliVEvent * fEvent
! Event pointer.
void FillAODMCParticles()
Copy AOD MC particles.
Bool_t AcceptEventTrack()
Float_t GetEMCALEnergyCut() const
Int_t GetPHOSNcellsCut() const
void SetMBTriggerMask(UInt_t mask)
Bool_t fFillv0s
Fill the output AOD file with v0s.
Float_t fVzCut
At least events with vertex within cut.
void SetCaloFilter(Int_t calo)
Bool_t fFillMCParticles
Fill the output AOD file with MC particles.
void SetPHOSEnergyCut(Float_t cut)
UInt_t fMBTriggerMask
Define the mask for MB events, it should be kMB, but not always defined, use kAnyINT instead...
void CorrectionsInEMCAL()
Bool_t AcceptEventEMCAL()
void SetEMCALRecoUtils(AliEMCALRecoUtils *ru)
Float_t fPHOSEnergyCut
At least a PHOS cluster with this energy in the event.
void SwitchOnFillAllVertices()
virtual ~AliAnalysisTaskCaloFilter()
Destructor.
void SetEMCALGeometryMatrixInSM(TGeoHMatrix *m, Int_t i)
Bool_t fFillAODFile
Fill the output AOD file with clusters.
TGeoHMatrix * fEMCALMatrix[22]
Geometry matrices with alignments.
Bool_t fFillAllVertices
Fill the output AOD file with all vertices.
void FillAODCaloCells()
Fill EMCAL/PHOS cell info.
Bool_t fGeoMatrixSet
Set geometry matrices only once, for the first event.
Bool_t CheckForPrimaryVertexInAODs()
void SwitchOffFillVZERO()