AliPhysics  781d0c7 (781d0c7)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
dNdy::Cent Struct Reference
Inheritance diagram for dNdy::Cent:

Public Member Functions

 Cent (const char *method="V0M", Bool_t verbose=true, Int_t monitor=0)
 
virtual TH1CreateSingle ()
 
virtual void SlaveBegin (TTree *t)
 
virtual Bool_t SetupEstimator ()
 
virtual void Clear (Option_t *option="")
 
virtual Bool_t ProcessHeader ()
 
virtual void ProcessParticles ()
 
virtual void Terminate ()
 
virtual TListGetMonitorObjects ()
 
 ClassDef (Cent, 1)
 
- Public Member Functions inherited from dNdy::Base
 Base (Bool_t verbose=false, Int_t monitor=0)
 
virtual Bool_t ProcessParticle (const TParticle *p)
 
virtual void Fill (Double_t y)
 
 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 ()
 
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 Bool_t AcceptSecondaries () const
 
virtual Bool_t AcceptNeutrals () const
 
 ClassDef (FastAnalysis, 1)
 

Public Attributes

FastCentHelper fHelper
 
const Long_t fMinEvents
 
Int_t fCentBin
 
- Public Attributes inherited from dNdy::Base
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
 

Additional Inherited Members

- Static Public Member Functions inherited from dNdy::Base
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")
 

Detailed Description

Definition at line 204 of file dNdyAnalysis.C.

Constructor & Destructor Documentation

dNdy::Cent::Cent ( const char *  method = "V0M",
Bool_t  verbose = true,
Int_t  monitor = 0 
)
inline

Constructor

Parameters
methodCentrality method
verboseVerbosity flag
monitorFrequency

Definition at line 216 of file dNdyAnalysis.C.

Member Function Documentation

dNdy::Cent::ClassDef ( Cent  ,
 
)
virtual void dNdy::Cent::Clear ( Option_t option = "")
inlinevirtual

Clear our internal caches

Reimplemented from FastAnalysis.

Definition at line 256 of file dNdyAnalysis.C.

virtual TH1* dNdy::Cent::CreateSingle ( )
inlinevirtual

Interface for helper

Returns
Newly allocated histogram

Definition at line 229 of file dNdyAnalysis.C.

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

Get the list of monitored objects

Returns
The list of monitored objects

Reimplemented from dNdy::Base.

Definition at line 341 of file dNdyAnalysis.C.

virtual Bool_t dNdy::Cent::ProcessHeader ( )
inlinevirtual

Process the header. Accepts events in range

Returns
true

Implements FastAnalysis.

Definition at line 266 of file dNdyAnalysis.C.

virtual void dNdy::Cent::ProcessParticles ( )
inlinevirtual

Process a single event.

First we fill the internal cache using the base class methods. Then we find the histogram for this particular reference multiplicity and add our event cache to that bin. The number of events in each bin is counted in the unique ID of each bin.

Reimplemented from FastAnalysis.

Definition at line 284 of file dNdyAnalysis.C.

virtual Bool_t dNdy::Cent::SetupEstimator ( )
inlinevirtual

Set-up the estimator is one is chosen. We get a pointer to the current file, and retrieve the relevant histogram from that.

Returns
true on success, false otherwise

Reimplemented from FastAnalysis.

Definition at line 245 of file dNdyAnalysis.C.

virtual void dNdy::Cent::SlaveBegin ( TTree t)
inlinevirtual

Called on each slave at start of processing

Parameters
tIgnored

Reimplemented from dNdy::Base.

Definition at line 235 of file dNdyAnalysis.C.

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

Final processing.

Normalize each bin to the number of events in each bin (stored in the unique ID of that bin).

Reimplemented from dNdy::Base.

Definition at line 324 of file dNdyAnalysis.C.

Member Data Documentation

Int_t dNdy::Cent::fCentBin

Definition at line 208 of file dNdyAnalysis.C.

Referenced by ProcessHeader(), and ProcessParticles().

const Long_t dNdy::Cent::fMinEvents

Definition at line 207 of file dNdyAnalysis.C.

Referenced by Terminate().


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