![]() |
AliPhysics
d3bfcb9 (d3bfcb9)
|
#include <AliBaseMCCorrectionsTask.h>
Classes | |
struct | VtxBin |
Public Member Functions | |
AliBaseMCCorrectionsTask (const char *name, AliCorrectionManagerBase *m) | |
AliBaseMCCorrectionsTask () | |
void | Print (Option_t *option="") const |
void | SetVertexAxis (Int_t nBins, Double_t vzMin, Double_t vzMax=-1000000) |
void | SetVertexAxis (const TAxis &axis) |
void | SetEtaAxis (Int_t nBins, Double_t etaMin, Double_t etaMax=-1000000) |
void | SetEtaAxis (const TAxis &axis) |
void | SetSatellite (Bool_t sat) |
virtual AliBaseMCTrackDensity & | GetTrackDensity ()=0 |
virtual const AliBaseMCTrackDensity & | GetTrackDensity () const =0 |
AliFMDEventInspector & | GetEventInspector () |
const AliFMDEventInspector & | GetEventInspector () const |
void | SetUseESDVertex (Bool_t use) |
void | SetAfterEventSel (Bool_t use) |
Interface methods | |
virtual Bool_t | Book () |
virtual Bool_t | Event (AliESDEvent &esd) |
virtual Bool_t | Finalize () |
![]() | |
AliBaseESDTask () | |
AliBaseESDTask (const char *name, const char *title, AliCorrectionManagerBase *manager) | |
virtual Bool_t | Connect (const char *sumFile=0, const char *resFile=0) |
virtual Bool_t | Connect (const char *sumFile, const char *resFile, Bool_t old) |
virtual Bool_t | Setup () |
virtual void | PreCorrections (const AliESDEvent *esd) |
virtual Bool_t | PreData (const TAxis &vertex, const TAxis &eta) |
virtual Bool_t | PreEvent () |
virtual Bool_t | PostEvent () |
virtual void | SetDebug (Int_t dbg) |
virtual void | SetDebugLevel (Int_t dbg) |
void | SetIPzMethod (const char *str) |
virtual Bool_t | Configure (const char *macro="-default-") |
Protected Attributes | |
AliFMDMCEventInspector | fInspector |
TObjArray * | fVtxBins |
TH1I * | fHEvents |
TH1I * | fHEventsTr |
TH1I * | fHEventsTrVtx |
TAxis | fVtxAxis |
TAxis | fEtaAxis |
Bool_t | fUseESDVertex |
Bool_t | fAfterEventSel |
![]() | |
Bool_t | fFirstEvent |
TList * | fList |
TList * | fResults |
UInt_t | fNeededCorrections |
UInt_t | fExtraCorrections |
Bool_t | fCloneList |
Calculate the corrections in the base regions
Definition at line 46 of file AliBaseMCCorrectionsTask.h.
AliBaseMCCorrectionsTask::AliBaseMCCorrectionsTask | ( | const char * | name, |
AliCorrectionManagerBase * | m | ||
) |
Constructor
name | Name of task |
m | Manager |
Definition at line 61 of file AliBaseMCCorrectionsTask.cxx.
AliBaseMCCorrectionsTask::AliBaseMCCorrectionsTask | ( | ) |
Constructor
Definition at line 40 of file AliBaseMCCorrectionsTask.cxx.
Referenced by SetAfterEventSel().
|
protected |
Copy constructor
o | Object to copy from |
|
virtual |
Create output objects
Implements AliBaseESDTask.
Definition at line 190 of file AliBaseMCCorrectionsTask.cxx.
|
protectedpure virtual |
Create corrections objects and store them in passed list
results | Output list |
Implemented in AliCentralMCCorrectionsTask, and AliForwardMCCorrectionsTask.
Referenced by DefaultEtaAxis(), and Finalize().
|
protectedpure virtual |
Create a vertex bin
low | Low cut on \(IP_{z}\) |
high | High cut on \(IP_{z}\) |
Implemented in AliCentralMCCorrectionsTask, and AliForwardMCCorrectionsTask.
Referenced by DefaultEtaAxis(), and DefineBins().
|
inlineprotectedvirtual |
Set the default eta axis to use in case we didn't get one from the read-in corretions. Override this if the sub class should go on even without a valid eta axis from the corrections (e.g. QA task)
Reimplemented from AliBaseESDTask.
Definition at line 233 of file AliBaseMCCorrectionsTask.h.
|
inlineprotectedvirtual |
Set the default eta axis to use in case we didn't get one from the read-in corretions. Override this if the sub class should go on even without a valid eta axis from the corrections (e.g. QA task)
Reimplemented from AliBaseESDTask.
Definition at line 232 of file AliBaseMCCorrectionsTask.h.
|
protected |
Define our vertex bins
list | List to read or add binst from/to |
Definition at line 173 of file AliBaseMCCorrectionsTask.cxx.
Referenced by Book(), DefaultEtaAxis(), and Finalize().
|
virtual |
Process each event
esd | ESD event |
Implements AliBaseESDTask.
Definition at line 261 of file AliBaseMCCorrectionsTask.cxx.
|
virtual |
End of job
Reimplemented from AliBaseESDTask.
Definition at line 344 of file AliBaseMCCorrectionsTask.cxx.
|
protectedpure virtual |
Do the final processing of a vertex bin
bin | Vertex bin |
iVz | Vertex bin number |
Implemented in AliCentralMCCorrectionsTask, and AliForwardMCCorrectionsTask.
Referenced by DefaultEtaAxis(), and Finalize().
|
inlinevirtual |
Get a reference to the event inspector
Implements AliBaseESDTask.
Definition at line 146 of file AliBaseMCCorrectionsTask.h.
|
inlinevirtual |
Get a reference to the event inspector
Implements AliBaseESDTask.
Definition at line 152 of file AliBaseMCCorrectionsTask.h.
|
pure virtual |
Get a reference to the track density calculator
Implemented in AliCentralMCCorrectionsTask, and AliForwardMCCorrectionsTask.
Referenced by Book().
|
pure virtual |
Get a reference to the track density calculator
Implemented in AliCentralMCCorrectionsTask, and AliForwardMCCorrectionsTask.
|
protected |
Assignment operator
o | Object to assign from |
Referenced by SetAfterEventSel().
|
virtual |
Print this object
option | Not used |
Reimplemented from AliBaseESDTask.
Reimplemented in AliForwardMCCorrectionsTask, and AliCentralMCCorrectionsTask.
Definition at line 366 of file AliBaseMCCorrectionsTask.cxx.
Referenced by AliCentralMCCorrectionsTask::Print(), and AliForwardMCCorrectionsTask::Print().
|
protectedpure virtual |
Process an ESD event
esd | ESD event |
mc | MC event |
bin | Vertex bin |
ip | \(IP_{z}\) |
Implemented in AliCentralMCCorrectionsTask, and AliForwardMCCorrectionsTask.
Referenced by DefaultEtaAxis(), and Event().
|
inline |
setter for the fCalculateafterESDeventcuts flag
Definition at line 160 of file AliBaseMCCorrectionsTask.h.
void AliBaseMCCorrectionsTask::SetEtaAxis | ( | Int_t | nBins, |
Double_t | etaMin, | ||
Double_t | etaMax = -1000000 |
||
) |
Set the eta axis to use
nBins | Number of bins |
etaMin | Least \(\eta\) |
etaMax | Largest \(\eta\) |
Definition at line 137 of file AliBaseMCCorrectionsTask.cxx.
Referenced by SetEtaAxis(), and SetSatellite().
void AliBaseMCCorrectionsTask::SetEtaAxis | ( | const TAxis & | axis | ) |
Set the eta axis to use
axis | Axis |
Definition at line 160 of file AliBaseMCCorrectionsTask.cxx.
void AliBaseMCCorrectionsTask::SetSatellite | ( | Bool_t | sat | ) |
Set-up for satellite collisions
sat | If true, set-up for satellites |
Definition at line 86 of file AliBaseMCCorrectionsTask.cxx.
Referenced by AddTaskCentralMCCorr(), and AddTaskForwardMCCorr().
|
inline |
setter for the fUseESDVertexCoordinate flag
Definition at line 156 of file AliBaseMCCorrectionsTask.h.
void AliBaseMCCorrectionsTask::SetVertexAxis | ( | Int_t | nBins, |
Double_t | vzMin, | ||
Double_t | vzMax = -1000000 |
||
) |
Set the vertex axis to use
nBins | Number of bins |
vzMin | Least \(z\) coordinate of interation point |
vzMax | Largest \(z\) coordinate of interation point |
Definition at line 95 of file AliBaseMCCorrectionsTask.cxx.
Referenced by SetSatellite(), and SetVertexAxis().
void AliBaseMCCorrectionsTask::SetVertexAxis | ( | const TAxis & | axis | ) |
Set the vertex axis to use
axis | Axis |
Definition at line 121 of file AliBaseMCCorrectionsTask.cxx.
|
protected |
Definition at line 289 of file AliBaseMCCorrectionsTask.h.
Referenced by Event(), and SetAfterEventSel().
|
protected |
Definition at line 287 of file AliBaseMCCorrectionsTask.h.
Referenced by Book(), AliForwardMCCorrectionsTask::CreateCorrections(), AliForwardMCCorrectionsTask::CreateVtxBin(), AliCentralMCCorrectionsTask::CreateVtxBin(), DefaultEtaAxis(), Print(), and SetEtaAxis().
|
protected |
Definition at line 283 of file AliBaseMCCorrectionsTask.h.
|
protected |
Definition at line 284 of file AliBaseMCCorrectionsTask.h.
|
protected |
Definition at line 285 of file AliBaseMCCorrectionsTask.h.
|
protected |
Definition at line 280 of file AliBaseMCCorrectionsTask.h.
Referenced by Book(), Event(), and GetEventInspector().
|
protected |
Definition at line 288 of file AliBaseMCCorrectionsTask.h.
Referenced by Event(), and SetUseESDVertex().
|
protected |
Definition at line 286 of file AliBaseMCCorrectionsTask.h.
Referenced by Book(), AliForwardMCCorrectionsTask::CreateCorrections(), AliCentralMCCorrectionsTask::CreateCorrections(), DefaultVertexAxis(), DefineBins(), Event(), Print(), and SetVertexAxis().
|
protected |
Definition at line 282 of file AliBaseMCCorrectionsTask.h.
Referenced by DefineBins(), Event(), and Finalize().