AliPhysics  9c7580a (9c7580a)
dNdeta::Base Struct Reference
Inheritance diagram for dNdeta::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 eta)
 
virtual void Terminate ()
 
virtual TListGetMonitorObjects ()
 
- Public Member Functions inherited from FastAnalysis
 FastAnalysis (Bool_t verb=false, Int_t monitor=0)
 
virtual ~FastAnalysis ()
 
void SetTrigger (UInt_t mask)
 
void SetTrigger (UInt_t mask, Bool_t isAnd)
 
void SetTrigger (const char *what)
 
Bool_t CheckTrigger () const
 
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
 
virtual void Print (Option_t *option="") 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 ()
 

Static Public Member Functions

static TH1DCreatedNdeta ()
 
static TObjectCreateOutput ()
 
- 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

TH1fdNdeta
 
- 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
 
UInt_t fTrigMask
 

Detailed Description

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

Definition at line 22 of file dNdetaAnalysis.C.

Constructor & Destructor Documentation

dNdeta::Base::Base ( Bool_t  verbose = false,
Int_t  monitor = 0 
)
inline

Definition at line 26 of file dNdetaAnalysis.C.

Member Function Documentation

static TH1D* dNdeta::Base::CreatedNdeta ( )
inlinestatic

Static member function to create a histogram

Returns
Newly created histogram

Definition at line 34 of file dNdetaAnalysis.C.

Referenced by CreateOutput(), dNdeta::Cent::CreateSingle(), and SlaveBegin().

static TObject* dNdeta::Base::CreateOutput ( )
inlinestatic

Definition at line 50 of file dNdetaAnalysis.C.

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

virtual void dNdeta::Base::Fill ( Double_t  eta)
inlinevirtual

Definition at line 82 of file dNdetaAnalysis.C.

Referenced by ProcessParticle().

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

Get the list of monitored objects

Returns
The list of monitored objects

Reimplemented from FastAnalysis.

Reimplemented in dNdeta::Cent.

Definition at line 114 of file dNdetaAnalysis.C.

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

Process a particle.

Parameters
pParticle to process

Implements FastAnalysis.

Definition at line 71 of file dNdetaAnalysis.C.

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

Called on each slave at start of processing

Reimplemented in dNdeta::Cent.

Definition at line 57 of file dNdetaAnalysis.C.

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

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

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

Reimplemented in dNdeta::Cent.

Definition at line 87 of file dNdetaAnalysis.C.

Member Data Documentation

TH1* dNdeta::Base::fdNdeta

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