AliPhysics  59e0e03 (59e0e03)
AliForwardUtil::Histos Struct Reference

#include <AliForwardUtil.h>

Inheritance diagram for AliForwardUtil::Histos:

Public Member Functions

 Histos ()
 
 Histos (const Histos &o)
 
Histosoperator= (const Histos &)
 
 ~Histos ()
 
void Delete (Option_t *opt="")
 
void Init (const TAxis &etaAxis)
 
void ReInit (const TAxis &etaAxis)
 
void Clear (Option_t *option="")
 
TH2DGet (UShort_t d, Char_t r) const
 

Static Public Member Functions

static TH2DMake (UShort_t d, Char_t r, const TAxis &etaAxis)
 
static void RebinEta (TH2D *hist, const TAxis &etaAxis)
 

Public Attributes

TH2DfFMD1i
 
TH2DfFMD2i
 
TH2DfFMD2o
 
TH2DfFMD3i
 
TH2DfFMD3o
 

Detailed Description

Structure to hold histograms

Definition at line 612 of file AliForwardUtil.h.

Constructor & Destructor Documentation

AliForwardUtil::Histos::Histos ( )
inline

Constructor

Definition at line 617 of file AliForwardUtil.h.

AliForwardUtil::Histos::Histos ( const Histos o)
inline

Copy constructor

Parameters
oObject to copy from

Definition at line 623 of file AliForwardUtil.h.

AliForwardUtil::Histos::~Histos ( )

Destructor. This does not delete the interally allocated memory. Use the member function Delete for that.

Definition at line 943 of file AliForwardUtil.cxx.

Referenced by operator=().

Member Function Documentation

void AliForwardUtil::Histos::Clear ( Option_t option = "")

Clear data

Parameters
optionNot used

Definition at line 1050 of file AliForwardUtil.cxx.

Referenced by operator=(), AliForwardMultiplicityTask::PreEvent(), AliForwardMCMultiplicityTask::PreEvent(), and AliForwardQATask::PreEvent().

void AliForwardUtil::Histos::Delete ( Option_t opt = "")

Clear internal memory. Note, if the internal histograms are added to an output container, then we must not free this memory.

Definition at line 952 of file AliForwardUtil.cxx.

Referenced by operator=().

TH2D * AliForwardUtil::Histos::Make ( UShort_t  d,
Char_t  r,
const TAxis etaAxis 
)
static

Make a histogram

Parameters
dDetector
rRing
etaAxisEta axis to use
Returns
Newly allocated histogram

Definition at line 969 of file AliForwardUtil.cxx.

Referenced by operator=().

Histos& AliForwardUtil::Histos::operator= ( const Histos )
inline

Assignement operator

Returns
Reference to this

Definition at line 636 of file AliForwardUtil.h.

void AliForwardUtil::Histos::RebinEta ( TH2D hist,
const TAxis etaAxis 
)
static

Set the \(\eta\) axis

Parameters
histHistogram
etaAxis\(\eta\) axis to use

Definition at line 1004 of file AliForwardUtil.cxx.

Referenced by AliForwardMCMultiplicityTask::InitMembers(), and operator=().

void AliForwardUtil::Histos::ReInit ( const TAxis etaAxis)

Re-initialize the object with new \(\eta\) axis

Parameters
etaAxisEta axis to use

Definition at line 1033 of file AliForwardUtil.cxx.

Referenced by AliForwardMultiplicityBase::InitMembers(), and operator=().

Member Data Documentation

TH2D* AliForwardUtil::Histos::fFMD1i
TH2D* AliForwardUtil::Histos::fFMD2i
TH2D* AliForwardUtil::Histos::fFMD2o
TH2D* AliForwardUtil::Histos::fFMD3i
TH2D* AliForwardUtil::Histos::fFMD3o

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