AliPhysics  5a28df1 (5a28df1)
Inheritance diagram for DeltaCalculations:

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
 

Public Member Functions

void Print (Bool_t err=false)
 
void ScaleExpected ()
 
ParticleCreate (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 Public Member Functions inherited from Utilities
static TObjectChkC (TObject *o, TClass *c)
 
static TObjectChkO (TObject *src, TObject *o, const char *name)
 
static TObjectGetO (TDirectory *d, const char *name, TClass *cls)
 
static TObjectGetO (TCollection *d, const char *name, TClass *cls)
 
static TCollectionGetC (TDirectory *d, const char *name)
 
static TCollectionGetC (TCollection *d, const char *name)
 
static TH1GetH1 (TCollection *d, const char *name)
 
static TH2GetH2 (TCollection *d, const char *name)
 
static THStack * GetHS (TCollection *d, const char *name)
 
static TObjectChkC (TObject *o, TClass *c)
 
static TObjectChkO (TObject *src, TObject *o, const char *name)
 
static TObjectGetO (TDirectory *d, const char *name, TClass *cls)
 
static TObjectGetO (TCollection *d, const char *name, TClass *cls)
 
static TCollectionGetC (TDirectory *d, const char *name)
 
static TCollectionGetC (TCollection *d, const char *name)
 
static TH1GetH1 (TCollection *d, const char *name)
 
static TH2GetH2 (TCollection *d, const char *name)
 
static THStack * GetHS (TCollection *d, const char *name)
 

Detailed Description

Class to do the calculation

Definition at line 191 of file DeltaExpectations.C.

Member Typedef Documentation

Definition at line 385 of file DeltaExpectations.C.

Member Enumeration Documentation

Enumerator
kPs 
kSs 
kCs 
kCb 

Definition at line 193 of file DeltaExpectations.C.

Enumerator
kK0S 
kKpm 
kLambda 
kXi 
kSigma 
kOther 

Definition at line 205 of file DeltaExpectations.C.

Enumerator
kReduced 
kExpectation 
kReweighed 
kAsIs 

Definition at line 199 of file DeltaExpectations.C.

Member Function Documentation

Particle* DeltaCalculations::Create ( Double_t  w,
EKind  kind,
TCollection reduced,
TCollection reweighed,
TCollection asis,
const TString sub,
const TString oth,
Bool_t  abso 
)
inline

Create a particle

Parameters
wWeight of particle
columnColumn in histograms to read off
reducedThe reduced set
reweighedThe reweighed set
asisThe asis set
binThe bin name
subThe sub name
othThe other sub-name
absoIf true, get absolute numbers
Returns
Create Particle object

Definition at line 474 of file DeltaExpectations.C.

void DeltaCalculations::DrawStack ( TVirtualPad *  mother,
EColumn  column,
THStack *  stack,
Bool_t  logy,
Bool_t  abso,
Int_t  mode 
)
inline

Draw a stack

Parameters
motherMother pad
columnColumn being drawn
stackStack to draw
logyIf true, plot on logarithmic scale
absoIf true, assume absolute numbers

Definition at line 549 of file DeltaExpectations.C.

THStack* DeltaCalculations::MakeStack ( EColumn  column,
const char *  name,
const char *  title,
Int_t  mode 
)
inline

Make a stack

Parameters
columnWhich column (Ps,Ss,Cs, or Cb)
nameName of stack
titleTitle of stack
Returns
The created stack

Definition at line 501 of file DeltaExpectations.C.

void DeltaCalculations::Print ( Bool_t  err = false)
inline

Print out

Definition at line 400 of file DeltaExpectations.C.

void DeltaCalculations::Run ( Double_t  c1 = 0,
Double_t  c2 = 0,
Bool_t  mid = true 
)
inline

Run it

Parameters
fileNameInput file
binNameBin name
midIf true, for |eta|<1, otherwise |eta|>1

Definition at line 586 of file DeltaExpectations.C.

Referenced by DeltaExpectations().

void DeltaCalculations::ScaleExpected ( )
inline

Scale the expected numbers to 100%

Definition at line 442 of file DeltaExpectations.C.

Member Data Documentation

Double_t DeltaCalculations::fC

Definition at line 392 of file DeltaExpectations.C.

Double_t DeltaCalculations::fCs

Definition at line 395 of file DeltaExpectations.C.

Double_t DeltaCalculations::fP

Definition at line 390 of file DeltaExpectations.C.

Double_t DeltaCalculations::fPs

Definition at line 393 of file DeltaExpectations.C.

Double_t DeltaCalculations::fS

Definition at line 391 of file DeltaExpectations.C.

Double_t DeltaCalculations::fSs

Definition at line 394 of file DeltaExpectations.C.

ParticleList DeltaCalculations::particles

Definition at line 389 of file DeltaExpectations.C.


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