#include <DuplicateChecker.h>
Definition at line 30 of file DuplicateChecker.h.
◆ DataType
◆ DuplicateCheckMode
Enumerator |
---|
noDuplicateCheck | |
checkEachFile | |
checkEachRealDataFile | |
checkAllFilesOpened | |
Definition at line 60 of file DuplicateChecker.h.
◆ DuplicateChecker()
edm::DuplicateChecker::DuplicateChecker |
( |
ParameterSet const & |
pset | ) |
|
Definition at line 13 of file DuplicateChecker.cc.
35 <<
"Illegal configuration parameter value passed to PoolSource for\n"
36 <<
"the \"duplicateCheckMode\" parameter, legal values are:\n"
37 <<
"\"noDuplicateCheck\", \"checkEachFile\", \"checkEachRealDataFile\", \"checkAllFilesOpened\"\n";
References checkAllFilesOpened, checkEachFile, checkEachRealDataFile, EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::duplicateCheckMode, duplicateCheckMode_, Exception, noDuplicateCheck, muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
◆ checkDisabled()
bool edm::DuplicateChecker::checkDisabled |
( |
| ) |
const |
|
inline |
◆ checkingAllFiles()
bool edm::DuplicateChecker::checkingAllFiles |
( |
| ) |
const |
|
inline |
◆ disable()
void edm::DuplicateChecker::disable |
( |
| ) |
|
◆ fillDescription()
◆ inputFileClosed()
void edm::DuplicateChecker::inputFileClosed |
( |
| ) |
|
◆ inputFileOpened()
void edm::DuplicateChecker::inputFileOpened |
( |
bool |
realData, |
|
|
IndexIntoFile const & |
indexIntoFile, |
|
|
std::vector< std::shared_ptr< IndexIntoFile > > const & |
indexesIntoFiles, |
|
|
std::vector< std::shared_ptr< IndexIntoFile > >::size_type |
currentIndexIntoFile |
|
) |
| |
Definition at line 48 of file DuplicateChecker.cc.
62 for (std::vector<std::shared_ptr<IndexIntoFile> >::
size_type i = 0;
i < currentIndexIntoFile; ++
i) {
63 if (indexesIntoFiles[
i].
get() !=
nullptr) {
69 if (!indexIntoFile.containsDuplicateEvents()) {
References checkAllFilesOpened, checkDisabled(), edm::IndexIntoFile::containsDuplicateEvents(), dataType_, duplicateCheckMode_, edm::get(), mps_fire::i, isRealData, isSimulation, itIsKnownTheFileHasNoDuplicates_, relevantPreviousEvents_, and edm::IndexIntoFile::set_intersection().
◆ isDuplicateAndCheckActive()
◆ noDuplicatesInFile()
bool edm::DuplicateChecker::noDuplicatesInFile |
( |
| ) |
const |
|
inline |
◆ dataType_
DataType edm::DuplicateChecker::dataType_ |
|
private |
◆ disabled_
bool edm::DuplicateChecker::disabled_ |
|
private |
◆ duplicateCheckMode_
◆ itIsKnownTheFileHasNoDuplicates_
bool edm::DuplicateChecker::itIsKnownTheFileHasNoDuplicates_ |
|
private |
◆ relevantPreviousEvents_