AliPhysics  05c4c93 (05c4c93)
AliMCTruthdNdetaTask::CentralityBin Class Reference

#include <AliMCTruthdNdetaTask.h>

Inheritance diagram for AliMCTruthdNdetaTask::CentralityBin:

Public Member Functions

 CentralityBin ()
 
 CentralityBin (const char *name, Float_t low, Float_t high)
 
 CentralityBin (const CentralityBin &other)
 
virtual ~CentralityBin ()
 
CentralityBinoperator= (const CentralityBin &)
 
virtual Bool_t ProcessEvent (const AliAODForwardMult *forward, UInt_t triggerMask, Bool_t isZero, Double_t vzMin, Double_t vzMax, const TH2D *data, const TH2D *mc, UInt_t filter, Double_t weight)
 
virtual bool End (TList *sums, TList *results, UShort_t scheme, Double_t trigEff, Double_t trigEff0, Bool_t rootProj, Bool_t corrEmpty, Int_t triggerMask, Int_t marker, Int_t color, TList *mclist, TList *truthlist)
 
- Public Member Functions inherited from AliBasedNdetaTask::CentralityBin
 CentralityBin ()
 
 CentralityBin (const char *name, Float_t low, Float_t high)
 
 CentralityBin (const CentralityBin &other)
 
CentralityBinoperator= (const CentralityBin &other)
 
Bool_t IsAllBin () const
 
Bool_t IsInclusiveBin () const
 
const char * GetListName () const
 
virtual void CreateOutputObjects (TList *dir, Int_t mask)
 
virtual Double_t Normalization (const TH1I &t, UShort_t scheme, Double_t trgEff, Double_t &ntotal, TString *text) const
 
virtual void MakeResult (const TH2D *sum, const char *postfix, bool rootProj, bool corrEmpty, Double_t scaler, Int_t marker, Int_t color, TList *mclist, TList *truthlist)
 
Int_t GetColor (Int_t fallback=kRed+2) const
 
void SetColor (Color_t colour)
 
TListGetResults () const
 
const char * GetResultName (const char *postfix="") const
 
TH1GetResult (const char *postfix="", Bool_t verbose=true) const
 
void SetDebugLevel (Int_t lvl)
 
void SetSatelliteVertices (Bool_t satVtx)
 
virtual void Print (Option_t *option="") const
 
const SumGetSum (Bool_t mc=false) const
 
SumGetSum (Bool_t mc=false)
 
const TH1IGetTriggers () const
 
TH1IGetTriggers ()
 
const TH1IGetStatus () const
 
TH1IGetStatus ()
 

Protected Attributes

TH2DfSumTruth
 
- Protected Attributes inherited from AliBasedNdetaTask::CentralityBin
TListfSums
 
TListfOutput
 
SumfSum
 
SumfSumMC
 
TH1IfTriggers
 
TH1IfStatus
 
Float_t fLow
 
Float_t fHigh
 
Bool_t fDoFinalMCCorrection
 
Bool_t fSatelliteVertices
 
Int_t fDebug
 
Color_t fColor
 

Additional Inherited Members

- Protected Member Functions inherited from AliBasedNdetaTask::CentralityBin
virtual Bool_t ReadSum (TList *list, bool mc=false)
 
virtual void CreateSums (const TH2D *data, const TH2D *mc)
 
virtual Bool_t CheckEvent (const AliAODForwardMult *forward, Int_t triggerMask, Double_t vzMin, Double_t vzMax, Int_t filter)
 

Detailed Description

Class that holds data for a single centrality bin. These objects are only used internally and are never streamed. We do not make dictionaries for this (and derived) classes as they are constructed on the fly.

Definition at line 106 of file AliMCTruthdNdetaTask.h.

Constructor & Destructor Documentation

AliMCTruthdNdetaTask::CentralityBin::CentralityBin ( )
inline

Constructor

Definition at line 112 of file AliMCTruthdNdetaTask.h.

AliMCTruthdNdetaTask::CentralityBin::CentralityBin ( const char *  name,
Float_t  low,
Float_t  high 
)
inline

Constructor

Parameters
nameName used for histograms (e.g., Forward)
lowLower centrality cut in percent
highUpper centrality cut in percent

Definition at line 120 of file AliMCTruthdNdetaTask.h.

AliMCTruthdNdetaTask::CentralityBin::CentralityBin ( const CentralityBin other)
inline

Copy constructor

Parameters
otherObject to copy from

Definition at line 129 of file AliMCTruthdNdetaTask.h.

virtual AliMCTruthdNdetaTask::CentralityBin::~CentralityBin ( )
inlinevirtual

Destructor

Reimplemented from AliBasedNdetaTask::CentralityBin.

Definition at line 136 of file AliMCTruthdNdetaTask.h.

Member Function Documentation

bool AliMCTruthdNdetaTask::CentralityBin::End ( TList sums,
TList results,
UShort_t  scheme,
Double_t  trigEff,
Double_t  trigEff0,
Bool_t  rootProj,
Bool_t  corrEmpty,
Int_t  triggerMask,
Int_t  marker,
Int_t  color,
TList mclist,
TList truthlist 
)
virtual

End of processing

Parameters
sumsList of sums
resultsOutput list of results
schemeNormalisation scheme options
trigEffTrigger efficiency
trigEff00-bin trigger efficiency
rootProjIf true, use TH2::ProjectionX
corrEmptyWhether to correct for empty bins
triggerMaskTrigger mask
colorMarker colour
markerMarker style
mclistList of MC results
truthlistList of MC truth results
Returns
true on success

Reimplemented from AliBasedNdetaTask::CentralityBin.

Definition at line 183 of file AliMCTruthdNdetaTask.cxx.

Referenced by operator=().

CentralityBin& AliMCTruthdNdetaTask::CentralityBin::operator= ( const CentralityBin )
inline

Assignement operator

Returns

Definition at line 143 of file AliMCTruthdNdetaTask.h.

Bool_t AliMCTruthdNdetaTask::CentralityBin::ProcessEvent ( const AliAODForwardMult forward,
UInt_t  triggerMask,
Bool_t  isZero,
Double_t  vzMin,
Double_t  vzMax,
const TH2D data,
const TH2D mc,
UInt_t  filter,
Double_t  weight 
)
virtual

Process an event

Parameters
forwardForward data (for trigger, vertex, & centrality)
triggerMaskTrigger mask
isZeroTrue if this is a zero bin event
vzMinMinimum IP z coordinate
vzMaxMaximum IP z coordinate
dataData histogram
mcMC histogram
filterIf true, check for pile-up (global flag)
weightEvent weight

Reimplemented from AliBasedNdetaTask::CentralityBin.

Definition at line 132 of file AliMCTruthdNdetaTask.cxx.

Referenced by operator=().

Member Data Documentation

TH2D* AliMCTruthdNdetaTask::CentralityBin::fSumTruth
protected

Definition at line 197 of file AliMCTruthdNdetaTask.h.


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