ATLAS Offline Software
Namespaces | Functions
PhysicsAnalysis/MuonID/MuonIDAnalysis/MuonEfficiencyCorrections/MuonEfficiencyCorrections/UtilFunctions.h File Reference
#include <string>
#include <vector>
#include <functional>
#include <memory>
#include <TH1.h>
#include <AsgTools/AsgTool.h>
Include dependency graph for PhysicsAnalysis/MuonID/MuonIDAnalysis/MuonEfficiencyCorrections/MuonEfficiencyCorrections/UtilFunctions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 CP
 Select isolated Photons, Electrons and Muons.
 

Functions

std::string CP::EraseWhiteSpaces (std::string str)
 Removes beginning and trailing white spaces from a string. More...
 
std::string CP::ReplaceExpInString (std::string str, const std::string &exp, const std::string &rep)
 Replaces all expressions an string by something else. More...
 
std::string CP::LowerString (const std::string &str)
 Lowers all characters in the string. More...
 
std::string CP::RandomString (size_t s)
 Generates a random string consisting of capital & small letters + numbers. More...
 
std::unique_ptr< TH1CP::clone (TH1 *H)
 Clones a TH1 and handles the ownership then to a unique_ptr. More...
 
bool CP::isOverflowBin (const TH1 *Histo, int bin)
 Checks whether a global bin number belongs to over/underflow or is in the bulk. More...