![]() |
AliPhysics
a76316e (a76316e)
|
#include <AliForwardMultDists.h>
Classes | |
struct | BinSpec |
struct | EtaBin |
Public Types | |
enum | { kInvalidEta = 999 } |
enum | { kAnalysis = 1, kMC = 2, kTrigger = 3, kVertex = 4, kTriggerVertex = 5 } |
Public Member Functions | |
AliForwardMultDists () | |
AliForwardMultDists (const char *name) | |
virtual | ~AliForwardMultDists () |
void | SetUsePhiAcc (Bool_t use) |
void | Print (Option_t *option="") const |
Interface memer functions | |
Bool_t | Book () |
Bool_t | PreData () |
Bool_t | PreEvent () |
Bool_t | Event (AliAODEvent &aod) |
Bool_t | Finalize () |
Bin definitions | |
void | AddBin (const BinSpec &spec) |
void | AddBin (Double_t etaLow, Double_t etaMax, const TAxis &nAxis) |
void | AddBin (Double_t etaLow, Double_t etaMax, UShort_t nMax, UShort_t nDiv) |
![]() | |
AliBaseAODTask () | |
AliBaseAODTask (const char *name, const char *title) | |
virtual | ~AliBaseAODTask () |
virtual Bool_t | Configure (const char *macro="-default-") |
void | SetIPzAxis (Int_t n, Double_t min, Double_t max) |
void | SetIPzAxis (Int_t n, Double_t max) |
void | SetIPzAxis (const TString &spec) |
void | SetCentralityAxis (UShort_t n, Short_t *bins) |
void | SetCentralityAxis (UShort_t n, Double_t *bins) |
void | SetCentralityAxis (Short_t low, Short_t high) |
void | SetCentralityAxis (const char *bins) |
void | SetAbsMinCent (Double_t x=-1) |
void | SetTriggerMask (UInt_t mask) |
void | SetTriggerMask (const char *mask) |
void | SetFilterMask (UInt_t mask) |
void | SetFilterMask (const char *mask) |
virtual Bool_t | Connect (const char *sumFile=0, const char *resFile=0) |
virtual Bool_t | PostEvent () |
void | Print (Option_t *option="") const |
Static Protected Member Functions | |
static void | ProjectX (const TH2 &input, TH1 &cache, Bool_t usePhiAcc=true) |
static void | ProjectX (const TH2 *input, TH1 *cache) |
![]() | |
static void | FixAxis (TAxis &axis, const char *title=0) |
static void | SetAxis (TAxis &axis, Int_t n, Double_t *borders) |
static void | SetAxis (TAxis &axis, const TString &spec, const char *sep=":,") |
static void | SetAxis (TAxis &axis, Int_t n, Double_t l, Double_t h) |
static void | SetAxis (TAxis &axis, Int_t n, Double_t m) |
static void | PrintAxis (const TAxis &axis, Int_t nSig=2, const char *alt=0) |
Protected Attributes | |
TList | fBins |
TList * | fSymmetric |
TList * | fNegative |
TList * | fPositive |
TH1 * | fMCVertex |
TH2 * | fDiag |
TH1 * | fForwardCache |
TH1 * | fCentralCache |
TH1 * | fMCCache |
Bool_t | fUsePhiAcc |
Bool_t | fIsSelected |
![]() | |
UInt_t | fTriggerMask |
UInt_t | fFilterMask |
TAxis | fCentAxis |
Double_t | fAbsMinCent |
TAxis | fIPzAxis |
TH1I * | fTriggers |
TH1I * | fEventStatus |
TH1D * | fVertex |
TH1D * | fCent |
TH1D * | fAccVertex |
TH2D * | fAccVertexXY |
TH1D * | fAccCent |
Bool_t | fFirstEvent |
Bool_t | fCloneList |
TList * | fSums |
TList * | fResults |
Class to make raw \( P(N_{ch})\) distributions.
Christian's rough sketch
Definition at line 31 of file AliForwardMultDists.h.
anonymous enum |
Enumerator | |
---|---|
kInvalidEta |
Mark for invalid pseudo-rapidity |
Definition at line 34 of file AliForwardMultDists.h.
anonymous enum |
Histogram enumeration
Enumerator | |
---|---|
kAnalysis |
Measured |
kMC |
MC-truth |
kTrigger |
MC-truth Triggered |
kVertex |
MC-truth w/vertex |
kTriggerVertex |
MC-truth triggered and w/vertex |
Definition at line 41 of file AliForwardMultDists.h.
AliForwardMultDists::AliForwardMultDists | ( | ) |
Default constructor
Definition at line 162 of file AliForwardMultDists.cxx.
AliForwardMultDists::AliForwardMultDists | ( | const char * | name | ) |
User constructor
name | Name of the task |
Definition at line 178 of file AliForwardMultDists.cxx.
|
inlinevirtual |
Destructor
Definition at line 111 of file AliForwardMultDists.h.
|
protected |
Copy constructor
o | object to copy fron |
void AliForwardMultDists::AddBin | ( | const BinSpec & | spec | ) |
Add an \( \eta\) bin
spec | Bin specification |
Definition at line 529 of file AliForwardMultDists.cxx.
Referenced by AddTaskForwardMultDists(), and PreEvent().
Add an \( \eta\) bin.
etaLow | Low cut on \(\eta\) |
etaMax | High cut on \(\eta\) |
nAxis | Axis to use for measured \( N_{ch}\) |
Definition at line 536 of file AliForwardMultDists.cxx.
Add an \(\eta\) bin
etaLow | Low cut on \(\eta\) |
etaMax | High cut on \(\eta\) |
nMax | Maximum \( N_{ch}\) |
nDiv | Number of subdivisions per \( N_{ch}\) |
Definition at line 556 of file AliForwardMultDists.cxx.
|
virtual |
Create output objects - called at start of job in slave
Implements AliBaseAODTask.
Definition at line 202 of file AliForwardMultDists.cxx.
Referenced by ~AliForwardMultDists().
|
protectedvirtual |
Check the event
fwd | Forward data structure |
Reimplemented from AliBaseAODTask.
Definition at line 390 of file AliForwardMultDists.cxx.
|
virtual |
Analyse a single event
aod | AOD Event |
Implements AliBaseAODTask.
Definition at line 299 of file AliForwardMultDists.cxx.
Referenced by PreEvent().
|
virtual |
Called at the end of the final processing of the job on the full data set (merged data)
Implements AliBaseAODTask.
Definition at line 399 of file AliForwardMultDists.cxx.
Referenced by PreEvent().
|
protected |
|
virtual |
Set-up internal structures on first seen event
Reimplemented from AliBaseAODTask.
Definition at line 212 of file AliForwardMultDists.cxx.
Referenced by ~AliForwardMultDists().
|
inlinevirtual |
Executed before every event
Reimplemented from AliBaseAODTask.
Definition at line 133 of file AliForwardMultDists.h.
void AliForwardMultDists::Print | ( | Option_t * | option = "" | ) | const |
Print this task
option | Not used |
Definition at line 587 of file AliForwardMultDists.cxx.
Referenced by SetUsePhiAcc().
|
staticprotected |
Project a 2D histogram into a 1D histogram taking care to use either the \(\phi\) acceptance stored in the overflow bins, or the \(\eta\) coverage stored in the underflow bins.
input | 2D histogram to project |
cache | 1D histogram to project into |
usePhiAcc | If true, use the \(\phi\) acceptance stored in the overflow bins, or if false the \(\eta\) coverage stored in the underflow bins. |
Definition at line 459 of file AliForwardMultDists.cxx.
Referenced by Event().
Project on \(\eta\) axis. If any of the pointers passed is zero, do nothing.
input | |
cache |
Definition at line 498 of file AliForwardMultDists.cxx.
|
inline |
Whether to use the stored phi acceptance
use | If true, use stored phi acceptance |
Definition at line 184 of file AliForwardMultDists.h.
Referenced by AddTaskForwardMultDists().
|
protected |
Definition at line 375 of file AliForwardMultDists.h.
Referenced by AddBin(), Event(), Finalize(), PreData(), and Print().
|
protected |
Definition at line 382 of file AliForwardMultDists.h.
|
protected |
Definition at line 380 of file AliForwardMultDists.h.
|
protected |
Definition at line 381 of file AliForwardMultDists.h.
|
protected |
Definition at line 385 of file AliForwardMultDists.h.
Referenced by CheckEvent(), Event(), and PreEvent().
|
protected |
Definition at line 383 of file AliForwardMultDists.h.
|
protected |
Definition at line 379 of file AliForwardMultDists.h.
|
protected |
Definition at line 377 of file AliForwardMultDists.h.
|
protected |
Definition at line 378 of file AliForwardMultDists.h.
|
protected |
Definition at line 376 of file AliForwardMultDists.h.
|
protected |
Definition at line 384 of file AliForwardMultDists.h.
Referenced by Event(), Print(), and SetUsePhiAcc().