#include <DuplicateChecker.h>
Classes | |
struct | Config |
Public Member Functions | |
DuplicateChecker (fhicl::TableFragment< Config > const &config) | |
void | init (bool realData, FileIndex const &fileIndex) |
void | inputFileClosed () |
void | rewind () |
bool | isDuplicateAndCheckActive (EventID const &eventID, std::string const &fileName) |
Private Types | |
enum | DuplicateCheckMode { noDuplicateCheck, checkEachFile, checkEachRealDataFile, checkAllFilesOpened } |
enum | DataType { isRealData, isSimulation, unknown } |
Private Attributes | |
DuplicateCheckMode | duplicateCheckMode_ |
DataType | dataType_ |
std::set< EventID > | eventIDs_ |
bool | itIsKnownTheFileHasNoDuplicates_ |
Definition at line 29 of file DuplicateChecker.h.
|
private |
|
private |
Enumerator | |
---|---|
noDuplicateCheck | |
checkEachFile | |
checkEachRealDataFile | |
checkAllFilesOpened |
Definition at line 49 of file DuplicateChecker.h.
art::DuplicateChecker::DuplicateChecker | ( | fhicl::TableFragment< Config > const & | config | ) |
Definition at line 12 of file DuplicateChecker.cc.
void art::DuplicateChecker::init | ( | bool | realData, |
FileIndex const & | fileIndex | ||
) |
Definition at line 41 of file DuplicateChecker.cc.
void art::DuplicateChecker::inputFileClosed | ( | ) |
Definition at line 59 of file DuplicateChecker.cc.
bool art::DuplicateChecker::isDuplicateAndCheckActive | ( | EventID const & | eventID, |
std::string const & | fileName | ||
) |
Definition at line 78 of file DuplicateChecker.cc.
void art::DuplicateChecker::rewind | ( | ) |
Definition at line 72 of file DuplicateChecker.cc.
|
private |
Definition at line 60 of file DuplicateChecker.h.
|
private |
Definition at line 56 of file DuplicateChecker.h.
|
private |
Definition at line 62 of file DuplicateChecker.h.
|
private |
Definition at line 64 of file DuplicateChecker.h.