![]() |
AliPhysics
b095172 (b095172)
|
Base task in the EMCAL framework (lighter version of AliAnalysisTaskEmcal) More...
#include <AliAnalysisTaskEmcalLight.h>
Public Types | |
enum | EBeamType_t { kNA = -1, kpp = 0, kAA = 1, kpA = 2 } |
Switch for the beam type. More... | |
enum | EDataType_t { kAOD = 0, kESD = 1 } |
Switch for the data type. More... | |
Protected Member Functions | |
void | SetRejectionReasonLabels (TAxis *axis) |
void | AddObjectToEvent (TObject *obj, Bool_t attempt=kFALSE) |
TClonesArray * | GetArrayFromEvent (const char *name, const char *clname=0) |
EBeamType_t | GetBeamType () |
Bool_t | PythiaInfoFromFile (const char *currFile, Float_t &fXsec, Float_t &fTrials, Int_t &pthard) |
Bool_t | IsTrackInEmcalAcceptance (AliVParticle *part, Double_t edges=0.9) const |
void | UserCreateOutputObjects () |
void | UserExec (Option_t *option) |
Bool_t | UserNotify () |
virtual void | ExecOnce () |
virtual Bool_t | FillGeneralHistograms () |
virtual Bool_t | IsEventSelected () |
virtual Bool_t | RetrieveEventObjects () |
virtual Bool_t | FillHistograms () |
virtual Bool_t | Run () |
Static Protected Member Functions | |
static void | GetEtaPhiDiff (const AliVTrack *t, const AliVCluster *v, Double_t &phidiff, Double_t &etadiff) |
static Byte_t | GetTrackType (const AliVTrack *t) |
static Byte_t | GetTrackType (const AliAODTrack *aodTrack, UInt_t filterBit1, UInt_t filterBit2) |
static Double_t | DeltaPhi (Double_t phia, Double_t phib, Double_t rMin=-TMath::Pi()/2, Double_t rMax=3 *TMath::Pi()/2) |
static Double_t * | GenerateFixedBinArray (Int_t n, Double_t min, Double_t max) |
static void | GenerateFixedBinArray (Int_t n, Double_t min, Double_t max, Double_t *array) |
static Double_t | GetParallelFraction (AliVParticle *part1, AliVParticle *part2) |
static Double_t | GetParallelFraction (const TVector3 &vect1, AliVParticle *part2) |
Protected Attributes | |
EBeamType_t | fForceBeamType |
forced beam type More... | |
Bool_t | fGeneralHistograms |
whether or not it should fill some general histograms More... | |
Bool_t | fCreateHisto |
whether or not create histograms More... | |
Bool_t | fNeedEmcalGeom |
whether or not the task needs the emcal geometry More... | |
Int_t | fNcentBins |
how many centrality bins More... | |
Bool_t | fUseNewCentralityEstimation |
Use new centrality estimation (for 2015 data) More... | |
Bool_t | fIsPythia |
if it is a PYTHIA production More... | |
TString | fCaloCellsName |
name of calo cell collection More... | |
TString | fCaloTriggersName |
name of calo triggers collection More... | |
TString | fCaloTriggerPatchInfoName |
trigger patch info array name More... | |
TString | fCentEst |
name of the centrality estimator More... | |
TObjArray | fParticleCollArray |
particle/track collection array More... | |
TObjArray | fClusterCollArray |
cluster collection array More... | |
UInt_t | fTriggerSelectionBitMap |
trigger selection bit map More... | |
Double_t | fMinCent |
min centrality for event selection More... | |
Double_t | fMaxCent |
max centrality for event selection More... | |
Double_t | fMinVz |
min vertex for event selection More... | |
Double_t | fMaxVz |
max vertex for event selection More... | |
Double_t | fZvertexDiff |
upper limit for distance between primary and SPD vertex More... | |
Double_t | fMinPtTrack |
cut on track pt in event selection More... | |
Int_t | fMinNTrack |
minimum nr of tracks in event with pT>fTrackPtCut More... | |
Double_t | fMinPtTrackInEmcal |
min pt track in emcal More... | |
Int_t | fSelectPtHardBin |
select one pt hard bin for analysis More... | |
TObjArray | fAcceptedTriggerClasses |
list of accepted trigger classes More... | |
TObjArray | fRejectedTriggerClasses |
list of accepted trigger classes More... | |
Bool_t | fInitialized |
!whether or not the task has been already initialized More... | |
EDataType_t | fDataType |
!data type (ESD or AOD) More... | |
AliEMCALGeometry * | fGeom |
!emcal geometry More... | |
AliVCaloCells * | fCaloCells |
!cells More... | |
AliVCaloTrigger * | fCaloTriggers |
!calo triggers More... | |
TClonesArray * | fTriggerPatchInfo |
!trigger patch info array More... | |
Double_t | fCent |
!event centrality More... | |
Int_t | fCentBin |
!event centrality bin More... | |
Double_t | fEPV0 |
!event plane V0 More... | |
Double_t | fEPV0A |
!event plane V0A More... | |
Double_t | fEPV0C |
!event plane V0C More... | |
Double_t | fVertex [3] |
!event vertex More... | |
Double_t | fVertexSPD [3] |
!event Svertex More... | |
Int_t | fNVertCont |
!event vertex number of contributors More... | |
Int_t | fNVertSPDCont |
!event SPD vertex number of contributors More... | |
ULong_t | fFiredTriggerBitMap |
!bit map of fired triggers More... | |
TString | fFiredTriggerClasses |
!trigger classes fired by the current event More... | |
EBeamType_t | fBeamType |
!event beam type More... | |
AliGenPythiaEventHeader * | fPythiaHeader |
!event Pythia header More... | |
Double_t | fPtHard |
!event pt hard More... | |
Int_t | fPtHardBin |
!event pt hard bin More... | |
Int_t | fNTrials |
!event trials More... | |
Float_t | fXsection |
!x-section from pythia header More... | |
TList * | fOutput |
!output list More... | |
TH1 * | fHistEventCount |
!incoming and selected events More... | |
TH1 * | fHistTrialsAfterSel |
!total number of trials per pt hard bin after selection More... | |
TH1 * | fHistEventsAfterSel |
!total number of events per pt hard bin after selection More... | |
TProfile * | fHistXsectionAfterSel |
!x section from pythia header More... | |
TH1 * | fHistTrials |
!trials from pyxsec.root More... | |
TH1 * | fHistEvents |
!total number of events per pt hard bin More... | |
TProfile * | fHistXsection |
!x section from pyxsec.root More... | |
TH1 * | fHistPtHard |
!pt hard distribution More... | |
TH1 * | fHistCentrality |
!event centrality distribution More... | |
TH1 * | fHistZVertex |
!z vertex position More... | |
TH1 * | fHistEventPlane |
!event plane distribution More... | |
TH1 * | fHistEventRejection |
!book keep reasons for rejecting event More... | |
TH1 * | fHistTriggerClasses |
!number of events in each trigger class More... | |
Static Protected Attributes | |
static Double_t | fgkEMCalDCalPhiDivide = 4. |
phi value used to distinguish between DCal and EMCal More... | |
Private Member Functions | |
AliAnalysisTaskEmcalLight (const AliAnalysisTaskEmcalLight &) | |
AliAnalysisTaskEmcalLight & | operator= (const AliAnalysisTaskEmcalLight &) |
Base task in the EMCAL framework (lighter version of AliAnalysisTaskEmcal)
This class is the base class for Analysis Tasks using the core EMCAL framework. User tasks can choose to inherit from it as an alternative to AliAnalysisTaskEmcal. In contrast to the normal AliAnalysisTaskSE, the main event loop function to be implemented by the user is called Run. This function is only called in case the event was selected previously.
A key feature is the handling of EMCAL containers (cluster/ particle/track). Users can create containers and attach it to their analysis task.
Note that the name in the container must match the name of the TClonesArray in the input event connected to the container. Containers can be accessed inside the task either by their name or by their index as they were added to the task. The indices of cluster- or particle-containers are not mixed. Containers provide an easy access to content created by other tasks and attached to the event as a TClonesArray.
For more information refer to Writing an analysis using the AliAnalysisTaskEmcal
Definition at line 65 of file AliAnalysisTaskEmcalLight.h.
Switch for the beam type.
Enumerator | |
---|---|
kNA |
Undefined. |
kpp |
Proton-Proton. |
kAA |
Nucleus-Nucleus. |
kpA |
Proton-Nucleus. |
Definition at line 72 of file AliAnalysisTaskEmcalLight.h.
Switch for the data type.
Enumerator | |
---|---|
kAOD | |
kESD |
Definition at line 83 of file AliAnalysisTaskEmcalLight.h.
AliAnalysisTaskEmcalLight::AliAnalysisTaskEmcalLight | ( | ) |
Default constructor.
Definition at line 60 of file AliAnalysisTaskEmcalLight.cxx.
AliAnalysisTaskEmcalLight::AliAnalysisTaskEmcalLight | ( | const char * | name, |
Bool_t | histo = kFALSE |
||
) |
Standard constructor. Should be used by the user.
Note: This constructor also handles the general histograms. In case the second parameter is true, then general histograms (see UserCreateOutputObjects and FillHistograms) are created and filled by the task, and a container is provided handling the user histograms.
[in] | name | Name of the task |
[in] | histo | If true then general histograms are filled by the task |
Definition at line 144 of file AliAnalysisTaskEmcalLight.cxx.
|
virtual |
Destructor
Definition at line 224 of file AliAnalysisTaskEmcalLight.cxx.
|
private |
|
inline |
Definition at line 135 of file AliAnalysisTaskEmcalLight.h.
AliClusterContainer * AliAnalysisTaskEmcalLight::AddClusterContainer | ( | const char * | n | ) |
Create new cluster container and attach it to the task. The name provided to this function must match the name of the array attached to the new container inside the input event.
[in] | n | Name of the container and the array the container points to |
Definition at line 1111 of file AliAnalysisTaskEmcalLight.cxx.
AliMCParticleContainer * AliAnalysisTaskEmcalLight::AddMCParticleContainer | ( | const char * | n | ) |
Create new container for MC particles and attach it to the task. The name provided to this function must match the name of the array attached to the new container inside the input event.
[in] | n | Name of the container and the array the container points to |
Definition at line 1057 of file AliAnalysisTaskEmcalLight.cxx.
|
protected |
Add object to event
[in] | obj | Object to be added |
[in] | attempt | If true don't handle error |
Definition at line 1173 of file AliAnalysisTaskEmcalLight.cxx.
AliParticleContainer * AliAnalysisTaskEmcalLight::AddParticleContainer | ( | const char * | n | ) |
Create new particle container and attach it to the task. The name provided to this function must match the name of the array attached to the new container inside the input event.
[in] | n | Name of the container and the array the container points to |
Definition at line 1093 of file AliAnalysisTaskEmcalLight.cxx.
|
inline |
Definition at line 136 of file AliAnalysisTaskEmcalLight.h.
AliTrackContainer * AliAnalysisTaskEmcalLight::AddTrackContainer | ( | const char * | n | ) |
Create new track container and attach it to the task. The name provided to this function must match the name of the array attached to the new container inside the input event.
[in] | n | Name of the container and the array the container points to |
Definition at line 1075 of file AliAnalysisTaskEmcalLight.cxx.
|
inline |
Definition at line 100 of file AliAnalysisTaskEmcalLight.h.
|
inline |
Definition at line 99 of file AliAnalysisTaskEmcalLight.h.
|
inline |
Definition at line 97 of file AliAnalysisTaskEmcalLight.h.
Referenced by AdoptMCParticleContainer(), and AdoptTrackContainer().
|
inline |
Definition at line 98 of file AliAnalysisTaskEmcalLight.h.
|
inline |
Definition at line 137 of file AliAnalysisTaskEmcalLight.h.
|
inline |
Definition at line 138 of file AliAnalysisTaskEmcalLight.h.
|
inlinestaticprotected |
Calculate Delta Phi.
[in] | phia | \( \phi \) of the first particle |
[in] | phib | \( \phi \) of the second particle |
[in] | rangeMin | Minimum \( \phi \) range |
[in] | rangeMax | Maximum \( \phi \) range |
Definition at line 275 of file AliAnalysisTaskEmcalLight.h.
|
protectedvirtual |
Perform steps needed to initialize the analysis. This function relies on the presence of an input event (ESD or AOD event). Consequently it is called internally by UserExec for the first event.
This function connects all containers attached to this task to the corresponding arrays in the input event. Furthermore it initializes the geometry.
Reimplemented in AliAnalysisTaskDmesonJets, AliAnalysisTaskDmesonJetsDetectorResponse, AliAnalysisTaskEmcalRun2QA, AliAnalysisTaskEmcalJetQA, AliEmcalTriggerQATask, and AliAnalysisTaskEmcalJetLight.
Definition at line 629 of file AliAnalysisTaskEmcalLight.cxx.
Referenced by AliAnalysisTaskEmcalJetLight::ExecOnce(), AliEmcalTriggerQATask::ExecOnce(), AliAnalysisTaskEmcalJetQA::ExecOnce(), AliAnalysisTaskEmcalRun2QA::ExecOnce(), AliAnalysisTaskDmesonJets::ExecOnce(), and UserExec().
|
protectedvirtual |
Filling general histrograms. Among the general histograms that are filled only in case of running over MC productions are
Definition at line 400 of file AliAnalysisTaskEmcalLight.cxx.
Referenced by UserExec().
|
inlineprotectedvirtual |
This function optionally fills histograms created by the users. Can access data previously handled by the user Run function.
Reimplemented in AliAnalysisTaskDmesonJets, AliAnalysisTaskEmcalJetTree< T >, AliAnalysisTaskDmesonJetsDetectorResponse, AliAnalysisTaskEmcalJetSpectraQA, AliAnalysisTaskEmcalRun2QA, AliAnalysisTaskEmcalJetQA, and AliEmcalTriggerQATask.
Definition at line 163 of file AliAnalysisTaskEmcalLight.h.
Referenced by UserExec().
|
inlinestaticprotected |
Generate array with fixed binning within min and max with n bins. The array containing the bin edges set will be created by this function. Attention, this function does not take care about memory it allocates - the array needs to be deleted outside of this function
[in] | n | Number of bins |
[in] | min | Minimum value for the binning |
[in] | max | Maximum value for the binning |
Definition at line 318 of file AliAnalysisTaskEmcalLight.h.
|
inlinestaticprotected |
Generate array with fixed binning within min and max with n bins. The parameter array will contain the bin edges set by this function. Attention, the array needs to be provided from outside with a size of n+1
[in] | n | Number of bins |
[in] | min | Minimum value for the binning |
[in] | max | Maximum value for the binning |
[out] | array | Array containing the bin edges |
Definition at line 300 of file AliAnalysisTaskEmcalLight.h.
|
protected |
Read a TClonesArray from event. Attention: Both the name of the array and the name of the object stored inside must match.
[in] | name | Name of the array to be read in |
[in] | clname | Name of the type of the objects stored in the array |
Definition at line 869 of file AliAnalysisTaskEmcalLight.cxx.
Referenced by ExecOnce().
|
protected |
Get beam type : pp-AA-pA ESDs have it directly, AODs get it from hardcoded run number ranges
Definition at line 689 of file AliAnalysisTaskEmcalLight.cxx.
Referenced by RetrieveEventObjects().
AliClusterContainer * AliAnalysisTaskEmcalLight::GetClusterContainer | ( | Int_t | i = 0 | ) | const |
Get \( i^{th} \) cluster container attached to this task
[in] | i | Index of the cluster container |
Definition at line 1139 of file AliAnalysisTaskEmcalLight.cxx.
Referenced by AliAnalysisTaskEmcalJetLight::AddJetContainer(), and AliAnalysisTaskDmesonJets::ExecOnce().
AliClusterContainer * AliAnalysisTaskEmcalLight::GetClusterContainer | ( | const char * | name | ) | const |
Find cluster container attached to this task according to its name
[in] | name | Name of the cluster container |
Definition at line 1162 of file AliAnalysisTaskEmcalLight.cxx.
|
staticprotected |
Calculate \(\phi\) and \(\eta\) difference between a track (t) and a cluster (c). The position of the track is obtained on the EMCAL surface
[in] | t | Track to check |
[in] | v | Cluster to check |
[out] | phidiff | Distance in \(\phi\) between cluster and track |
[out] | etadiff | Distance in \(\eta\) between cluster and track |
Definition at line 1282 of file AliAnalysisTaskEmcalLight.cxx.
|
inline |
Definition at line 105 of file AliAnalysisTaskEmcalLight.h.
|
inline |
Definition at line 106 of file AliAnalysisTaskEmcalLight.h.
|
staticprotected |
Calculates the fraction of momentum z of part 1 w.r.t. part 2 in the direction of part 2.
[in] | part1 | Momentum vector for which the relative fraction is calculated |
[in] | part2 | Reference momentum vector for the calculation |
Definition at line 1253 of file AliAnalysisTaskEmcalLight.cxx.
Referenced by AliAnalysisTaskEmcalJetSpectraQA::FillHistograms().
|
staticprotected |
Calculates the fraction of momentum z of vect 1 w.r.t. part 2 in the direction of part 2.
[in] | vect1 | Momentum vector for which the relative fraction is calculated |
[in] | part2 | Reference momentum vector for the calculation |
Definition at line 1267 of file AliAnalysisTaskEmcalLight.cxx.
AliParticleContainer * AliAnalysisTaskEmcalLight::GetParticleContainer | ( | Int_t | i = 0 | ) | const |
Get \( i^{th} \) particle container attached to this task
[in] | i | Index of the particle container |
Definition at line 1127 of file AliAnalysisTaskEmcalLight.cxx.
Referenced by AliAnalysisTaskEmcalJetLight::AddJetContainer(), AliAnalysisTaskDmesonJets::ExecOnce(), GetMCParticleContainer(), GetTrackContainer(), and IsEventSelected().
AliParticleContainer * AliAnalysisTaskEmcalLight::GetParticleContainer | ( | const char * | name | ) | const |
Find particle container attached to this task according to its name
[in] | name | Name of the particle container |
Definition at line 1151 of file AliAnalysisTaskEmcalLight.cxx.
|
inline |
Definition at line 107 of file AliAnalysisTaskEmcalLight.h.
|
inline |
Definition at line 108 of file AliAnalysisTaskEmcalLight.h.
|
staticprotected |
Get track type encoded from bits 20 and 21.
[in] | t | Track to check |
Definition at line 1306 of file AliAnalysisTaskEmcalLight.cxx.
|
staticprotected |
Return track type: 0 = filterBit1, 1 = filterBit2 && ITS, 2 = filterBit2 && !ITS. Returns 3 if filterBit1 and filterBit2 do not test. WARNING: only works with AOD tracks and AOD filter bits must be provided. Otherwise will always return 0.
aodTrack | |
filterBit1 | |
filterBit2 |
Definition at line 1327 of file AliAnalysisTaskEmcalLight.cxx.
|
protectedvirtual |
Performing event selection. This contains
Note that for the vertex selection both the usage of the analysis util and the range of the z-position of the primary vertex need to be specified.
In case the event is rejected, a histogram monitoring the rejeciton reason is filled with the bin corresponding to the source of the rejection of the current event.
Definition at line 741 of file AliAnalysisTaskEmcalLight.cxx.
Referenced by RetrieveEventObjects(), and UserExec().
|
protected |
Determines if a track is inside the EMCal acceptance, using \(\eta\)/ \(\phi\) at the vertex (no propagation). Includes +/- edges. Useful to determine whether track propagation should be attempted.
[in] | part | Particle to check |
[in] | edges | Size of the edges in \(\phi\) excluded from the EMCAL acceptance |
Definition at line 1192 of file AliAnalysisTaskEmcalLight.cxx.
|
private |
|
protected |
Get the cross section and the trails either from pyxsec.root or from pysec_hists.root Get the pt hard bin from the file path This is to called in Notify and should provide the path to the AOD/ESD file (Partially copied from AliAnalysisHelperJetTasks)
[in] | currFile | Name of the current ESD/AOD file |
[out] | fXsec | Cross section calculated by PYTHIA |
[out] | fTrials | Number of trials needed by PYTHIA |
[out] | pthard | \( p_{t} \)-hard bin, extracted from path name |
Definition at line 496 of file AliAnalysisTaskEmcalLight.cxx.
Referenced by UserNotify().
|
inline |
Definition at line 110 of file AliAnalysisTaskEmcalLight.h.
|
inline |
Definition at line 109 of file AliAnalysisTaskEmcalLight.h.
|
protectedvirtual |
Retrieve objects from event.
Reimplemented in AliAnalysisTaskEmcalRun2QA, AliAnalysisTaskEmcalJetQA, and AliAnalysisTaskEmcalJetLight.
Definition at line 900 of file AliAnalysisTaskEmcalLight.cxx.
Referenced by AliAnalysisTaskEmcalJetLight::RetrieveEventObjects(), AliAnalysisTaskEmcalJetQA::RetrieveEventObjects(), AliAnalysisTaskEmcalRun2QA::RetrieveEventObjects(), and UserExec().
|
inlineprotectedvirtual |
Run function. This is the core function of the analysis and contains the user code. Therefore users have to implement this function.
Reimplemented in AliAnalysisTaskDmesonJets, AliAnalysisTaskDmesonJetsDetectorResponse, and AliEmcalTriggerQATask.
Definition at line 171 of file AliAnalysisTaskEmcalLight.h.
Referenced by UserExec().
|
inline |
Definition at line 113 of file AliAnalysisTaskEmcalLight.h.
|
inline |
Definition at line 114 of file AliAnalysisTaskEmcalLight.h.
|
inline |
Definition at line 115 of file AliAnalysisTaskEmcalLight.h.
|
inline |
Definition at line 116 of file AliAnalysisTaskEmcalLight.h.
Definition at line 128 of file AliAnalysisTaskEmcalLight.h.
|
inline |
Definition at line 118 of file AliAnalysisTaskEmcalLight.h.
Referenced by AliEmcalTriggerQATask::AliEmcalTriggerQATask().
|
inline |
Definition at line 117 of file AliAnalysisTaskEmcalLight.h.
|
inline |
Definition at line 122 of file AliAnalysisTaskEmcalLight.h.
Referenced by AliAnalysisTaskDmesonJets::AliAnalysisTaskDmesonJets(), AliAnalysisTaskEmcalJetQA::AliAnalysisTaskEmcalJetQA(), AliAnalysisTaskEmcalJetSpectraQA::AliAnalysisTaskEmcalJetSpectraQA(), AliEmcalTriggerQATask::AliEmcalTriggerQATask(), ClassImp(), and AliAnalysisTaskEmcalRun2QA::InitConstants().
|
inline |
Definition at line 132 of file AliAnalysisTaskEmcalLight.h.
|
inline |
Definition at line 131 of file AliAnalysisTaskEmcalLight.h.
|
inline |
Definition at line 133 of file AliAnalysisTaskEmcalLight.h.
|
inline |
Definition at line 124 of file AliAnalysisTaskEmcalLight.h.
Referenced by AliEmcalTriggerQATask::AliEmcalTriggerQATask().
|
inline |
Definition at line 123 of file AliAnalysisTaskEmcalLight.h.
|
inline |
Definition at line 134 of file AliAnalysisTaskEmcalLight.h.
|
protected |
Definition at line 1211 of file AliAnalysisTaskEmcalLight.cxx.
Referenced by AliAnalysisTaskEmcalJetQA::UserCreateOutputObjects(), AliAnalysisTaskEmcalRun2QA::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetSpectraQA::UserCreateOutputObjects(), and AliAnalysisTaskDmesonJets::UserCreateOutputObjects().
|
inline |
Definition at line 127 of file AliAnalysisTaskEmcalLight.h.
|
inline |
Definition at line 121 of file AliAnalysisTaskEmcalLight.h.
Definition at line 129 of file AliAnalysisTaskEmcalLight.h.
|
inline |
Definition at line 130 of file AliAnalysisTaskEmcalLight.h.
|
protected |
Performing run-independent initialization. This consists of
Attention: Histograms are only created in case the task is configured for this (second argument in the named constructor). In this case the container fOuput is created which can be used by the users to handle and store their histograms. In this case the users must overwrite this function in their tasks and call this function right at the beginning of their function.
The general QA histograms monitor event related observables like the z-position of the primary vertex before and after event selection, the trigger classes selecting the event and the event rejection reason, but also Monte-Carlo related observables like the cross section, the number of trials and the \( p_{t} \)-hard bin in case of a corresponding production.
Definition at line 247 of file AliAnalysisTaskEmcalLight.cxx.
Referenced by AliAnalysisTaskEmcalJetQA::UserCreateOutputObjects(), AliAnalysisTaskEmcalRun2QA::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetSpectraQA::UserCreateOutputObjects(), AliEmcalTriggerQATask::UserCreateOutputObjects(), and AliAnalysisTaskDmesonJets::UserCreateOutputObjects().
|
protected |
Event loop, called for each event. The function consists of three steps:
Users must not overwrite this function. Instead the virtual function Run should be user and implemented by the user. The return value of the Run function decides on whether general histograms are filled.
In case the task is not yet initialized, which is the case for the first event, the UserExec performs several basic initilization steps, documented in the functions ExecOnce. Note that this is only done for the first event and only for properties which need the presence of an input event.
[in] | option | Not used |
Definition at line 447 of file AliAnalysisTaskEmcalLight.cxx.
|
protected |
Notifying the user that the input data file has changed and performing steps needed to be done.
This function is of relevance for analysis of Monte-Carlo productions in \( p_{t} \)-hard bins as it reads the pythia cross section and the number of trials from the file pyxsec.root and fills the relevant distributions with the values obtained.
Definition at line 582 of file AliAnalysisTaskEmcalLight.cxx.
|
protected |
list of accepted trigger classes
Definition at line 214 of file AliAnalysisTaskEmcalLight.h.
Referenced by AddAcceptedTriggerClass(), ClearAcceptedTriggerClasses(), and IsEventSelected().
|
protected |
!event beam type
Definition at line 235 of file AliAnalysisTaskEmcalLight.h.
Referenced by AliAnalysisTaskEmcalJetQA::RetrieveEventObjects(), AliAnalysisTaskEmcalRun2QA::RetrieveEventObjects(), and RetrieveEventObjects().
|
protected |
!cells
Definition at line 221 of file AliAnalysisTaskEmcalLight.h.
Referenced by AliAnalysisTaskEmcalJetQA::DoCellLoop(), AliAnalysisTaskEmcalRun2QA::DoCellLoop(), AliAnalysisTaskEmcalJetQA::DoClusterLoop(), AliAnalysisTaskEmcalRun2QA::DoClusterLoop(), ExecOnce(), AliEmcalTriggerQATask::FillHistograms(), AliAnalysisTaskEmcalJetQA::FillHistograms(), and AliAnalysisTaskEmcalRun2QA::FillHistograms().
|
protected |
name of calo cell collection
Definition at line 195 of file AliAnalysisTaskEmcalLight.h.
Referenced by AliAnalysisTaskEmcalJetQA::DoCellLoop(), AliAnalysisTaskEmcalRun2QA::DoCellLoop(), AliAnalysisTaskEmcalJetQA::ExecOnce(), AliAnalysisTaskEmcalRun2QA::ExecOnce(), ExecOnce(), SetCaloCellsName(), AliAnalysisTaskEmcalJetQA::UserCreateOutputObjects(), and AliAnalysisTaskEmcalRun2QA::UserCreateOutputObjects().
|
protected |
trigger patch info array name
Definition at line 197 of file AliAnalysisTaskEmcalLight.h.
Referenced by ExecOnce(), and SetCaloTriggerPatchInfoName().
|
protected |
!calo triggers
Definition at line 222 of file AliAnalysisTaskEmcalLight.h.
Referenced by ExecOnce(), and AliEmcalTriggerQATask::FillHistograms().
|
protected |
name of calo triggers collection
Definition at line 196 of file AliAnalysisTaskEmcalLight.h.
Referenced by ExecOnce(), and SetCaloTriggersName().
|
protected |
!event centrality
Definition at line 224 of file AliAnalysisTaskEmcalLight.h.
Referenced by FillGeneralHistograms(), AliAnalysisTaskEmcalJetQA::FillHistograms(), AliAnalysisTaskEmcalRun2QA::FillHistograms(), AliAnalysisTaskEmcalJetSpectraQA::FillHistograms(), AliAnalysisTaskEmcalJetTreeBase::AliEmcalJetInfoSummaryPbPb::Reset(), AliAnalysisTaskEmcalJetTreeBase::AliEmcalJetInfoSummaryEmbedding::Reset(), RetrieveEventObjects(), AliAnalysisTaskEmcalJetTreeBase::AliEmcalJetInfoSummaryPbPb::Set(), and AliAnalysisTaskEmcalJetTreeBase::AliEmcalJetInfoSummaryEmbedding::Set().
|
protected |
!event centrality bin
Definition at line 225 of file AliAnalysisTaskEmcalLight.h.
Referenced by AliAnalysisTaskEmcalJetQA::DoCellLoop(), AliAnalysisTaskEmcalRun2QA::DoCellLoop(), AliAnalysisTaskEmcalRun2QA::DoClusterLoop(), AliAnalysisTaskEmcalJetQA::DoClusterLoop(), AliAnalysisTaskEmcalJetQA::DoTrackLoop(), AliEmcalTriggerQATask::FillHistograms(), AliAnalysisTaskEmcalJetSpectraQA::FillHistograms(), AliAnalysisTaskEmcalJetSpectraQA::FillTHX(), and RetrieveEventObjects().
|
protected |
name of the centrality estimator
Definition at line 198 of file AliAnalysisTaskEmcalLight.h.
Referenced by RetrieveEventObjects(), and SetCentralityEstimator().
|
protected |
cluster collection array
Definition at line 201 of file AliAnalysisTaskEmcalLight.h.
Referenced by AddClusterContainer(), AdoptClusterContainer(), AliAnalysisTaskEmcalLight(), AliAnalysisTaskEmcalJetSpectraQA::AllocateTHnSparse(), AliAnalysisTaskEmcalJetQA::DoClusterLoop(), AliAnalysisTaskEmcalRun2QA::DoClusterLoop(), AliAnalysisTaskEmcalJetQA::ExecOnce(), AliAnalysisTaskEmcalRun2QA::ExecOnce(), ExecOnce(), GetClusterContainer(), RemoveClusterContainer(), RetrieveEventObjects(), AliAnalysisTaskEmcalJetQA::UserCreateOutputObjects(), and AliAnalysisTaskEmcalRun2QA::UserCreateOutputObjects().
|
protected |
whether or not create histograms
Definition at line 188 of file AliAnalysisTaskEmcalLight.h.
Referenced by AliAnalysisTaskEmcalLight(), UserCreateOutputObjects(), UserExec(), and UserNotify().
|
protected |
!data type (ESD or AOD)
Definition at line 219 of file AliAnalysisTaskEmcalLight.h.
Referenced by RetrieveEventObjects(), and UserCreateOutputObjects().
|
protected |
!event plane V0
Definition at line 226 of file AliAnalysisTaskEmcalLight.h.
Referenced by AliAnalysisTaskEmcalJetQA::DoClusterLoop(), FillGeneralHistograms(), AliAnalysisTaskEmcalJetQA::FillHistograms(), AliAnalysisTaskEmcalRun2QA::FillHistograms(), AliAnalysisTaskEmcalJetSpectraQA::FillHistograms(), and RetrieveEventObjects().
|
protected |
!event plane V0A
Definition at line 227 of file AliAnalysisTaskEmcalLight.h.
Referenced by RetrieveEventObjects().
|
protected |
!event plane V0C
Definition at line 228 of file AliAnalysisTaskEmcalLight.h.
Referenced by RetrieveEventObjects().
|
protected |
!bit map of fired triggers
Definition at line 233 of file AliAnalysisTaskEmcalLight.h.
Referenced by IsEventSelected(), and RetrieveEventObjects().
|
protected |
!trigger classes fired by the current event
Definition at line 234 of file AliAnalysisTaskEmcalLight.h.
Referenced by IsEventSelected(), and RetrieveEventObjects().
|
protected |
forced beam type
Definition at line 186 of file AliAnalysisTaskEmcalLight.h.
Referenced by AliAnalysisTaskEmcalJetSpectraQA::AllocateTHnSparse(), FillGeneralHistograms(), GetBeamType(), SetForceBeamType(), AliAnalysisTaskEmcalJetQA::UserCreateOutputObjects(), AliAnalysisTaskEmcalRun2QA::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetSpectraQA::UserCreateOutputObjects(), and UserCreateOutputObjects().
|
protected |
whether or not it should fill some general histograms
Definition at line 187 of file AliAnalysisTaskEmcalLight.h.
Referenced by IsEventSelected(), SetMakeGeneralHistograms(), UserCreateOutputObjects(), UserExec(), and UserNotify().
|
protected |
!emcal geometry
Definition at line 220 of file AliAnalysisTaskEmcalLight.h.
Referenced by AliAnalysisTaskEmcalRun2QA::DoCellLoop(), AliAnalysisTaskEmcalJetQA::DoClusterLoop(), AliAnalysisTaskEmcalRun2QA::DoClusterLoop(), AliAnalysisTaskEmcalRun2QA::ExecOnce(), ExecOnce(), AliAnalysisTaskDmesonJets::ExecOnce(), AliEmcalTriggerQATask::FillHistograms(), AliAnalysisTaskEmcalJetQA::GetFcross(), IsEventSelected(), and IsTrackInEmcalAcceptance().
|
staticprotected |
phi value used to distinguish between DCal and EMCal
Definition at line 183 of file AliAnalysisTaskEmcalLight.h.
Referenced by AliAnalysisTaskEmcalJetQA::DoClusterLoop(), and AliAnalysisTaskEmcalRun2QA::DoClusterLoop().
|
protected |
!event centrality distribution
Definition at line 252 of file AliAnalysisTaskEmcalLight.h.
Referenced by FillGeneralHistograms(), and UserCreateOutputObjects().
|
protected |
!incoming and selected events
Definition at line 244 of file AliAnalysisTaskEmcalLight.h.
Referenced by UserCreateOutputObjects(), and UserExec().
|
protected |
!event plane distribution
Definition at line 254 of file AliAnalysisTaskEmcalLight.h.
Referenced by FillGeneralHistograms(), and UserCreateOutputObjects().
|
protected |
!book keep reasons for rejecting event
Definition at line 255 of file AliAnalysisTaskEmcalLight.h.
Referenced by IsEventSelected(), and UserCreateOutputObjects().
|
protected |
!total number of events per pt hard bin
Definition at line 249 of file AliAnalysisTaskEmcalLight.h.
Referenced by UserCreateOutputObjects(), and UserNotify().
|
protected |
!total number of events per pt hard bin after selection
Definition at line 246 of file AliAnalysisTaskEmcalLight.h.
Referenced by FillGeneralHistograms(), and UserCreateOutputObjects().
|
protected |
!pt hard distribution
Definition at line 251 of file AliAnalysisTaskEmcalLight.h.
Referenced by FillGeneralHistograms(), and UserCreateOutputObjects().
|
protected |
!trials from pyxsec.root
Definition at line 248 of file AliAnalysisTaskEmcalLight.h.
Referenced by UserCreateOutputObjects(), and UserNotify().
|
protected |
!total number of trials per pt hard bin after selection
Definition at line 245 of file AliAnalysisTaskEmcalLight.h.
Referenced by FillGeneralHistograms(), and UserCreateOutputObjects().
|
protected |
!number of events in each trigger class
Definition at line 256 of file AliAnalysisTaskEmcalLight.h.
Referenced by FillGeneralHistograms(), and UserCreateOutputObjects().
|
protected |
!x section from pyxsec.root
Definition at line 250 of file AliAnalysisTaskEmcalLight.h.
Referenced by UserCreateOutputObjects(), and UserNotify().
|
protected |
!x section from pythia header
Definition at line 247 of file AliAnalysisTaskEmcalLight.h.
Referenced by FillGeneralHistograms(), and UserCreateOutputObjects().
|
protected |
!z vertex position
Definition at line 253 of file AliAnalysisTaskEmcalLight.h.
Referenced by FillGeneralHistograms(), and UserCreateOutputObjects().
|
protected |
!whether or not the task has been already initialized
Definition at line 218 of file AliAnalysisTaskEmcalLight.h.
Referenced by AliEmcalTriggerQATask::ExecOnce(), ExecOnce(), and UserExec().
|
protected |
if it is a PYTHIA production
Definition at line 194 of file AliAnalysisTaskEmcalLight.h.
Referenced by FillGeneralHistograms(), RetrieveEventObjects(), SetIsPythia(), UserCreateOutputObjects(), and UserNotify().
|
protected |
max centrality for event selection
Definition at line 206 of file AliAnalysisTaskEmcalLight.h.
Referenced by IsEventSelected(), RetrieveEventObjects(), and SetCentRange().
|
protected |
max vertex for event selection
Definition at line 208 of file AliAnalysisTaskEmcalLight.h.
Referenced by IsEventSelected(), and SetVzRange().
|
protected |
min centrality for event selection
Definition at line 205 of file AliAnalysisTaskEmcalLight.h.
Referenced by IsEventSelected(), RetrieveEventObjects(), and SetCentRange().
|
protected |
minimum nr of tracks in event with pT>fTrackPtCut
Definition at line 211 of file AliAnalysisTaskEmcalLight.h.
Referenced by IsEventSelected(), and SetMinNTrack().
|
protected |
cut on track pt in event selection
Definition at line 210 of file AliAnalysisTaskEmcalLight.h.
Referenced by IsEventSelected(), and SetMinPtTrack().
|
protected |
min pt track in emcal
Definition at line 212 of file AliAnalysisTaskEmcalLight.h.
Referenced by IsEventSelected(), and SetMinPtTrackInEmcal().
|
protected |
min vertex for event selection
Definition at line 207 of file AliAnalysisTaskEmcalLight.h.
Referenced by IsEventSelected(), and SetVzRange().
|
protected |
how many centrality bins
Definition at line 190 of file AliAnalysisTaskEmcalLight.h.
Referenced by AliAnalysisTaskEmcalJetSpectraQA::AllocateTHX(), AliEmcalTriggerQATask::ExecOnce(), RetrieveEventObjects(), SetNCentBins(), AliAnalysisTaskEmcalJetQA::UserCreateOutputObjects(), AliAnalysisTaskEmcalRun2QA::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetSpectraQA::UserCreateOutputObjects(), AliEmcalTriggerQATask::UserCreateOutputObjects(), and UserCreateOutputObjects().
|
protected |
whether or not the task needs the emcal geometry
Definition at line 189 of file AliAnalysisTaskEmcalLight.h.
Referenced by AliAnalysisTaskEmcalJetQA::ExecOnce(), AliAnalysisTaskEmcalRun2QA::ExecOnce(), ExecOnce(), and SetNeedEmcalGeom().
|
protected |
!event trials
Definition at line 239 of file AliAnalysisTaskEmcalLight.h.
Referenced by FillGeneralHistograms(), and RetrieveEventObjects().
|
protected |
!event vertex number of contributors
Definition at line 231 of file AliAnalysisTaskEmcalLight.h.
Referenced by IsEventSelected(), and RetrieveEventObjects().
|
protected |
!event SPD vertex number of contributors
Definition at line 232 of file AliAnalysisTaskEmcalLight.h.
Referenced by IsEventSelected(), and RetrieveEventObjects().
|
protected |
!output list
Definition at line 243 of file AliAnalysisTaskEmcalLight.h.
Referenced by AliAnalysisTaskEmcalJetQA::UserCreateOutputObjects(), AliAnalysisTaskEmcalRun2QA::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetSpectraQA::UserCreateOutputObjects(), AliEmcalTriggerQATask::UserCreateOutputObjects(), UserCreateOutputObjects(), AliAnalysisTaskDmesonJets::UserCreateOutputObjects(), and UserExec().
|
protected |
particle/track collection array
Definition at line 200 of file AliAnalysisTaskEmcalLight.h.
Referenced by AddMCParticleContainer(), AddParticleContainer(), AddTrackContainer(), AdoptParticleContainer(), AliAnalysisTaskEmcalLight(), AliAnalysisTaskEmcalJetSpectraQA::AllocateTHnSparse(), AliAnalysisTaskEmcalJetQA::DoTrackLoop(), ExecOnce(), GetParticleContainer(), RemoveParticleContainer(), RetrieveEventObjects(), AliAnalysisTaskEmcalJetQA::UserCreateOutputObjects(), and AliAnalysisTaskEmcalRun2QA::UserCreateOutputObjects().
|
protected |
!event pt hard
Definition at line 237 of file AliAnalysisTaskEmcalLight.h.
Referenced by FillGeneralHistograms(), and RetrieveEventObjects().
|
protected |
!event pt hard bin
Definition at line 238 of file AliAnalysisTaskEmcalLight.h.
Referenced by FillGeneralHistograms(), IsEventSelected(), and RetrieveEventObjects().
|
protected |
!event Pythia header
Definition at line 236 of file AliAnalysisTaskEmcalLight.h.
Referenced by RetrieveEventObjects().
|
protected |
list of accepted trigger classes
Definition at line 215 of file AliAnalysisTaskEmcalLight.h.
Referenced by AddRejectedTriggerClass(), ClearRejectedTriggerClasses(), and IsEventSelected().
|
protected |
select one pt hard bin for analysis
Definition at line 213 of file AliAnalysisTaskEmcalLight.h.
Referenced by IsEventSelected(), and SetPtHardBin().
|
protected |
!trigger patch info array
Definition at line 223 of file AliAnalysisTaskEmcalLight.h.
Referenced by ExecOnce().
|
protected |
trigger selection bit map
Definition at line 204 of file AliAnalysisTaskEmcalLight.h.
Referenced by IsEventSelected(), and SetTriggerSelectionBitMap().
|
protected |
Use new centrality estimation (for 2015 data)
Definition at line 191 of file AliAnalysisTaskEmcalLight.h.
Referenced by RetrieveEventObjects(), and SetUseNewCentralityEstimation().
|
protected |
!event vertex
Definition at line 229 of file AliAnalysisTaskEmcalLight.h.
Referenced by AliAnalysisTaskEmcalLight(), FillGeneralHistograms(), AliAnalysisTaskEmcalJetSpectraQA::FillHistograms(), IsEventSelected(), AliAnalysisTaskEmcalJetQA::RetrieveEventObjects(), AliAnalysisTaskEmcalRun2QA::RetrieveEventObjects(), and RetrieveEventObjects().
|
protected |
!event Svertex
Definition at line 230 of file AliAnalysisTaskEmcalLight.h.
Referenced by AliAnalysisTaskEmcalLight(), IsEventSelected(), and RetrieveEventObjects().
|
protected |
!x-section from pythia header
Definition at line 240 of file AliAnalysisTaskEmcalLight.h.
Referenced by FillGeneralHistograms(), and RetrieveEventObjects().
|
protected |
upper limit for distance between primary and SPD vertex
Definition at line 209 of file AliAnalysisTaskEmcalLight.h.
Referenced by IsEventSelected(), and SetZvertexDiffValue().