![]() |
AliPhysics
d2444a6 (d2444a6)
|
#include <AliAnalysisTaskEmcalClustersRef.h>
Classes | |
class | EnergyBinning |
Public Member Functions | |
AliAnalysisTaskEmcalClustersRef () | |
AliAnalysisTaskEmcalClustersRef (const char *name) | |
virtual | ~AliAnalysisTaskEmcalClustersRef () |
void | UserCreateOutputObjects () |
void | UserExec (Option_t *) |
void | Terminate (Option_t *) |
void | SetOfflineTriggerSelection (AliEmcalTriggerOfflineSelection *sel) |
void | SetClusterContainer (TString clustercontname) |
void | SetCreateTriggerStringFromPatches (Bool_t doUsePatches) |
void | SetRequestAnalysisUtil (Bool_t doRequest) |
void | SetCentralityRange (double min, double max) |
void | SetVertexRange (double min, double max) |
void | SetDownscaleOADB (TString oadbname) |
Protected Member Functions | |
virtual void | ExecOnce () |
virtual void | RunChanged (Int_t runnumber) |
Double_t | GetTriggerWeight (const TString &triggerclass) const |
void | GetPatchBoundaries (TObject *o, Double_t *boundaries) const |
bool | IsOfflineSimplePatch (TObject *o) const |
bool | SelectDCALPatch (TObject *o) const |
bool | SelectSingleShowerPatch (TObject *o) const |
bool | SelectJetPatch (TObject *o) const |
double | GetPatchEnergy (TObject *o) const |
void | FillClusterHistograms (const TString &triggerclass, double energy, double transversenergy, double eta, double phi, TList *triggerpatches) |
void | FillEventHistograms (const TString &triggerclass, double centrality, double vertexz) |
TString | GetFiredTriggerClassesFromPatches (const TClonesArray *triggerpatches) const |
void | FindPatchesForTrigger (TString triggerclass, const TClonesArray *triggerpatches, TList &foundpatches) const |
Bool_t | CorrelateToTrigger (Double_t etaclust, Double_t phiclust, TList *triggerpatches) const |
Protected Attributes | |
AliAnalysisUtils * | fAnalysisUtil |
Analysis utils for additional event selection / pileup rejection. More... | |
THistManager * | fHistos |
! Histogram handler More... | |
AliEmcalTriggerOfflineSelection * | fTriggerSelection |
EMCAL offline trigger selection tool. More... | |
AliEMCALGeometry * | fGeometry |
! EMCAL geometry More... | |
TClonesArray * | fTriggerPatches |
! Container with trigger patches More... | |
TString | fClusterContainer |
Name of the cluster container in the event. More... | |
Bool_t | fRequestAnalysisUtil |
Switch on request for event selection using analysis utils. More... | |
Bool_t | fTriggerStringFromPatches |
Build trigger string from trigger patches. More... | |
AliCutValueRange< double > | fCentralityRange |
Selected centrality range. More... | |
AliCutValueRange< double > | fVertexRange |
Selected vertex range. More... | |
Bool_t | fRequestCentrality |
Swich on request for centrality range. More... | |
TString | fNameDownscaleOADB |
Name of the downscale OADB container. More... | |
AliOADBContainer * | fDownscaleOADB |
! Container with downscale factors for different triggers More... | |
TObjArray * | fDownscaleFactors |
! Downscalfactors for given run More... | |
Int_t | fCurrentRun |
Current run number (for RunChange method) More... | |
Bool_t | fInitialized |
Check for initialized. More... | |
Private Member Functions | |
AliAnalysisTaskEmcalClustersRef (const AliAnalysisTaskEmcalClustersRef &) | |
AliAnalysisTaskEmcalClustersRef & | operator= (const AliAnalysisTaskEmcalClustersRef &) |
Definition at line 26 of file AliAnalysisTaskEmcalClustersRef.h.
EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClustersRef::AliAnalysisTaskEmcalClustersRef | ( | ) |
Dummy (I/O) constructor
Definition at line 58 of file AliAnalysisTaskEmcalClustersRef.cxx.
EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClustersRef::AliAnalysisTaskEmcalClustersRef | ( | const char * | name | ) |
Named constructor
name | Name of the task |
Definition at line 83 of file AliAnalysisTaskEmcalClustersRef.cxx.
|
virtual |
Destructor
Definition at line 108 of file AliAnalysisTaskEmcalClustersRef.cxx.
|
private |
|
protected |
Check whether cluster is inside a trigger patch which has fired the trigger
[in] | etaclust | \( \eta \) of the cluster at center |
[in] | phiclust | \( \phi \) of the cluster at center |
[in] | fTriggerPatches | List of trigger patches which have fired the trigger |
Definition at line 573 of file AliAnalysisTaskEmcalClustersRef.cxx.
Referenced by FillClusterHistograms().
|
protectedvirtual |
Definition at line 458 of file AliAnalysisTaskEmcalClustersRef.cxx.
Referenced by UserExec().
|
protected |
Definition at line 500 of file AliAnalysisTaskEmcalClustersRef.cxx.
Referenced by UserExec().
|
protected |
Fill event-based histograms. Monitored are
[in] | triggerclass | Name of the trigger class |
[in] | centrality | Centrality percentile of the event |
[in] | vertexz | z-position of the |
Definition at line 559 of file AliAnalysisTaskEmcalClustersRef.cxx.
Referenced by UserExec().
|
protected |
Find all patches in an event which could have fired the trigger Attention: This task groups into single shower triggers (L0, EG1, EG2) and jet triggers (EJ1 and EJ2). Per convention the low threshold patch is selected. No energy cut should be applied in the trigger maker
triggerclass | EMCAL trigger class firing |
fTriggerPatches | Trigger patches found in the event |
Definition at line 598 of file AliAnalysisTaskEmcalClustersRef.cxx.
Referenced by UserExec().
|
protected |
Apply trigger selection using offline patches and trigger thresholds based on offline ADC Amplitude
fTriggerPatches | Trigger patches found by the trigger maker |
Definition at line 633 of file AliAnalysisTaskEmcalClustersRef.cxx.
Referenced by UserExec().
|
protected |
Definition at line 693 of file AliAnalysisTaskEmcalClustersRef.cxx.
Referenced by CorrelateToTrigger().
|
protected |
Definition at line 722 of file AliAnalysisTaskEmcalClustersRef.cxx.
Referenced by FindPatchesForTrigger().
|
protected |
Get a trigger class dependent event weight. The weight is defined as 1/downscalefactor. The downscale factor is taken from the OADB. For triggers which are not downscaled the weight is always 1.
[in] | triggerclass | Class for which to obtain the trigger. |
Definition at line 487 of file AliAnalysisTaskEmcalClustersRef.cxx.
Referenced by FillClusterHistograms(), and FillEventHistograms().
|
protected |
Definition at line 701 of file AliAnalysisTaskEmcalClustersRef.cxx.
Referenced by FindPatchesForTrigger().
|
private |
|
protectedvirtual |
Definition at line 473 of file AliAnalysisTaskEmcalClustersRef.cxx.
Referenced by UserExec().
|
protected |
Definition at line 706 of file AliAnalysisTaskEmcalClustersRef.cxx.
Referenced by FindPatchesForTrigger().
|
protected |
Definition at line 716 of file AliAnalysisTaskEmcalClustersRef.cxx.
Referenced by FindPatchesForTrigger().
|
protected |
Definition at line 711 of file AliAnalysisTaskEmcalClustersRef.cxx.
Referenced by FindPatchesForTrigger().
|
inline |
Definition at line 41 of file AliAnalysisTaskEmcalClustersRef.h.
|
inline |
Definition at line 37 of file AliAnalysisTaskEmcalClustersRef.h.
|
inline |
Definition at line 38 of file AliAnalysisTaskEmcalClustersRef.h.
|
inline |
Definition at line 43 of file AliAnalysisTaskEmcalClustersRef.h.
|
inline |
Definition at line 36 of file AliAnalysisTaskEmcalClustersRef.h.
|
inline |
Definition at line 40 of file AliAnalysisTaskEmcalClustersRef.h.
|
inline |
Definition at line 42 of file AliAnalysisTaskEmcalClustersRef.h.
|
inline |
Definition at line 34 of file AliAnalysisTaskEmcalClustersRef.h.
void EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClustersRef::UserCreateOutputObjects | ( | ) |
Creates output histograms: distribution of cluster energy for different trigger classes and number of events
Definition at line 115 of file AliAnalysisTaskEmcalClustersRef.cxx.
void EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClustersRef::UserExec | ( | Option_t * | ) |
Definition at line 179 of file AliAnalysisTaskEmcalClustersRef.cxx.
|
protected |
Analysis utils for additional event selection / pileup rejection.
Definition at line 64 of file AliAnalysisTaskEmcalClustersRef.h.
Referenced by UserCreateOutputObjects(), and UserExec().
|
protected |
Selected centrality range.
Definition at line 73 of file AliAnalysisTaskEmcalClustersRef.h.
Referenced by SetCentralityRange(), and UserExec().
|
protected |
Name of the cluster container in the event.
Definition at line 69 of file AliAnalysisTaskEmcalClustersRef.h.
Referenced by SetClusterContainer(), and UserExec().
|
protected |
Current run number (for RunChange method)
Definition at line 81 of file AliAnalysisTaskEmcalClustersRef.h.
Referenced by UserExec().
|
protected |
! Downscalfactors for given run
Definition at line 79 of file AliAnalysisTaskEmcalClustersRef.h.
Referenced by GetTriggerWeight(), and RunChanged().
|
protected |
! Container with downscale factors for different triggers
Definition at line 78 of file AliAnalysisTaskEmcalClustersRef.h.
Referenced by ExecOnce(), and RunChanged().
|
protected |
! EMCAL geometry
Definition at line 67 of file AliAnalysisTaskEmcalClustersRef.h.
Referenced by ExecOnce(), and FillClusterHistograms().
|
protected |
! Histogram handler
Definition at line 65 of file AliAnalysisTaskEmcalClustersRef.h.
Referenced by FillClusterHistograms(), FillEventHistograms(), UserCreateOutputObjects(), and UserExec().
|
protected |
Check for initialized.
Definition at line 82 of file AliAnalysisTaskEmcalClustersRef.h.
Referenced by UserExec().
|
protected |
Name of the downscale OADB container.
Definition at line 77 of file AliAnalysisTaskEmcalClustersRef.h.
Referenced by ExecOnce(), and SetDownscaleOADB().
|
protected |
Switch on request for event selection using analysis utils.
Definition at line 71 of file AliAnalysisTaskEmcalClustersRef.h.
Referenced by SetRequestAnalysisUtil(), and UserExec().
|
protected |
Swich on request for centrality range.
Definition at line 75 of file AliAnalysisTaskEmcalClustersRef.h.
Referenced by SetCentralityRange(), and UserExec().
|
protected |
! Container with trigger patches
Definition at line 68 of file AliAnalysisTaskEmcalClustersRef.h.
Referenced by ExecOnce(), and UserExec().
|
protected |
EMCAL offline trigger selection tool.
Definition at line 66 of file AliAnalysisTaskEmcalClustersRef.h.
Referenced by FindPatchesForTrigger(), SetOfflineTriggerSelection(), UserExec(), and ~AliAnalysisTaskEmcalClustersRef().
|
protected |
Build trigger string from trigger patches.
Definition at line 72 of file AliAnalysisTaskEmcalClustersRef.h.
Referenced by SetCreateTriggerStringFromPatches(), and UserExec().
|
protected |
Selected vertex range.
Definition at line 74 of file AliAnalysisTaskEmcalClustersRef.h.
Referenced by SetVertexRange(), and UserExec().