Classes | Public Member Functions | Private Types | Private Attributes | List of all members
art::DuplicateChecker Class Reference

#include "/cvmfs/"


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< EventIDeventIDs_
bool itIsKnownTheFileHasNoDuplicates_

Detailed Description

Definition at line 29 of file DuplicateChecker.h.

Member Enumeration Documentation

Constructor & Destructor Documentation

art::DuplicateChecker::DuplicateChecker ( fhicl::TableFragment< Config > const &  config)

Member Function Documentation

void art::DuplicateChecker::init ( bool  realData,
FileIndex const &  fileIndex 
void art::DuplicateChecker::inputFileClosed ( )
bool art::DuplicateChecker::isDuplicateAndCheckActive ( EventID const &  eventID,
std::string const &  fileName 
void art::DuplicateChecker::rewind ( )

Member Data Documentation

DataType art::DuplicateChecker::dataType_

Definition at line 60 of file DuplicateChecker.h.

DuplicateCheckMode art::DuplicateChecker::duplicateCheckMode_

Definition at line 56 of file DuplicateChecker.h.

std::set<EventID> art::DuplicateChecker::eventIDs_

Definition at line 62 of file DuplicateChecker.h.

bool art::DuplicateChecker::itIsKnownTheFileHasNoDuplicates_

Definition at line 64 of file DuplicateChecker.h.

The documentation for this class was generated from the following file: