35 <<
"Illegal configuration parameter value passed to PoolSource for\n" 36 <<
"the \"duplicateCheckMode\" parameter, legal values are:\n" 37 <<
"\"noDuplicateCheck\", \"checkEachFile\", \"checkEachRealDataFile\", \"checkAllFilesOpened\"\n";
50 std::vector<std::shared_ptr<IndexIntoFile> >
const& indexesIntoFiles,
63 if (indexesIntoFiles[
i].
get() !=
nullptr) {
93 LogWarning(
"DuplicateEvent") <<
"Duplicate Events found in entire set of input files.\n" 94 <<
"Both events were from run " <<
run <<
" and luminosity block " <<
lumi 95 <<
" with event number " <<
event <<
".\n" 96 <<
"The duplicate was from file " <<
fileName <<
".\n" 97 <<
"The duplicate will be skipped.\n";
100 <<
"Both events were from run " <<
run <<
" and luminosity block " <<
lumi 101 <<
" with event number " <<
event <<
".\n" 102 <<
"The duplicate will be skipped.\n";
113 "'checkAllFilesOpened': check across all input files\n" 114 "'checkEachFile': check each input file independently\n" 115 "'checkEachRealDataFile': check each real data input file independently\n" 116 "'noDuplicateCheck': no duplicate checking\n");
bool itIsKnownTheFileHasNoDuplicates_
unsigned long long EventNumber_t
static void fillDescription(ParameterSetDescription &desc)
bool isDuplicateAndCheckActive(int index, RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event, std::string const &fileName)
unsigned int LuminosityBlockNumber_t
bool checkDisabled() const
bool containsDuplicateEvents() const
Returns true if the IndexIntoFile contains 2 events with the same ProcessHistoryID index...
std::set< IndexIntoFile::IndexRunLumiEventKey > relevantPreviousEvents_
Log< level::Warning, false > LogWarning
DuplicateChecker(ParameterSet const &pset)
void inputFileOpened(bool realData, IndexIntoFile const &indexIntoFile, std::vector< std::shared_ptr< IndexIntoFile > > const &indexesIntoFiles, std::vector< std::shared_ptr< IndexIntoFile > >::size_type currentIndexIntoFile)
void set_intersection(IndexIntoFile const &indexIntoFile, std::set< IndexRunLumiEventKey > &intersection) const
DuplicateCheckMode duplicateCheckMode_