AliPhysics  4e47bdd (4e47bdd)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
 
 ClassDef (Histos, 2)
 

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 596 of file AliForwardUtil.h.

Constructor & Destructor Documentation

AliForwardUtil::Histos::Histos ( )
inline

Constructor

Definition at line 601 of file AliForwardUtil.h.

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

Copy constructor

Parameters
oObject to copy from

Definition at line 607 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 912 of file AliForwardUtil.cxx.

Member Function Documentation

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

Clear data

Parameters
optionNot used

Definition at line 1019 of file AliForwardUtil.cxx.

Referenced by 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 921 of file AliForwardUtil.cxx.

void AliForwardUtil::Histos::Init ( const TAxis etaAxis)
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 938 of file AliForwardUtil.cxx.

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

Assignement operator

Returns
Reference to this

Definition at line 620 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 973 of file AliForwardUtil.cxx.

Referenced by AliForwardMCMultiplicityTask::InitMembers().

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

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

Parameters
etaAxisEta axis to use

Definition at line 1002 of file AliForwardUtil.cxx.

Referenced by AliForwardMultiplicityBase::InitMembers().

Member Data Documentation

TH2D* AliForwardUtil::Histos::fFMD1i

Definition at line 676 of file AliForwardUtil.h.

Referenced by AliForwardMultiplicityBase::CreateBranches().

TH2D* AliForwardUtil::Histos::fFMD2i

Definition at line 677 of file AliForwardUtil.h.

Referenced by AliForwardMultiplicityBase::CreateBranches().

TH2D* AliForwardUtil::Histos::fFMD2o

Definition at line 678 of file AliForwardUtil.h.

Referenced by AliForwardMultiplicityBase::CreateBranches().

TH2D* AliForwardUtil::Histos::fFMD3i

Definition at line 679 of file AliForwardUtil.h.

Referenced by AliForwardMultiplicityBase::CreateBranches().

TH2D* AliForwardUtil::Histos::fFMD3o

Definition at line 680 of file AliForwardUtil.h.

Referenced by AliForwardMultiplicityBase::CreateBranches().


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