![]() |
AliPhysics
1a228f7 (1a228f7)
|
Analysis component for EMCAL trigger patches. More...
#include <AliEMCalTriggerPatchAnalysisComponent.h>
Classes | |
class | AliEmcalTriggerPatchHandlerFactory |
Factory class handling the identification of trigger patches as a given type. More... | |
Protected Member Functions | |
void | FillStandardMonitoring (const AliEMCALTriggerPatchInfo *const patch, TString eventclass="") |
void | FillTriggerInfoHistogram (TString histo, const AliEMCALTriggerPatchInfo *const patch) |
void | FillAmplitudeHistogram (TString histo, const AliEMCALTriggerPatchInfo *const patch) |
![]() | |
TAxis * | DefineAxis (const char *name, const TBinning &binning) |
void | GetMachingTriggerNames (std::vector< std::string > &triggernames) const |
void | GetAllTriggerNamesAndTitles (std::map< std::string, std::string > &triggers) const |
void | PrintTriggerNames (const std::vector< std::string > &, const std::string &componentName) const |
Protected Attributes | |
Bool_t | fSwapOnlineThresholds |
Swap trigger thresholds for online patches. More... | |
Bool_t | fSwapOfflineThresholds |
Swap trigger thresholds for offline patches. More... | |
Bool_t | fWithEventSelection |
Define whether patches are analysed with event selection. More... | |
![]() | |
THistManager * | fHistos |
Histogram container of the analysis component. More... | |
const AliEMCalTriggerAnaClassManager * | fTriggerClassManager |
Global trigger class manager. More... | |
const AliEMCalTriggerBinningComponent * | fBinning |
Global binning handler. More... | |
const AliEMCalTriggerKineCuts * | fKineCuts |
Kinematical cuts for tracks and particle selection. More... | |
const AliEMCalTriggerWeightHandler * | fWeightHandler |
Event weight handler. More... | |
Int_t | fComponentDebugLevel |
Debug level for the given analysis component. More... | |
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 31 of file AliEMCalTriggerPatchAnalysisComponent.h.
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 39 of file AliEMCalTriggerPatchAnalysisComponent.cxx.
EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent::AliEMCalTriggerPatchAnalysisComponent | ( | const char * | name, |
Bool_t | withEventSelection = kFALSE |
||
) |
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.
name | Name of the component |
withEventSelection | In case of true, histograms are created for different event selection classes |
Definition at line 54 of file AliEMCalTriggerPatchAnalysisComponent.cxx.
|
inlinevirtual |
Definition at line 35 of file AliEMCalTriggerPatchAnalysisComponent.h.
|
virtual |
Create histograms for the trigger patch analysis. Two types of histograms are currently defined.
Each trigger type has its own histogram. Currently the following types are supported:
This function is the implementation of the abstract method CreateHistos declared in AliEMCalTriggerTracksAnalysisComponent.
Reimplemented from EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent.
Definition at line 81 of file AliEMCalTriggerPatchAnalysisComponent.cxx.
|
protected |
Fill histogram for patch amplitude
histo | Name of the histogram to fill |
patch | Patch with information |
Definition at line 203 of file AliEMCalTriggerPatchAnalysisComponent.cxx.
Referenced by FillStandardMonitoring().
|
protected |
Fill monitoring of the trigger patches (energies and amplitudes). If event type is specified, only the general histogram will be filled. Otherwise all histograms of classes which are fulfilled by the histogram are filled
patch | Trigger patch to be processed |
eventType | Trigger class the event was selected by (optional) |
Definition at line 161 of file AliEMCalTriggerPatchAnalysisComponent.cxx.
Referenced by Process().
|
protected |
Fill standard trigger patch info histogram
histo | Name of the histogram to fill |
patch | Patch with information |
Definition at line 189 of file AliEMCalTriggerPatchAnalysisComponent.cxx.
Referenced by FillStandardMonitoring().
|
inline |
Check whether thresholds for offline patches are swapped
Definition at line 52 of file AliEMCalTriggerPatchAnalysisComponent.h.
|
inline |
Check whether thresholds for online patches are swapped
Definition at line 45 of file AliEMCalTriggerPatchAnalysisComponent.h.
|
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.
data | Event information |
Implements EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent.
Definition at line 139 of file AliEMCalTriggerPatchAnalysisComponent.cxx.
|
inline |
Swap offline thresholds (i.e. low threshold becomes high threshold and vice versa)
doSwap | Do swap the thresholds |
Definition at line 66 of file AliEMCalTriggerPatchAnalysisComponent.h.
|
inline |
Swap online thresholds (i.e. low threshold becomes high threshold and vice versa)
doSwap | Do swap the thresholds |
Definition at line 59 of file AliEMCalTriggerPatchAnalysisComponent.h.
|
protected |
Swap trigger thresholds for offline patches.
Definition at line 238 of file AliEMCalTriggerPatchAnalysisComponent.h.
Referenced by FillStandardMonitoring(), IsSwapOfflineThresholds(), and SetSwapOfflineThresholds().
|
protected |
Swap trigger thresholds for online patches.
Definition at line 237 of file AliEMCalTriggerPatchAnalysisComponent.h.
Referenced by FillStandardMonitoring(), IsSwapOnlineThresholds(), and SetSwapOnlineThresholds().
|
protected |
Define whether patches are analysed with event selection.
Definition at line 239 of file AliEMCalTriggerPatchAnalysisComponent.h.
Referenced by CreateHistos(), and Process().