![]() |
AliPhysics
v5-07-15-01 (b3d7633)
|
Container class for histograms for the high- \( p_{t} \) charged particle analysis. More...
#include <AliEMCalHistoContainer.h>
Public Member Functions | |
AliEMCalHistoContainer () | |
AliEMCalHistoContainer (const char *name) | |
virtual | ~AliEMCalHistoContainer () |
void | ReleaseOwner () |
void | CreateHistoGroup (const char *groupname, const char *parent="/") throw (HistoContainerContentException) |
void | CreateTH1 (const char *name, const char *title, int nbins, double xmin, double xmax, Option_t *opt="") throw (HistoContainerContentException) |
void | CreateTH1 (const char *name, const char *title, int nbins, const double *xbins, Option_t *opt="") throw (HistoContainerContentException) |
void | CreateTH1 (const char *name, const char *title, const TArrayD &xbins, Option_t *opt="") throw (HistoContainerContentException) |
void | CreateTH2 (const char *name, const char *title, int nbinsx, double xmin, double xmax, int nbinsy, double ymin, double ymax, Option_t *opt="") throw (HistoContainerContentException) |
void | CreateTH2 (const char *name, const char *title, int nbinsx, const double *xbins, int nbinsy, const double *ybins, Option_t *opt="") throw (HistoContainerContentException) |
void | CreateTH2 (const char *name, const char *title, const TArrayD &xbins, const TArrayD &ybins, Option_t *opt="") throw (HistoContainerContentException) |
void | CreateTH3 (const char *name, const char *title, int nbinsx, double xmin, double xmax, int nbinsy, double ymin, double ymax, int nbinsz, double zmin, double zmax, Option_t *opt="") throw (HistoContainerContentException) |
void | CreateTH3 (const char *name, const char *title, int nbinsx, const double *xbins, int nbinsy, const double *ybins, int nbinsz, const double *zbins, Option_t *opt="") throw (HistoContainerContentException) |
void | CreateTH3 (const char *name, const char *title, const TArrayD &xbins, const TArrayD &ybins, const TArrayD &zbins, Option_t *opt="") throw (HistoContainerContentException) |
void | CreateTHnSparse (const char *name, const char *title, int ndim, const int *nbins, const double *min, const double *max, Option_t *opt="") throw (HistoContainerContentException) |
void | CreateTHnSparse (const char *name, const char *title, int ndim, const TAxis **axes, Option_t *opt="") throw (HistoContainerContentException) |
void | CreateTProfile (const char *name, const char *title, int nbinsX, double xmin, double xmax, Option_t *opt="") throw (HistoContainerContentException) |
void | CreateTProfile (const char *name, const char *title, int nbinsX, const double *xbins, Option_t *opt="") throw (HistoContainerContentException) |
void | CreateTProfile (const char *name, const char *title, const TArrayD &xbins, Option_t *opt="") throw (HistoContainerContentException) |
void | SetObject (TObject *const o, const char *group="/") throw (HistoContainerContentException) |
void | FillTH1 (const char *hname, double x, double weight=1.) throw (HistoContainerContentException) |
void | FillTH2 (const char *hname, double x, double y, double weight=1.) throw (HistoContainerContentException) |
void | FillTH2 (const char *hname, double *point, double weight=1.) throw (HistoContainerContentException) |
void | FillTH3 (const char *hname, double x, double y, double z, double weight=1.) throw (HistoContainerContentException) |
void | FillTH3 (const char *hname, const double *point, double weight=1.) throw (HistoContainerContentException) |
void | FillTHnSparse (const char *name, const double *x, double weight=1.) throw (HistoContainerContentException) |
void | FillProfile (const char *name, double x, double y, double weight=1.) throw (HistoContainerContentException) |
THashList * | GetListOfHistograms () |
virtual TObject * | FindObject (const char *name) const |
virtual TObject * | FindObject (const TObject *obj) const |
Private Member Functions | |
AliEMCalHistoContainer (const AliEMCalHistoContainer &) | |
AliEMCalHistoContainer & | operator= (const AliEMCalHistoContainer &) |
THashList * | FindGroup (const char *dirname) const |
void | TokenizeFilename (const char *name, const char *delim, std::vector< std::string > &listoftokens) const |
const char * | basename (const char *path) const |
const char * | histname (const char *path) const |
Private Attributes | |
THashList * | fHistos |
List of histograms. More... | |
bool | fIsOwner |
Set the ownership. More... | |
Container class for histograms for the high- \( p_{t} \) charged particle analysis.
Container class for histogram objects. Currenly can handle TH1 TH2 TH3 THnSparse Histograms can be stored in groups. For this the parent group is included inside the histogram name, i.e. /base/inheriting/histogram. In case just the histogram name is given, it is assumed that the histogram is stored at the top level.
Definition at line 156 of file AliEMCalHistoContainer.h.
EMCalTriggerPtAnalysis::AliEMCalHistoContainer::AliEMCalHistoContainer | ( | ) |
Default constructor, only initialising pointers with 0
Definition at line 41 of file AliEMCalHistoContainer.cxx.
EMCalTriggerPtAnalysis::AliEMCalHistoContainer::AliEMCalHistoContainer | ( | const char * | name | ) |
Main constructor, creating also a list for the histograms
name | Name of the object (list named accordingly) |
Definition at line 53 of file AliEMCalHistoContainer.cxx.
|
virtual |
Destructor, deletes the list of histograms if it is the owner
Definition at line 66 of file AliEMCalHistoContainer.cxx.
|
private |
|
private |
Helper function extracting the basename from a given histogram path.
path | histogram path |
Definition at line 698 of file AliEMCalHistoContainer.cxx.
Referenced by FindObject().
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::CreateHistoGroup | ( | const char * | groupname, |
const char * | parent = "/" |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Create a new group of histograms within a parent group. Groups are represented as list. The default parent is always the top list. List name structure accouding to unix paths (i.e. top list /, hirarchies separated by /).
groupname | Name of the new group |
parent | (default "/") Name of the parent group |
HistoContainerContentException |
Definition at line 78 of file AliEMCalHistoContainer.cxx.
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::CreateTH1 | ( | const char * | name, |
const char * | title, | ||
int | nbins, | ||
double | xmin, | ||
double | xmax, | ||
Option_t * | opt = "" |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Create a new TH1 within the container. The histogram name also contains the parent group(s) according to the common group notation.
name | Name of the histogram |
title | Title of the histogram |
nbins | number of bins |
xmin | min. value of the range |
xmax | max. value of the range |
opt | Additonal options (s for sumw2) |
HistoContainerContentException |
Definition at line 98 of file AliEMCalHistoContainer.cxx.
Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::UserCreateOutputObjects(), and EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRefMC::UserCreateOutputObjects().
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::CreateTH1 | ( | const char * | name, |
const char * | title, | ||
int | nbins, | ||
const double * | xbins, | ||
Option_t * | opt = "" |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Create a new TH1 within the container. The histogram name also contains the parent group(s) according to the common group notation.
name | Name of the histogram |
title | Title of the histogram |
nbins | number of bins |
xbins | array of bin limits |
opt | Additonal options (s for sumw2) |
HistoContainerContentException |
Definition at line 124 of file AliEMCalHistoContainer.cxx.
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::CreateTH1 | ( | const char * | name, |
const char * | title, | ||
const TArrayD & | xbins, | ||
Option_t * | opt = "" |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Create a new TH1 within the container. The histogram name also contains the parent group(s) according to the common group notation.
name | Name of the histogram |
title | Title of the histogram |
xbins | array of bin limits (contains also number of bins) |
opt | Additonal options (s for sumw2) |
HistoContainerContentException |
Definition at line 149 of file AliEMCalHistoContainer.cxx.
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::CreateTH2 | ( | const char * | name, |
const char * | title, | ||
int | nbinsx, | ||
double | xmin, | ||
double | xmax, | ||
int | nbinsy, | ||
double | ymin, | ||
double | ymax, | ||
Option_t * | opt = "" |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Create a new TH2 within the container. The histogram name also contains the parent group(s) according to the common group notation.
name | Name of the histogram |
title | Title of the histogram |
nbinsx | number of bins in x-direction |
xmin | min. value of the range in x-direction |
xmax | max. value of the range in x-direction |
nbinsy | number of bins in y-direction |
ymin | min. value of the range in y-direction |
ymax | max. value of the range in y-direction |
HistoContainerContentException |
Definition at line 249 of file AliEMCalHistoContainer.cxx.
Referenced by EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::UserCreateOutputObjects(), and EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::UserCreateOutputObjects().
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::CreateTH2 | ( | const char * | name, |
const char * | title, | ||
int | nbinsx, | ||
const double * | xbins, | ||
int | nbinsy, | ||
const double * | ybins, | ||
Option_t * | opt = "" |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Create a new TH2 within the container. The histogram name also contains the parent group(s) according to the common group notation.
name | Name of the histogram |
title | Title of the histogram |
nbinsx | number of bins in x-direction |
xbins | array of bin limits in x-direction |
nbinsy | number of bins in y-direction |
ybins | array of bin limits in y-direction |
HistoContainerContentException |
Definition at line 277 of file AliEMCalHistoContainer.cxx.
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::CreateTH2 | ( | const char * | name, |
const char * | title, | ||
const TArrayD & | xbins, | ||
const TArrayD & | ybins, | ||
Option_t * | opt = "" |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Create a new TH2 within the container. The histogram name also contains the parent group(s) according to the common group notation.
name | Name of the histogram |
title | Title of the histogram |
xbins | array of bin limits in x-direction (contains also the number of bins) |
ybins | array of bin limits in y-direction (contains also the number of bins) |
HistoContainerContentException |
Definition at line 303 of file AliEMCalHistoContainer.cxx.
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::CreateTH3 | ( | const char * | name, |
const char * | title, | ||
int | nbinsx, | ||
double | xmin, | ||
double | xmax, | ||
int | nbinsy, | ||
double | ymin, | ||
double | ymax, | ||
int | nbinsz, | ||
double | zmin, | ||
double | zmax, | ||
Option_t * | opt = "" |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Create a new TH3 within the container. The histogram name also contains the parent group(s) according to the common group notation.
nbinsx | number of bins in x-direction |
xmin | min. value of the range in x-direction |
xmax | max. value of the range in x-direction |
nbinsy | number of bins in y-direction |
ymin | min. value of the range in y-direction |
ymax | max. value of the range in y-direction |
nbinsz | number of bins in z-direction |
zmin | min. value of the range in z-direction |
zmax | max. value of the range in z-direction |
HistoContainerContentException |
Definition at line 333 of file AliEMCalHistoContainer.cxx.
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::CreateTH3 | ( | const char * | name, |
const char * | title, | ||
int | nbinsx, | ||
const double * | xbins, | ||
int | nbinsy, | ||
const double * | ybins, | ||
int | nbinsz, | ||
const double * | zbins, | ||
Option_t * | opt = "" |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Create a new TH3 within the container. The histogram name also contains the parent group(s) according to the common group notation.
name | Name of the histogram |
title | Title of the histogram |
nbinsx | number of bins in x-direction |
xbins | array of bin limits in x-direction |
nbinsy | number of bins in y-direction |
ybins | array of bin limits in y-direction |
nbinsz | number of bins in z-direction |
zbins | array of bin limits in z-direction |
HistoContainerContentException |
Definition at line 363 of file AliEMCalHistoContainer.cxx.
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::CreateTH3 | ( | const char * | name, |
const char * | title, | ||
const TArrayD & | xbins, | ||
const TArrayD & | ybins, | ||
const TArrayD & | zbins, | ||
Option_t * | opt = "" |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Create a new TH3 within the container. The histogram name also contains the parent group(s) according to the common group notation.
name | Name of the histogram |
title | Title of the histogram |
xbins | array of bin limits in x-direction (contains also the number of bins) |
ybins | array of bin limits in y-direction (contains also the number of bins) |
zbins | array of bin limits in z-direction (contains also the number of bins) |
HistoContainerContentException |
Definition at line 390 of file AliEMCalHistoContainer.cxx.
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::CreateTHnSparse | ( | const char * | name, |
const char * | title, | ||
int | ndim, | ||
const int * | nbins, | ||
const double * | min, | ||
const double * | max, | ||
Option_t * | opt = "" |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Create a new THnSparse within the container. The histogram name also contains the parent group(s) according to the common group notation.
name | Name of the histogram |
title | Title of the histogram |
ndim | Number of dimensions |
nbins | Number of bins per dimension |
min | min. value of the range for each dimension |
max | max. value of the range for each dimension |
HistoContainerContentException |
Definition at line 418 of file AliEMCalHistoContainer.cxx.
Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerMCJetAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerClusterAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerRecTrackAnalysisComponent::CreateHistos(), and EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::UserCreateOutputObjects().
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::CreateTHnSparse | ( | const char * | name, |
const char * | title, | ||
int | ndim, | ||
const TAxis ** | axes, | ||
Option_t * | opt = "" |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Create a new THnSparse within the container. The histogram name also contains the parent group(s) according to the common group notation.
name | Name of the histogram |
title | Title of the histogram |
ndim | Number of dimensions |
axes | Array of pointers to TAxis for containing the axis definition for each dimension |
HistoContainerContentException |
Definition at line 444 of file AliEMCalHistoContainer.cxx.
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::CreateTProfile | ( | const char * | name, |
const char * | title, | ||
int | nbinsX, | ||
double | xmin, | ||
double | xmax, | ||
Option_t * | opt = "" |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Create a new TProfile within the container. The histogram name also contains the parent group(s) according to the common group notation.
name | Name of the profile histogram |
title | Title of the profile histogram |
nbinsX | Number of bins in x-direction |
xmin | min. value in x-direction |
xmax | max. value in x-direction |
opt | Further options |
HistoContainerContentException |
Definition at line 176 of file AliEMCalHistoContainer.cxx.
Referenced by EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRefMC::UserCreateOutputObjects().
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::CreateTProfile | ( | const char * | name, |
const char * | title, | ||
int | nbinsX, | ||
const double * | xbins, | ||
Option_t * | opt = "" |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Create a new TProfile within the container. The histogram name also contains the parent group(s) according to the common group notation.
name | Name of the profile histogram |
title | Title of the profile histogram |
nbinsX | Number of bins in x-direction |
xmbins | binning in x-direction |
opt | Further options |
HistoContainerContentException |
Definition at line 199 of file AliEMCalHistoContainer.cxx.
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::CreateTProfile | ( | const char * | name, |
const char * | title, | ||
const TArrayD & | xbins, | ||
Option_t * | opt = "" |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Create a new TProfile within the container. The histogram name also contains the parent group(s) according to the common group notation.
name | Name of the profile histogram |
title | Title of the profile histogram |
nbinsX | Number of bins in x-direction |
xmbins | binning in x-direction |
opt | Further options |
HistoContainerContentException |
Definition at line 223 of file AliEMCalHistoContainer.cxx.
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::FillProfile | ( | const char * | name, |
double | x, | ||
double | y, | ||
double | weight = 1. |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Fill a profile histogram within the container. The histogram name also contains the parent group(s) according to the common group notation.
name | Name of the profile histogram |
x | x-coordinate |
y | y-coordinate |
weight | optional weight of the entry (default 1) |
HistoContainerContentException |
Definition at line 515 of file AliEMCalHistoContainer.cxx.
Referenced by EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRefMC::UserExec(), and EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRefMC::UserNotify().
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::FillTH1 | ( | const char * | name, |
double | x, | ||
double | weight = 1. |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Fill a 1D histogram within the container. The histogram name also contains the parent group(s) according to the common group notation.
name | Name of the histogram |
x | x-coordinate |
weight | optional weight of the entry (default 1) |
HistoContainerContentException |
Definition at line 494 of file AliEMCalHistoContainer.cxx.
Referenced by EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::FillEventCounterHists(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::FillTrackHistos(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRefMC::FillTrackHistos(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRefMC::FillTriggerJetHistograms(), EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::Process(), EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::UserExec(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRefMC::UserExec(), and EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRefMC::UserNotify().
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::FillTH2 | ( | const char * | name, |
double | x, | ||
double | y, | ||
double | weight = 1. |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Fill a 2D histogram within the container. The histogram name also contains the parent group(s) according to the common group notation.
name | Name of the histogram |
x | x-coordinate |
y | y-coordinate |
weight | optional weight of the entry (default 1) |
HistoContainerContentException |
Definition at line 536 of file AliEMCalHistoContainer.cxx.
Referenced by EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::FillEventHist().
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::FillTH2 | ( | const char * | name, |
double * | point, | ||
double | weight = 1. |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Fill a 2D histogram within the container. The histogram name also contains the parent group(s) according to the common group notation.
name | Name of the histogram |
point | coordinates of the data |
weight | optional weight of the entry (default 1) |
HistoContainerContentException |
Definition at line 556 of file AliEMCalHistoContainer.cxx.
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::FillTH3 | ( | const char * | name, |
double | x, | ||
double | y, | ||
double | z, | ||
double | weight = 1. |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Fill a 3D histogram within the container. The histogram name also contains the parent group(s) according to the common group notation.
name | Name of the histogram |
x | x-coordinate |
y | y-coordinate |
z | z-coordinate |
weight | optional weight of the entry (default 1) |
HistoContainerContentException |
Definition at line 578 of file AliEMCalHistoContainer.cxx.
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::FillTH3 | ( | const char * | name, |
const double * | point, | ||
double | weight = 1. |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Fill a 3D histogram within the container. The histogram name also contains the parent group(s) according to the common group notation.
name | Name of the histogram |
point | 3D-coordinate (x,y,z) of the point to be filled |
weight | optional weight of the entry (default 1) |
HistoContainerContentException |
Definition at line 597 of file AliEMCalHistoContainer.cxx.
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::FillTHnSparse | ( | const char * | name, |
const double * | x, | ||
double | weight = 1. |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Fill a nD histogram within the container. The histogram name also contains the parent group(s) according to the common group notation.
name | Name of the histogram |
x | coordinates of the data |
weight | optional weight of the entry (default 1) |
HistoContainerContentException |
Definition at line 617 of file AliEMCalHistoContainer.cxx.
Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent::FillAmplitudeHistogram(), EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::FillClusterHist(), EMCalTriggerPtAnalysis::AliEMCalTriggerMCJetAnalysisComponent::FillHistogram(), EMCalTriggerPtAnalysis::AliEMCalTriggerClusterAnalysisComponent::FillHistogram(), EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::FillHistogram(), EMCalTriggerPtAnalysis::AliEMCalTriggerRecTrackAnalysisComponent::FillHistogram(), EMCalTriggerPtAnalysis::AliEMCalTriggerMCJetAnalysisComponent::FillJetHistogram(), EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::FillJetHistogram(), EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::FillMCParticleHist(), EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::FillTrackHist(), EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::FillTrackHistogramCentrality(), EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent::FillTriggerInfoHistogram(), and EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::Run().
|
private |
Find histogram group. Name is using common notation
dirname | Path of the group (treat empty path as top node |
Definition at line 662 of file AliEMCalHistoContainer.cxx.
Referenced by FindObject().
|
virtual |
Find an object inside the container. The object can also be within a histogram group. For this the name has to follow the common notation
name | Name of the object to find inside the container |
Definition at line 635 of file AliEMCalHistoContainer.cxx.
Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::Process().
|
virtual |
Find and object inside the container. The object name is expected to contain the full path of the histogram object, including parent groups
obj | the object to find |
Definition at line 649 of file AliEMCalHistoContainer.cxx.
|
inline |
Get the list of histograms
Definition at line 192 of file AliEMCalHistoContainer.h.
Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::GetHistList(), EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRefMC::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::UserExec(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::UserExec(), and EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRefMC::UserExec().
|
private |
Helper function extracting the histogram name from a given histogram path.
path | histogram path |
Definition at line 711 of file AliEMCalHistoContainer.cxx.
Referenced by FindObject().
|
private |
|
inline |
Definition at line 161 of file AliEMCalHistoContainer.h.
Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::CreateHistos(), and EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::UserCreateOutputObjects().
void EMCalTriggerPtAnalysis::AliEMCalHistoContainer::SetObject | ( | TObject *const | o, |
const char * | group = "/" |
||
) | |||
throw | ( | HistoContainerContentException | |
) |
Set a new group into the container into the parent group
o | the object ot be included |
Definition at line 474 of file AliEMCalHistoContainer.cxx.
|
private |
Tokenizes a string. Results are stored inside the vector listoftokens
name | string to be tokenised |
delim | delimiter string |
listoftokens | list of tokens (C++ strings) |
Definition at line 681 of file AliEMCalHistoContainer.cxx.
Referenced by FindGroup().
|
private |
List of histograms.
Definition at line 204 of file AliEMCalHistoContainer.h.
Referenced by AliEMCalHistoContainer(), FindGroup(), GetListOfHistograms(), and ~AliEMCalHistoContainer().
|
private |
Set the ownership.
Definition at line 205 of file AliEMCalHistoContainer.h.
Referenced by ReleaseOwner(), and ~AliEMCalHistoContainer().