![]() |
AliPhysics
vAN-20151009 (0f35a5f)
|
Old charged hadron analysis in EMCAL-triggered events. More...
#include <AliAnalysisTaskPtEMCalTrigger.h>
Public Types | |
enum | EEMCalTriggerType_t { kEMCalJetLow = 0, kEMCalJetHigh = 1, kEMCalGammaLow = 2, kEMCalGammaHigh = 3 } |
Public Member Functions | |
AliAnalysisTaskPtEMCalTrigger () | |
AliAnalysisTaskPtEMCalTrigger (const char *name) | |
~AliAnalysisTaskPtEMCalTrigger () | |
virtual void | UserCreateOutputObjects () |
virtual Bool_t | Run () |
void | AddESDTrackCuts (AliESDtrackCuts *trackCuts) |
void | AddCutsForAOD (AliESDtrackCuts *trackCuts, UInt_t filterBits) |
void | SetEtaRange (double etamin, double etamax) |
void | SetPtRange (double ptmin, double ptmax) |
void | SetVertexRange (double vmin, double vmax) |
void | SetClusterEnergyRange (double emin, double emax) |
void | SetSwapEta () |
void | UseTriggersFromTriggerMaker () |
void | AddJetContainerName (const Char_t *contname, Bool_t isMC=kFALSE) |
void | SelectAllTracks (Bool_t doAll) |
Static Public Attributes | |
static const Int_t | kNJetRadii = 4 |
static const Double_t * | kJetRadii = jetRadVals |
Private Member Functions | |
AliAnalysisTaskPtEMCalTrigger (const AliAnalysisTaskPtEMCalTrigger &) | |
AliAnalysisTaskPtEMCalTrigger & | operator= (const AliAnalysisTaskPtEMCalTrigger &) |
void | CreateDefaultPtBinning (TArrayD &binning) const |
void | CreateDefaultZVertexBinning (TArrayD &binning) const |
void | CreateDefaultEtaBinning (TArrayD &binning) const |
void | DefineAxis (TAxis &axis, const char *name, const char *title, const TArrayD &binning, const char **labels=NULL) |
void | DefineAxis (TAxis &axis, const char *name, const char *title, int nbins, double min, double max, const char **labels=NULL) |
void | FillEventHist (const char *trigger, double vz, bool isPileup) |
void | FillTrackHist (const char *trigger, const AliVTrack *track, double vz, bool isPileup, int cut, bool isMinBias, double jetradius=-1.) |
void | FillClusterHist (const char *trigger, const AliVCluster *clust, double vz, bool isPileup, bool isMinBias) |
void | FillMCParticleHist (const char *histname, const AliVParticle *const part, double vz, bool isPileup) |
bool | IsTrueTrack (const AliVTrack *const) const |
TString | BuildTriggerString () |
const AliVVertex * | GetSPDVertex () const |
const AliEmcalJet * | FoundTrackInJet (const AliVParticle *const track, AliJetContainer *const jets) const |
const AliEmcalJet * | FoundClusterInJet (const AliVCluster *const clust, AliJetContainer *const jets) const |
bool | TrackInJet (const AliVParticle *const track, const AliEmcalJet *reconstructedJet, const AliParticleContainer *const particles) const |
bool | ClusterInJet (const AliVCluster *const clust, const AliEmcalJet *reconstructedJet, const AliClusterContainer *const particles) const |
bool | IsInRadius (const AliVParticle *const track, const AliEmcalJet *reconstructedJet, Double_t radius) const |
bool | IsInRadius (const AliVCluster *const clust, const AliEmcalJet *reconstructedJet, Double_t radius) const |
Private Attributes | |
AliEMCalHistoContainer * | fHistos |
Histogram container for the task. More... | |
TList * | fListTrackCuts |
List of track cuts. More... | |
AliCutValueRange< double > | fEtaRange |
Eta Selection Range. More... | |
AliCutValueRange< double > | fPtRange |
Pt Selection Range. More... | |
AliCutValueRange< double > | fEnergyRange |
Cluster energy selection range. More... | |
AliCutValueRange< double > | fVertexRange |
Vertex cut. More... | |
TList | fJetContainersMC |
List of jet containers for MC. More... | |
TList | fJetContainersData |
List of jet containers for Data. More... | |
Bool_t | fSelectAllTracks |
Loop over all tracks. More... | |
Bool_t | fSwapEta |
Allow swapping of the eta sign in asymmetric collision systems. More... | |
Bool_t | fUseTriggersFromTriggerMaker |
Use trigger classes from trigger maker. More... | |
Old charged hadron analysis in EMCAL-triggered events.
Analysis task of the pt analysis on EMCal-triggered events
Definition at line 40 of file AliAnalysisTaskPtEMCalTrigger.h.
Enumerator | |
---|---|
kEMCalJetLow | |
kEMCalJetHigh | |
kEMCalGammaLow | |
kEMCalGammaHigh |
Definition at line 42 of file AliAnalysisTaskPtEMCalTrigger.h.
EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::AliAnalysisTaskPtEMCalTrigger | ( | ) |
Dummy constructor, initialising the values with default (NULL) values
Definition at line 75 of file AliAnalysisTaskPtEMCalTrigger.cxx.
EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::AliAnalysisTaskPtEMCalTrigger | ( | const char * | name | ) |
Main constructor, setting default values for eta and zvertex cut
name | Name of the task |
Definition at line 95 of file AliAnalysisTaskPtEMCalTrigger.cxx.
EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::~AliAnalysisTaskPtEMCalTrigger | ( | ) |
Destructor, deleting output
Definition at line 124 of file AliAnalysisTaskPtEMCalTrigger.cxx.
|
private |
void EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::AddCutsForAOD | ( | AliESDtrackCuts * | trackCuts, |
UInt_t | filterbits | ||
) |
Add new track cuts to the task
trackCuts | Object of type AliESDtrackCuts |
Definition at line 904 of file AliAnalysisTaskPtEMCalTrigger.cxx.
void EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::AddESDTrackCuts | ( | AliESDtrackCuts * | trackCuts | ) |
Add new track cuts to the task
trackCuts | Object of type AliESDtrackCuts |
Definition at line 895 of file AliAnalysisTaskPtEMCalTrigger.cxx.
void EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::AddJetContainerName | ( | const Char_t * | contname, |
Bool_t | isMC = kFALSE |
||
) |
Add new Jet input container to the analysis task
contname | Name of the container |
isMC | Defines whether the container is for MC truth or not |
Definition at line 1073 of file AliAnalysisTaskPtEMCalTrigger.cxx.
|
private |
Build trigger string from the trigger maker
Definition at line 914 of file AliAnalysisTaskPtEMCalTrigger.cxx.
Referenced by Run().
|
private |
Check whether cluster is among the jet constituents
track | track to check |
reconstructedJet | reconstructed jet to check |
clusters | the cluster container |
Definition at line 1053 of file AliAnalysisTaskPtEMCalTrigger.cxx.
Referenced by FoundClusterInJet().
|
private |
Creating default z-Vertex binning.
binning | Array where to store the results. |
Definition at line 666 of file AliAnalysisTaskPtEMCalTrigger.cxx.
Referenced by UserCreateOutputObjects().
|
private |
Creating the default \( p_{t} \) binning.
binning | Array where to store the results. |
Definition at line 618 of file AliAnalysisTaskPtEMCalTrigger.cxx.
Referenced by UserCreateOutputObjects().
|
private |
Creating default z-Vertex binning.
binning | Array where to store the results. |
Definition at line 647 of file AliAnalysisTaskPtEMCalTrigger.cxx.
Referenced by UserCreateOutputObjects().
|
private |
Define an axis with a given binning
axis | Axis to be defined |
name | Name of the axis |
title | Title of the axis |
binning | axis binning |
labels | array of bin labels |
Definition at line 689 of file AliAnalysisTaskPtEMCalTrigger.cxx.
Referenced by UserCreateOutputObjects().
|
private |
Define an axis with number of bins from min to max
axis | Axis to be defined |
name | Name of the axis |
title | Title of the axis |
nbins | Number of bins |
min | lower limit of the axis |
max | upper limit of the axis |
labels | array of bin labels |
Definition at line 711 of file AliAnalysisTaskPtEMCalTrigger.cxx.
|
private |
Fill cluster-based histogram with corresponding information
trigger | name of the trigger |
cluster | the EMCal cluster information |
vz | z-position of the vertex |
isPileup | flag event as pileup event |
Definition at line 840 of file AliAnalysisTaskPtEMCalTrigger.cxx.
Referenced by Run().
|
private |
Fill event-based histogram
trigger | name of the trigger configuration to be processed |
vz | z-position of the vertex |
isPileup | signalises if the event is flagged as pileup event |
Definition at line 730 of file AliAnalysisTaskPtEMCalTrigger.cxx.
Referenced by Run().
|
private |
Fill histogram for MC-true particles with the information pt, eta and phi
track | the Monte-Carlo track |
Definition at line 867 of file AliAnalysisTaskPtEMCalTrigger.cxx.
Referenced by Run().
|
private |
Fill track-based histogram with corresponding information
trigger | name of the trigger |
track | ESD track selected |
vz | z-position of the vertex |
isPileup | flag event as pileup event |
cut | id of the cut (0 = no cut) |
Definition at line 761 of file AliAnalysisTaskPtEMCalTrigger.cxx.
Referenced by Run().
|
private |
Check whether a cluster is in a radius around a given jet
clust | The cluster to check |
reconstructedJet | reconstructed jet to check |
Definition at line 1031 of file AliAnalysisTaskPtEMCalTrigger.cxx.
|
private |
Correlate track to reconstructed jet
track | particle to be checked |
jets | container of recontructed jets |
Definition at line 949 of file AliAnalysisTaskPtEMCalTrigger.cxx.
Referenced by Run().
|
private |
Accessor for the SPD vertex, creating transparency for ESDs and AODs
Definition at line 929 of file AliAnalysisTaskPtEMCalTrigger.cxx.
Referenced by Run().
|
private |
Check if track is in radius around a given jet
track | Track to check |
reconstructed | jet jet to probe |
radius | cone radius |
Definition at line 973 of file AliAnalysisTaskPtEMCalTrigger.cxx.
Referenced by Run().
|
private |
Check if track is in radius around a given jet
track | Track to check |
reconstructed | jet jet to probe |
radius | cone radius |
Definition at line 985 of file AliAnalysisTaskPtEMCalTrigger.cxx.
|
private |
Check if the track has an associated MC particle, and that the particle is a physical primary In case of data we do not do the selection at that step (always return true)
track | Track to check |
Definition at line 883 of file AliAnalysisTaskPtEMCalTrigger.cxx.
Referenced by Run().
|
private |
|
virtual |
Runs the event loop
option | Additional options |
Definition at line 318 of file AliAnalysisTaskPtEMCalTrigger.cxx.
|
inline |
Definition at line 67 of file AliAnalysisTaskPtEMCalTrigger.h.
|
inline |
Definition at line 63 of file AliAnalysisTaskPtEMCalTrigger.h.
|
inline |
Definition at line 60 of file AliAnalysisTaskPtEMCalTrigger.h.
|
inline |
Definition at line 61 of file AliAnalysisTaskPtEMCalTrigger.h.
|
inline |
Definition at line 64 of file AliAnalysisTaskPtEMCalTrigger.h.
|
inline |
Definition at line 62 of file AliAnalysisTaskPtEMCalTrigger.h.
|
private |
Check whether track is among the jet constituents
track | track to check |
reconstructedJet | reconstructed jet to check |
tracks | container with tracks used for jetfinding |
Definition at line 1007 of file AliAnalysisTaskPtEMCalTrigger.cxx.
Referenced by FoundTrackInJet().
|
virtual |
Create the list of output objects and define the histograms. Also adding the track cuts to the list of histograms.
Definition at line 134 of file AliAnalysisTaskPtEMCalTrigger.cxx.
|
inline |
Definition at line 65 of file AliAnalysisTaskPtEMCalTrigger.h.
|
private |
Cluster energy selection range.
Definition at line 98 of file AliAnalysisTaskPtEMCalTrigger.h.
Referenced by AliAnalysisTaskPtEMCalTrigger(), Run(), and SetClusterEnergyRange().
|
private |
Eta Selection Range.
Definition at line 96 of file AliAnalysisTaskPtEMCalTrigger.h.
Referenced by AliAnalysisTaskPtEMCalTrigger(), Run(), and SetEtaRange().
|
private |
Histogram container for the task.
Definition at line 92 of file AliAnalysisTaskPtEMCalTrigger.h.
Referenced by FillClusterHist(), FillEventHist(), FillMCParticleHist(), FillTrackHist(), Run(), UserCreateOutputObjects(), and ~AliAnalysisTaskPtEMCalTrigger().
|
private |
List of jet containers for Data.
Definition at line 103 of file AliAnalysisTaskPtEMCalTrigger.h.
Referenced by AddJetContainerName(), Run(), and UserCreateOutputObjects().
|
private |
List of jet containers for MC.
Definition at line 102 of file AliAnalysisTaskPtEMCalTrigger.h.
Referenced by AddJetContainerName(), Run(), and UserCreateOutputObjects().
|
private |
List of track cuts.
Definition at line 93 of file AliAnalysisTaskPtEMCalTrigger.h.
Referenced by AddCutsForAOD(), AddESDTrackCuts(), AliAnalysisTaskPtEMCalTrigger(), Run(), UserCreateOutputObjects(), and ~AliAnalysisTaskPtEMCalTrigger().
|
private |
Pt Selection Range.
Definition at line 97 of file AliAnalysisTaskPtEMCalTrigger.h.
Referenced by AliAnalysisTaskPtEMCalTrigger(), Run(), and SetPtRange().
|
private |
Loop over all tracks.
Definition at line 106 of file AliAnalysisTaskPtEMCalTrigger.h.
Referenced by Run(), and SelectAllTracks().
|
private |
Allow swapping of the eta sign in asymmetric collision systems.
Definition at line 107 of file AliAnalysisTaskPtEMCalTrigger.h.
Referenced by FillTrackHist(), and SetSwapEta().
|
private |
Use trigger classes from trigger maker.
Definition at line 108 of file AliAnalysisTaskPtEMCalTrigger.h.
Referenced by Run(), and UseTriggersFromTriggerMaker().
|
private |
Vertex cut.
Definition at line 99 of file AliAnalysisTaskPtEMCalTrigger.h.
Referenced by AliAnalysisTaskPtEMCalTrigger(), Run(), and SetVertexRange().
|
static |
Definition at line 49 of file AliAnalysisTaskPtEMCalTrigger.h.
Referenced by Run(), and UserCreateOutputObjects().
|
static |
Definition at line 48 of file AliAnalysisTaskPtEMCalTrigger.h.
Referenced by Run(), and UserCreateOutputObjects().