10 #include <openssl/md5.h>
16 gSystem->Load(
"libFWCoreFWLite");
20 std::cout <<
"Usage : " << argv[0] <<
" [your_cutflow_only.py] "
21 <<
"[cutflow_name] " << std::endl;
26 std::cout <<
" ERROR: ParametersSet '" << argv[2] <<
"' is missing in your configuration file" << std::endl;
36 throw cms::Exception(
"InvalidConfiguration") <<
"IDs are not allowed to have untracked parameters"
37 <<
" in the configuration ParameterSet!";
41 unsigned char id_md5_[MD5_DIGEST_LENGTH];
42 memset(id_md5_, 0, MD5_DIGEST_LENGTH *
sizeof(
unsigned char));
43 MD5((
const unsigned char*)tracked.c_str(), tracked.size(), id_md5_);
45 for (
unsigned i = 0;
i < MD5_DIGEST_LENGTH; ++
i) {
std::string dump(unsigned int indent=0) const
ParameterSet trackedPart() const
printf("params %d %f %f %f\n", minT, eps, errmax, chi2max)
static void enable()
enable automatic library loading
std::unique_ptr< edm::ParameterSet > readPSetsFrom(std::string const &fileOrString)