AliPhysics  5403132 (5403132)
AliForwardMCFlowTaskQC Class Reference

#include <AliForwardMCFlowTaskQC.h>

Inheritance diagram for AliForwardMCFlowTaskQC:

Public Member Functions

 AliForwardMCFlowTaskQC ()
 
 AliForwardMCFlowTaskQC (const char *name)
 
virtual ~AliForwardMCFlowTaskQC ()
 
void SetUseImpactParameter (Bool_t use=kTRUE)
 
void SetUseMCHeaderVertex (Bool_t use=kTRUE)
 
void SetUseFlowWeights (Bool_t use=kTRUE)
 
- Public Member Functions inherited from AliForwardFlowTaskQC
 AliForwardFlowTaskQC ()
 
 AliForwardFlowTaskQC (const char *name)
 
virtual ~AliForwardFlowTaskQC ()
 
TListGetOutputList ()
 
void SetMaxFlowMoment (Short_t n)
 
void SetVertexAxis (TAxis *axis)
 
void SetCentralityAxis (TAxis *axis)
 
void SetCentralityAxis (const char *bins)
 
void SetDetectorCuts (Double_t fmdCut, Double_t spdCut)
 
void SetFlowFlags (UShort_t flags)
 
void SetEtaGapValue (Double_t eg)
 
void SetTrackCuts (AliAnalysisFilter *trCuts)
 
virtual void UserCreateOutputObjects ()
 
virtual void Init ()
 
virtual void UserExec (Option_t *option)
 
virtual void Terminate (Option_t *option)
 

Protected Member Functions

 AliForwardMCFlowTaskQC (const AliForwardMCFlowTaskQC &o)
 
AliForwardMCFlowTaskQCoperator= (const AliForwardMCFlowTaskQC &o)
 
void InitVertexBins ()
 
void InitHists ()
 
Bool_t Analyze ()
 
void Finalize ()
 
virtual Bool_t CheckEvent (const AliAODForwardMult *aodfm)
 
virtual Bool_t CheckTrigger (const AliAODForwardMult *aodfm) const
 
virtual Bool_t GetCentrality (const AliAODForwardMult *aodfm)
 
virtual Bool_t GetVertex (const AliAODForwardMult *aodfm)
 
Bool_t FillMCHist ()
 
Double_t GetCentFromB () const
 
- Protected Member Functions inherited from AliForwardFlowTaskQC
 AliForwardFlowTaskQC (const AliForwardFlowTaskQC &o)
 
AliForwardFlowTaskQCoperator= (const AliForwardFlowTaskQC &)
 
void FillVtxBinList (const TList &list, TH2D &h1, Int_t vtx, UShort_t flags=0x0) const
 
void FillVtxBinListEtaGap (const TList &list, TH2D &href, TH2D &hdiff, Int_t vtx, UShort_t flags=0x0) const
 
void FillVtxBinList3Cor (const TList &list, TH2D &hcent, TH2D &hfwd, Int_t vtx, UShort_t flags=0x0)
 
TH2DCombineHists (TH2D &hcent, TH2D &hfwd)
 
Bool_t FillTracks (VertexBin *bin, UShort_t mode) const
 
void EndVtxBinList (const TList &list) const
 
void MakeCentralityHists (TList *list) const
 
AliVVZERO * GetVZERO () const
 
void FillVZEROHist (AliVVZERO *vzero)
 
void PrintFlowSetup () const
 

Protected Attributes

TList fBinsForwardTR
 
TList fBinsCentralTR
 
TList fBinsMC
 
AliAODMCHeader * fAODMCHeader
 
TH2D fHistdNdedpMC
 
TH2DfHistFMDMCCorr
 
TH2DfHistSPDMCCorr
 
AliForwardFlowWeightsfWeights
 
TGraphfImpactParToCent
 
Bool_t fUseImpactPar
 
Bool_t fUseMCVertex
 
Bool_t fUseFlowWeights
 
- Protected Attributes inherited from AliForwardFlowTaskQC
TAxisfVtxAxis
 
TAxisfCentAxis
 
Double_t fFMDCut
 
Double_t fSPDCut
 
UShort_t fFlowFlags
 
Double_t fEtaGap
 
TList fBinsForward
 
TList fBinsCentral
 
TListfSumList
 
TListfOutputList
 
AliAODEventfAOD
 
AliAnalysisFilter * fTrackCuts
 
Int_t fMaxMoment
 
Float_t fVtx
 
Double_t fCent
 
TH2D fHistdNdedpV0
 
TH2D fHistdNdedp3Cor
 
TH2DfHistFMDSPDCorr
 
TH1DfHistCent
 
TH1DfHistVertexSel
 
TH1IfHistEventSel
 

Additional Inherited Members

- Public Types inherited from AliForwardFlowTaskQC
enum  EFlowFlags {
  kStdQC = 0x0001, kEtaGap = 0x0002, k3Cor = 0x0004, kSymEta = 0x0008,
  kSatVtx = 0x0010, kNUAcorr = 0x0020, kFMD = 0x0040, kVZERO = 0x0080,
  kSPD = 0x0100, kMC = 0x0200, kTracks = 0x1000, kTPC = 0x3000,
  kHybrid = 0x5000
}
 
- Static Public Member Functions inherited from AliForwardFlowTaskQC
static const Char_tGetQCType (UShort_t flags, Bool_t prependUS=kTRUE)
 
- Protected Types inherited from AliForwardFlowTaskQC
enum  { kFillRef = 0x1, kFillDiff = 0x2, kFillBoth = 0x3, kReset = 0x4 }
 
enum  {
  kNoEvent = 1, kNoForward, kNoCentral, kNoTrigger,
  kNoCent, kInvCent, kNoVtx, kInvVtx,
  kOK
}
 

Detailed Description

Calculate the flow in the forward regions using the Q cumulants method

Inputs:

Outputs:

  • forward_flow.root

Definition at line 32 of file AliForwardMCFlowTaskQC.h.

Constructor & Destructor Documentation

AliForwardMCFlowTaskQC::AliForwardMCFlowTaskQC ( )

Constructor

Definition at line 29 of file AliForwardMCFlowTaskQC.cxx.

Referenced by SetUseFlowWeights().

AliForwardMCFlowTaskQC::AliForwardMCFlowTaskQC ( const char *  name)

Constructor

Parameters
nameName of task

Definition at line 48 of file AliForwardMCFlowTaskQC.cxx.

virtual AliForwardMCFlowTaskQC::~AliForwardMCFlowTaskQC ( )
inlinevirtual

Destructor

Definition at line 48 of file AliForwardMCFlowTaskQC.h.

AliForwardMCFlowTaskQC::AliForwardMCFlowTaskQC ( const AliForwardMCFlowTaskQC o)
protected

Copy constructor

Parameters
oObject to copy from

Definition at line 82 of file AliForwardMCFlowTaskQC.cxx.

Member Function Documentation

Bool_t AliForwardMCFlowTaskQC::Analyze ( )
protectedvirtual

Analyze event

Returns
true on success

Reimplemented from AliForwardFlowTaskQC.

Definition at line 197 of file AliForwardMCFlowTaskQC.cxx.

Referenced by SetUseFlowWeights().

Bool_t AliForwardMCFlowTaskQC::CheckEvent ( const AliAODForwardMult aodfm)
protectedvirtual

Check AODevent object for trigger, vertex and centrality uses aod header if object is null returns true if event is OK

Parameters
aodfmAliAODForwardMult object
Returns
Bool_t

Reimplemented from AliForwardFlowTaskQC.

Definition at line 271 of file AliForwardMCFlowTaskQC.cxx.

Referenced by SetUseFlowWeights().

Bool_t AliForwardMCFlowTaskQC::CheckTrigger ( const AliAODForwardMult aodfm) const
protectedvirtual

Check trigger from AODForwardMult object returns true if B trigger is present

Parameters
aodfmAliAODForwardMultObject
Returns
Bool_t

Reimplemented from AliForwardFlowTaskQC.

Definition at line 286 of file AliForwardMCFlowTaskQC.cxx.

Referenced by SetUseFlowWeights().

Bool_t AliForwardMCFlowTaskQC::FillMCHist ( )
protected

Loop over AliAODMCParticle branch object and fill d^2N/detadphi histograms add flow if arguments are set

Returns
true on success

Definition at line 356 of file AliForwardMCFlowTaskQC.cxx.

Referenced by Analyze(), and SetUseFlowWeights().

void AliForwardMCFlowTaskQC::Finalize ( )
protectedvirtual

Finalize analysis

Reimplemented from AliForwardFlowTaskQC.

Definition at line 257 of file AliForwardMCFlowTaskQC.cxx.

Referenced by SetUseFlowWeights().

Double_t AliForwardMCFlowTaskQC::GetCentFromB ( ) const
protected

Get centrality form MC impact parameter

Returns
Centrality

Definition at line 417 of file AliForwardMCFlowTaskQC.cxx.

Referenced by GetCentrality(), and SetUseFlowWeights().

Bool_t AliForwardMCFlowTaskQC::GetCentrality ( const AliAODForwardMult aodfm)
protectedvirtual

Check for centrality in AliAODForwardMult object, if present return true - also sets fCent value can be used to get centrality from impact parameter

Parameters
aodfmAliAODForwardMultObject
Returns
Bool_t

Reimplemented from AliForwardFlowTaskQC.

Definition at line 302 of file AliForwardMCFlowTaskQC.cxx.

Referenced by SetUseFlowWeights().

Bool_t AliForwardMCFlowTaskQC::GetVertex ( const AliAODForwardMult aodfm)
protectedvirtual

Check for vertex in MCHeader returns true if in range of fVtxAXis, also sets fVtx value

Parameters
aodfmNot used
Returns
Bool_t

Reimplemented from AliForwardFlowTaskQC.

Definition at line 330 of file AliForwardMCFlowTaskQC.cxx.

Referenced by SetUseFlowWeights().

void AliForwardMCFlowTaskQC::InitHists ( )
protectedvirtual

Initiate diagnostics histograms

Reimplemented from AliForwardFlowTaskQC.

Definition at line 152 of file AliForwardMCFlowTaskQC.cxx.

Referenced by SetUseFlowWeights().

void AliForwardMCFlowTaskQC::InitVertexBins ( )
protectedvirtual

Initiate vertex bin objects

Reimplemented from AliForwardFlowTaskQC.

Definition at line 123 of file AliForwardMCFlowTaskQC.cxx.

Referenced by SetUseFlowWeights().

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

Assignment operator

Parameters
oObject to assing from
Returns
Reference to this object

Definition at line 103 of file AliForwardMCFlowTaskQC.cxx.

Referenced by SetUseFlowWeights().

void AliForwardMCFlowTaskQC::SetUseFlowWeights ( Bool_t  use = kTRUE)
inline

Add flow to MC particles

Definition at line 64 of file AliForwardMCFlowTaskQC.h.

Referenced by AddTaskForwardFlowQC().

void AliForwardMCFlowTaskQC::SetUseImpactParameter ( Bool_t  use = kTRUE)
inline

Set use parametrization from impact parameter for centrality

Parameters
useUse impact par

Definition at line 54 of file AliForwardMCFlowTaskQC.h.

Referenced by AddTaskForwardFlowQC().

void AliForwardMCFlowTaskQC::SetUseMCHeaderVertex ( Bool_t  use = kTRUE)
inline

Set to get vertex from MC header

Parameters
useGet from MC header

Definition at line 60 of file AliForwardMCFlowTaskQC.h.

Referenced by AddTaskForwardFlowQC().

Member Data Documentation

AliAODMCHeader* AliForwardMCFlowTaskQC::fAODMCHeader
protected
TList AliForwardMCFlowTaskQC::fBinsCentralTR
protected

Definition at line 152 of file AliForwardMCFlowTaskQC.h.

Referenced by Analyze(), Finalize(), InitHists(), and InitVertexBins().

TList AliForwardMCFlowTaskQC::fBinsForwardTR
protected

Definition at line 151 of file AliForwardMCFlowTaskQC.h.

Referenced by Analyze(), Finalize(), InitHists(), and InitVertexBins().

TList AliForwardMCFlowTaskQC::fBinsMC
protected

Definition at line 153 of file AliForwardMCFlowTaskQC.h.

Referenced by Analyze(), Finalize(), InitHists(), and InitVertexBins().

TH2D AliForwardMCFlowTaskQC::fHistdNdedpMC
protected

Definition at line 155 of file AliForwardMCFlowTaskQC.h.

Referenced by Analyze(), FillMCHist(), InitHists(), and operator=().

TH2D* AliForwardMCFlowTaskQC::fHistFMDMCCorr
protected

Definition at line 156 of file AliForwardMCFlowTaskQC.h.

Referenced by Analyze(), InitHists(), and operator=().

TH2D* AliForwardMCFlowTaskQC::fHistSPDMCCorr
protected

Definition at line 157 of file AliForwardMCFlowTaskQC.h.

Referenced by Analyze(), InitHists(), and operator=().

TGraph* AliForwardMCFlowTaskQC::fImpactParToCent
protected

Definition at line 159 of file AliForwardMCFlowTaskQC.h.

Referenced by AliForwardMCFlowTaskQC(), GetCentFromB(), and operator=().

Bool_t AliForwardMCFlowTaskQC::fUseFlowWeights
protected

Definition at line 162 of file AliForwardMCFlowTaskQC.h.

Referenced by FillMCHist(), operator=(), and SetUseFlowWeights().

Bool_t AliForwardMCFlowTaskQC::fUseImpactPar
protected

Definition at line 160 of file AliForwardMCFlowTaskQC.h.

Referenced by GetCentrality(), operator=(), and SetUseImpactParameter().

Bool_t AliForwardMCFlowTaskQC::fUseMCVertex
protected

Definition at line 161 of file AliForwardMCFlowTaskQC.h.

Referenced by GetVertex(), operator=(), and SetUseMCHeaderVertex().

AliForwardFlowWeights* AliForwardMCFlowTaskQC::fWeights
protected

Definition at line 158 of file AliForwardMCFlowTaskQC.h.

Referenced by FillMCHist(), InitHists(), and operator=().


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