Jpp
|
Auxiliary applications for use of ROOT and more. More...
Classes | |
class | JCanvas |
Data structure for size of TCanvas. More... | |
struct | JOpera |
Auxiliary data structure for JOpera1D.cc and JOpera2D.cc applications. More... | |
class | JLegend |
Wrapper class for ROOT TLegend. More... | |
class | JLineAttributes |
Auxiliary class to set line attributes. More... | |
class | JManager |
Auxiliary class to manage set of compatible ROOT objects (e.g. More... | |
class | JMarkerAttributes |
Auxiliary class to set marker attributes. More... | |
class | JRootObject |
Auxiliary data structure for TObject with a user defined label. More... | |
class | JRootObjectID |
Auxiliary class to handle file name, ROOT directory and object name. More... | |
class | JStyle |
Wrapper class around ROOT TStyle. More... | |
struct | JVolume |
Auxiliary class for histogramming of effective volume. More... | |
Functions | |
TFile * | getFile (const std::string &file_name, const std::string &option="exist") |
Get TFile pointer. More... | |
TDirectory * | getDirectory (const JRootObjectID &id) |
Get TDirectory pointer. More... | |
TObject * | getObject (const JRootObjectID &id) |
Get TObject. More... | |
bool | isTAttLine (const TObject *object) |
Get drawing option of TH1. More... | |
Double_t | getResult (const TString &text, TObject *object=NULL) |
Get result of given textual formula. More... | |
Double_t | getResult (const std::string &text, TObject *object=NULL) |
Get result of given textual formula. More... | |
int | getParameter (const std::string &text) |
Get parameter number from text string. More... | |
Double_t | getValue (const std::string &text, TObject *object=NULL) |
Get parameter value from text string. More... | |
void | setLogarithm (TAxis *axis) |
Make axis logarithmic (e.g. More... | |
void | convertToPDF (TH1 &h1, const std::string &option="NW", const double factor=1.0) |
Convert 1D histogram to PDF. More... | |
void | convertToPDF (TH2 &h2, const std::string &option="NXYW", const double factor=1.0) |
Convert 2D histogram to PDF. More... | |
void | setLimits (TGraph &g1) |
Set limits of TGraph. More... | |
void | setLimits (TGraph2D &g2) |
Set limits of TGraph2D. More... | |
void | setRange (double &xmin, double &xmax, const bool logx) |
Set axis range. More... | |
void | setAxisLabels (TAxis *axis, const JModuleAddressMap &memo) |
initialize axis with PMT address labels More... | |
Variables | |
static const char | LABEL_TERMINATOR = '&' |
label terminator More... | |
Auxiliary applications for use of ROOT and more.
|
inline |
Get TFile pointer.
The TFile pointer of an already opened file is recovered, else a new file is opened.
file_name | file name |
option | TFile::Open option |
Definition at line 84 of file JGizmoToolkit.hh.
|
inline |
Get TDirectory pointer.
The TFile pointer of an already opened file is recovered, else a new file is opened.
id | identifier |
Definition at line 116 of file JGizmoToolkit.hh.
|
inline |
Get TObject.
id | identifier |
Definition at line 137 of file JGizmoToolkit.hh.
|
inline |
Get drawing option of TH1.
object | pointer to TObject |
Definition at line 169 of file JGizmoToolkit.hh.
|
inline |
Get result of given textual formula.
The formula may contain names of member methods of the object pointed to. These methods should have no arguments and the return type Double_t
. Example:
getResult("1.0/GetEntries", TH1*);
text | text |
object | pointer to object |
Definition at line 207 of file JGizmoToolkit.hh.
|
inline |
Get result of given textual formula.
The formula may contain names of member methods of the object pointed to. These methods should have no arguments and the return type Double_t
. Example:
getResult("1.0/GetEntries", TH1*);
text | text |
object | pointer to object |
Definition at line 250 of file JGizmoToolkit.hh.
|
inline |
Get parameter number from text string.
The number corresponds to the value [0-9]*
in the expression "p[0-9]* = .."
.
text | text |
Definition at line 263 of file JGizmoToolkit.hh.
|
inline |
Get parameter value from text string.
The formula may contain names of member methods of the object pointed to. These methods should have no arguments and the return type Double_t
. Example:
getValue("p[..] = 2*GetMaximum", TH1*);
text | text |
object | pointer to object |
Definition at line 293 of file JGizmoToolkit.hh.
|
inline |
Make axis logarithmic (e.g.
after filling with log10()).
axis | axis |
Definition at line 311 of file JGizmoToolkit.hh.
|
inline |
Convert 1D histogram to PDF.
Possible options are:
h1 | histogram |
option | option |
factor | scaling factor |
Definition at line 341 of file JGizmoToolkit.hh.
|
inline |
Convert 2D histogram to PDF.
Possible options are:
h2 | histogram |
option | option |
factor | scaling factor |
Definition at line 390 of file JGizmoToolkit.hh.
|
inline |
|
inline |
|
inline |
Set axis range.
xmin | lower limit (I/O) |
xmax | upper limit (I/O) |
logx | logarithmic |
Definition at line 547 of file JGizmoToolkit.hh.
|
inline |
initialize axis with PMT address labels
axis | axis |
memo | default module address map |
Definition at line 578 of file JGizmoToolkit.hh.
|
static |
label terminator
Definition at line 21 of file JRootObject.hh.