AliPhysics  e59a9ba (e59a9ba)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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, const double *binning)
 
void SetBinning (const char *dimname, const TArrayD &binning)
 
void SetLinearBinning (const char *dirname, int nbins, double min, double max)
 

Private Attributes

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

Detailed Description

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

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

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 130 of file AliEMCalTriggerBinningComponent.h.

Constructor & Destructor Documentation

EMCalTriggerPtAnalysis::AliEMCalTriggerBinningComponent::AliEMCalTriggerBinningComponent ( )

Main constructor

Definition at line 31 of file AliEMCalTriggerBinningComponent.cxx.

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

Copy constructor, creating a deep copy.

Parameters
[in]refReference for the copy

Definition at line 43 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
[in]refReference for the assignment

Definition at line 59 of file AliEMCalTriggerBinningComponent.cxx.

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

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

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

Definition at line 96 of file AliEMCalTriggerBinningComponent.cxx.

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

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

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

Parameters
[in]dimnameaxis name
[in]binningarray of bin limits (size nbins+1)

Definition at line 110 of file AliEMCalTriggerBinningComponent.cxx.

void EMCalTriggerPtAnalysis::AliEMCalTriggerBinningComponent::SetLinearBinning ( const char *  dimname,
int  nbins,
double  min,
double  max 
)

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

Parameters
[in]dimnameaxis name
[in]nbinsNumber of bins
[in]minMinimum of the range (= lowest bin limit)
[in]maxMaximum of the range (= highest bin limit)

Definition at line 126 of file AliEMCalTriggerBinningComponent.cxx.

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

Member Data Documentation

TObjArray* EMCalTriggerPtAnalysis::AliEMCalTriggerBinningComponent::fDimensions
private

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