ATLAS Offline Software
Namespaces | Functions
PhysicsAnalysis/MuonID/MuonIDAnalysis/MuonEfficiencyCorrections/Root/UtilFunctions.cxx File Reference
#include "TH1.h"
#include "TLorentzVector.h"
#include <locale>
Include dependency graph for PhysicsAnalysis/MuonID/MuonIDAnalysis/MuonEfficiencyCorrections/Root/UtilFunctions.cxx:

Go to the source code of this file.

Namespaces

 CP
 Select isolated Photons, Electrons and Muons.
 

Functions

std::string CP::RandomString (size_t s)
 Generates a random string consisting of capital & small letters + numbers. 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::EraseWhiteSpaces (std::string str)
 Removes beginning and trailing white spaces from a string. More...
 
std::string CP::LowerString (const std::string &str)
 Lowers all characters in the string. 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...