![]() |
AliPhysics
a76316e (a76316e)
|
#include <AliForwardMultDists.h>
Public Member Functions | |
EtaBin () | |
EtaBin (Double_t minEta, Double_t maxEta, const TAxis &mAxis) | |
EtaBin (const EtaBin &o) | |
EtaBin & | operator= (const EtaBin &o) |
virtual | ~EtaBin () |
const char * | GetName () const |
Bool_t | IsSymmetric () const |
Bool_t | IsNegative () const |
Bool_t | IsPositive () const |
const char * | ParentName () const |
TList * | FindParent (TList *l, Bool_t create=true) const |
void | SetupForData (TList *list, const TH2 &hist, Bool_t useMC) |
void | Process (const TH1 &sumForward, const TH1 &sumCentral, const TH2 &forward, const TH2 ¢ral, Bool_t accepted, const TH1 *mc) |
void | Terminate (TList *in, TList *out) |
Static Public Member Functions | |
static TH1 * | CreateH1 (const char *name, const char *title, const TAxis &xAxis) |
static TH2 * | CreateH2 (const char *name, const char *title, const TAxis &xAxis, const TAxis &yAxis) |
Public Attributes | |
TString | fName |
TAxis | fMAxis |
TAxis | fTAxis |
Double_t | fMinEta |
Double_t | fMaxEta |
Int_t | fMinBin |
Int_t | fMaxBin |
TH1 * | fSum |
TH2 * | fCorr |
TH2 * | fResponse |
TH1 * | fTruth |
TH1 * | fTruthAccepted |
TH1 * | fCoverage |
An \(\eta\) bin. Objects of this class are streamed and we should make a dictionary for them. That means the class should be public. That does not mean that the class should be used outside of this (or a derived) class.
Definition at line 197 of file AliForwardMultDists.h.
AliForwardMultDists::EtaBin::EtaBin | ( | ) |
I/O constructor
Definition at line 610 of file AliForwardMultDists.cxx.
User constructor
minEta | Least \(\eta\) to consider |
maxEta | Largest \(\eta\) to consider |
mAxis | The \( N_{ch}\) axis to use for measured data |
Definition at line 631 of file AliForwardMultDists.cxx.
AliForwardMultDists::EtaBin::EtaBin | ( | const EtaBin & | o | ) |
Copy constructor
o | object to copy fron |
Definition at line 686 of file AliForwardMultDists.cxx.
|
inlinevirtual |
Destructor
Definition at line 228 of file AliForwardMultDists.h.
|
static |
Create a 1D histogram with specified axis
name | Name of histogram |
title | Title of histogram |
xAxis | X-axis to use |
Definition at line 783 of file AliForwardMultDists.cxx.
Referenced by SetupForData().
|
static |
Create a 2D histogram with specified axis
name | Name of histogram |
title | Title of histogram |
xAxis | X-axis to use |
yAxis | Y-axis to use |
Definition at line 797 of file AliForwardMultDists.cxx.
Referenced by SetupForData().
Find the parent container. if not found, and create is true, then make the container.
l | Top container |
create | If true, create container if not found |
Definition at line 753 of file AliForwardMultDists.cxx.
Referenced by SetupForData(), and Terminate().
|
inline |
Get the name of the bin
Definition at line 232 of file AliForwardMultDists.h.
Referenced by AliForwardMultDists::Print(), SetupForData(), and Terminate().
Bool_t AliForwardMultDists::EtaBin::IsNegative | ( | ) | const |
Is this bin positive only?
Definition at line 732 of file AliForwardMultDists.cxx.
Referenced by AliForwardMultDists::Finalize(), and ParentName().
Bool_t AliForwardMultDists::EtaBin::IsPositive | ( | ) | const |
Is this bin positive only?
Definition at line 738 of file AliForwardMultDists.cxx.
Referenced by AliForwardMultDists::Finalize(), and ParentName().
Bool_t AliForwardMultDists::EtaBin::IsSymmetric | ( | ) | const |
Is this bin symmetric around 0?
Definition at line 726 of file AliForwardMultDists.cxx.
Referenced by AliForwardMultDists::Finalize(), and ParentName().
AliForwardMultDists::EtaBin & AliForwardMultDists::EtaBin::operator= | ( | const EtaBin & | o | ) |
Assignment operator
o | object to assign from |
Definition at line 704 of file AliForwardMultDists.cxx.
const char * AliForwardMultDists::EtaBin::ParentName | ( | ) | const |
Get parent container name
Definition at line 744 of file AliForwardMultDists.cxx.
Referenced by FindParent(), and Terminate().
void AliForwardMultDists::EtaBin::Process | ( | const TH1 & | sumForward, |
const TH1 & | sumCentral, | ||
const TH2 & | forward, | ||
const TH2 & | central, | ||
Bool_t | accepted, | ||
const TH1 * | mc | ||
) |
Process a single event
sumForward | Projection of forward data |
sumCentral | Projection of the central data |
forward | The original forward data |
central | The original central data |
accepted | True if event is accepted for analysis |
mc | Distribution of primary particles from MC |
Definition at line 934 of file AliForwardMultDists.cxx.
Referenced by AliForwardMultDists::Event().
Set-up internal structures on first event.
list | List to add information to |
hist | Template histogram |
useMC | Whether to set-up for MC input |
fTruth->SetOption("");
fTruth->SetOption("");
Definition at line 833 of file AliForwardMultDists.cxx.
Referenced by AliForwardMultDists::PreData().
Called at the end of the final processing of the job on the full data set (merged data)
in | Input list |
out | Output list |
Definition at line 1044 of file AliForwardMultDists.cxx.
Referenced by AliForwardMultDists::Finalize().
TH2* AliForwardMultDists::EtaBin::fCorr |
Definition at line 323 of file AliForwardMultDists.h.
Referenced by operator=(), Process(), and SetupForData().
TH1* AliForwardMultDists::EtaBin::fCoverage |
Definition at line 327 of file AliForwardMultDists.h.
Referenced by operator=(), Process(), and SetupForData().
Int_t AliForwardMultDists::EtaBin::fMaxBin |
Definition at line 321 of file AliForwardMultDists.h.
Referenced by operator=(), Process(), and SetupForData().
Double_t AliForwardMultDists::EtaBin::fMaxEta |
Definition at line 319 of file AliForwardMultDists.h.
Referenced by EtaBin(), IsNegative(), IsPositive(), IsSymmetric(), operator=(), and SetupForData().
TAxis AliForwardMultDists::EtaBin::fMAxis |
Definition at line 316 of file AliForwardMultDists.h.
Referenced by EtaBin(), operator=(), and SetupForData().
Int_t AliForwardMultDists::EtaBin::fMinBin |
Definition at line 320 of file AliForwardMultDists.h.
Referenced by operator=(), Process(), and SetupForData().
Double_t AliForwardMultDists::EtaBin::fMinEta |
Definition at line 318 of file AliForwardMultDists.h.
Referenced by EtaBin(), IsNegative(), IsPositive(), IsSymmetric(), operator=(), and SetupForData().
TString AliForwardMultDists::EtaBin::fName |
Definition at line 315 of file AliForwardMultDists.h.
Referenced by EtaBin(), and operator=().
TH2* AliForwardMultDists::EtaBin::fResponse |
Definition at line 324 of file AliForwardMultDists.h.
Referenced by operator=(), Process(), and SetupForData().
TH1* AliForwardMultDists::EtaBin::fSum |
Definition at line 322 of file AliForwardMultDists.h.
Referenced by AliForwardMultDists::Finalize(), operator=(), Process(), SetupForData(), and Terminate().
TAxis AliForwardMultDists::EtaBin::fTAxis |
Definition at line 317 of file AliForwardMultDists.h.
Referenced by EtaBin(), operator=(), and SetupForData().
TH1* AliForwardMultDists::EtaBin::fTruth |
Definition at line 325 of file AliForwardMultDists.h.
Referenced by AliForwardMultDists::Finalize(), operator=(), Process(), SetupForData(), and Terminate().
TH1* AliForwardMultDists::EtaBin::fTruthAccepted |
Definition at line 326 of file AliForwardMultDists.h.
Referenced by AliForwardMultDists::Finalize(), operator=(), Process(), SetupForData(), and Terminate().