![]() |
AliPhysics
vAN-20150810 (e477c3b)
|
Unit test class for charged particle distributions (MC case) More...
#include <AliAnalysisTaskChargedParticlesRefMC.h>
Public Member Functions | |
AliAnalysisTaskChargedParticlesRefMC () | |
AliAnalysisTaskChargedParticlesRefMC (const char *name) | |
virtual | ~AliAnalysisTaskChargedParticlesRefMC () |
void | UserCreateOutputObjects () |
void | UserExec (Option_t *) |
Bool_t | UserNotify () |
void | Terminate (Option_t *) |
Protected Member Functions | |
void | CreateOldPtBinning (TArrayD &binning) const |
void | CreateNewPtBinning (TArrayD &binning) const |
Bool_t | TrackSelectionESD (AliESDtrack *track) |
Bool_t | TrackSelectionAOD (AliAODTrack *track) |
TString | GetFiredTriggerClasses (const TClonesArray *triggerpatches) |
Bool_t | PythiaInfoFromFile (const char *currFile, Float_t &fXsec, Float_t &fTrials, Int_t &pthard) const |
AliGenPythiaEventHeader * | GetPythiaHeader () const |
Bool_t | IsPhysicalPrimary (const AliVParticle *const part, AliMCEvent *const mcevent) |
Protected Attributes | |
AliESDtrackCuts * | fTrackCuts |
Standard track selection. More... | |
AliAnalysisUtils * | fAnalysisUtil |
Event selection. More... | |
AliEMCalHistoContainer * | fHistos |
Histogram manager. 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... | |
Private Member Functions | |
AliAnalysisTaskChargedParticlesRefMC (const AliAnalysisTaskChargedParticlesRefMC &) | |
AliAnalysisTaskChargedParticlesRefMC & | operator= (const AliAnalysisTaskChargedParticlesRefMC &) |
Unit test class for charged particle distributions (MC case)
Definition at line 27 of file AliAnalysisTaskChargedParticlesRefMC.h.
EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRefMC::AliAnalysisTaskChargedParticlesRefMC | ( | ) |
Dummy constructor
Definition at line 58 of file AliAnalysisTaskChargedParticlesRefMC.cxx.
EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRefMC::AliAnalysisTaskChargedParticlesRefMC | ( | const char * | name | ) |
Main constructor
name | Name of the task |
Definition at line 74 of file AliAnalysisTaskChargedParticlesRefMC.cxx.
|
virtual |
Destuctor
Definition at line 90 of file AliAnalysisTaskChargedParticlesRefMC.cxx.
|
private |
|
protected |
Create new Pt binning
binning |
Definition at line 551 of file AliAnalysisTaskChargedParticlesRefMC.cxx.
Referenced by UserCreateOutputObjects().
|
protected |
Create old pt binning
binning |
Definition at line 523 of file AliAnalysisTaskChargedParticlesRefMC.cxx.
Referenced by UserCreateOutputObjects().
|
protected |
Apply trigger selection using offline patches and trigger thresholds based on offline ADC Amplitude
triggerpatches | Trigger patches found by the trigger maker |
Definition at line 604 of file AliAnalysisTaskChargedParticlesRefMC.cxx.
Referenced by UserExec().
|
protected |
Access PYTHIA event header
Definition at line 504 of file AliAnalysisTaskChargedParticlesRefMC.cxx.
Referenced by UserExec().
|
protected |
Check in a transparent way for ESDs and AODs whether the particle is physical primary or not
part | The particle to check |
mcevent | The MC event containing the stack (ESD only) |
Definition at line 643 of file AliAnalysisTaskChargedParticlesRefMC.cxx.
Referenced by UserExec().
|
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) From AliAnalysisTaskEmcal
currFile | File name with PYTHIA hard cross section |
fXsec | Output storage for the cross section |
fTrials | Output storage for the number of trials |
pthard | Output storage of the pthardbin |
Definition at line 428 of file AliAnalysisTaskChargedParticlesRefMC.cxx.
Referenced by UserNotify().
|
inline |
Definition at line 36 of file AliAnalysisTaskChargedParticlesRefMC.h.
|
protected |
Run track selection for AOD tracks
track | The track to check |
Definition at line 593 of file AliAnalysisTaskChargedParticlesRefMC.cxx.
Referenced by UserExec().
|
protected |
Run track selection for ESD tracks
track | The track to check |
Definition at line 584 of file AliAnalysisTaskChargedParticlesRefMC.cxx.
Referenced by UserExec().
void EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRefMC::UserCreateOutputObjects | ( | ) |
Create the output histograms
Definition at line 98 of file AliAnalysisTaskChargedParticlesRefMC.cxx.
void EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRefMC::UserExec | ( | Option_t * | ) |
Definition at line 139 of file AliAnalysisTaskChargedParticlesRefMC.cxx.
Bool_t EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRefMC::UserNotify | ( | ) |
Perform actions when giles change
Definition at line 382 of file AliAnalysisTaskChargedParticlesRefMC.cxx.
|
protected |
Event selection.
Definition at line 51 of file AliAnalysisTaskChargedParticlesRefMC.h.
Referenced by UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskChargedParticlesRefMC().
|
protected |
Histogram manager.
Definition at line 52 of file AliAnalysisTaskChargedParticlesRefMC.h.
Referenced by UserCreateOutputObjects(), UserExec(), UserNotify(), and ~AliAnalysisTaskChargedParticlesRefMC().
|
protected |
event trials
Definition at line 57 of file AliAnalysisTaskChargedParticlesRefMC.h.
|
protected |
event pt hard
Definition at line 55 of file AliAnalysisTaskChargedParticlesRefMC.h.
|
protected |
event pt hard bin
Definition at line 56 of file AliAnalysisTaskChargedParticlesRefMC.h.
|
protected |
Standard track selection.
Definition at line 50 of file AliAnalysisTaskChargedParticlesRefMC.h.
Referenced by TrackSelectionESD(), UserCreateOutputObjects(), and ~AliAnalysisTaskChargedParticlesRefMC().
|
protected |
x-section from pythia header
Definition at line 58 of file AliAnalysisTaskChargedParticlesRefMC.h.