106 <<
"Target has: " <<
m_Map.size() <<
" records, reference has: " << theRefMap.size() <<
" records";
115 for (
const auto&
key : common) {
118 const auto& refval = theRefMap.at(
key);
120 if ((
val.getPrepMetaData()).
compare(refval.getPrepMetaData()) != 0) {
121 edm::LogPrint(
"DropBoxMetadataPIHelper") <<
"found difference in prep metadata!";
125 if ((
val.getProdMetaData()).
compare(refval.getProdMetaData()) != 0) {
126 edm::LogPrint(
"DropBoxMetadataPIHelper") <<
"found difference in prod metadata!";
130 if ((
val.getMultiMetaData()).
compare(refval.getMultiMetaData()) != 0) {
131 edm::LogPrint(
"DropBoxMetadataPIHelper") <<
"found difference in multi metadata!";
141 if (ref_records.size() > tar_records.size()) {
142 for (
const auto& ref : ref_records) {
143 if (
std::find(tar_records.begin(), tar_records.end(), ref) == tar_records.end()) {
144 const auto& refval = theRefMap.at(ref);
145 edm::LogPrint(
"DropBoxMetadataPIHelper") <<
"key: " << ref <<
" not present in target!";
151 else if (tar_records.size() > ref_records.size()) {
152 for (
const auto& tar : tar_records) {
153 if (
std::find(ref_records.begin(), ref_records.end(), tar) == ref_records.end()) {
154 const auto& tarval =
m_Map.at(tar);
155 edm::LogPrint(
"DropBoxMetadataPIHelper") <<
"key: " << tar <<
" not present in reference!";
bool compare(const P &i, const P &j)
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
tuple key
prepare the HTCondor submission files and eventually submit them
Log< level::Warning, true > LogPrint