10 #include <openssl/md5.h> 18 gSystem->Load(
"libFWCoreFWLite" );
23 <<
" [your_cutflow_only.py] " 24 <<
"[cutflow_name] "<< std::endl;
29 std::cout <<
" ERROR: ParametersSet '"<< argv[2]
30 <<
"' is missing in your configuration file" 31 << std::endl;
exit(0);
39 if ( tracked != untracked ) {
41 <<
"IDs are not allowed to have untracked parameters" 42 <<
" in the configuration ParameterSet!";
46 unsigned char id_md5_[MD5_DIGEST_LENGTH];
47 memset(id_md5_,0,MD5_DIGEST_LENGTH*
sizeof(
unsigned char));
48 MD5((
const unsigned char*)tracked.c_str(), tracked.size(), id_md5_);
49 printf(
"%s : ",argv[2]);
50 for(
unsigned i=0;
i<MD5_DIGEST_LENGTH; ++
i ){
51 printf(
"%02x", id_md5_[
i]);
std::string dump(unsigned int indent=0) const
ParameterSet trackedPart() const
int main(int argc, char **argv)
static void enable()
enable automatic library loading
std::unique_ptr< edm::ParameterSet > readPSetsFrom(std::string const &fileOrString)