|
|
Go to the documentation of this file.
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");
DuplicateCheckMode duplicateCheckMode_
bool itIsKnownTheFileHasNoDuplicates_
bool isDuplicateAndCheckActive(int index, RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event, std::string const &fileName)
void set_intersection(IndexIntoFile const &indexIntoFile, std::set< IndexRunLumiEventKey > &intersection) const
static void fillDescription(ParameterSetDescription &desc)
unsigned int LuminosityBlockNumber_t
Log< level::Warning, false > LogWarning
bool checkDisabled() const
unsigned long long EventNumber_t
bool containsDuplicateEvents() const
Returns true if the IndexIntoFile contains 2 events with the same ProcessHistoryID index,...
T const & get(Event const &event, InputTag const &tag) noexcept(false)
void inputFileOpened(bool realData, IndexIntoFile const &indexIntoFile, std::vector< std::shared_ptr< IndexIntoFile > > const &indexesIntoFiles, std::vector< std::shared_ptr< IndexIntoFile > >::size_type currentIndexIntoFile)
std::set< IndexIntoFile::IndexRunLumiEventKey > relevantPreviousEvents_
DuplicateChecker(ParameterSet const &pset)