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

#include <HistogramManager.h>

Inheritance diagram for Hal::HistogramManager_1_2D< T >:

Public Member Functions

 HistogramManager_1_2D (const HistogramManager_1_2D &manager)
 
HistogramManager_1_2D< T > & operator= (const HistogramManager_1_2D &manager)
 
void Init (Int_t size, HistogramAxisConf **axisconf, TString title, Bool_t Sumw=kFALSE)
 
void Init (Int_t sizeX, Int_t binsX, Double_t minX, Double_t maxX, Int_t binsY, Double_t minY, Double_t maxY, Bool_t sumw=kFALSE)
 
T * At (Int_t i) const
 
T ** GetArrray () const
 
void Fill (Int_t i, Double_t X, Double_t Y)
 
void Fill (Int_t i, Double_t X, Double_t Y, Double_t weight)
 
Int_t GetSize () const
 
TString GetComment (Int_t i)
 
void OverwriteAt (T *t, Int_t pos)
 
void SetComment (TString comment, Int_t i)
 
TList * GetFlatList () const
 
PackageReport () const
 

Public Attributes

T ** fArray
 

Protected Attributes

Int_t fSize
 
Int_t fAxisNo
 
TString * fComments
 

Detailed Description

template<class T>
class Hal::HistogramManager_1_2D< T >

template that store 1dim array of 2-dim histograms

Definition at line 186 of file HistogramManager.h.

Constructor & Destructor Documentation

◆ HistogramManager_1_2D() [1/2]

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

Definition at line 205 of file HistogramManager.h.

◆ HistogramManager_1_2D() [2/2]

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

Definition at line 138 of file HistogramManager.cxx.

◆ ~HistogramManager_1_2D()

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

Definition at line 288 of file HistogramManager.h.

Member Function Documentation

◆ At()

template<class T >
T * Hal::HistogramManager_1_2D< T >::At ( Int_t i) const
inline

return histogram

Parameters
ihistogram position
Returns
histogra

Definition at line 234 of file HistogramManager.h.

◆ Fill() [1/2]

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

fill histogram

Parameters
iindex of histogram
Xvalue on x
Yvalue on y

Definition at line 246 of file HistogramManager.h.

◆ Fill() [2/2]

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

fill histogram with weight

Parameters
iindex of histogram
Xvalue on x
Yvalue on y
weightweight of filling

Definition at line 254 of file HistogramManager.h.

◆ GetArrray()

template<class T >
T ** Hal::HistogramManager_1_2D< T >::GetArrray ( ) const
inline
Returns
array of histogram

Definition at line 239 of file HistogramManager.h.

◆ GetComment()

template<class T >
TString Hal::HistogramManager_1_2D< T >::GetComment ( Int_t i)
inline
Parameters
ihistogram index
Returns
comment for histogram

Definition at line 265 of file HistogramManager.h.

◆ GetFlatList()

template<class T >
TList * Hal::HistogramManager_1_2D< T >::GetFlatList ( ) const
Returns
histogram array as TList

Definition at line 240 of file HistogramManager.cxx.

◆ GetSize()

template<class T >
Int_t Hal::HistogramManager_1_2D< T >::GetSize ( ) const
inline
Returns
size of this array

Definition at line 259 of file HistogramManager.h.

◆ Init() [1/2]

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

initialize histograms

Parameters
sizesize of array
axisconfarray of axis configurations
titletitle of histograms
Sumwif true Suwm is called for histograms

Definition at line 175 of file HistogramManager.cxx.

◆ Init() [2/2]

template<class T >
void Hal::HistogramManager_1_2D< T >::Init ( Int_t sizeX,
Int_t binsX,
Double_t minX,
Double_t maxX,
Int_t binsY,
Double_t minY,
Double_t maxY,
Bool_t sumw = kFALSE )

initialize histograms

Parameters
sizeXsize of array
binsXnumber of bins
minXx-min
maxXx-max
binsYnumber of bins
minYy-min
maxYy-max
sumwif true call Sumw

Definition at line 199 of file HistogramManager.cxx.

◆ operator=()

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

Definition at line 151 of file HistogramManager.cxx.

◆ OverwriteAt()

template<class T >
void Hal::HistogramManager_1_2D< T >::OverwriteAt ( T * t,
Int_t pos )

overwite this histogram, old histogram will be deleted

Parameters

param pos

Definition at line 221 of file HistogramManager.cxx.

◆ Report()

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

Definition at line 231 of file HistogramManager.cxx.

◆ SetComment()

template<class T >
void Hal::HistogramManager_1_2D< T >::SetComment ( TString comment,
Int_t i )
inline

set comment to histogram

Parameters
commentcomment
ihistogram position

Definition at line 277 of file HistogramManager.h.

Member Data Documentation

◆ fArray

template<class T >
T** Hal::HistogramManager_1_2D< T >::fArray

array with histograms

Definition at line 204 of file HistogramManager.h.

◆ fAxisNo

template<class T >
Int_t Hal::HistogramManager_1_2D< T >::fAxisNo
protected

number of axes

Definition at line 195 of file HistogramManager.h.

◆ fComments

template<class T >
TString* Hal::HistogramManager_1_2D< T >::fComments
protected

array of comments

Definition at line 199 of file HistogramManager.h.

◆ fSize

template<class T >
Int_t Hal::HistogramManager_1_2D< T >::fSize
protected

length of vector

Definition at line 191 of file HistogramManager.h.


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