![]() |
AliPhysics
a88b1f0 (a88b1f0)
|
Public Member Functions | |
Spectra () | |
Spectra (const char *name, const char *title, Color_t color, const TArrayD &bins) | |
Spectra (const Spectra &o) | |
virtual | ~Spectra () |
Spectra & | operator= (const Spectra &o) |
const char * | GetName () const |
void | Fill (Bool_t primary, Double_t x) |
TH1 * | Hist (Bool_t primary) const |
virtual void | Stack (THStack *stack, TLegend *leg) |
Long64_t | Merge (TCollection *list) |
Bool_t | Add (const Spectra *oth) |
void | ls (Option_t *option="") const |
void | Store (TDirectory *dir) |
ClassDef (Spectra, 1) | |
Public Attributes | |
TString | fName |
TH1 * | fPrimary |
TH1 * | fSecondary |
Container of primary/secondary histograms
Definition at line 96 of file TupleSelector.C.
|
inline |
I/O CTOR
Definition at line 107 of file TupleSelector.C.
|
inline |
User CTOR
name | Name |
title | Title |
color | Color |
bins | Bin definition |
Definition at line 118 of file TupleSelector.C.
|
inline |
|
inlinevirtual |
DTOR
Definition at line 162 of file TupleSelector.C.
Definition at line 276 of file TupleSelector.C.
Referenced by Merge(), and Ring::Merge().
Spectra::ClassDef | ( | Spectra | , |
1 | |||
) |
Fill into histogram
primary | true if for primary |
x | What to fill |
Definition at line 201 of file TupleSelector.C.
Referenced by Ring::Fill().
|
inline |
Get a histogram
primary | If true, get histogram for primaries, otherwise for secondaries. |
Definition at line 214 of file TupleSelector.C.
Referenced by Ring::Hist(), and TupleSelector::PlotOne().
|
inline |
|
inline |
Merge this object with similar objects in the list.
list | list of objects |
Definition at line 259 of file TupleSelector.C.
Assigment operator
o | Object to assign from |
Definition at line 174 of file TupleSelector.C.
|
inlinevirtual |
Add the histograms to a stack and legend
stack | Stack to add to |
leg | Legend |
Definition at line 224 of file TupleSelector.C.
Referenced by TupleSelector::PlotOne().
|
inline |
Store this on file
dir | Parent directory |
Definition at line 316 of file TupleSelector.C.
Referenced by Ring::Store().
TString Spectra::fName |
The name
Definition at line 99 of file TupleSelector.C.
Referenced by Add(), GetName(), operator=(), Store(), and Type::Type().
TH1* Spectra::fPrimary |
Primaries
Definition at line 101 of file TupleSelector.C.
Referenced by Add(), Fill(), Hist(), ls(), operator=(), Spectra(), Stack(), Store(), Type::Type(), and ~Spectra().
TH1* Spectra::fSecondary |
Secondaries
Definition at line 103 of file TupleSelector.C.
Referenced by Add(), Fill(), Hist(), ls(), operator=(), Spectra(), Stack(), Store(), Type::Type(), and ~Spectra().