![]() |
AliPhysics
64a5cfc (64a5cfc)
|
Public Types | |
enum | { kPiSty = 20, kKSty = 21, kPSty = 22, kOSty = 23 } |
enum | { kPiColor = kRed+2, kKColor = kGreen+2, kPColor = kBlue+2, kOColor = kMagenta+2 } |
Public Member Functions | |
spectraAnalysis (Bool_t verbose=false, Int_t monitor=0) | |
TH1 * | CreateSpectra (UInt_t pdg, Color_t col, Style_t sty) |
TH1 * | CreateRatio (UInt_t pdg, Color_t col, Style_t sty) |
virtual void | SlaveBegin (TTree *) |
Bool_t | ProcessHeader () |
void | ProcessParticles () |
virtual Bool_t | ProcessParticle (const TParticle *p) |
Bool_t | Scale (UInt_t pdg) |
Bool_t | Ratio (TH1 *r, Int_t bin, UInt_t pdg) |
virtual void | Terminate () |
ClassDef (spectraAnalysis, 0) | |
![]() | |
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 () |
TObject * | GetOutputObject (const char *name, TClass *cls) |
void | CopyEgHistogram () |
virtual TList * | GetMonitorObjects () |
virtual void | Clear (Option_t *option="") |
virtual Bool_t | AcceptSecondaries () const |
virtual Bool_t | AcceptNeutrals () const |
ClassDef (FastAnalysis, 1) | |
Static Public Member Functions | |
static const char * | dNdptName (UInt_t pdg) |
static const char * | RatioName (UInt_t pdg) |
![]() | |
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 | |
Long_t | fNpi |
Long_t | fNK |
Long_t | fNP |
Long_t | fNO |
TH1 * | fdNdptPi |
TH1 * | fdNdptK |
TH1 * | fdNdptP |
TH1 * | fdNdptO |
TH1 * | fK2piRatio |
TH1 * | fP2piRatio |
TH1 * | fO2piRatio |
![]() | |
TTree * | fTree |
FastShortHeader * | fHeader |
TClonesArray * | fParticles |
Bool_t | fVerbose |
TStopwatch | fTimer |
TString | fName |
ULong64_t | fEventMult |
TString | fCentMethod |
TH1 * | fCentHist |
ULong_t | fOK |
Int_t | fMonitor |
Bool_t | fCompatB |
Analyser to analyse the pT spectra and particle ratios
Definition at line 17 of file spectraAnalysis.C.
anonymous enum |
Enumerator | |
---|---|
kPiSty | |
kKSty | |
kPSty | |
kOSty |
Definition at line 19 of file spectraAnalysis.C.
anonymous enum |
Enumerator | |
---|---|
kPiColor | |
kKColor | |
kPColor | |
kOColor |
Definition at line 25 of file spectraAnalysis.C.
spectraAnalysis::ClassDef | ( | spectraAnalysis | , |
0 | |||
) |
Create a ratio histogram
pdg | |
col | |
sty |
Definition at line 84 of file spectraAnalysis.C.
Referenced by SlaveBegin().
Create a spectrum histogram
pdg | |
col | |
sty |
Definition at line 61 of file spectraAnalysis.C.
Referenced by SlaveBegin().
|
inlinestatic |
Name of spectrum histogram
pdg | Particle code |
Definition at line 158 of file spectraAnalysis.C.
Referenced by CreateSpectra(), and Scale().
|
inlinevirtual |
Process header. Implement to make event selection
Implements FastAnalysis.
Definition at line 122 of file spectraAnalysis.C.
|
inlinevirtual |
Process a particle.
p | Particle to process |
Implements FastAnalysis.
Definition at line 141 of file spectraAnalysis.C.
|
inlinevirtual |
Process all particles
Reimplemented from FastAnalysis.
Definition at line 127 of file spectraAnalysis.C.
Fill the mean and rms of a ratio into a histogram
r | Histogram to fill |
bin | Bin number |
pdg | Particle ID |
Definition at line 209 of file spectraAnalysis.C.
Referenced by Terminate().
|
inlinestatic |
Name of ratio histograms
pdg | Particle code |
Definition at line 174 of file spectraAnalysis.C.
Referenced by CreateRatio(), and Ratio().
Scale a spectrum by the number of events and the bin width
pdg | Particle number |
Definition at line 189 of file spectraAnalysis.C.
Referenced by Terminate().
|
inlinevirtual |
Called on each slave at start of processing. Histograms should be added to the output here.
Definition at line 104 of file spectraAnalysis.C.
|
inlinevirtual |
Final processing. Scales the histogram to the nubmer of events and the bin width.
Definition at line 226 of file spectraAnalysis.C.
TH1* spectraAnalysis::fdNdptK |
Definition at line 262 of file spectraAnalysis.C.
Referenced by ProcessParticle(), and SlaveBegin().
TH1* spectraAnalysis::fdNdptO |
Definition at line 264 of file spectraAnalysis.C.
Referenced by ProcessParticle(), and SlaveBegin().
TH1* spectraAnalysis::fdNdptP |
Definition at line 263 of file spectraAnalysis.C.
Referenced by ProcessParticle(), and SlaveBegin().
TH1* spectraAnalysis::fdNdptPi |
Definition at line 261 of file spectraAnalysis.C.
Referenced by ProcessParticle(), and SlaveBegin().
TH1* spectraAnalysis::fK2piRatio |
Definition at line 266 of file spectraAnalysis.C.
Referenced by ProcessParticles(), and SlaveBegin().
Long_t spectraAnalysis::fNK |
Definition at line 257 of file spectraAnalysis.C.
Referenced by ProcessParticle(), and ProcessParticles().
Long_t spectraAnalysis::fNO |
Definition at line 259 of file spectraAnalysis.C.
Referenced by ProcessParticle(), and ProcessParticles().
Long_t spectraAnalysis::fNP |
Definition at line 258 of file spectraAnalysis.C.
Referenced by ProcessParticle(), and ProcessParticles().
Long_t spectraAnalysis::fNpi |
Definition at line 256 of file spectraAnalysis.C.
Referenced by ProcessParticle(), and ProcessParticles().
TH1* spectraAnalysis::fO2piRatio |
Definition at line 268 of file spectraAnalysis.C.
Referenced by ProcessParticles(), and SlaveBegin().
TH1* spectraAnalysis::fP2piRatio |
Definition at line 267 of file spectraAnalysis.C.
Referenced by ProcessParticles(), and SlaveBegin().