AliPhysics  vAN-20150328 (7755d27)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent Class Reference

Analysis component for EMCAL trigger patches. More...

#include <AliEMCalTriggerPatchAnalysisComponent.h>

Inheritance diagram for EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent:

Public Member Functions

 AliEMCalTriggerPatchAnalysisComponent ()
 
 AliEMCalTriggerPatchAnalysisComponent (const char *name)
 
virtual ~AliEMCalTriggerPatchAnalysisComponent ()
 
virtual void CreateHistos ()
 
virtual void Process (const AliEMCalTriggerEventData *const data)
 
Bool_t IsSwapOnlineThresholds () const
 
Bool_t IsSwapOfflineThresholds () const
 
void SetSwapOnlineThresholds (Bool_t doSwap=kTRUE)
 
void SetSwapOfflineThresholds (Bool_t doSwap=kTRUE)
 
- Public Member Functions inherited from EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent
 AliEMCalTriggerTracksAnalysisComponent ()
 
 AliEMCalTriggerTracksAnalysisComponent (const char *name)
 
virtual ~AliEMCalTriggerTracksAnalysisComponent ()
 
THashList * GetHistList () const
 
const
AliEMCalTriggerWeightHandler
GetWeightHandler () const
 
void SetBinning (const AliEMCalTriggerBinningComponent *const binning)
 
void SetKineCuts (const AliEMCalTriggerKineCuts *const cuts)
 
void SetTriggerDecision (const AliEMCalTriggerAnaTriggerDecision *trigger)
 
void SetWeightHandler (const AliEMCalTriggerWeightHandler *handler)
 
void SetComponentDebugLevel (int debuglevel)
 

Protected Attributes

Bool_t fSwapOnlineThresholds
 Swap trigger thresholds for online patches. More...
 
Bool_t fSwapOfflineThresholds
 Swap trigger thresholds for offline patches. More...
 
- Protected Attributes inherited from EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent
AliEMCalHistoContainerfHistos
 Histogram container of the analysis component. More...
 
const
AliEMCalTriggerBinningComponent
fBinning
 Global binning handler. More...
 
const AliEMCalTriggerKineCutsfKineCuts
 Kinematical cuts for tracks and particle selection. More...
 
const
AliEMCalTriggerAnaTriggerDecision
fTriggerDecision
 Trigger decision handler. More...
 
const
AliEMCalTriggerWeightHandler
fWeightHandler
 Event weight handler. More...
 
Int_t fComponentDebugLevel
 Debug level for the given analysis component. More...
 

Additional Inherited Members

- Protected Member Functions inherited from EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent
TAxis * DefineAxis (const char *name, const AliEMCalTriggerBinningDimension *binning)
 
TAxis * DefineAxis (const char *name, int nbins, double min, double max)
 
void GetMachingTriggerNames (std::vector< std::string > &triggernames, ETriggerMethod_t usePatches)
 
void PrintTriggerNames (const std::vector< std::string > &, const std::string &componentName) const
 

Detailed Description

Analysis component for EMCAL trigger patches.

Analysis components for trigger patches. Fills THnSparses with the different energy definitions (amplitude, estimated (rough) patch energy, calibrated (offline) energy and the patch position on the EMCAL surface for EMCAL trigger patches of different categories created by the EMCAL trigger patch maker. Main patches defined as the patches of a given type with the highest energy.

Definition at line 35 of file AliEMCalTriggerPatchAnalysisComponent.h.

Constructor & Destructor Documentation

EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent::AliEMCalTriggerPatchAnalysisComponent ( )

Dummy constructor, only for ROOT I/O, not to be used by the users. Sets as default swapping of the trigger thresholds to false for both types of patches.

Definition at line 32 of file AliEMCalTriggerPatchAnalysisComponent.cxx.

EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent::AliEMCalTriggerPatchAnalysisComponent ( const char *  name)

Main constructor, to be used to create the analysis component. Sets as default swapping of the trigger thresholds to false for both types of patches.

Parameters
nameName of the component

Definition at line 45 of file AliEMCalTriggerPatchAnalysisComponent.cxx.

virtual EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent::~AliEMCalTriggerPatchAnalysisComponent ( )
inlinevirtual

Definition at line 39 of file AliEMCalTriggerPatchAnalysisComponent.h.

Member Function Documentation

void EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent::CreateHistos ( )
virtual

Create histograms for the trigger patch analysis. Two types of histograms are currently defined.

  1. A histogram correlating different energy values (amplitude, estimated energy, calibrated energy)
  2. A histogram correlating online amplitude and offline amplitude All histograms contain the trigger patch position in \(\eta\) and \(\phi\) as well. In case the patch is a main patch, defined as the patch of a given trigger type with the highest energy, this patch is marked as well.

Each trigger type has its own histogram. Currently the following types are supported:

  1. EMCal Level1 Jet, high threshold (EMCJHigh)
  2. EMCal Level1 Jet, low threshold (EMCJLow)
  3. EMCal Level1 Gamma, high threshold (EMCGHigh)
  4. EMCal Level1 Gamma, low threshold (EMCGLow)
  5. EMCal Level0 For all Level1 triggers, histograms are separated for online and offline patches. For Level0 only offline patches are available.

This function is the implementation of the abstract method CreateHistos declared in AliEMCalTriggerTracksAnalysisComponent.

Reimplemented from EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent.

Definition at line 71 of file AliEMCalTriggerPatchAnalysisComponent.cxx.

Bool_t EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent::IsSwapOfflineThresholds ( ) const
inline

Check whether thresholds for offline patches are swapped

Returns
true if thresholds are swapped, fales otherwise

Definition at line 56 of file AliEMCalTriggerPatchAnalysisComponent.h.

Bool_t EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent::IsSwapOnlineThresholds ( ) const
inline

Check whether thresholds for online patches are swapped

Returns
true if thresholds are swapped, fales otherwise

Definition at line 49 of file AliEMCalTriggerPatchAnalysisComponent.h.

void EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent::Process ( const AliEMCalTriggerEventData *const  data)
virtual

Perform analysis on the event data set. Loops over all trigger patches found by the trigger patch maker and fill relevant histograms for the different trigger types associated with the trigger patch. In case the thresholds are requested to be swapped (separately for online and offline patches), then low threshold patches will be used for high threshold histograms and vice versa.

This function is the implementation of the abstract method Process declared in AliEMCalTriggerTracksAnalysisComponent.

Parameters
dataEvent information

Implements EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent.

Definition at line 118 of file AliEMCalTriggerPatchAnalysisComponent.cxx.

void EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent::SetSwapOfflineThresholds ( Bool_t  doSwap = kTRUE)
inline

Swap offline thresholds (i.e. low threshold becomes high threshold and vice versa)

Parameters
doSwapDo swap the thresholds

Definition at line 70 of file AliEMCalTriggerPatchAnalysisComponent.h.

void EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent::SetSwapOnlineThresholds ( Bool_t  doSwap = kTRUE)
inline

Swap online thresholds (i.e. low threshold becomes high threshold and vice versa)

Parameters
doSwapDo swap the thresholds

Definition at line 63 of file AliEMCalTriggerPatchAnalysisComponent.h.

Member Data Documentation

Bool_t EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent::fSwapOfflineThresholds
protected

Swap trigger thresholds for offline patches.

Definition at line 75 of file AliEMCalTriggerPatchAnalysisComponent.h.

Referenced by IsSwapOfflineThresholds(), Process(), and SetSwapOfflineThresholds().

Bool_t EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent::fSwapOnlineThresholds
protected

Swap trigger thresholds for online patches.

Definition at line 74 of file AliEMCalTriggerPatchAnalysisComponent.h.

Referenced by IsSwapOnlineThresholds(), Process(), and SetSwapOnlineThresholds().


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