CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Namespaces | Functions
Tools.h File Reference
#include "TH1F.h"
#include "TH2F.h"
#include "TArrayF.h"
#include "TObjArray.h"
#include "TCanvas.h"
#include "TFile.h"
#include <iostream>
#include <string>
#include <sstream>

Go to the source code of this file.

Namespaces

 RecoBTag
 

Functions

int RecoBTag::checkCreateDirectory (const std::string &)
 
int RecoBTag::findBinClosestYValue (const TH1F *, const float &yVal, const float &yLow, const float &yHigh)
 
std::vector< int > RecoBTag::findBinClosestYValueAtFixedZ (const TH2F *, const float &yVal, const float &yLow, const float &yHigh, const TH2F *, const std::vector< double > &zVal)
 
void RecoBTag::fixOverlay ()
 
std::string RecoBTag::flavour (const int &flav)
 
bool RecoBTag::flavourIsB (const int &flav)
 
bool RecoBTag::flavourIsC (const int &flav)
 
bool RecoBTag::flavourIsD (const int &flav)
 
bool RecoBTag::flavourIsDUS (const int &flav)
 
bool RecoBTag::flavourIsDUSG (const int &flav)
 
bool RecoBTag::flavourIsG (const int &flav)
 
bool RecoBTag::flavourIsNI (const int &flav)
 
bool RecoBTag::flavourIsS (const int &flav)
 
bool RecoBTag::flavourIsU (const int &flav)
 
TObjArray RecoBTag::getHistArray (TFile *histoFile, const std::string &baseName)
 
double RecoBTag::HistoBinWidth (const TH1F *theHisto, const int &iBin)
 
void RecoBTag::HistoToNormalizedArrays (const TH1F *theHisto, TArrayF &theNormalizedArray, TArrayF &theLeftOfBinArray, TArrayF &theBinWidthArray)
 
double RecoBTag::IntegrateArray (const TArrayF &theArray, const TArrayF &theBinWidth)
 
double RecoBTag::IntegrateHistogram (const TH1F *theHisto)
 
std::string RecoBTag::itos (const int &i)
 
void RecoBTag::PrintCanvasHistos (TCanvas *canvas, const std::string &psFile, const std::string &epsFile, const std::string &gifFile)
 
void RecoBTag::PrintHistos (const std::string &psFile, const std::string &epsFile, const std::string &gifFile)
 
TStyle * RecoBTag::setTDRStyle ()
 
void RecoBTag::tdrGrid (const bool &gridOn)