AliPhysics  vAN-20150630 (513c479)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
EMCalTriggerPtAnalysis::AliEMCalTriggerBinningDimension Class Reference

Binning definition for a certain dimension. More...

#include <AliEMCalTriggerBinningComponent.h>

Inheritance diagram for EMCalTriggerPtAnalysis::AliEMCalTriggerBinningDimension:

Public Member Functions

 AliEMCalTriggerBinningDimension ()
 
 AliEMCalTriggerBinningDimension (const char *name)
 
 AliEMCalTriggerBinningDimension (const char *name, int nbins, double *binning)
 
 AliEMCalTriggerBinningDimension (const char *name, const TArrayD &binning)
 
 ~AliEMCalTriggerBinningDimension ()
 
void Set (int nbins, double *binning)
 
void Set (const TArrayD &binning)
 
const double * GetBinLimits () const
 
int GetNumberOfBins () const
 
virtual void Print (Option_t *option="") const
 

Private Attributes

TArrayD fBinning
 Bin limits. More...
 

Detailed Description

Binning definition for a certain dimension.

This class contains the binning definition for a certain dimension. By construction a variable binning is assumed.

Definition at line 39 of file AliEMCalTriggerBinningComponent.h.

Constructor & Destructor Documentation

EMCalTriggerPtAnalysis::AliEMCalTriggerBinningDimension::AliEMCalTriggerBinningDimension ( )
inline

Dummy Constructor

Definition at line 44 of file AliEMCalTriggerBinningComponent.h.

EMCalTriggerPtAnalysis::AliEMCalTriggerBinningDimension::AliEMCalTriggerBinningDimension ( const char *  name)
inline

Named constructor

Parameters
nameName of the dimension

Definition at line 53 of file AliEMCalTriggerBinningComponent.h.

EMCalTriggerPtAnalysis::AliEMCalTriggerBinningDimension::AliEMCalTriggerBinningDimension ( const char *  name,
int  nbins,
double *  binning 
)
inline

Constructor initializing the dimension from a C-array

Parameters
nameName of the dimension
nbinsNumber of bins
binningArray of bin limits

Definition at line 64 of file AliEMCalTriggerBinningComponent.h.

EMCalTriggerPtAnalysis::AliEMCalTriggerBinningDimension::AliEMCalTriggerBinningDimension ( const char *  name,
const TArrayD &  binning 
)
inline

Constructor initializing the dimension from a ROOT array

Parameters
nameName of the dimension
binningArray of bin limits

Definition at line 74 of file AliEMCalTriggerBinningComponent.h.

EMCalTriggerPtAnalysis::AliEMCalTriggerBinningDimension::~AliEMCalTriggerBinningDimension ( )
inline

Destructor

Definition at line 81 of file AliEMCalTriggerBinningComponent.h.

Member Function Documentation

const double* EMCalTriggerPtAnalysis::AliEMCalTriggerBinningDimension::GetBinLimits ( ) const
inline
int EMCalTriggerPtAnalysis::AliEMCalTriggerBinningDimension::GetNumberOfBins ( ) const
inline
void EMCalTriggerPtAnalysis::AliEMCalTriggerBinningDimension::Print ( Option_t *  option = "") const
virtual

Print the bin limits for a given dimension

Definition at line 126 of file AliEMCalTriggerBinningComponent.cxx.

void EMCalTriggerPtAnalysis::AliEMCalTriggerBinningDimension::Set ( int  nbins,
double *  binning 
)
inline

Set the bin limits of the dimension from a C-array

Parameters
nbinsNumber of bins
binningArray of bin limits

Definition at line 89 of file AliEMCalTriggerBinningComponent.h.

Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerBinningComponent::SetBinning().

void EMCalTriggerPtAnalysis::AliEMCalTriggerBinningDimension::Set ( const TArrayD &  binning)
inline

Set the bin limits of the dimension from a ROOT array

Parameters
binningArray of bin limits

Definition at line 95 of file AliEMCalTriggerBinningComponent.h.

Member Data Documentation

TArrayD EMCalTriggerPtAnalysis::AliEMCalTriggerBinningDimension::fBinning
private

Bin limits.

Definition at line 111 of file AliEMCalTriggerBinningComponent.h.

Referenced by GetBinLimits(), GetNumberOfBins(), Print(), and Set().


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