![]() |
AliPhysics
a8afd6c (a8afd6c)
|
Public Types | |
enum | { kPiSty = 20, kKSty = 21, kPSty = 22, kOSty = 23, kASty = 24 } |
enum | { kPiColor = kRed+2, kKColor = kGreen+2, kPColor = kBlue+2, kOColor = kMagenta+2, kAColor = kBlack } |
Public Member Functions | |
Base (Bool_t verbose=false, Int_t monitor=0) | |
virtual void | SlaveBegin (TTree *) |
Bool_t | ProcessHeader () |
void | ProcessParticles () |
virtual Bool_t | ProcessParticle (const TParticle *p) |
virtual void | Terminate () |
virtual TList * | GetMonitorObjects () |
void | Print (Option_t *option="") const |
![]() | |
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 |
Double_t | GetCentrality () const |
Long_t | GetEventCount () |
TObject * | GetOutputObject (const char *name, TClass *cls) |
void | CopyEgHistogram () |
virtual void | Clear (Option_t *option="") |
virtual Bool_t | AcceptSecondaries () const |
virtual Bool_t | AcceptNeutrals () const |
Static Public Member Functions | |
static TH1 * | CreateSpectra (UInt_t pdg, Color_t col, Style_t sty) |
static TH1 * | CreateMt (UInt_t pdg, Color_t col, Style_t sty) |
static TH1 * | CreateMass () |
static TH1 * | CreateRatio (UInt_t pdg, Color_t col, Style_t sty) |
static TObject * | CreateOutput () |
static const char * | dNdptName (UInt_t pdg) |
static const char * | dNdmtName (UInt_t pdg) |
static const char * | RatioName (UInt_t pdg) |
static Bool_t | Scale (TList *l, UInt_t pdg, Int_t nOK) |
static Bool_t | Ratio (TList *l, TH1 *r, Int_t bin, UInt_t pdg) |
static TH1 * | Normalize (TObject *o, Int_t nEv) |
![]() | |
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 * | fdNdpt |
TH1 * | fdNdptPi |
TH1 * | fdNdptK |
TH1 * | fdNdptP |
TH1 * | fdNdptO |
TH1 * | fdNdm |
TH1 * | fK2piRatio |
TH1 * | fP2piRatio |
TH1 * | fO2piRatio |
TH2 * | fd2Ndptdy |
TH2 * | fd2Ndmdy |
Double_t | fMaxY |
![]() | |
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 |
UInt_t | fTrigMask |
Analyser to analyse the pT spectra and particle ratios
Definition at line 25 of file spectraAnalysis.C.
anonymous enum |
Enumerator | |
---|---|
kPiSty | |
kKSty | |
kPSty | |
kOSty | |
kASty |
Definition at line 27 of file spectraAnalysis.C.
anonymous enum |
Enumerator | |
---|---|
kPiColor | |
kKColor | |
kPColor | |
kOColor | |
kAColor |
Definition at line 34 of file spectraAnalysis.C.
|
inlinestatic |
Definition at line 102 of file spectraAnalysis.C.
Referenced by CreateOutput().
Definition at line 89 of file spectraAnalysis.C.
|
inlinestatic |
Definition at line 137 of file spectraAnalysis.C.
Referenced by SlaveBegin(), and spectra::Cent::SlaveBegin().
Create a ratio histogram
pdg | |
col | |
sty |
Definition at line 124 of file spectraAnalysis.C.
Referenced by CreateOutput().
Create a spectrum histogram
pdg | |
col | |
sty |
Definition at line 76 of file spectraAnalysis.C.
Referenced by CreateOutput().
|
inlinestatic |
Name of spectrum histogram
pdg | Particle code |
Definition at line 267 of file spectraAnalysis.C.
Referenced by CreateMt().
|
inlinestatic |
Name of spectrum histogram
pdg | Particle code |
Definition at line 250 of file spectraAnalysis.C.
Referenced by CreateSpectra(), GetMonitorObjects(), spectra::Cent::GetMonitorObjects(), and Scale().
|
inlinevirtual |
Get the list of monitored objects
Reimplemented from FastAnalysis.
Reimplemented in spectra::Cent.
Definition at line 439 of file spectraAnalysis.C.
Definition at line 330 of file spectraAnalysis.C.
Referenced by Terminate(), and spectra::Cent::Terminate().
|
inlinevirtual |
Reimplemented from FastAnalysis.
Reimplemented in spectra::Cent.
Definition at line 449 of file spectraAnalysis.C.
Referenced by spectra::Cent::Print().
|
inlinevirtual |
Process header. Implement to make event selection
Reimplemented from FastAnalysis.
Reimplemented in spectra::Cent, and spectra::V0AND.
Definition at line 205 of file spectraAnalysis.C.
|
inlinevirtual |
Process a particle.
p | Particle to process |
Implements FastAnalysis.
Definition at line 224 of file spectraAnalysis.C.
|
inlinevirtual |
Process all particles
Reimplemented from FastAnalysis.
Reimplemented in spectra::Cent.
Definition at line 210 of file spectraAnalysis.C.
Referenced by spectra::Cent::ProcessParticles().
Fill the mean and rms of a ratio into a histogram
r | Histogram to fill |
bin | Bin number |
pdg | Particle ID |
Definition at line 319 of file spectraAnalysis.C.
Referenced by Normalize().
|
inlinestatic |
Name of ratio histograms
pdg | Particle code |
Definition at line 284 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 299 of file spectraAnalysis.C.
Referenced by Normalize().
|
inlinevirtual |
Called on each slave at start of processing. Histograms should be added to the output here.
Reimplemented in spectra::Cent.
Definition at line 175 of file spectraAnalysis.C.
Referenced by spectra::Cent::SlaveBegin().
|
inlinevirtual |
Final processing. Scales the histogram to the nubmer of events and the bin width.
Reimplemented in spectra::Cent.
Definition at line 422 of file spectraAnalysis.C.
TH2* spectra::Base::fd2Ndmdy |
Definition at line 472 of file spectraAnalysis.C.
Referenced by spectra::Cent::Clear(), spectra::Cent::FillOut(), ProcessParticle(), and SlaveBegin().
TH2* spectra::Base::fd2Ndptdy |
Definition at line 471 of file spectraAnalysis.C.
Referenced by spectra::Cent::Clear(), spectra::Cent::FillOut(), ProcessParticle(), and SlaveBegin().
TH1* spectra::Base::fdNdm |
Definition at line 465 of file spectraAnalysis.C.
Referenced by spectra::Cent::Clear(), spectra::Cent::FillOut(), ProcessParticle(), and SlaveBegin().
TH1* spectra::Base::fdNdpt |
Definition at line 459 of file spectraAnalysis.C.
Referenced by spectra::Cent::Clear(), spectra::Cent::FillOut(), ProcessParticle(), and SlaveBegin().
TH1* spectra::Base::fdNdptK |
Definition at line 461 of file spectraAnalysis.C.
Referenced by spectra::Cent::Clear(), spectra::Cent::FillOut(), ProcessParticle(), and SlaveBegin().
TH1* spectra::Base::fdNdptO |
Definition at line 463 of file spectraAnalysis.C.
Referenced by spectra::Cent::Clear(), spectra::Cent::FillOut(), ProcessParticle(), and SlaveBegin().
TH1* spectra::Base::fdNdptP |
Definition at line 462 of file spectraAnalysis.C.
Referenced by spectra::Cent::Clear(), spectra::Cent::FillOut(), ProcessParticle(), and SlaveBegin().
TH1* spectra::Base::fdNdptPi |
Definition at line 460 of file spectraAnalysis.C.
Referenced by spectra::Cent::Clear(), spectra::Cent::FillOut(), ProcessParticle(), and SlaveBegin().
TH1* spectra::Base::fK2piRatio |
Definition at line 467 of file spectraAnalysis.C.
Referenced by spectra::Cent::Clear(), spectra::Cent::FillOut(), ProcessParticles(), and SlaveBegin().
Double_t spectra::Base::fMaxY |
Definition at line 474 of file spectraAnalysis.C.
Referenced by spectraMaker::Make(), Print(), and ProcessParticle().
Long_t spectra::Base::fNK |
Definition at line 455 of file spectraAnalysis.C.
Referenced by ProcessParticle(), and ProcessParticles().
Long_t spectra::Base::fNO |
Definition at line 457 of file spectraAnalysis.C.
Referenced by ProcessParticle(), and ProcessParticles().
Long_t spectra::Base::fNP |
Definition at line 456 of file spectraAnalysis.C.
Referenced by ProcessParticle(), and ProcessParticles().
Long_t spectra::Base::fNpi |
Definition at line 454 of file spectraAnalysis.C.
Referenced by ProcessParticle(), and ProcessParticles().
TH1* spectra::Base::fO2piRatio |
Definition at line 469 of file spectraAnalysis.C.
Referenced by spectra::Cent::Clear(), spectra::Cent::FillOut(), ProcessParticles(), and SlaveBegin().
TH1* spectra::Base::fP2piRatio |
Definition at line 468 of file spectraAnalysis.C.
Referenced by spectra::Cent::Clear(), spectra::Cent::FillOut(), ProcessParticles(), and SlaveBegin().