|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
    5 #ifndef JETTAGTOOLS_HISTOHELPERROOT_H 
    6 #define JETTAGTOOLS_HISTOHELPERROOT_H 
   17 #include "GaudiKernel/LockedHandle.h" 
   44   std::string 
baseName(
const std::string& fullHistoName); 
 
   45   void bookHisto(
const std::string& histoName, 
const std::string& histoTitle, 
unsigned int bins, 
double minx, 
double maxx);
 
   46   void bookHisto(
const std::string& histoName, 
const std::string& histoTitle, 
unsigned int bins, 
double* edge);
 
   47   void bookHisto(
const std::string& histoName, 
const std::string& histoTitle, 
unsigned int binsx, 
double minx, 
double maxx, 
unsigned int binsy, 
double miny, 
double maxy);
 
   48   void bookHisto(
const std::string& histoName, 
const std::string& histoTitle, 
unsigned int binsx, 
double* edgex, 
unsigned int binsy, 
double* edgey);
 
   49   void bookHisto(
const std::string& histoName, 
const std::string& histoTitle, 
unsigned int binsx, 
double minx, 
double maxx, 
unsigned int binsy, 
double miny, 
double maxy, 
unsigned int binsz, 
double minz, 
double maxz);
 
   50   void fillHisto(
const std::string& histoName, 
double ) 
const;
 
   52   void fillHisto(
const std::string& histoName, 
double, 
double ) 
const;
 
   53   void fillHisto(
const std::string& histoName, 
double, 
double, 
double) 
const;
 
   63   static double Interpol2d(
double, 
double, TH2*);
 
   64   static double Interpol3d(
double, 
double, 
double, TH3*);
 
  
static double Interpol1d(double, TH1 *)
static void smoothASH3D(TH3 *, int m1=3, int m2=3, int m3=2, bool debug=false)
Helper class for histograming.
TH2 *getHisto2D ATLAS_NOT_THREAD_SAFE(const std::string &histoName)
static void smoothASH2D(TH2 *, int m1=3, int m2=3, bool debug=false)
void setCheckOverflows(bool b)
TH3 *getHisto3D ATLAS_NOT_THREAD_SAFE(const std::string &histoName)
static double Interpol2d(double, double, TH2 *)
std::map< std::string, HistoLimits > m_histoLimitsMap1D
void fillHistoWithWeight(const std::string &histoName, double, double) const
void bookHisto(const std::string &histoName, const std::string &histoTitle, unsigned int bins, double minx, double maxx)
HistoHelperRoot(ITHistSvc *)
Constructor with histoSvc only.
TH1 *getHisto1D ATLAS_NOT_THREAD_SAFE(const std::string &histoName)
Histogram accessors (not thread-safe because exposed bare pointer)
static double Interpol3d(double, double, double, TH3 *)
The namespace of all packages in PhysicsAnalysis/JetTagging.
std::string baseName(const std::string &fullHistoName)
std::map< std::string, HistoLimits > m_histoLimitsMap3D
std::map< std::string, HistoLimits > m_histoLimitsMap2D
std::map< std::string, LockedHandle< TH1 > > m_histoMap1D
void fillHisto(const std::string &histoName, double) const
Define macros for attributes used to control the static checker.
std::map< std::string, LockedHandle< TH2 > > m_histoMap2D
std::map< std::string, LockedHandle< TH3 > > m_histoMap3D