#include <DuplicateChecker.h>
Public Member Functions | |
bool | checkDisabled () const |
bool | checkingAllFiles () const |
void | disable () |
DuplicateChecker (ParameterSet const &pset) | |
void | inputFileClosed () |
void | inputFileOpened (bool realData, IndexIntoFile const &indexIntoFile, std::vector< std::shared_ptr< IndexIntoFile > > const &indexesIntoFiles, std::vector< std::shared_ptr< IndexIntoFile > >::size_type currentIndexIntoFile) |
bool | isDuplicateAndCheckActive (int index, RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event, std::string const &fileName) |
bool | noDuplicatesInFile () const |
Static Public Member Functions | |
static void | fillDescription (ParameterSetDescription &desc) |
Private Types | |
enum | DataType { isRealData, isSimulation, unknown } |
enum | DuplicateCheckMode { noDuplicateCheck, checkEachFile, checkEachRealDataFile, checkAllFilesOpened } |
Private Attributes | |
DataType | dataType_ |
bool | disabled_ |
DuplicateCheckMode | duplicateCheckMode_ |
bool | itIsKnownTheFileHasNoDuplicates_ |
std::set< IndexIntoFile::IndexRunLumiEventKey > | relevantPreviousEvents_ |
Definition at line 30 of file DuplicateChecker.h.
|
private |
|
private |
Enumerator | |
---|---|
noDuplicateCheck | |
checkEachFile | |
checkEachRealDataFile | |
checkAllFilesOpened |
Definition at line 60 of file DuplicateChecker.h.
edm::DuplicateChecker::DuplicateChecker | ( | ParameterSet const & | pset | ) |
Definition at line 13 of file DuplicateChecker.cc.
References checkAllFilesOpened, checkEachFile, checkEachRealDataFile, EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::duplicateCheckMode, duplicateCheckMode_, Exception, noDuplicateCheck, muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 45 of file DuplicateChecker.h.
References checkEachRealDataFile, dataType_, disabled_, duplicateCheckMode_, isSimulation, and noDuplicateCheck.
Referenced by inputFileOpened(), and isDuplicateAndCheckActive().
|
inline |
Definition at line 55 of file DuplicateChecker.h.
References checkAllFilesOpened, and duplicateCheckMode_.
void edm::DuplicateChecker::disable | ( | ) |
Definition at line 41 of file DuplicateChecker.cc.
References dataType_, disabled_, itIsKnownTheFileHasNoDuplicates_, relevantPreviousEvents_, and unknown.
|
static |
Definition at line 109 of file DuplicateChecker.cc.
References submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::RootPrimaryFileSequence::fillDescription().
void edm::DuplicateChecker::inputFileClosed | ( | ) |
Definition at line 75 of file DuplicateChecker.cc.
References dataType_, itIsKnownTheFileHasNoDuplicates_, relevantPreviousEvents_, and unknown.
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.
References checkAllFilesOpened, checkDisabled(), edm::IndexIntoFile::containsDuplicateEvents(), dataType_, duplicateCheckMode_, edm::get(), mps_fire::i, isRealData, isSimulation, itIsKnownTheFileHasNoDuplicates_, relevantPreviousEvents_, edm::IndexIntoFile::set_intersection(), and trackerHitRTTI::vector.
bool edm::DuplicateChecker::isDuplicateAndCheckActive | ( | int | index, |
RunNumber_t | run, | ||
LuminosityBlockNumber_t | lumi, | ||
EventNumber_t | event, | ||
std::string const & | fileName | ||
) |
Definition at line 81 of file DuplicateChecker.cc.
References checkAllFilesOpened, checkDisabled(), duplicateCheckMode_, MillePedeFileConverter_cfg::fileName, itIsKnownTheFileHasNoDuplicates_, relevantPreviousEvents_, and writedatasetfile::run.
|
inline |
|
private |
Definition at line 66 of file DuplicateChecker.h.
Referenced by checkDisabled(), disable(), inputFileClosed(), and inputFileOpened().
|
private |
Definition at line 77 of file DuplicateChecker.h.
Referenced by checkDisabled(), and disable().
|
private |
Definition at line 62 of file DuplicateChecker.h.
Referenced by checkDisabled(), checkingAllFiles(), DuplicateChecker(), inputFileOpened(), and isDuplicateAndCheckActive().
|
private |
Definition at line 75 of file DuplicateChecker.h.
Referenced by disable(), inputFileClosed(), inputFileOpened(), isDuplicateAndCheckActive(), and noDuplicatesInFile().
|
private |
Definition at line 73 of file DuplicateChecker.h.
Referenced by disable(), inputFileClosed(), inputFileOpened(), and isDuplicateAndCheckActive().