Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::HistogramManager_2_1D< T > Class Template Reference

#include <HistogramManager.h>

Inheritance diagram for Hal::HistogramManager_2_1D< T >:

Public Member Functions

 HistogramManager_2_1D (const HistogramManager_2_1D &manager)
 
HistogramManager_2_1D< T > & operator= (const HistogramManager_2_1D &manager)
 
void Init (Int_t sizeX, Int_t sizeY, HistogramAxisConf **axisconf, TString title, Bool_t Sumw=kFALSE)
 
void Init (Int_t sizeX, Int_t sizeY, Int_t binsX, Double_t minX, Double_t maxX, Bool_t sumw=kFALSE)
 
Int_t GetSize () const
 
TList * GetFlatList () const
 
PackageReport () const
 
HistogramManager_1_1D< T > * Get (Int_t i) const
 
T * At (Int_t i, Int_t j) const
 
void Fill (Int_t i, Int_t j, Double_t X)
 
void Fill (Int_t i, Int_t j, Double_t X, Double_t weight)
 

Public Attributes

HistogramManager_1_1D< T > * fArray
 

Detailed Description

template<class T>
class Hal::HistogramManager_2_1D< T >

class for store 2-dim array of 1-dim histograms

Definition at line 433 of file HistogramManager.h.

Constructor & Destructor Documentation

◆ HistogramManager_2_1D() [1/2]

template<class T >
Hal::HistogramManager_2_1D< T >::HistogramManager_2_1D ( )
inline

Definition at line 448 of file HistogramManager.h.

◆ HistogramManager_2_1D() [2/2]

template<class T >
Hal::HistogramManager_2_1D< T >::HistogramManager_2_1D ( const HistogramManager_2_1D< T > & manager)

Definition at line 369 of file HistogramManager.cxx.

◆ ~HistogramManager_2_1D()

template<class T >
virtual Hal::HistogramManager_2_1D< T >::~HistogramManager_2_1D ( )
inlinevirtual

Definition at line 514 of file HistogramManager.h.

Member Function Documentation

◆ At()

template<class T >
T * Hal::HistogramManager_2_1D< T >::At ( Int_t i,
Int_t j ) const
inline
Parameters
i1st index
j2nd index
Returns
histogram

Definition at line 497 of file HistogramManager.h.

◆ Fill() [1/2]

template<class T >
void Hal::HistogramManager_2_1D< T >::Fill ( Int_t i,
Int_t j,
Double_t X )
inline

fill histogram

Parameters
i1st index of histogram
j2nd index of histogram
Xvalue to fill
Xvalue to fill

Definition at line 505 of file HistogramManager.h.

◆ Fill() [2/2]

template<class T >
void Hal::HistogramManager_2_1D< T >::Fill ( Int_t i,
Int_t j,
Double_t X,
Double_t weight )
inline

fill given histogram

Parameters
i1st index of histogram
j2nd index of histogram
Xvalue to fill
weightweight for fill

Definition at line 513 of file HistogramManager.h.

◆ Get()

template<class T >
HistogramManager_1_1D< T > * Hal::HistogramManager_2_1D< T >::Get ( Int_t i) const
inline
Parameters
iindex
Returns
array of histograms in histogram manager

Definition at line 490 of file HistogramManager.h.

◆ GetFlatList()

template<class T >
TList * Hal::HistogramManager_2_1D< T >::GetFlatList ( ) const
Returns
histograms in flat TList

Definition at line 429 of file HistogramManager.cxx.

◆ GetSize()

template<class T >
Int_t Hal::HistogramManager_2_1D< T >::GetSize ( ) const
inline
Returns
2nd dimension of array

Definition at line 474 of file HistogramManager.h.

◆ Init() [1/2]

template<class T >
void Hal::HistogramManager_2_1D< T >::Init ( Int_t sizeX,
Int_t sizeY,
HistogramAxisConf ** axisconf,
TString title,
Bool_t Sumw = kFALSE )

initialize histograms

Parameters
sizeXsize of array (1st dim)
sizeYsize of array (2nd dim)
axisconfarray of axis configurations
titletitle of histograms
Sumwif true Suwm is called for histograms

Definition at line 398 of file HistogramManager.cxx.

◆ Init() [2/2]

template<class T >
void Hal::HistogramManager_2_1D< T >::Init ( Int_t sizeX,
Int_t sizeY,
Int_t binsX,
Double_t minX,
Double_t maxX,
Bool_t sumw = kFALSE )

initialize histograms

Parameters
sizeXsize of array
sizeYsize of array
binsXnumber of bins
minXx-min
maxXx-max
sumwif true call Sumw

Definition at line 410 of file HistogramManager.cxx.

◆ operator=()

template<class T >
HistogramManager_2_1D< T > & Hal::HistogramManager_2_1D< T >::operator= ( const HistogramManager_2_1D< T > & manager)

Definition at line 380 of file HistogramManager.cxx.

◆ Report()

template<class T >
Package * Hal::HistogramManager_2_1D< T >::Report ( ) const
Returns
package mad from this

Definition at line 420 of file HistogramManager.cxx.

Member Data Documentation

◆ fArray

template<class T >
HistogramManager_1_1D<T>* Hal::HistogramManager_2_1D< T >::fArray

array of vector

Definition at line 447 of file HistogramManager.h.


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