15 itIsKnownTheFileHasNoDuplicates_(
false),
34 <<
"Illegal configuration parameter value passed to PoolSource for\n"
35 <<
"the \"duplicateCheckMode\" parameter, legal values are:\n"
36 <<
"\"noDuplicateCheck\", \"checkEachFile\", \"checkEachRealDataFile\", \"checkAllFilesOpened\"\n";
50 std::vector<boost::shared_ptr<IndexIntoFile> >
const& indexesIntoFiles,
51 std::vector<boost::shared_ptr<IndexIntoFile> >::
size_type currentIndexIntoFile) {
63 for(std::vector<boost::shared_ptr<IndexIntoFile> >::
size_type i = 0;
i < currentIndexIntoFile; ++
i) {
64 if (indexesIntoFiles[
i].
get() != 0) {
98 <<
"Duplicate Events found in entire set of input files.\n"
99 <<
"Both events were from run " << run
100 <<
" and luminosity block " << lumi
101 <<
" with event number " <<
event <<
".\n"
102 <<
"The duplicate was from file " << fileName <<
".\n"
103 <<
"The duplicate will be skipped.\n";
107 <<
"Duplicate Events found in file " << fileName <<
".\n"
108 <<
"Both events were from run " << run
109 <<
" and luminosity block " << lumi
110 <<
" with event number " <<
event <<
".\n"
111 <<
"The duplicate will be skipped.\n";
122 "'checkAllFilesOpened': check across all input files\n"
123 "'checkEachFile': check each input file independently\n"
124 "'checkEachRealDataFile': check each real data input file independently\n"
125 "'noDuplicateCheck': no duplicate checking\n"
T getUntrackedParameter(std::string const &, T const &) const
bool checkDisabled() const
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
unsigned int EventNumber_t
bool itIsKnownTheFileHasNoDuplicates_
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
void inputFileOpened(bool realData, IndexIntoFile const &indexIntoFile, std::vector< boost::shared_ptr< IndexIntoFile > > const &indexesIntoFiles, std::vector< boost::shared_ptr< IndexIntoFile > >::size_type currentIndexIntoFile)
void set_intersection(IndexIntoFile const &indexIntoFile, std::set< IndexRunLumiEventKey > &intersection) const
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
bool containsDuplicateEvents() const
Returns true if the IndexIntoFile contains 2 events with the same ProcessHistoryID index...
std::set< IndexIntoFile::IndexRunLumiEventKey > relevantPreviousEvents_
DuplicateChecker(ParameterSet const &pset)
DuplicateCheckMode duplicateCheckMode_