![]() |
AliPhysics
d84cbc0 (d84cbc0)
|
#include <AliBasedNdetaTask.h>
Public Member Functions | |
Sum () | |
Sum (const char *name, const char *postfix) | |
Sum (const Sum &o) | |
Sum & | operator= (const Sum &o) |
~Sum () | |
void | Init (TList *list, const TH2D *data, Int_t col) |
void | Add (const TH2D *data, Bool_t isZero, Double_t weight) |
TString | GetHistName (Int_t what=0) const |
TH2D * | CalcSum (TList *o, Double_t &ntotal, Double_t zeroEff, Double_t otherEff=1, Int_t marker=20, Bool_t rootXproj=false, Bool_t corrEmpty=true) const |
virtual void | Print (Option_t *option="") const |
Static Public Member Functions | |
static TString | GetHistName (const char *name, Int_t what=0, const char *post=0) |
Public Attributes | |
TH2D * | fSum |
TH2D * | fSum0 |
TH1I * | fEvents |
Int_t | fDebug |
Class that holds the sum of the data - possibly split into 0 or non-zero bins
Definition at line 579 of file AliBasedNdetaTask.h.
|
inline |
I/O Constructor - do not use
Definition at line 588 of file AliBasedNdetaTask.h.
|
inline |
Constructor
name | Name |
postfix | Possible post-fix |
Definition at line 595 of file AliBasedNdetaTask.h.
|
inline |
Copy constructor
o | Object to copy from |
Definition at line 607 of file AliBasedNdetaTask.h.
|
inline |
Destructor
Definition at line 630 of file AliBasedNdetaTask.h.
Add an event
data | Data to add |
isZero | If this is zero event |
weight | Event weight |
Definition at line 1128 of file AliBasedNdetaTask.cxx.
Referenced by AliMCTruthdNdetaTask::CentralityBin::ProcessEvent().
TH2D * AliBasedNdetaTask::Sum::CalcSum | ( | TList * | o, |
Double_t & | ntotal, | ||
Double_t | zeroEff, | ||
Double_t | otherEff = 1 , |
||
Int_t | marker = 20 , |
||
Bool_t | rootXproj = false , |
||
Bool_t | corrEmpty = true |
||
) | const |
Get the sum
o | Output list |
ntotal | On return, the total number of events |
zeroEff | Zero-bin efficiency |
otherEff | Non-zero-bin efficiency |
marker | Marker to use |
rootXproj | Whether to use TH2::ProjectionX |
corrEmpty | Correct for empty bins |
Definition at line 1138 of file AliBasedNdetaTask.cxx.
|
static |
Get the histogram name
name | Base name |
what | Which one |
post | Possible postfix |
Definition at line 1106 of file AliBasedNdetaTask.cxx.
Referenced by Init(), and AliBasedNdetaTask::CentralityBin::ReadSum().
Get the histogram name
what | Which one |
Definition at line 1121 of file AliBasedNdetaTask.cxx.
Initialise this object.
list | List to add histograms to |
data | Format of data to be cloned here |
col | Color |
Definition at line 1069 of file AliBasedNdetaTask.cxx.
Assignment operator
o | Object to assign from |
Definition at line 621 of file AliBasedNdetaTask.h.
|
virtual |
Print this sum container
option | Not used |
Definition at line 1277 of file AliBasedNdetaTask.cxx.
Int_t AliBasedNdetaTask::Sum::fDebug |
Definition at line 584 of file AliBasedNdetaTask.h.
Referenced by Init(), and AliBasedNdetaTask::CentralityBin::ReadSum().
TH1I* AliBasedNdetaTask::Sum::fEvents |
Definition at line 583 of file AliBasedNdetaTask.h.
Referenced by Init(), operator=(), and AliBasedNdetaTask::CentralityBin::ReadSum().
TH2D* AliBasedNdetaTask::Sum::fSum |
Definition at line 581 of file AliBasedNdetaTask.h.
Referenced by Init(), operator=(), and AliBasedNdetaTask::CentralityBin::ReadSum().
TH2D* AliBasedNdetaTask::Sum::fSum0 |
Definition at line 582 of file AliBasedNdetaTask.h.
Referenced by Init(), operator=(), and AliBasedNdetaTask::CentralityBin::ReadSum().