#include <string>
#include <vector>
#include <fstream>
#include <sstream>
#include <iostream>
Go to the source code of this file.
Functions | |
int | factorial (int n) |
factorial function More... | |
bool | hexStringToInt64 (const std::string &, std::vector< unsigned long long > &) |
template<class T > | |
bool | stringToNumber (T &tmpl, const std::string &str, std::ios_base &(*f)(std::ios_base &)) |
int factorial | ( | int | n | ) |
factorial function
Definition at line 13 of file L1GlobalTriggerFunctions.cc.
References factorial().
Referenced by EcalClusterToolsT< noZS >::calc_AbsZernikeMoment(), L1GtMuonCondition::evaluateCondition(), L1GtCaloCondition::evaluateCondition(), factorial(), edm::Lumi3DReWeighting::weight3D_init(), and reweight::LumiReWeighting::weight3D_init().
bool hexStringToInt64 | ( | const std::string & | , |
std::vector< unsigned long long > & | |||
) |
convert a hex string to a vector of 64-bit integers, with the vector size depending on the string size return false in case of error
Definition at line 18 of file L1GlobalTriggerFunctions.cc.
References TauDecayModes::dec, and LogTrace.
Referenced by L1GtCorrelationCondition::evaluateCondition().
bool stringToNumber | ( | T & | tmpl, |
const std::string & | str, | ||
std::ios_base &(*)(std::ios_base &) | f | ||
) |
convert a string to a integer-type number the third parameter of stringToNumber should be one of std::hex, std::dec or std::oct
Definition at line 23 of file L1GlobalTriggerFunctions.h.
References f, and cmsPerfPublish::fail().