![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONEFFICIENCYCORRECTIONS_UTILFUNCTIONS_H
6 #define MUONEFFICIENCYCORRECTIONS_UTILFUNCTIONS_H
31 #endif // MUONEFFICIENCYCORRECTIONS_MUONEFFICIENCYTYPE_H
std::string RandomString(size_t s)
Generates a random string consisting of capital & small letters + numbers.
bool isOverflowBin(const TH1 *Histo, int bin)
Checks whether a global bin number belongs to over/underflow or is in the bulk.
std::string LowerString(const std::string &str)
Lowers all characters in the string.
Select isolated Photons, Electrons and Muons.
std::unique_ptr< TH1 > clone(TH1 *H)
Clones a TH1 and handles the ownership then to a unique_ptr.
std::string EraseWhiteSpaces(std::string str)
Removes beginning and trailing white spaces from a string.
std::string ReplaceExpInString(std::string str, const std::string &exp, const std::string &rep)
Replaces all expressions an string by something else.