Jpp  pmt_effective_area_update
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions | Variables
JGizmoToolkit.hh File Reference
#include <string>
#include <sstream>
#include <map>
#include <cmath>
#include "TError.h"
#include "TFile.h"
#include "TClass.h"
#include "TObject.h"
#include "TKey.h"
#include "TH1.h"
#include "TH2.h"
#include "TGraph.h"
#include "TGraphErrors.h"
#include "TGraph2D.h"
#include "TMultiGraph.h"
#include "TString.h"
#include "TRegexp.h"
#include "TFormula.h"
#include "TF1.h"
#include "TF2.h"
#include "TIterator.h"
#include "TMethod.h"
#include "TMethodCall.h"
#include "TAxis.h"
#include "TMath.h"
#include "JLang/JException.hh"
#include "JGizmo/JRootObjectID.hh"
#include "JDetector/JModuleAddressMap.hh"

Go to the source code of this file.

Classes

struct  JGIZMO::JOpera
 Auxiliary data structure for JOpera1D.cc and JOpera2D.cc applications. More...
 

Namespaces

 JGIZMO
 Auxiliary applications for use of ROOT and more.
 
 JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 

Functions

TFile * JGIZMO::getFile (const std::string &file_name, const std::string &option="exist")
 Get TFile pointer corresponding to give file name. More...
 
TDirectory * JGIZMO::getDirectory (const JRootObjectID &id)
 Get TDirectory pointer. More...
 
TObjectJGIZMO::getObject (const JRootObjectID &id)
 Get first TObject with given identifier. More...
 
bool JGIZMO::isTAttLine (const TObject *object)
 Get drawing option of TH1. More...
 
Double_t JGIZMO::getResult (const TString &text, TObject *object=NULL)
 Get result of given textual formula. More...
 
Double_t JGIZMO::getResult (const std::string &text, TObject *object=NULL)
 Get result of given textual formula. More...
 
int JGIZMO::getParameter (const std::string &text)
 Get parameter number from text string. More...
 
Double_t JGIZMO::getValue (const std::string &text, TObject *object=NULL)
 Get parameter value from text string. More...
 
Double_t JGIZMO::getValue (const std::string &text, const int index)
 Get parameter value from text string. More...
 
void JGIZMO::setLogarithmic (TAxis *axis)
 Make histogram axis logarithmic (e.g. after filling with log10()). More...
 
TString JGIZMO::getLogarithmic (const TString &formula, const char parameter)
 Make given parameter in formula logarithmic (e.g. after filling with log10()). More...
 
void JGIZMO::copy (const TF1 &from, TF1 &to)
 Copy function parameters. More...
 
void JGIZMO::copy (const TF2 &from, TF2 &to)
 Copy function parameters. More...
 
void JGIZMO::setLogarithmicX (TF1 *f1)
 Make parameter x of function logarithmic (e.g. after filling with log10()). More...
 
void JGIZMO::setLogarithmicX (TF2 *f2)
 Make parameter x of function logarithmic (e.g. after filling with log10()). More...
 
void JGIZMO::setLogarithmicY (TF2 *f2)
 Make parameter y of function logarithmic (e.g. after filling with log10()). More...
 
void JGIZMO::setLogarithmicX (TH1 *h1)
 Make X-axis and associated functions of given histogram logarithmic (e.g. after filling with log10()). More...
 
void JGIZMO::setLogarithmicX (TH2 *h2)
 Make X-axis and associated functions of given histogram logarithmic (e.g. after filling with log10()). More...
 
void JGIZMO::setLogarithmicY (TH2 *h2)
 Make Y-axis and associated functions of given histogram logarithmic (e.g. after filling with log10()). More...
 
void JGIZMO::setLogarithmicX (TGraph *g1)
 Make parameter x of graph logarithmic (e.g. after filling with log10()). More...
 
void JGIZMO::setLogarithmicX (TGraph2D *g2)
 Make parameter x of graph logarithmic (e.g. after filling with log10()). More...
 
void JGIZMO::setLogarithmicY (TGraph2D *g2)
 Make parameter y of graph logarithmic (e.g. after filling with log10()). More...
 
void JGIZMO::setLogarithmicX (TMultiGraph *m1)
 Make parameter x of multi graph logarithmic (e.g. after filling with log10()). More...
 
void JGIZMO::convertToPDF (TH1 &h1, const std::string &option="NW", const double factor=1.0)
 Convert 1D histogram to PDF. More...
 
void JGIZMO::convertToPDF (TH2 &h2, const std::string &option="NXYW", const double factor=1.0)
 Convert 2D histogram to PDF. More...
 
void JGIZMO::setLimits (TGraph &g1)
 Set limits of TGraph. More...
 
void JGIZMO::setLimits (TGraph2D &g2)
 Set limits of TGraph2D. More...
 
void JGIZMO::setRange (double &xmin, double &xmax, const bool logx)
 Set axis range. More...
 
void JGIZMO::setAxisLabels (TAxis *axis, const JModuleAddressMap &memo)
 Set axis with PMT address labels. More...
 
void JGIZMO::setAxisLabels (TH1 &h1, const std::string axis, const JModuleAddressMap &memo)
 Set axis labels with PMT addresses. More...
 

Variables

static const char *const JGIZMO::TIMESTAMP = "#splitline{}{#splitline{%d:%m:%y}{ %H:%M}}%F1970-01-01 00:00:00"
 Time stamp of earliest UTC time. More...