#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< boost::shared_ptr< IndexIntoFile > > const &indexesIntoFiles, std::vector< boost::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 32 of file DuplicateChecker.h.
|
private |
|
private |
Enumerator | |
---|---|
noDuplicateCheck | |
checkEachFile | |
checkEachRealDataFile | |
checkAllFilesOpened |
Definition at line 69 of file DuplicateChecker.h.
edm::DuplicateChecker::DuplicateChecker | ( | ParameterSet const & | pset | ) |
Definition at line 13 of file DuplicateChecker.cc.
References checkAllFilesOpened, checkEachFile, checkEachRealDataFile, CastorDigiReco::duplicateCheckMode, duplicateCheckMode_, edm::hlt::Exception, edm::ParameterSet::getUntrackedParameter(), noDuplicateCheck, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 49 of file DuplicateChecker.h.
References checkEachRealDataFile, dataType_, disabled_, duplicateCheckMode_, isSimulation, and noDuplicateCheck.
Referenced by inputFileOpened(), and isDuplicateAndCheckActive().
|
inline |
Definition at line 63 of file DuplicateChecker.h.
References checkAllFilesOpened, and duplicateCheckMode_.
void edm::DuplicateChecker::disable | ( | ) |
Definition at line 40 of file DuplicateChecker.cc.
References dataType_, disabled_, itIsKnownTheFileHasNoDuplicates_, relevantPreviousEvents_, and unknown.
|
static |
Definition at line 119 of file DuplicateChecker.cc.
References edm::ParameterSetDescription::addUntracked(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::RootInputFileSequence::fillDescription().
void edm::DuplicateChecker::inputFileClosed | ( | ) |
Definition at line 77 of file DuplicateChecker.cc.
References dataType_, itIsKnownTheFileHasNoDuplicates_, relevantPreviousEvents_, and unknown.
void edm::DuplicateChecker::inputFileOpened | ( | bool | realData, |
IndexIntoFile const & | indexIntoFile, | ||
std::vector< boost::shared_ptr< IndexIntoFile > > const & | indexesIntoFiles, | ||
std::vector< boost::shared_ptr< IndexIntoFile > >::size_type | currentIndexIntoFile | ||
) |
Definition at line 47 of file DuplicateChecker.cc.
References checkAllFilesOpened, checkDisabled(), edm::IndexIntoFile::containsDuplicateEvents(), dataType_, duplicateCheckMode_, i, isRealData, isSimulation, itIsKnownTheFileHasNoDuplicates_, relevantPreviousEvents_, and edm::IndexIntoFile::set_intersection().
bool edm::DuplicateChecker::isDuplicateAndCheckActive | ( | int | index, |
RunNumber_t | run, | ||
LuminosityBlockNumber_t | lumi, | ||
EventNumber_t | event, | ||
std::string const & | fileName | ||
) |
Definition at line 84 of file DuplicateChecker.cc.
References checkAllFilesOpened, checkDisabled(), duplicateCheckMode_, itIsKnownTheFileHasNoDuplicates_, and relevantPreviousEvents_.
|
inline |
Definition at line 47 of file DuplicateChecker.h.
References itIsKnownTheFileHasNoDuplicates_.
|
private |
Definition at line 75 of file DuplicateChecker.h.
Referenced by checkDisabled(), disable(), inputFileClosed(), and inputFileOpened().
|
private |
Definition at line 86 of file DuplicateChecker.h.
Referenced by checkDisabled(), and disable().
|
private |
Definition at line 71 of file DuplicateChecker.h.
Referenced by checkDisabled(), checkingAllFiles(), DuplicateChecker(), inputFileOpened(), and isDuplicateAndCheckActive().
|
private |
Definition at line 84 of file DuplicateChecker.h.
Referenced by disable(), inputFileClosed(), inputFileOpened(), isDuplicateAndCheckActive(), and noDuplicatesInFile().
|
private |
Definition at line 82 of file DuplicateChecker.h.
Referenced by disable(), inputFileClosed(), inputFileOpened(), and isDuplicateAndCheckActive().