AliPhysics  ced2227 (ced2227)
Utilities Struct Reference
Inheritance diagram for Utilities:

Static Public Member Functions

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

Definition at line 49 of file DeltaExpectations.C.

Member Function Documentation

static TObject* Utilities::ChkC ( TObject o,
TClass *  c 
)
inlinestatic

Check class of object

Parameters
oObject to check
cOptional class
Returns
o if the class match, or null

Definition at line 57 of file Expectations.C.

static TObject* Utilities::ChkC ( TObject o,
TClass *  c 
)
inlinestatic

Check class of object

Parameters
oObject to check
cOptional class
Returns
o if the class match, or null

Definition at line 59 of file DeltaExpectations.C.

Referenced by GetO().

static TObject* Utilities::ChkO ( TObject src,
TObject o,
const char *  name 
)
inlinestatic

Check that we got an object from a source

Parameters
srcSource
oObject
nameObject name
Returns
Object or null

Definition at line 77 of file Expectations.C.

static TObject* Utilities::ChkO ( TObject src,
TObject o,
const char *  name 
)
inlinestatic

Check that we got an object from a source

Parameters
srcSource
oObject
nameObject name
Returns
Object or null

Definition at line 79 of file DeltaExpectations.C.

Referenced by GetO().

static TCollection* Utilities::GetC ( TDirectory *  d,
const char *  name 
)
inlinestatic

Get a collection from a source

Parameters
dSource
nameName of collection
Returns
Collection or null

Definition at line 130 of file Expectations.C.

static TCollection* Utilities::GetC ( TDirectory *  d,
const char *  name 
)
inlinestatic

Get a collection from a source

Parameters
dSource
nameName of collection
Returns
Collection or null

Definition at line 132 of file DeltaExpectations.C.

Referenced by Calculation::Particle::Read(), DeltaCalculations::Particle::Read(), Calculation::Run(), and DeltaCalculations::Run().

static TCollection* Utilities::GetC ( TCollection d,
const char *  name 
)
inlinestatic

Get a collection from a source

Parameters
dSource
nameName of collection
Returns
Collection or null

Definition at line 142 of file Expectations.C.

static TCollection* Utilities::GetC ( TCollection d,
const char *  name 
)
inlinestatic

Get a collection from a source

Parameters
dSource
nameName of collection
Returns
Collection or null

Definition at line 144 of file DeltaExpectations.C.

static TH1* Utilities::GetH1 ( TCollection d,
const char *  name 
)
inlinestatic

Get a histogram from a source

Parameters
dSource
nameName of histogram
Returns
Histogram or null

Definition at line 154 of file Expectations.C.

static TH1* Utilities::GetH1 ( TCollection d,
const char *  name 
)
inlinestatic

Get a histogram from a source

Parameters
dSource
nameName of histogram
Returns
Histogram or null

Definition at line 156 of file DeltaExpectations.C.

Referenced by Calculation::Particle::Read(), and DeltaCalculations::Particle::Read().

static TH2* Utilities::GetH2 ( TCollection d,
const char *  name 
)
inlinestatic

Get a histogram from a source

Parameters
dSource
nameName of histogram
Returns
Histogram or null

Definition at line 166 of file Expectations.C.

static TH2* Utilities::GetH2 ( TCollection d,
const char *  name 
)
inlinestatic

Get a histogram from a source

Parameters
dSource
nameName of histogram
Returns
Histogram or null

Definition at line 168 of file DeltaExpectations.C.

static THStack* Utilities::GetHS ( TCollection d,
const char *  name 
)
inlinestatic

Get a histogram stack from a source

Parameters
dSource
nameName of histogram stack
Returns
Histogram stack or null

Definition at line 178 of file Expectations.C.

static THStack* Utilities::GetHS ( TCollection d,
const char *  name 
)
inlinestatic

Get a histogram stack from a source

Parameters
dSource
nameName of histogram stack
Returns
Histogram stack or null

Definition at line 180 of file DeltaExpectations.C.

Referenced by Calculation::Particle::Read(), and DeltaCalculations::Particle::Read().

static TObject* Utilities::GetO ( TDirectory *  d,
const char *  name,
TClass *  cls 
)
inlinestatic

Get an object from a source

Parameters
dDirectory
nameName
clsOptional class to check for
Returns
Found object or null

Definition at line 95 of file Expectations.C.

static TObject* Utilities::GetO ( TDirectory *  d,
const char *  name,
TClass *  cls 
)
inlinestatic

Get an object from a source

Parameters
dDirectory
nameName
clsOptional class to check for
Returns
Found object or null

Definition at line 97 of file DeltaExpectations.C.

Referenced by GetC(), GetH1(), GetH2(), and GetHS().

static TObject* Utilities::GetO ( TCollection d,
const char *  name,
TClass *  cls 
)
inlinestatic

Get an object from a source

Parameters
dCollection
nameName
clsOptional class to check for
Returns
Found object or null

Definition at line 113 of file Expectations.C.

static TObject* Utilities::GetO ( TCollection d,
const char *  name,
TClass *  cls 
)
inlinestatic

Get an object from a source

Parameters
dCollection
nameName
clsOptional class to check for
Returns
Found object or null

Definition at line 115 of file DeltaExpectations.C.


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