AliPhysics  ced2227 (ced2227)
AliForwardMultDists::BinSpec Struct Reference

#include <AliForwardMultDists.h>

Public Member Functions

 BinSpec (Double_t etaMin, Double_t etaMax, Double_t nchLow)
 
void Push (UShort_t n, Double_t d)
 
const TAxisAxis () const
 

Public Attributes

Double_t fEtaMin
 
Double_t fEtaMax
 
Double_t fLow
 
TArrayI fN
 
TArrayD fD
 
TAxis fAxis
 

Detailed Description

Structure to define \(\eta\) bins with an \( N_{ch}\) axis

Definition at line 56 of file AliForwardMultDists.h.

Constructor & Destructor Documentation

AliForwardMultDists::BinSpec::BinSpec ( Double_t  etaMin,
Double_t  etaMax,
Double_t  nchLow 
)

Constructor

Parameters
etaMinLow cut on \(\eta\)
etaMaxHigh cut on \(\eta\)
nchLowLowest \( N_{ch}\) (e.g., -0.5);

Definition at line 114 of file AliForwardMultDists.cxx.

Member Function Documentation

const TAxis & AliForwardMultDists::BinSpec::Axis ( ) const

Get the axis computed from the setup using Push

Returns
Reference to the axis

Definition at line 132 of file AliForwardMultDists.cxx.

Referenced by AliForwardMultDists::AddBin(), and AddTaskForwardMultDists().

void AliForwardMultDists::BinSpec::Push ( UShort_t  n,
Double_t  d 
)

Push n bins of with d in \( N_{ch}\) onto the axis

If only a single push is done, then we will get an axis of equally sized bins (d) from \( l\) edge to \( nd+low\) - e.g., if one only does

BinSpec b(e1, e2, -.5);
b.Push(10, 1);

One ends up with 10 bins from -0.5 to 9.5.

Parameters
nNumber of bins to push
dBin width of each of the bins

Definition at line 122 of file AliForwardMultDists.cxx.

Referenced by AddTaskForwardMultDists().

Member Data Documentation

TAxis AliForwardMultDists::BinSpec::fAxis
mutable

Definition at line 95 of file AliForwardMultDists.h.

Referenced by Axis().

TArrayD AliForwardMultDists::BinSpec::fD

Definition at line 94 of file AliForwardMultDists.h.

Referenced by Axis(), and Push().

Double_t AliForwardMultDists::BinSpec::fEtaMax

Definition at line 91 of file AliForwardMultDists.h.

Referenced by AliForwardMultDists::AddBin(), and AddTaskForwardMultDists().

Double_t AliForwardMultDists::BinSpec::fEtaMin

Definition at line 90 of file AliForwardMultDists.h.

Referenced by AliForwardMultDists::AddBin(), and AddTaskForwardMultDists().

Double_t AliForwardMultDists::BinSpec::fLow

Definition at line 92 of file AliForwardMultDists.h.

Referenced by Axis().

TArrayI AliForwardMultDists::BinSpec::fN

Definition at line 93 of file AliForwardMultDists.h.

Referenced by Axis(), and Push().


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