AliPhysics  97344c9 (97344c9)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
THistManager Class Reference

Container class for histograms. More...

#include <THistManager.h>

Inheritance diagram for THistManager:

Classes

class  iterator
 stl-iterator for the histogram manager More...
 

Public Member Functions

 THistManager ()
 
 THistManager (const char *name)
 
 ~THistManager ()
 
void ReleaseOwner ()
 
THashList * CreateHistoGroup (const char *groupname)
 
TH1CreateTH1 (const char *name, const char *title, int nbins, double xmin, double xmax, Option_t *opt="")
 
TH1CreateTH1 (const char *name, const char *title, int nbins, const double *xbins, Option_t *opt="")
 
TH1CreateTH1 (const char *name, const char *title, const TArrayD &xbins, Option_t *opt="")
 
TH1CreateTH1 (const char *name, const char *title, const TBinning &binning, Option_t *opt="")
 
TH2CreateTH2 (const char *name, const char *title, int nbinsx, double xmin, double xmax, int nbinsy, double ymin, double ymax, Option_t *opt="")
 
TH2CreateTH2 (const char *name, const char *title, int nbinsx, const double *xbins, int nbinsy, const double *ybins, Option_t *opt="")
 
TH2CreateTH2 (const char *name, const char *title, const TArrayD &xbins, const TArrayD &ybins, Option_t *opt="")
 
TH2CreateTH2 (const char *name, const char *title, const TBinning &xbins, const TBinning &ybins, Option_t *opt="")
 
TH3CreateTH3 (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="")
 
TH3CreateTH3 (const char *name, const char *title, int nbinsx, const double *xbins, int nbinsy, const double *ybins, int nbinsz, const double *zbins, Option_t *opt="")
 
TH3CreateTH3 (const char *name, const char *title, const TArrayD &xbins, const TArrayD &ybins, const TArrayD &zbins, Option_t *opt="")
 
TH3CreateTH3 (const char *name, const char *title, const TBinning &xbins, const TBinning &ybins, const TBinning &zbins, Option_t *opt="")
 
THnSparse * CreateTHnSparse (const char *name, const char *title, int ndim, const int *nbins, const double *min, const double *max, Option_t *opt="")
 
THnSparse * CreateTHnSparse (const char *name, const char *title, int ndim, const TAxis **axes, Option_t *opt="")
 
void CreateTProfile (const char *name, const char *title, int nbinsX, double xmin, double xmax, Option_t *opt="")
 
void CreateTProfile (const char *name, const char *title, int nbinsX, const double *xbins, Option_t *opt="")
 
void CreateTProfile (const char *name, const char *title, const TArrayD &xbins, Option_t *opt="")
 
void CreateTProfile (const char *name, const char *title, const TBinning &xbins, Option_t *opt="")
 
void SetObject (TObject *const o, const char *group="/")
 
void FillTH1 (const char *hname, double x, double weight=1., Option_t *opt="")
 
void FillTH1 (const char *name, const char *label, double weight=1., Option_t *opt="")
 
void FillTH2 (const char *hname, double x, double y, double weight=1., Option_t *opt="")
 
void FillTH2 (const char *hname, double *point, double weight=1., Option_t *opt="")
 
void FillTH3 (const char *hname, double x, double y, double z, double weight=1., Option_t *opt="")
 
void FillTH3 (const char *hname, const double *point, double weight=1., Option_t *opt="")
 
void FillTHnSparse (const char *name, const double *x, double weight=1., Option_t *opt="")
 
void FillProfile (const char *name, double x, double y, double weight=1.)
 
iterator begin () const
 
iterator end () const
 
iterator rbegin () const
 
iterator rend () const
 
THashList * GetListOfHistograms () const
 
TObjectFindObject (const char *name) const
 
virtual TObjectFindObject (const TObject *obj) const
 

Private Member Functions

 THistManager (const THistManager &)
 
THistManageroperator= (const THistManager &)
 
THashList * FindGroup (const char *dirname) const
 
TString basename (const TString &path) const
 
TString histname (const TString &path) const
 

Private Attributes

THashList * fHistos
 List of histograms. More...
 
bool fIsOwner
 Set the ownership. More...
 

Detailed Description

Container class for histograms.

Author
Markus Fasel marku.nosp@m.s.fa.nosp@m.sel@c.nosp@m.ern..nosp@m.ch, Lawrence Berkeley National Laboratory

Container class for histogram objects. Currently can handle TH1 TH2 TH3 THnSparse TProfile 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 43 of file THistManager.h.

Constructor & Destructor Documentation

THistManager::THistManager ( )

Default constructor, only initialising pointers with 0

Definition at line 42 of file THistManager.cxx.

THistManager::THistManager ( const char *  name)

Main constructor, creating also a list for the histograms

Parameters
nameName of the object (list named accordingly)

Definition at line 49 of file THistManager.cxx.

THistManager::~THistManager ( )

Destructor, deletes the list of histograms if it is the owner

Definition at line 59 of file THistManager.cxx.

THistManager::THistManager ( const THistManager )
private

Member Function Documentation

TString THistManager::basename ( const TString path) const
private

Helper function extracting the basename from a given histogram path.

Parameters
[in]pathhistogram path
Returns
basename extracted

Definition at line 592 of file THistManager.cxx.

Referenced by CreateHistoGroup(), CreateTH1(), CreateTH2(), CreateTH3(), CreateTHnSparse(), CreateTProfile(), FillProfile(), FillTH1(), FillTH2(), FillTH3(), FillTHnSparse(), FindGroup(), and FindObject().

THistManager::iterator THistManager::begin ( ) const
inline

Create forward iterator starting at the beginning of the container

Returns
Forward iterator at the beginning of the container

Definition at line 556 of file THistManager.h.

Referenced by EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDensityData::UserCreateOutputObjects().

THashList * THistManager::CreateHistoGroup ( const char *  groupname)

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 /).

Parameters
groupnameName of the new group
parent(default "/") Name of the parent group
Exceptions
HistoContainerContentException

Definition at line 63 of file THistManager.cxx.

Referenced by AliAnalysisTaskJetSubstructure::AllocateCellHistograms(), AliAnalysisTaskEmcalSample::AllocateCellHistograms(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::AllocateCellHistograms(), AliAnalysisTaskEmcalJetSample::AllocateCellHistograms(), AliAnalysisTaskEmcalJetHF::AllocateCellHistograms(), AliAnalysisTaskJetSubstructure::AllocateClusterHistograms(), AliAnalysisTaskEmcalSample::AllocateClusterHistograms(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::AllocateClusterHistograms(), AliAnalysisTaskEmcalJetSample::AllocateClusterHistograms(), AliAnalysisTaskEmcalJetHF::AllocateClusterHistograms(), AliAnalysisTaskJetSubstructure::AllocateJetHistograms(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::AllocateJetHistograms(), AliAnalysisTaskEmcalJetSample::AllocateJetHistograms(), AliAnalysisTaskEmcalJetHF::AllocateJetHistograms(), AliAnalysisTaskJetSubstructure::AllocateJetSubstructureHistograms(), AliAnalysisTaskJetSubstructure::AllocateTrackHistograms(), AliAnalysisTaskEmcalSample::AllocateTrackHistograms(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::AllocateTrackHistograms(), AliAnalysisTaskEmcalJetSample::AllocateTrackHistograms(), AliAnalysisTaskEmcalJetHF::AllocateTrackHistograms(), CreateTH1(), CreateTH2(), CreateTH3(), CreateTHnSparse(), CreateTProfile(), AliEMCALTriggerOfflineQAPP::Init(), SetObject(), AliAnalysisTaskEmcalJetCDF::UserCreateOutputObjects(), AliAnalysisTaskEmcalRun2QA::UserCreateOutputObjects(), and AliAnalysisTaskEmcalJetSpectraQA::UserCreateOutputObjects().

TH1 * THistManager::CreateTH1 ( const char *  name,
const char *  title,
int  nbins,
double  xmin,
double  xmax,
Option_t opt = "" 
)

Create a new TH1 within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
nameName of the histogram
titleTitle of the histogram
nbinsnumber of bins
xminmin. value of the range
xmaxmax. value of the range
optAdditonal options (s for sumw2)

Definition at line 80 of file THistManager.cxx.

Referenced by AliAnalysisTaskJetSubstructure::AllocateCellHistograms(), AliAnalysisTaskEmcalSample::AllocateCellHistograms(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::AllocateCellHistograms(), AliAnalysisTaskEmcalJetSample::AllocateCellHistograms(), AliAnalysisTaskPWGJEQA::AllocateCellHistograms(), AliAnalysisTaskEmcalJetHF::AllocateCellHistograms(), AliAnalysisTaskJetSubstructure::AllocateClusterHistograms(), AliAnalysisTaskEmcalSample::AllocateClusterHistograms(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::AllocateClusterHistograms(), AliAnalysisTaskEmcalJetSample::AllocateClusterHistograms(), AliAnalysisTaskPWGJEQA::AllocateClusterHistograms(), AliAnalysisTaskEmcalJetHF::AllocateClusterHistograms(), AliAnalysisTaskPWGJEQA::AllocateEventQAHistograms(), AliAnalysisTaskEmcalDijetImbalance::AllocateGeometricalMatchingHistograms(), AliAnalysisTaskJetSubstructure::AllocateJetHistograms(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::AllocateJetHistograms(), AliAnalysisTaskEmcalJetSample::AllocateJetHistograms(), AliAnalysisTaskEmcalJetHF::AllocateJetHistograms(), AliAnalysisTaskJetSubstructure::AllocateJetSubstructureHistograms(), AliAnalysisTaskJetSubstructure::AllocateTrackHistograms(), AliAnalysisTaskEmcalSample::AllocateTrackHistograms(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::AllocateTrackHistograms(), AliAnalysisTaskEmcalJetSample::AllocateTrackHistograms(), AliAnalysisTaskEmcalJetHF::AllocateTrackHistograms(), AliEmcalCellMonitorTask::CreateHistograms(), EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::CreateHistos(), CreateTH1(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClusterMatched::CreateUserHistos(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalTriggerMultiplicity::CreateUserHistos(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalNoiseTriggers::CreateUserHistos(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalPatchesRef::CreateUserHistos(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClustersRef::CreateUserHistos(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::CreateUserHistos(), AliEMCALTriggerOfflineQAPP::EventTimeStamp(), AliEMCALTriggerOfflineQAPP::Init(), TestTHistManager::THistManagerTestSuite::TestBuildGroupedHistograms(), TestTHistManager::THistManagerTestSuite::TestBuildSimpleHistograms(), TestTHistManager::THistManagerTestSuite::TestFillGroupedHistograms(), TestTHistManager::THistManagerTestSuite::TestFillSimpleHistograms(), EMCalTriggerPtAnalysis::AliAnalysisTaskEtaPhiEfficiency::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::UserCreateOutputObjects(), AliAnalysisTaskEmcalNeutralJets::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetCDF::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskEventFilter::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskEGAMonitor::UserCreateOutputObjects(), AliAnalysisTaskParticleInJet::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDensityData::UserCreateOutputObjects(), AliAnalysisTaskEmcalIteratorTest::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalPatchMasking::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetQA::UserCreateOutputObjects(), AliAnalysisTaskEmcalRun2QA::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalMaxPatch::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalTriggerEmulation::UserCreateOutputObjects(), AliEmcalTriggerMakerTask::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesMCTriggerMimic::UserCreateOutputObjects(), AliEmcalFastOrMonitorTask::UserCreateOutputObjects(), AliEmcalTriggerMaker::UserCreateOutputObjects(), and AliAnalysisTaskDmesonJets::UserCreateOutputObjects().

TH1 * THistManager::CreateTH1 ( const char *  name,
const char *  title,
int  nbins,
const double *  xbins,
Option_t opt = "" 
)

Create a new TH1 within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the histogram
[in]titleTitle of the histogram
[in]nbinsnumber of bins
[in]xbinsarray of bin limits
[in]optAdditonal options (s for sumw2)

Definition at line 97 of file THistManager.cxx.

TH1 * THistManager::CreateTH1 ( const char *  name,
const char *  title,
const TArrayD xbins,
Option_t opt = "" 
)

Create a new TH1 within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the histogram
[in]titleTitle of the histogram
[in]xbinsarray of bin limits (contains also number of bins)
[in]optAdditonal options (s for sumw2)

Definition at line 114 of file THistManager.cxx.

TH1 * THistManager::CreateTH1 ( const char *  name,
const char *  title,
const TBinning binning,
Option_t opt = "" 
)

Create a new TH1 within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the histogram
[in]titleTitle of the histogram
[in]xbinsUser Binning
[in]optAdditonal options (s for sumw2)

Definition at line 131 of file THistManager.cxx.

TH2 * THistManager::CreateTH2 ( const char *  name,
const char *  title,
int  nbinsx,
double  xmin,
double  xmax,
int  nbinsy,
double  ymin,
double  ymax,
Option_t opt = "" 
)

Create a new TH2 within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the histogram
[in]titleTitle of the histogram
[in]nbinsxnumber of bins in x-direction
[in]xminmin. value of the range in x-direction
[in]xmaxmax. value of the range in x-direction
[in]nbinsynumber of bins in y-direction
[in]yminmin. value of the range in y-direction
[in]ymaxmax. value of the range in y-direction

Definition at line 141 of file THistManager.cxx.

Referenced by AliAnalysisTaskJetSubstructure::AllocateCellHistograms(), AliAnalysisTaskEmcalSample::AllocateCellHistograms(), AliAnalysisTaskPWGJEQA::AllocateCellHistograms(), AliAnalysisTaskEmcalJetHF::AllocateCellHistograms(), AliAnalysisTaskPWGJEQA::AllocateClusterHistograms(), AliAnalysisTaskPWGJEQA::AllocateJetHistograms(), AliAnalysisTaskEmcalDijetImbalance::AllocateJetHistograms(), AliAnalysisTaskEmcalJetSpectraQA::AllocateTHX(), AliAnalysisTaskJetSubstructure::AllocateTrackHistograms(), AliAnalysisTaskEmcalSample::AllocateTrackHistograms(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::AllocateTrackHistograms(), AliAnalysisTaskEmcalJetSample::AllocateTrackHistograms(), AliAnalysisTaskEmcalJetHF::AllocateTrackHistograms(), AliEmcalCellMonitorTask::CreateHistograms(), CreateTH2(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClusterMatched::CreateUserHistos(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalNoiseTriggers::CreateUserHistos(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalPatchesRef::CreateUserHistos(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClustersRef::CreateUserHistos(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::CreateUserHistos(), AliEMCALTriggerOfflineQAPP::Init(), TestTHistManager::THistManagerTestSuite::TestBuildGroupedHistograms(), TestTHistManager::THistManagerTestSuite::TestBuildSimpleHistograms(), TestTHistManager::THistManagerTestSuite::TestFillGroupedHistograms(), TestTHistManager::THistManagerTestSuite::TestFillSimpleHistograms(), AliAnalysisTaskEmcalTriggerPosition::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskEtaPhiEfficiency::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetCDF::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskEGAMonitor::UserCreateOutputObjects(), AliAnalysisTaskParticleInJet::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDensityData::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalPatchMasking::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetQA::UserCreateOutputObjects(), AliAnalysisTaskEmcalRun2QA::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetSpectraQA::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalMaxPatch::UserCreateOutputObjects(), AliEmcalTriggerMakerTask::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesMCTriggerMimic::UserCreateOutputObjects(), AliEmcalFastOrMonitorTask::UserCreateOutputObjects(), AliEmcalTriggerMaker::UserCreateOutputObjects(), and AliAnalysisTaskDmesonJets::UserCreateOutputObjects().

TH2 * THistManager::CreateTH2 ( const char *  name,
const char *  title,
int  nbinsx,
const double *  xbins,
int  nbinsy,
const double *  ybins,
Option_t opt = "" 
)

Create a new TH2 within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the histogram
[in]titleTitle of the histogram
[in]nbinsxnumber of bins in x-direction
[in]xminmin. value of the range in x-direction
[in]xmaxmax. value of the range in x-direction
[in]nbinsynumber of bins in y-direction
[in]yminmin. value of the range in y-direction
[in]ymaxmax. value of the range in y-direction

Definition at line 158 of file THistManager.cxx.

TH2 * THistManager::CreateTH2 ( const char *  name,
const char *  title,
const TArrayD xbins,
const TArrayD ybins,
Option_t opt = "" 
)

Create a new TH2 within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the histogram
[in]titleTitle of the histogram
[in]xbinsarray of bin limits in x-direction (contains also the number of bins)
[in]ybinsarray of bin limits in y-direction (contains also the number of bins)

Definition at line 175 of file THistManager.cxx.

TH2 * THistManager::CreateTH2 ( const char *  name,
const char *  title,
const TBinning xbins,
const TBinning ybins,
Option_t opt = "" 
)

Create a new TH2 within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the histogram
[in]titleTitle of the histogram
[in]Userbinning in x-direction
[in]Userbinning in y-direction

Definition at line 192 of file THistManager.cxx.

TH3 * THistManager::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 = "" 
)

Create a new TH2 within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the histogram
[in]titleTitle of the histogram
[in]nbinsxnumber of bins in x-direction
[in]xminmin. value of the range in x-direction
[in]xmaxmax. value of the range in x-direction
[in]nbinsynumber of bins in y-direction
[in]yminmin. value of the range in y-direction
[in]ymaxmax. value of the range in y-direction

Definition at line 208 of file THistManager.cxx.

Referenced by AliAnalysisTaskEmcalJetSpectraQA::AllocateTHX(), CreateTH3(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::CreateUserHistos(), TestTHistManager::THistManagerTestSuite::TestBuildGroupedHistograms(), TestTHistManager::THistManagerTestSuite::TestBuildSimpleHistograms(), TestTHistManager::THistManagerTestSuite::TestFillSimpleHistograms(), AliAnalysisTaskEmcalJetQA::UserCreateOutputObjects(), AliAnalysisTaskEmcalRun2QA::UserCreateOutputObjects(), and AliAnalysisTaskEmcalJetSpectraQA::UserCreateOutputObjects().

TH3 * THistManager::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 = "" 
)

Create a new TH3 within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the histogram
[in]titleTitle of the histogram
[in]nbinsxnumber of bins in x-direction
[in]xbinsarray of bin limits in x-direction
[in]nbinsynumber of bins in y-direction
[in]ybinsarray of bin limits in y-direction
[in]nbinsznumber of bins in z-direction
[in]zbinsarray of bin limits in z-direction

Definition at line 225 of file THistManager.cxx.

TH3 * THistManager::CreateTH3 ( const char *  name,
const char *  title,
const TArrayD xbins,
const TArrayD ybins,
const TArrayD zbins,
Option_t opt = "" 
)

Create a new TH3 within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the histogram
[in]titleTitle of the histogram
[in]xbinsarray of bin limits in x-direction (contains also the number of bins)
[in]ybinsarray of bin limits in y-direction (contains also the number of bins)
[in]zbinsarray of bin limits in z-direction (contains also the number of bins)

Definition at line 242 of file THistManager.cxx.

TH3 * THistManager::CreateTH3 ( const char *  name,
const char *  title,
const TBinning xbins,
const TBinning ybins,
const TBinning zbins,
Option_t opt = "" 
)

Create a new TH3 within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the histogram
[in]titleTitle of the histogram
[in]Userbinning in x-direction
[in]Userbinning in y-direction
[in]Userbinning in z-direction

Definition at line 259 of file THistManager.cxx.

THnSparse * THistManager::CreateTHnSparse ( const char *  name,
const char *  title,
int  ndim,
const int *  nbins,
const double *  min,
const double *  max,
Option_t opt = "" 
)

Create a new THnSparse within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the histogram
[in]titleTitle of the histogram
[in]ndimNumber of dimensions
[in]nbinsNumber of bins per dimension
[in]minmin. value of the range for each dimension
[in]maxmax. value of the range for each dimension

Definition at line 280 of file THistManager.cxx.

Referenced by AliAnalysisTaskPWGJEQA::AllocateClusterHistograms(), AliAnalysisTaskPWGJEQA::AllocateDetectorLevelTHnSparse(), AliAnalysisTaskEmcalDijetImbalance::AllocateDijetImbalanceHistograms(), AliAnalysisTaskEmcalDijetImbalance::AllocateDijetJetHistograms(), AliAnalysisTaskPWGJEQA::AllocateEventQAHistograms(), AliAnalysisTaskPWGJEQA::AllocateGeneratorLevelTHnSparse(), AliAnalysisTaskEmcalDijetImbalance::AllocateGeometricalMatchingHistograms(), AliAnalysisTaskPWGJEQA::AllocateJetHistograms(), AliAnalysisTaskEmcalDijetImbalance::AllocateJetHistograms(), AliAnalysisTaskPWGJEQA::AllocateMatchedParticlesTHnSparse(), AliAnalysisTaskEmcalDijetImbalance::AllocateMomentumBalanceHistograms(), AliAnalysisTaskEmcalJetSpectraQA::AllocateTHnSparse(), AliAnalysisTaskDmesonJets::AnalysisEngine::BuildHnSparse(), EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerMCJetAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerClusterAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliEMCalTriggerRecTrackAnalysisComponent::CreateHistos(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::CreateUserHistos(), TestTHistManager::THistManagerTestSuite::TestBuildSimpleHistograms(), TestTHistManager::THistManagerTestSuite::TestFillSimpleHistograms(), EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetQA::UserCreateOutputObjects(), AliAnalysisTaskEmcalRun2QA::UserCreateOutputObjects(), and AliEmcalFastOrMonitorTask::UserCreateOutputObjects().

THnSparse * THistManager::CreateTHnSparse ( const char *  name,
const char *  title,
int  ndim,
const TAxis **  axes,
Option_t opt = "" 
)

Create a new THnSparse within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the histogram
[in]titleTitle of the histogram
[in]ndimNumber of dimensions
[in]axesArray of pointers to TAxis for containing the axis definition for each dimension

Definition at line 297 of file THistManager.cxx.

void THistManager::CreateTProfile ( const char *  name,
const char *  title,
int  nbinsX,
double  xmin,
double  xmax,
Option_t opt = "" 
)

Create a new TProfile within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the profile histogram
[in]titleTitle of the profile histogram
[in]nbinsXNumber of bins in x-direction
[in]xminmin. value in x-direction
[in]xmaxmax. value in x-direction
[in]optFurther options

Definition at line 324 of file THistManager.cxx.

Referenced by AliAnalysisTaskPWGJEQA::AllocateCellHistograms(), CreateTProfile(), TestTHistManager::THistManagerTestSuite::TestBuildGroupedHistograms(), TestTHistManager::THistManagerTestSuite::TestBuildSimpleHistograms(), TestTHistManager::THistManagerTestSuite::TestFillGroupedHistograms(), TestTHistManager::THistManagerTestSuite::TestFillSimpleHistograms(), and EMCalTriggerPtAnalysis::AliAnalysisTaskEtaPhiEfficiency::UserCreateOutputObjects().

void THistManager::CreateTProfile ( const char *  name,
const char *  title,
int  nbinsX,
const double *  xbins,
Option_t opt = "" 
)

Create a new TProfile within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the profile histogram
[in]titleTitle of the profile histogram
[in]nbinsXNumber of bins in x-direction
[in]xbinsbinning in x-direction
[in]optFurther options

Definition at line 334 of file THistManager.cxx.

void THistManager::CreateTProfile ( const char *  name,
const char *  title,
const TArrayD xbins,
Option_t opt = "" 
)

Create a new TProfile within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the profile histogram
[in]titleTitle of the profile histogram
[in]xbinsbinning in x-direction
[in]optFurther options

Definition at line 344 of file THistManager.cxx.

void THistManager::CreateTProfile ( const char *  name,
const char *  title,
const TBinning xbins,
Option_t opt = "" 
)

Create a new TProfile within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the profile histogram
[in]titleTitle of the profile histogram
[in]xbinsUser binning
[in]optFurther options

Definition at line 354 of file THistManager.cxx.

THistManager::iterator THistManager::end ( ) const
inline

Create forward iterator starting at the end of the container

Returns
Forward iterator after the end of the container

Definition at line 564 of file THistManager.h.

Referenced by EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDensityData::UserCreateOutputObjects().

void THistManager::FillProfile ( const char *  name,
double  x,
double  y,
double  weight = 1. 
)

Fill a profile histogram within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the profile histogram
[in]xx-coordinate
[in]yy-coordinate
[in]weightoptional weight of the entry (default 1)

Definition at line 559 of file THistManager.cxx.

Referenced by AliAnalysisTaskPWGJEQA::FillCellHistograms(), TestTHistManager::THistManagerTestSuite::TestFillGroupedHistograms(), TestTHistManager::THistManagerTestSuite::TestFillSimpleHistograms(), and EMCalTriggerPtAnalysis::AliAnalysisTaskEtaPhiEfficiency::UserNotify().

void THistManager::FillTH1 ( const char *  hname,
double  x,
double  weight = 1.,
Option_t opt = "" 
)

Fill a 1D histogram within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the histogram
[in]xx-coordinate
[in]weightoptional weight of the entry (default 1)

Definition at line 378 of file THistManager.cxx.

Referenced by AliAnalysisTaskJetSubstructure::DoCellLoop(), AliAnalysisTaskEmcalSample::DoCellLoop(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::DoCellLoop(), AliAnalysisTaskEmcalJetSample::DoCellLoop(), AliAnalysisTaskEmcalJetHF::DoCellLoop(), AliAnalysisTaskJetSubstructure::DoClusterLoop(), AliAnalysisTaskEmcalSample::DoClusterLoop(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::DoClusterLoop(), AliAnalysisTaskEmcalJetSample::DoClusterLoop(), AliAnalysisTaskEmcalRun2QA::DoClusterLoop(), AliAnalysisTaskEmcalJetQA::DoClusterLoop(), AliAnalysisTaskEmcalJetHF::DoClusterLoop(), AliAnalysisTaskJetSubstructure::DoJetLoop(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::DoJetLoop(), AliAnalysisTaskEmcalJetSample::DoJetLoop(), AliAnalysisTaskEmcalJetHF::DoJetLoop(), AliAnalysisTaskJetSubstructure::DoJetSubstructureLoop(), AliAnalysisTaskJetSubstructure::DoTrackLoop(), AliAnalysisTaskEmcalSample::DoTrackLoop(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::DoTrackLoop(), AliAnalysisTaskEmcalJetSample::DoTrackLoop(), AliAnalysisTaskEmcalJetQA::DoTrackLoop(), AliAnalysisTaskEmcalJetHF::DoTrackLoop(), AliEMCALTriggerOfflineQAPP::EventCompleted(), AliEMCALTriggerOfflineQAPP::EventTimeStamp(), AliAnalysisTaskPWGJEQA::FillCellHistograms(), AliAnalysisTaskPWGJEQA::FillClusterHistograms(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClustersRef::FillClusterHistograms(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesMCTriggerMimic::FillClusterHistos(), EMCalTriggerPtAnalysis::AliAnalysisTaskEventFilter::FillEvent(), AliAnalysisTaskPWGJEQA::FillEventQAHistograms(), AliAnalysisTaskEmcalDijetImbalance::FillGeometricalMatchingHistograms(), AliAnalysisTaskEmcalNeutralJets::FillHistograms(), AliAnalysisTaskDmesonJets::AnalysisEngine::FillHnSparse(), AliAnalysisTaskDmesonJets::FillPartonLevelHistograms(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalPatchesRef::FillPatchHistograms(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesMCTriggerMimic::FillPatchHistos(), AliAnalysisTaskDmesonJets::AnalysisEngine::FillQA(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesMCTriggerMimic::FillTrackHistos(), EMCalTriggerPtAnalysis::AliAnalysisTaskEventFilter::FillTracks(), AliAnalysisTaskDmesonJets::AnalysisEngine::FillTree(), AliEmcalFastOrMonitorTask::LoadEventCellData(), EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::Process(), AliEMCALTriggerOfflineQAPP::ProcessFastor(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalPatchMasking::ProcessMaxPatch(), AliEMCALTriggerOfflineQAPP::ProcessPatch(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalPatchMasking::ProcessPatch(), AliEmcalTriggerMaker::ProcessPatch(), EMCalTriggerPtAnalysis::AliAnalysisTaskEGAMonitor::Run(), AliAnalysisTaskParticleInJet::Run(), EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDensityData::Run(), AliAnalysisTaskEmcalIteratorTest::Run(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalNoiseTriggers::Run(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalMaxPatch::Run(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalTriggerEmulation::Run(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesMCTriggerMimic::Run(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalTriggerMultiplicity::Run(), AliEmcalTriggerMakerTask::Run(), AliAnalysisTaskDmesonJets::Run(), AliEmcalFastOrMonitorTask::RunChanged(), AliEmcalCellMonitorTask::RunChanged(), AliAnalysisTaskDmesonJets::AnalysisEngine::RunDetectorLevelAnalysis(), AliAnalysisTaskDmesonJets::AnalysisEngine::RunParticleLevelAnalysis(), TestTHistManager::THistManagerTestSuite::TestFillGroupedHistograms(), TestTHistManager::THistManagerTestSuite::TestFillSimpleHistograms(), AliAnalysisTaskEmcalTriggerPosition::UserExec(), EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::UserExec(), AliEmcalFastOrMonitorTask::UserExec(), AliEmcalCellMonitorTask::UserExec(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClusterMatched::UserFillHistosAfterEventSelection(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalTriggerMultiplicity::UserFillHistosAfterEventSelection(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalNoiseTriggers::UserFillHistosAfterEventSelection(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalPatchesRef::UserFillHistosAfterEventSelection(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClustersRef::UserFillHistosAfterEventSelection(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::UserFillHistosAfterEventSelection(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::UserFillHistosBeforeEventSelection(), EMCalTriggerPtAnalysis::AliAnalysisTaskEtaPhiEfficiency::UserNotify(), and AliAnalysisTaskPWGJEQA::UserNotify().

void THistManager::FillTH1 ( const char *  name,
const char *  label,
double  weight = 1.,
Option_t opt = "" 
)

Definition at line 401 of file THistManager.cxx.

void THistManager::FillTH2 ( const char *  hname,
double  x,
double  y,
double  weight = 1.,
Option_t opt = "" 
)

Fill a 2D histogram within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the histogram
[in]xx-coordinate
[in]yy-coordinate
[in]weightoptional weight of the entry (default 1)

Definition at line 425 of file THistManager.cxx.

Referenced by EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalNoiseTriggers::AnalyseFastors(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalNoiseTriggers::AnalyseTriggerPatch(), AliAnalysisTaskJetSubstructure::DoCellLoop(), AliAnalysisTaskEmcalSample::DoCellLoop(), AliAnalysisTaskEmcalJetQA::DoCellLoop(), AliAnalysisTaskEmcalJetHF::DoCellLoop(), AliAnalysisTaskEmcalRun2QA::DoClusterLoop(), AliAnalysisTaskEmcalJetQA::DoClusterLoop(), AliAnalysisTaskJetSubstructure::DoTrackLoop(), AliAnalysisTaskEmcalSample::DoTrackLoop(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::DoTrackLoop(), AliAnalysisTaskEmcalJetSample::DoTrackLoop(), AliAnalysisTaskEmcalJetQA::DoTrackLoop(), AliAnalysisTaskEmcalJetHF::DoTrackLoop(), AliEMCALTriggerOfflineQAPP::EventCompleted(), AliAnalysisTaskPWGJEQA::FillCellHistograms(), AliAnalysisTaskPWGJEQA::FillClusterHistograms(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClustersRef::FillClusterHistograms(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesMCTriggerMimic::FillClusterHistos(), EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::FillEventHist(), AliAnalysisTaskEmcalJetSpectraQA::FillHistograms(), AliAnalysisTaskPWGJEQA::FillJetHistograms(), AliAnalysisTaskEmcalDijetImbalance::FillJetHistograms(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalPatchesRef::FillPatchHistograms(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesMCTriggerMimic::FillPatchHistos(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::FillPIDHistos(), AliEmcalTriggerMakerTask::FillQAHistos(), AliAnalysisTaskEmcalJetSpectraQA::FillTHX(), AliEMCALTriggerOfflineQAPP::ProcessFastor(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalPatchMasking::ProcessMaxPatch(), AliEMCALTriggerOfflineQAPP::ProcessPatch(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalPatchMasking::ProcessPatch(), AliEmcalTriggerMaker::ProcessPatch(), AliAnalysisTaskParticleInJet::Run(), EMCalTriggerPtAnalysis::AliAnalysisTaskEGAMonitor::Run(), EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDensityData::Run(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalMaxPatch::Run(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalClusterMatched::Run(), AliEmcalTriggerMakerTask::Run(), AliEmcalTriggerMakerTask::RunChanged(), AliAnalysisTaskDmesonJets::AnalysisEngine::RunDetectorLevelAnalysis(), AliAnalysisTaskDmesonJets::AnalysisEngine::RunParticleLevelAnalysis(), TestTHistManager::THistManagerTestSuite::TestFillGroupedHistograms(), TestTHistManager::THistManagerTestSuite::TestFillSimpleHistograms(), EMCalTriggerPtAnalysis::AliAnalysisTaskEtaPhiEfficiency::UserExec(), AliEmcalFastOrMonitorTask::UserExec(), and AliEmcalCellMonitorTask::UserExec().

void THistManager::FillTH2 ( const char *  hname,
double *  point,
double  weight = 1.,
Option_t opt = "" 
)

Fill a 2D histogram within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the histogram
[in]pointcoordinates of the data
[in]weightoptional weight of the entry (default 1)

Definition at line 450 of file THistManager.cxx.

void THistManager::FillTH3 ( const char *  hname,
double  x,
double  y,
double  z,
double  weight = 1.,
Option_t opt = "" 
)

Fill a 3D histogram within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the histogram
[in]xx-coordinate
[in]yy-coordinate
[in]zz-coordinate
[in]weightoptional weight of the entry (default 1)

Definition at line 475 of file THistManager.cxx.

Referenced by AliAnalysisTaskEmcalRun2QA::DoClusterLoop(), AliAnalysisTaskEmcalJetQA::DoClusterLoop(), AliAnalysisTaskEmcalJetQA::DoTrackLoop(), AliAnalysisTaskEmcalJetSpectraQA::FillHistograms(), AliAnalysisTaskEmcalJetSpectraQA::FillTHX(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesRef::FillTrackHistos(), and TestTHistManager::THistManagerTestSuite::TestFillSimpleHistograms().

void THistManager::FillTH3 ( const char *  hname,
const double *  point,
double  weight = 1.,
Option_t opt = "" 
)

Fill a 3D histogram within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the histogram
[in]point3D-coordinate (x,y,z) of the point to be filled
[in]weightoptional weight of the entry (default 1)

Definition at line 504 of file THistManager.cxx.

void THistManager::FillTHnSparse ( const char *  name,
const double *  x,
double  weight = 1.,
Option_t opt = "" 
)

Fill a nD histogram within the container. The histogram name also contains the parent group(s) according to the common group notation.

Parameters
[in]nameName of the histogram
[in]xcoordinates of the data
[in]weightoptional weight of the entry (default 1)

Definition at line 533 of file THistManager.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::AliAnalysisTaskChargedParticlesRef::FillPIDHistos(), EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::FillTrackHist(), EMCalTriggerPtAnalysis::AliEMCalTriggerRecJetAnalysisComponent::FillTrackHistogramCentrality(), EMCalTriggerPtAnalysis::AliEMCalTriggerPatchAnalysisComponent::FillTriggerInfoHistogram(), EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::Run(), TestTHistManager::THistManagerTestSuite::TestFillSimpleHistograms(), and AliEmcalFastOrMonitorTask::UserExec().

THashList * THistManager::FindGroup ( const char *  dirname) const
private

Find histogram group. Name is using common notation

Parameters
[in]dirnamePath of the group (treat empty path as top node
Returns
TList of objects (NULL if group does not exist)

Definition at line 584 of file THistManager.cxx.

Referenced by CreateHistoGroup(), CreateTH1(), CreateTH2(), CreateTH3(), CreateTHnSparse(), CreateTProfile(), FillProfile(), FillTH1(), FillTH2(), FillTH3(), FillTHnSparse(), FindObject(), and SetObject().

TObject * THistManager::FindObject ( const char *  name) const

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

Parameters
[in]nameName of the object to find inside the container
Returns
pointer to the object (NULL if not found)

Definition at line 570 of file THistManager.cxx.

Referenced by AliAnalysisTaskEmcalRun2QA::DoClusterLoop(), AliAnalysisTaskEmcalJetQA::DoClusterLoop(), AliAnalysisTaskEmcalJetQA::DoTrackLoop(), AliEMCALTriggerOfflineQAPP::EventTimeStamp(), AliAnalysisTaskPWGJEQA::FillClusterHistograms(), AliAnalysisTaskPWGJEQA::FillDetectorLevelTHnSparse(), AliAnalysisTaskEmcalDijetImbalance::FillDijetImbalanceHistograms(), AliAnalysisTaskEmcalDijetImbalance::FillDijetJetHistograms(), AliAnalysisTaskEmcalRun2QA::FillEventQAHisto(), AliAnalysisTaskEmcalJetQA::FillEventQAHisto(), AliAnalysisTaskPWGJEQA::FillEventQAHistograms(), AliAnalysisTaskPWGJEQA::FillGeneratorLevelTHnSparse(), AliAnalysisTaskEmcalDijetImbalance::FillGeometricalMatchingHistograms(), AliAnalysisTaskDmesonJets::AnalysisEngine::FillHnSparse(), AliAnalysisTaskPWGJEQA::FillJetHistograms(), AliAnalysisTaskEmcalDijetImbalance::FillJetHistograms(), AliAnalysisTaskPWGJEQA::FillMatchedParticlesTHnSparse(), AliAnalysisTaskEmcalDijetImbalance::FillMomentumBalanceHistograms(), AliAnalysisTaskDmesonJets::AnalysisEngine::FillQA(), AliAnalysisTaskEmcalJetSpectraQA::FillTHnSparse(), AliAnalysisTaskDmesonJets::AnalysisEngine::FillTree(), AliAnalysisTaskDmesonJets::AnalysisEngine::FindJet(), AliAnalysisTaskEmcalJetCDF::GetHistogram(), EMCalTriggerPtAnalysis::AliEMCalTriggerEventCounterAnalysisComponent::Process(), and AliAnalysisTaskDmesonJets::AnalysisEngine::RunParticleLevelAnalysis().

TObject * THistManager::FindObject ( const TObject obj) const
virtual

Find and object inside the container. The object name is expected to contain the full path of the histogram object, including parent groups

Parameters
[in]objthe object to find
Returns
pointer to the object (NULL if not found)

Definition at line 577 of file THistManager.cxx.

THashList* THistManager::GetListOfHistograms ( ) const
inline

Get the list of histograms

Returns
The list of histograms

Definition at line 504 of file THistManager.h.

Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerTracksAnalysisComponent::GetHistList(), AliEMCALTriggerOfflineQAPP::GetListOfHistograms(), THistManager::iterator::operator*(), TestTHistManager::THistManagerTestSuite::TestBuildGroupedHistograms(), TestTHistManager::THistManagerTestSuite::TestBuildSimpleHistograms(), TestTHistManager::THistManagerTestSuite::TestFillGroupedHistograms(), TestTHistManager::THistManagerTestSuite::TestFillSimpleHistograms(), AliAnalysisTaskEmcalTriggerPosition::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskEtaPhiEfficiency::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::UserCreateOutputObjects(), AliAnalysisTaskJetSubstructure::UserCreateOutputObjects(), AliAnalysisTaskEmcalNeutralJets::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetCDF::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskEventFilter::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskEGAMonitor::UserCreateOutputObjects(), AliAnalysisTaskParticleInJet::UserCreateOutputObjects(), AliAnalysisTaskEmcalSample::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetSpectra8TeVTriggerQA::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetSample::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTrigger::UserCreateOutputObjects(), AliAnalysisTaskEmcalIteratorTest::UserCreateOutputObjects(), AliAnalysisTaskPWGJEQA::UserCreateOutputObjects(), AliAnalysisTaskEmcalDijetImbalance::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetQA::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalPatchMasking::UserCreateOutputObjects(), AliAnalysisTaskEmcalRun2QA::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalMaxPatch::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetSpectraQA::UserCreateOutputObjects(), AliEmcalTriggerMakerTask::UserCreateOutputObjects(), AliAnalysisTaskEmcalJetHF::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskChargedParticlesMCTriggerMimic::UserCreateOutputObjects(), AliEmcalFastOrMonitorTask::UserCreateOutputObjects(), AliEmcalTriggerMaker::UserCreateOutputObjects(), AliEmcalCellMonitorTask::UserCreateOutputObjects(), EMCalTriggerPtAnalysis::AliAnalysisTaskEmcalTriggerBase::UserCreateOutputObjects(), AliAnalysisTaskDmesonJets::UserCreateOutputObjects(), AliAnalysisTaskEmcalTriggerPosition::UserExec(), EMCalTriggerPtAnalysis::AliAnalysisTaskTrackDCA::UserExec(), EMCalTriggerPtAnalysis::AliAnalysisTaskEventFilter::UserExec(), AliEmcalFastOrMonitorTask::UserExec(), and AliEmcalCellMonitorTask::UserExec().

TString THistManager::histname ( const TString path) const
private

Helper function extracting the histogram name from a given histogram path.

Parameters
[in]pathhistogram path
Returns
basename extracted

Definition at line 598 of file THistManager.cxx.

Referenced by CreateHistoGroup(), CreateTH1(), CreateTH2(), CreateTH3(), CreateTHnSparse(), CreateTProfile(), FillProfile(), FillTH1(), FillTH2(), FillTH3(), FillTHnSparse(), FindGroup(), and FindObject().

THistManager& THistManager::operator= ( const THistManager )
private
THistManager::iterator THistManager::rbegin ( ) const
inline

Create backward iterator starting behind the end of the container. Used to terminate the iteration.

Returns
Backward iterator behind the end of the histogram manager

Definition at line 560 of file THistManager.h.

THistManager::iterator THistManager::rend ( ) const
inline

Create backward iterator starting before the beginning of the container. Used to terminate the iteration.

Returns
Backward iterator starting before the beginning of the histogram manager

Definition at line 568 of file THistManager.h.

void THistManager::SetObject ( TObject *const  o,
const char *  group = "/" 
)

Set a new group into the container into the parent group

Parameters
[in]othe object to be included

Definition at line 364 of file THistManager.cxx.

Member Data Documentation

THashList* THistManager::fHistos
private

List of histograms.

Definition at line 548 of file THistManager.h.

Referenced by end(), FindGroup(), GetListOfHistograms(), rbegin(), SetObject(), THistManager(), and ~THistManager().

bool THistManager::fIsOwner
private

Set the ownership.

Definition at line 549 of file THistManager.h.

Referenced by ReleaseOwner(), and ~THistManager().


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