AliPhysics  c7b8e89 (c7b8e89)
AliAnalysisTaskESDfilterEMCALEventSelect Class Reference

Filter ESDs events into AODs with some significant calorimeter signal. More...

#include <AliAnalysisTaskESDfilterEMCALEventSelect.h>

Inheritance diagram for AliAnalysisTaskESDfilterEMCALEventSelect:

Public Member Functions

 AliAnalysisTaskESDfilterEMCALEventSelect ()
 
 AliAnalysisTaskESDfilterEMCALEventSelect (const char *name)
 
virtual ~AliAnalysisTaskESDfilterEMCALEventSelect ()
 
void UserExec (Option_t *option)
 
Bool_t AcceptEventEMCAL ()
 
void AccessBadMap ()
 
void SetGeometryName (TString name)
 
TString GetGeometryName () const
 
void SetEnergyCut (Float_t cut)
 
Float_t GetEnergyCut () const
 
void SetNcellsCut (Int_t cut)
 
Int_t GetNcellsCut () const
 
AliEMCALRecoUtilsGetRecoUtils ()
 

Private Member Functions

 AliAnalysisTaskESDfilterEMCALEventSelect (const AliAnalysisTaskESDfilterEMCALEventSelect &)
 Copy constructor not implemented. More...
 
AliAnalysisTaskESDfilterEMCALEventSelectoperator= (const AliAnalysisTaskESDfilterEMCALEventSelect &)
 Assignment operator not implemented. More...
 

Private Attributes

Float_t fEnergyCut
 At least a cluster with this energy in the event. More...
 
Int_t fNcellsCut
 At least a cluster with fNCellsCut cells over fEnergyCut. More...
 
AliEMCALRecoUtilsfRecoUtils
 AliEMCALRecoUtils pointer. More...
 
AliEMCALGeometry * fGeometry
 Access to EMCAL geometry utils. More...
 
TString fGeoName
 Name of geometry used. More...
 

Detailed Description

Filter ESDs events into AODs with some significant calorimeter signal.

Filter the ESD Events to AODs, only those events with some signal in EMCAL, righ now at least a cluster of high energy. Class derived from AliAnalysisTaskESDfilter.

Something similar is done in AliAnalysisTaskCaloFilter but more complete (?).

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-IN2P3-CNRS

Definition at line 23 of file AliAnalysisTaskESDfilterEMCALEventSelect.h.

Constructor & Destructor Documentation

AliAnalysisTaskESDfilterEMCALEventSelect::AliAnalysisTaskESDfilterEMCALEventSelect ( )

Default constructor.

Definition at line 28 of file AliAnalysisTaskESDfilterEMCALEventSelect.cxx.

AliAnalysisTaskESDfilterEMCALEventSelect::AliAnalysisTaskESDfilterEMCALEventSelect ( const char *  name)

Constructor.

Definition at line 41 of file AliAnalysisTaskESDfilterEMCALEventSelect.cxx.

virtual AliAnalysisTaskESDfilterEMCALEventSelect::~AliAnalysisTaskESDfilterEMCALEventSelect ( )
inlinevirtual

Definition at line 31 of file AliAnalysisTaskESDfilterEMCALEventSelect.h.

AliAnalysisTaskESDfilterEMCALEventSelect::AliAnalysisTaskESDfilterEMCALEventSelect ( const AliAnalysisTaskESDfilterEMCALEventSelect )
private

Copy constructor not implemented.

Member Function Documentation

Bool_t AliAnalysisTaskESDfilterEMCALEventSelect::AcceptEventEMCAL ( )
Returns
True if there is signal in EMCal Accept event given there is a EMCAL cluster with enough energy and cells.

Definition at line 56 of file AliAnalysisTaskESDfilterEMCALEventSelect.cxx.

Referenced by UserExec(), and ~AliAnalysisTaskESDfilterEMCALEventSelect().

void AliAnalysisTaskESDfilterEMCALEventSelect::AccessBadMap ( )
Float_t AliAnalysisTaskESDfilterEMCALEventSelect::GetEnergyCut ( ) const
inline

Definition at line 43 of file AliAnalysisTaskESDfilterEMCALEventSelect.h.

TString AliAnalysisTaskESDfilterEMCALEventSelect::GetGeometryName ( ) const
inline

Definition at line 40 of file AliAnalysisTaskESDfilterEMCALEventSelect.h.

Int_t AliAnalysisTaskESDfilterEMCALEventSelect::GetNcellsCut ( ) const
inline

Definition at line 46 of file AliAnalysisTaskESDfilterEMCALEventSelect.h.

AliEMCALRecoUtils* AliAnalysisTaskESDfilterEMCALEventSelect::GetRecoUtils ( )
inline
AliAnalysisTaskESDfilterEMCALEventSelect& AliAnalysisTaskESDfilterEMCALEventSelect::operator= ( const AliAnalysisTaskESDfilterEMCALEventSelect )
private

Assignment operator not implemented.

void AliAnalysisTaskESDfilterEMCALEventSelect::SetEnergyCut ( Float_t  cut)
inline
void AliAnalysisTaskESDfilterEMCALEventSelect::SetGeometryName ( TString  name)
inline

Definition at line 39 of file AliAnalysisTaskESDfilterEMCALEventSelect.h.

void AliAnalysisTaskESDfilterEMCALEventSelect::SetNcellsCut ( Int_t  cut)
inline
void AliAnalysisTaskESDfilterEMCALEventSelect::UserExec ( Option_t option)

Main method, execute per event:

  • Check if the events contains what we want in EMCAL, if not, do not copy the ESD into AOD
  • Continue the processing in the same way as in the ESD filter.

Definition at line 89 of file AliAnalysisTaskESDfilterEMCALEventSelect.cxx.

Referenced by ~AliAnalysisTaskESDfilterEMCALEventSelect().

Member Data Documentation

Float_t AliAnalysisTaskESDfilterEMCALEventSelect::fEnergyCut
private

At least a cluster with this energy in the event.

Definition at line 52 of file AliAnalysisTaskESDfilterEMCALEventSelect.h.

Referenced by AcceptEventEMCAL(), GetEnergyCut(), and SetEnergyCut().

AliEMCALGeometry* AliAnalysisTaskESDfilterEMCALEventSelect::fGeometry
private

Access to EMCAL geometry utils.

Definition at line 58 of file AliAnalysisTaskESDfilterEMCALEventSelect.h.

Referenced by AcceptEventEMCAL().

TString AliAnalysisTaskESDfilterEMCALEventSelect::fGeoName
private

Name of geometry used.

Definition at line 60 of file AliAnalysisTaskESDfilterEMCALEventSelect.h.

Referenced by AcceptEventEMCAL(), GetGeometryName(), and SetGeometryName().

Int_t AliAnalysisTaskESDfilterEMCALEventSelect::fNcellsCut
private

At least a cluster with fNCellsCut cells over fEnergyCut.

Definition at line 54 of file AliAnalysisTaskESDfilterEMCALEventSelect.h.

Referenced by AcceptEventEMCAL(), GetNcellsCut(), and SetNcellsCut().

AliEMCALRecoUtils* AliAnalysisTaskESDfilterEMCALEventSelect::fRecoUtils
private

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