AliPhysics  a0db429 (a0db429)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
EMCalTriggerPtAnalysis::AliEMCalTriggerBinningComponent Class Reference

Global binning definition for the high- \( p_{t} \) charged particle \( p_{t}\) analysis. More...

#include <AliEMCalTriggerBinningComponent.h>

Inheritance diagram for EMCalTriggerPtAnalysis::AliEMCalTriggerBinningComponent:

Public Member Functions

 AliEMCalTriggerBinningComponent ()
 
 AliEMCalTriggerBinningComponent (const AliEMCalTriggerBinningComponent &ref)
 
AliEMCalTriggerBinningComponentoperator= (const AliEMCalTriggerBinningComponent &ref)
 
virtual ~AliEMCalTriggerBinningComponent ()
 
AliEMCalTriggerBinningDimensionGetBinning (const char *name) const
 
void SetBinning (const char *dimname, int nbins, double *binning)
 
void SetBinning (const char *dimname, const TArrayD &binning)
 

Private Attributes

TObjArray * fDimensions
 List of binnings (dimensions) More...
 

Detailed Description

Global binning definition for the high- \( p_{t} \) charged particle \( p_{t}\) analysis.

This class contains the binning definition for various dimensions shared globally among analysis components. The dimensions are handled via the class AliEMCalTriggerBinningDimension. Getters and setters are provided.

Definition at line 126 of file AliEMCalTriggerBinningComponent.h.

Constructor & Destructor Documentation

EMCalTriggerPtAnalysis::AliEMCalTriggerBinningComponent::AliEMCalTriggerBinningComponent ( )

Main constructor

Definition at line 30 of file AliEMCalTriggerBinningComponent.cxx.

EMCalTriggerPtAnalysis::AliEMCalTriggerBinningComponent::AliEMCalTriggerBinningComponent ( const AliEMCalTriggerBinningComponent ref)

Copy constructor, creating a deep copy

Parameters
refReference for the copy

Definition at line 42 of file AliEMCalTriggerBinningComponent.cxx.

EMCalTriggerPtAnalysis::AliEMCalTriggerBinningComponent::~AliEMCalTriggerBinningComponent ( )
virtual

Destructor

Definition at line 77 of file AliEMCalTriggerBinningComponent.cxx.

Referenced by operator=().

Member Function Documentation

AliEMCalTriggerBinningComponent & EMCalTriggerPtAnalysis::AliEMCalTriggerBinningComponent::operator= ( const AliEMCalTriggerBinningComponent ref)

Assignment operator, doing a deep copy

Parameters
refReference for the assignment

Definition at line 59 of file AliEMCalTriggerBinningComponent.cxx.

void EMCalTriggerPtAnalysis::AliEMCalTriggerBinningComponent::SetBinning ( const char *  dimname,
int  nbins,
double *  binning 
)

Set binning for dimension. If not yet existing, create it

Parameters
dimnameaxis name
nbinsNumber of bins
binningarray of bin limits (size nbins+1)

Definition at line 98 of file AliEMCalTriggerBinningComponent.cxx.

Referenced by EMCalTriggerPtAnalysis::AliEMCalTriggerBinningFactory::Create(), and EMCalTriggerPtAnalysis::AliAnalysisTaskPtEMCalTriggerV1::SetBinning().

void EMCalTriggerPtAnalysis::AliEMCalTriggerBinningComponent::SetBinning ( const char *  dimname,
const TArrayD &  binning 
)

Set binning for dimension. If not yet existing, create it

Parameters
dimnameaxis name
nbinsNumber of bins
binningarray of bin limits (size nbins+1)

Definition at line 114 of file AliEMCalTriggerBinningComponent.cxx.

Member Data Documentation

TObjArray* EMCalTriggerPtAnalysis::AliEMCalTriggerBinningComponent::fDimensions
private

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