AliPhysics  5b8f126 (5b8f126)
AliCentralMCCorrectionsTask Class Reference

#include <AliCentralMCCorrectionsTask.h>

Inheritance diagram for AliCentralMCCorrectionsTask:

Classes

struct  VtxBin
 

Public Member Functions

 AliCentralMCCorrectionsTask (const char *name)
 
 AliCentralMCCorrectionsTask ()
 
- 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 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-")
 

Interface methods

AliSPDMCTrackDensity fTrackDensity
 
AliCentralCorrSecondaryMapfSecCorr
 
AliCentralCorrAcceptancefAccCorr
 
UShort_t fNPhiBins
 
Bool_t fEffectiveCorr
 
Double_t fEtaCut
 
Double_t fCorrCut
 
void Print (Option_t *option="") const
 
void SetNPhiBins (UShort_t nBins)
 
void SetEffectiveCorrection (Bool_t e)
 
void SetEtaCut (Double_t maxEta=1.9)
 
void SetAcceptanceCut (Double_t least=0.8)
 
AliSPDMCTrackDensityGetTrackDensity ()
 
const AliSPDMCTrackDensityGetTrackDensity () const
 
 AliCentralMCCorrectionsTask (const AliCentralMCCorrectionsTask &o)
 
AliCentralMCCorrectionsTaskoperator= (const AliCentralMCCorrectionsTask &o)
 
void DefineBins (TList *list)
 
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)
 

Additional Inherited Members

- 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 Bool_t StoreTrainName (Int_t no)
 
virtual const char * DefaultConfig () const
 
void LocalInit ()
 
void UserCreateOutputObjects ()
 
void UserExec (Option_t *option)
 
void Terminate (Option_t *option)
 
- 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 corrections in the central regions

Inputs:
Outputs:
Histograms
Corrections used

Definition at line 40 of file AliCentralMCCorrectionsTask.h.

Constructor & Destructor Documentation

AliCentralMCCorrectionsTask::AliCentralMCCorrectionsTask ( const char *  name)

Constructor

Parameters
nameName of task

Definition at line 61 of file AliCentralMCCorrectionsTask.cxx.

AliCentralMCCorrectionsTask::AliCentralMCCorrectionsTask ( )

Constructor

Definition at line 41 of file AliCentralMCCorrectionsTask.cxx.

Referenced by GetTrackDensity().

AliCentralMCCorrectionsTask::AliCentralMCCorrectionsTask ( const AliCentralMCCorrectionsTask o)
protected

Copy constructor

Parameters
oObject to copy from

Member Function Documentation

void AliCentralMCCorrectionsTask::CreateCorrections ( TList results)
protectedvirtual

Create corrections objects and store them in passed list

Parameters
resultsOutput list

Implements AliBaseMCCorrectionsTask.

Definition at line 119 of file AliCentralMCCorrectionsTask.cxx.

AliBaseMCCorrectionsTask::VtxBin * AliCentralMCCorrectionsTask::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 82 of file AliCentralMCCorrectionsTask.cxx.

void AliCentralMCCorrectionsTask::DefineBins ( TList list)
protected

Define our vertex bins

Parameters
listList to read or add binst from/to
Bool_t AliCentralMCCorrectionsTask::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 133 of file AliCentralMCCorrectionsTask.cxx.

AliSPDMCTrackDensity& AliCentralMCCorrectionsTask::GetTrackDensity ( )
inlinevirtual

Get a reference to the track density calculator

Returns
Reference to the track density calculator

Implements AliBaseMCCorrectionsTask.

Definition at line 96 of file AliCentralMCCorrectionsTask.h.

const AliSPDMCTrackDensity& AliCentralMCCorrectionsTask::GetTrackDensity ( ) const
inlinevirtual

Get a reference to the track density calculator

Returns
Reference to the track density calculator

Implements AliBaseMCCorrectionsTask.

Definition at line 102 of file AliCentralMCCorrectionsTask.h.

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

Assignment operator

Parameters
oObject to assign from
Returns
Reference to this object

Referenced by GetTrackDensity().

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

Print this object

Parameters
optionNot used

Reimplemented from AliBaseMCCorrectionsTask.

Definition at line 147 of file AliCentralMCCorrectionsTask.cxx.

Bool_t AliCentralMCCorrectionsTask::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 89 of file AliCentralMCCorrectionsTask.cxx.

void AliCentralMCCorrectionsTask::SetAcceptanceCut ( Double_t  least = 0.8)
inline

If a particular phi bin has less then this fraction of the largest signal in the corresponding \(\eta\) slice, then it is not used.

Parameters
leastLower bound on fraction of largest signal in this \(\eta\) slice

Definition at line 90 of file AliCentralMCCorrectionsTask.h.

void AliCentralMCCorrectionsTask::SetEffectiveCorrection ( Bool_t  e)
inline

Whether to make effective corrections

Parameters
eif true, make effective correction

Definition at line 75 of file AliCentralMCCorrectionsTask.h.

Referenced by AddTaskCentralMCCorr().

void AliCentralMCCorrectionsTask::SetEtaCut ( Double_t  maxEta = 1.9)
inline

Set the maximum \(|\eta|\) to accept.

Parameters
maxEtamaximum \(|\eta|\)

Definition at line 81 of file AliCentralMCCorrectionsTask.h.

void AliCentralMCCorrectionsTask::SetNPhiBins ( UShort_t  nBins)
inline

Set the number of phi bins to use

Parameters
nBins

Definition at line 69 of file AliCentralMCCorrectionsTask.h.

Referenced by AddTaskCentralMCCorr().

Member Data Documentation

AliCentralCorrAcceptance* AliCentralMCCorrectionsTask::fAccCorr
protected

Definition at line 232 of file AliCentralMCCorrectionsTask.h.

Referenced by CreateCorrections(), and FinalizeVtxBin().

Double_t AliCentralMCCorrectionsTask::fCorrCut
protected

Definition at line 237 of file AliCentralMCCorrectionsTask.h.

Referenced by FinalizeVtxBin(), Print(), and SetAcceptanceCut().

Bool_t AliCentralMCCorrectionsTask::fEffectiveCorr
protected

Definition at line 235 of file AliCentralMCCorrectionsTask.h.

Referenced by FinalizeVtxBin(), Print(), and SetEffectiveCorrection().

Double_t AliCentralMCCorrectionsTask::fEtaCut
protected

Definition at line 236 of file AliCentralMCCorrectionsTask.h.

Referenced by FinalizeVtxBin(), Print(), and SetEtaCut().

UShort_t AliCentralMCCorrectionsTask::fNPhiBins
protected

Definition at line 234 of file AliCentralMCCorrectionsTask.h.

Referenced by CreateVtxBin(), Print(), and SetNPhiBins().

AliCentralCorrSecondaryMap* AliCentralMCCorrectionsTask::fSecCorr
protected

Definition at line 231 of file AliCentralMCCorrectionsTask.h.

Referenced by CreateCorrections(), and FinalizeVtxBin().

AliSPDMCTrackDensity AliCentralMCCorrectionsTask::fTrackDensity
protected

Definition at line 230 of file AliCentralMCCorrectionsTask.h.

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


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