AliPhysics  781d0c7 (781d0c7)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliForwardMCCorrectionsTask Class Reference

#include <AliForwardMCCorrectionsTask.h>

Inheritance diagram for AliForwardMCCorrectionsTask:

Classes

struct  VtxBin
 

Public Member Functions

 AliForwardMCCorrectionsTask (const char *name)
 
 AliForwardMCCorrectionsTask ()
 
void Print (Option_t *option="") const
 
AliBaseMCTrackDensityGetTrackDensity ()
 
const AliBaseMCTrackDensityGetTrackDensity () const
 
Interface methods
virtual Bool_t PreEvent ()
 
- Public Member Functions inherited from AliBaseMCCorrectionsTask
 AliBaseMCCorrectionsTask (const char *name, AliCorrectionManagerBase *m)
 
 AliBaseMCCorrectionsTask ()
 
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)
 
AliFMDEventInspectorGetEventInspector ()
 
const AliFMDEventInspectorGetEventInspector () const
 
void SetUseESDVertex (Bool_t use)
 
void SetAfterEventSel (Bool_t use)
 
virtual Bool_t Book ()
 
virtual Bool_t Event (AliESDEvent &esd)
 
virtual Bool_t Finalize ()
 
- Public Member Functions inherited from AliBaseESDTask
 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 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 Member Functions

 AliForwardMCCorrectionsTask (const AliForwardMCCorrectionsTask &o)
 
AliForwardMCCorrectionsTaskoperator= (const AliForwardMCCorrectionsTask &o)
 
AliBaseMCCorrectionsTask::VtxBinCreateVtxBin (Double_t low, Double_t high)
 
Bool_t ProcessESD (const AliESDEvent &esd, const AliMCEvent &mc, AliBaseMCCorrectionsTask::VtxBin &bin, const TVector3 &ip)
 
virtual void CreateCorrections (TList *results)
 
virtual Bool_t FinalizeVtxBin (AliBaseMCCorrectionsTask::VtxBin *bin, UShort_t iVz)
 
- Protected Member Functions inherited from AliBaseMCCorrectionsTask
 AliBaseMCCorrectionsTask (const AliBaseMCCorrectionsTask &o)
 
AliBaseMCCorrectionsTaskoperator= (const AliBaseMCCorrectionsTask &o)
 
virtual TAxisDefaultVertexAxis () const
 
virtual TAxisDefaultEtaAxis () const
 
void DefineBins (TList *list)
 
- Protected Member Functions inherited from AliBaseESDTask
 AliBaseESDTask (const AliBaseESDTask &o)
 
AliBaseESDTaskoperator= (const AliBaseESDTask &o)
 
virtual Bool_t IsMC () const
 
virtual AliCorrectionManagerBaseGetManager () const
 
virtual AliCorrectionManagerBaseGetManager ()
 
virtual void CreateBranches (AliAODHandler *)
 
virtual void MarkEventForStore () const
 
virtual Bool_t CheckCorrections (UInt_t what) const
 
virtual Bool_t ReadCorrections (const TAxis *&pe, const TAxis *&pv, Bool_t mc=false, Bool_t sat=false)
 
virtual AliESDEventGetESDEvent ()
 
virtual const char * DefaultConfig () const
 
void LocalInit ()
 
void UserCreateOutputObjects ()
 
void UserExec (Option_t *option)
 
void Terminate (Option_t *option)
 

Protected Attributes

AliFMDMCTrackDensity fTrackDensity
 
AliESDFMD fESDFMD
 
AliFMDCorrSecondaryMapfSecCorr
 
- Protected Attributes inherited from AliBaseMCCorrectionsTask
AliFMDMCEventInspector fInspector
 
TObjArrayfVtxBins
 
TH1IfHEvents
 
TH1IfHEventsTr
 
TH1IfHEventsTrVtx
 
TAxis fVtxAxis
 
TAxis fEtaAxis
 
Bool_t fUseESDVertex
 
Bool_t fAfterEventSel
 
- Protected Attributes inherited from AliBaseESDTask
Bool_t fFirstEvent
 
TListfList
 
TListfResults
 
UInt_t fNeededCorrections
 
UInt_t fExtraCorrections
 
Bool_t fCloneList
 

Detailed Description

Calculate the simulation-based corrections in the forward regions

alice-int-2012-040-secondary_origin.png
Fraction of secondaries
Inputs:
  • AliESDEvent (for steering only)
  • AliTrackReference
  • Kinematics
  • Geometry
Outputs:
Histograms
Corrections used
  • None

Definition at line 50 of file AliForwardMCCorrectionsTask.h.

Constructor & Destructor Documentation

AliForwardMCCorrectionsTask::AliForwardMCCorrectionsTask ( const char *  name)

Constructor

Parameters
nameName of task

Definition at line 55 of file AliForwardMCCorrectionsTask.cxx.

AliForwardMCCorrectionsTask::AliForwardMCCorrectionsTask ( )

Constructor

Definition at line 40 of file AliForwardMCCorrectionsTask.cxx.

AliForwardMCCorrectionsTask::AliForwardMCCorrectionsTask ( const AliForwardMCCorrectionsTask o)
protected

Copy constructor

Parameters
oObject to copy from

Member Function Documentation

void AliForwardMCCorrectionsTask::CreateCorrections ( TList results)
protectedvirtual

Create corrections objects and store them in passed list

Parameters
resultsOutput list

Implements AliBaseMCCorrectionsTask.

Definition at line 126 of file AliForwardMCCorrectionsTask.cxx.

AliBaseMCCorrectionsTask::VtxBin * AliForwardMCCorrectionsTask::CreateVtxBin ( Double_t  low,
Double_t  high 
)
protectedvirtual

Create a vertex bin

Parameters
lowLow cut on \(IP_{z}\)
highHigh cut on \(IP_{z}\)
Returns
Newly created vertex bin

Implements AliBaseMCCorrectionsTask.

Definition at line 71 of file AliForwardMCCorrectionsTask.cxx.

Bool_t AliForwardMCCorrectionsTask::FinalizeVtxBin ( AliBaseMCCorrectionsTask::VtxBin bin,
UShort_t  iVz 
)
protectedvirtual

Do the final processing of a vertex bin

Parameters
binVertex bin
iVzVertex bin number
Returns
true on successd

Implements AliBaseMCCorrectionsTask.

Definition at line 136 of file AliForwardMCCorrectionsTask.cxx.

AliBaseMCTrackDensity& AliForwardMCCorrectionsTask::GetTrackDensity ( )
inlinevirtual

Get a reference to the track density calculator

Returns
Reference to the track density calculator

Implements AliBaseMCCorrectionsTask.

Definition at line 87 of file AliForwardMCCorrectionsTask.h.

Referenced by AddTaskForwardMCCorr().

const AliBaseMCTrackDensity& AliForwardMCCorrectionsTask::GetTrackDensity ( ) const
inlinevirtual

Get a reference to the track density calculator

Returns
Reference to the track density calculator

Implements AliBaseMCCorrectionsTask.

Definition at line 93 of file AliForwardMCCorrectionsTask.h.

AliForwardMCCorrectionsTask& AliForwardMCCorrectionsTask::operator= ( const AliForwardMCCorrectionsTask o)
protected

Assignment operator

Parameters
oObject to assign from
Returns
Reference to this object
Bool_t AliForwardMCCorrectionsTask::PreEvent ( )
virtual

Called before the event processing

Returns
true on success

Reimplemented from AliBaseESDTask.

Definition at line 78 of file AliForwardMCCorrectionsTask.cxx.

void AliForwardMCCorrectionsTask::Print ( Option_t option = "") const
virtual

Print this object

Parameters
optionNot used

Reimplemented from AliBaseMCCorrectionsTask.

Definition at line 149 of file AliForwardMCCorrectionsTask.cxx.

Bool_t AliForwardMCCorrectionsTask::ProcessESD ( const AliESDEvent esd,
const AliMCEvent &  mc,
AliBaseMCCorrectionsTask::VtxBin bin,
const TVector3 &  ip 
)
protectedvirtual

Process an ESD event

Parameters
esdESD event
mcMC event
binVertex bin
ip\(IP_{z}\)
Returns
true on success

Implements AliBaseMCCorrectionsTask.

Definition at line 87 of file AliForwardMCCorrectionsTask.cxx.

Member Data Documentation

AliESDFMD AliForwardMCCorrectionsTask::fESDFMD
protected

Definition at line 214 of file AliForwardMCCorrectionsTask.h.

Referenced by PreEvent(), and ProcessESD().

AliFMDCorrSecondaryMap* AliForwardMCCorrectionsTask::fSecCorr
protected

Definition at line 215 of file AliForwardMCCorrectionsTask.h.

Referenced by CreateCorrections(), and FinalizeVtxBin().

AliFMDMCTrackDensity AliForwardMCCorrectionsTask::fTrackDensity
protected

Definition at line 213 of file AliForwardMCCorrectionsTask.h.

Referenced by GetTrackDensity(), Print(), and ProcessESD().


The documentation for this class was generated from the following files: