AliPhysics  32b88a8 (32b88a8)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
dNdy::Base Struct Reference
Inheritance diagram for dNdy::Base:

Public Member Functions

 Base (Bool_t verbose=false, Int_t monitor=0)
 
virtual void SlaveBegin (TTree *)
 
virtual Bool_t ProcessParticle (const TParticle *p)
 
virtual void Fill (Double_t y)
 
virtual void Terminate ()
 
virtual TListGetMonitorObjects ()
 
 ClassDef (Base, 1)
 
- Public Member Functions inherited from FastAnalysis
 FastAnalysis (Bool_t verb=false, Int_t monitor=0)
 
virtual ~FastAnalysis ()
 
void SetVerbose (Bool_t verb)
 
void SetupMonitor ()
 
Bool_t SetupBranches ()
 
virtual Bool_t SetupEstimator ()
 
void Init (TTree *tree)
 
virtual void Begin (TTree *)
 
Bool_t Notify ()
 
virtual Bool_t Process (Long64_t entry)
 
virtual void SlaveTerminate ()
 
Int_t Version () const
 
Double_t GetCentrality () const
 
Long_t GetEventCount ()
 
TObjectGetOutputObject (const char *name, TClass *cls)
 
void CopyEgHistogram ()
 
virtual void Clear (Option_t *option="")
 
virtual void ProcessParticles ()
 
virtual Bool_t AcceptSecondaries () const
 
virtual Bool_t AcceptNeutrals () const
 
virtual Bool_t ProcessHeader ()=0
 
 ClassDef (FastAnalysis, 1)
 

Static Public Member Functions

static TH1DCreatedNdy ()
 
- Static Public Member Functions inherited from FastAnalysis
static Long_t ProofExec (const char *cmd=0)
 
static Bool_t ProofLoad (const char *file, const char *opt)
 
static Bool_t Str2KeyVal (const TString &in, TString &key, TString &val, const char sep='=')
 
static Bool_t SetupProof (TUrl &url, const char *opt, const char *extra)
 
static Bool_t Run (const char *url, const char *output, FastAnalysis *a, const char *script, Long64_t nev=-1, Long64_t offset=0, Int_t monitor=-1, Bool_t verbose=false, const char *opt="")
 
static Bool_t Run (const char *url, const char *output, const char *opt="g")
 

Public Attributes

TH1fdNdy
 
- Public Attributes inherited from FastAnalysis
TTreefTree
 
FastShortHeaderfHeader
 
TClonesArray * fParticles
 
Bool_t fVerbose
 
TStopwatch fTimer
 
TString fName
 
ULong64_t fEventMult
 
TString fCentMethod
 
TH1fCentHist
 
ULong_t fOK
 
Int_t fMonitor
 
Bool_t fCompatB
 

Detailed Description

Base class for making \( 1/N dN_{ch}/dy\)

Definition at line 19 of file dNdyAnalysis.C.

Constructor & Destructor Documentation

dNdy::Base::Base ( Bool_t  verbose = false,
Int_t  monitor = 0 
)
inline
Parameters
verboseVerbosity flag
monitorFrequency

Definition at line 29 of file dNdyAnalysis.C.

Member Function Documentation

dNdy::Base::ClassDef ( Base  ,
 
)
static TH1D* dNdy::Base::CreatedNdy ( )
inlinestatic

Static member function to create a histogram

Returns
Newly created histogram

Definition at line 37 of file dNdyAnalysis.C.

Referenced by dNdy::Cent::CreateSingle(), SlaveBegin(), and dNdy::Cent::SlaveBegin().

virtual void dNdy::Base::Fill ( Double_t  y)
inlinevirtual

Definition at line 74 of file dNdyAnalysis.C.

Referenced by ProcessParticle().

virtual TList* dNdy::Base::GetMonitorObjects ( )
inlinevirtual

Get the list of monitored objects

Returns
The list of monitored objects

Reimplemented from FastAnalysis.

Reimplemented in dNdy::Cent.

Definition at line 106 of file dNdyAnalysis.C.

virtual Bool_t dNdy::Base::ProcessParticle ( const TParticle *  p)
inlinevirtual

Process a particle.

Parameters
pParticle to process

Implements FastAnalysis.

Definition at line 69 of file dNdyAnalysis.C.

virtual void dNdy::Base::SlaveBegin ( TTree )
inlinevirtual

Called on each slave at start of processing

Reimplemented in dNdy::Cent.

Definition at line 55 of file dNdyAnalysis.C.

Referenced by dNdy::Cent::SlaveBegin().

virtual void dNdy::Base::Terminate ( )
inlinevirtual

Final processing. Scales the histogram to the nubmer of events and the bin width.

Reimplemented in dNdy::Cent.

Definition at line 79 of file dNdyAnalysis.C.

Member Data Documentation

TH1* dNdy::Base::fdNdy

The documentation for this struct was generated from the following file: