Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions
JGizmoToolkit.hh File Reference
#include <string>
#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 "TGraph2D.h"
#include "TString.h"
#include "TRegexp.h"
#include "TFormula.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
 

Functions

TFile * JGIZMO::getFile (const std::string &file_name, const std::string &option="exist")
 Get TFile pointer. More...
 
TDirectory * JGIZMO::getDirectory (const JRootObjectID &id)
 Get TDirectory pointer. More...
 
TObjectJGIZMO::getObject (const JRootObjectID &id)
 Get TObject. 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...
 
void JGIZMO::setLogarithm (TAxis *axis)
 Make axis logarithmic (e.g. 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)
 initialize axis with PMT address labels More...