![]() |
AliPhysics
4646b6b (4646b6b)
|
Classes | |
struct | Particle |
struct | Row |
Public Types | |
enum | EColumn { kPs, kSs, kCs, kCb } |
enum | ERow { kReduced, kExpectation, kReweighed, kAsIs } |
enum | EKind { kK0S = 1, kKpm, kLambda, kXi, kSigma, kOther } |
typedef std::vector< Particle * > | ParticleList |
typedef std::vector< Particle * > | ParticleList |
Public Member Functions | |
void | Print () |
void | AddParticle (Particle *p) |
Double_t | R (Int_t i, const char *w="", Bool_t verb=true) const |
Double_t | Calc (Bool_t verb=true) |
TObject * | ChkC (TObject *o, TClass *c) const |
TObject * | ChkO (TObject *src, TObject *o, const char *name) const |
TObject * | GetO (TDirectory *d, const char *name, TClass *cls) const |
TObject * | GetO (TCollection *d, const char *name, TClass *cls) const |
TCollection * | GetC (TDirectory *d, const char *name) |
TCollection * | GetC (TCollection *d, const char *name) |
TH1 * | GetH1 (TCollection *d, const char *name) |
TH2 * | GetH2 (TCollection *d, const char *name) |
THStack * | GetHS (TCollection *d, const char *name) |
Particle * | Create (Double_t w, Int_t bin, THStack *hp, THStack *hs, THStack *hc) |
void | Run (const char *fileName, const char *binName, Bool_t mid=true) |
void | Run (const char *fileName, Double_t c1=0, Double_t c2=0, Bool_t mid=true) |
void | Print () |
void | ScaleExpected () |
Particle * | Create (Double_t w, EKind kind, TCollection *reduced, TCollection *reweighed, TCollection *asis, const TString &sub, const TString &oth, Bool_t abso) |
THStack * | MakeStack (EColumn column, const char *name, const char *title, Int_t mode) |
void | DrawStack (TVirtualPad *mother, EColumn column, THStack *stack, Bool_t logy, Bool_t abso, Int_t mode) |
void | Run (Double_t c1=0, Double_t c2=0, Bool_t mid=true) |
Public Attributes | |
ParticleList | particles |
Double_t | fP |
Double_t | fS |
Double_t | fC |
Double_t | fPs |
Double_t | fSs |
Double_t | fCs |
Additional Inherited Members | |
![]() | |
static TObject * | ChkC (TObject *o, TClass *c) |
static TObject * | ChkO (TObject *src, TObject *o, const char *name) |
static TObject * | GetO (TDirectory *d, const char *name, TClass *cls) |
static TObject * | GetO (TCollection *d, const char *name, TClass *cls) |
static TCollection * | GetC (TDirectory *d, const char *name) |
static TCollection * | GetC (TCollection *d, const char *name) |
static TH1 * | GetH1 (TCollection *d, const char *name) |
static TH2 * | GetH2 (TCollection *d, const char *name) |
static THStack * | GetHS (TCollection *d, const char *name) |
static TObject * | ChkC (TObject *o, TClass *c) |
static TObject * | ChkO (TObject *src, TObject *o, const char *name) |
static TObject * | GetO (TDirectory *d, const char *name, TClass *cls) |
static TObject * | GetO (TCollection *d, const char *name, TClass *cls) |
static TCollection * | GetC (TDirectory *d, const char *name) |
static TCollection * | GetC (TCollection *d, const char *name) |
static TH1 * | GetH1 (TCollection *d, const char *name) |
static TH2 * | GetH2 (TCollection *d, const char *name) |
static THStack * | GetHS (TCollection *d, const char *name) |
Class to do the calculation
Definition at line 47 of file BackOfTheEnvelope.C.
typedef std::vector<Particle*> Calculation::ParticleList |
Definition at line 82 of file BackOfTheEnvelope.C.
typedef std::vector<Particle*> Calculation::ParticleList |
Definition at line 382 of file Expectations.C.
enum Calculation::EColumn |
Enumerator | |
---|---|
kPs | |
kSs | |
kCs | |
kCb |
Definition at line 191 of file Expectations.C.
enum Calculation::EKind |
Enumerator | |
---|---|
kK0S | |
kKpm | |
kLambda | |
kXi | |
kSigma | |
kOther |
Definition at line 203 of file Expectations.C.
enum Calculation::ERow |
Enumerator | |
---|---|
kReduced | |
kExpectation | |
kReweighed | |
kAsIs |
Definition at line 197 of file Expectations.C.
|
inline |
Add a particle
p |
Definition at line 122 of file BackOfTheEnvelope.C.
Referenced by Create().
Calculate the full change
verb |
Definition at line 155 of file BackOfTheEnvelope.C.
Referenced by Run().
Definition at line 180 of file BackOfTheEnvelope.C.
Referenced by GetO().
Definition at line 191 of file BackOfTheEnvelope.C.
Referenced by GetO().
|
inline |
Create a particle
w | Weight |
bin | Bin to look in |
hp | Stack for primaries |
hs | Stack for secondaries |
hc | Stack for combinatorics |
Definition at line 249 of file BackOfTheEnvelope.C.
Referenced by Run().
|
inline |
Create a particle
w | Weight of particle |
column | Column in histograms to read off |
reduced | The reduced set |
reweighed | The reweighed set |
asis | The asis set |
bin | The bin name |
sub | The sub name |
oth | The other sub-name |
abso | If true, get absolute numbers |
Definition at line 461 of file Expectations.C.
|
inline |
Draw a stack
mother | Mother pad |
column | Column being drawn |
stack | Stack to draw |
logy | If true, plot on logarithmic scale |
abso | If true, assume absolute numbers |
Definition at line 535 of file Expectations.C.
Referenced by Run().
|
inline |
Definition at line 218 of file BackOfTheEnvelope.C.
Referenced by Calculation::Particle::Read(), and Run().
|
inline |
Definition at line 222 of file BackOfTheEnvelope.C.
|
inline |
Definition at line 226 of file BackOfTheEnvelope.C.
Referenced by Create(), Calculation::Particle::Read(), and Run().
|
inline |
Definition at line 230 of file BackOfTheEnvelope.C.
|
inline |
Definition at line 234 of file BackOfTheEnvelope.C.
Referenced by Calculation::Particle::Read(), and Run().
|
inline |
|
inline |
Definition at line 209 of file BackOfTheEnvelope.C.
|
inline |
Make a stack
column | Which column (Ps,Ss,Cs, or Cb) |
name | Name of stack |
title | Title of stack |
Definition at line 488 of file Expectations.C.
Referenced by Run().
|
inline |
|
inline |
Print out
Definition at line 397 of file Expectations.C.
Calculate the change
i | |
w | |
verb |
Definition at line 135 of file BackOfTheEnvelope.C.
Referenced by Calc().
|
inline |
Run it
fileName | Input file |
binName | Bin name |
mid | If true, for |eta|<1, otherwise |eta|>1 |
Definition at line 273 of file BackOfTheEnvelope.C.
Referenced by BackOfTheEnvelope(), Expectations(), and Run().
|
inline |
Definition at line 335 of file BackOfTheEnvelope.C.
Run it
fileName | Input file |
binName | Bin name |
mid | If true, for |eta|<1, otherwise |eta|>1 |
Definition at line 572 of file Expectations.C.
|
inline |
Scale the expected numbers to 100%
Definition at line 429 of file Expectations.C.
Referenced by Run().
Double_t Calculation::fC |
Definition at line 89 of file BackOfTheEnvelope.C.
Double_t Calculation::fCs |
Definition at line 92 of file BackOfTheEnvelope.C.
Double_t Calculation::fP |
Definition at line 87 of file BackOfTheEnvelope.C.
Double_t Calculation::fPs |
Definition at line 90 of file BackOfTheEnvelope.C.
Double_t Calculation::fS |
Definition at line 88 of file BackOfTheEnvelope.C.
Double_t Calculation::fSs |
Definition at line 91 of file BackOfTheEnvelope.C.
ParticleList Calculation::particles |
Definition at line 86 of file BackOfTheEnvelope.C.
Referenced by AddParticle(), Create(), MakeStack(), Print(), R(), and ScaleExpected().