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

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/IO/Root/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< 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_
private

Definition at line 60 of file DuplicateChecker.h.

DuplicateCheckMode art::DuplicateChecker::duplicateCheckMode_
private

Definition at line 56 of file DuplicateChecker.h.

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

Definition at line 62 of file DuplicateChecker.h.

bool art::DuplicateChecker::itIsKnownTheFileHasNoDuplicates_
private

Definition at line 64 of file DuplicateChecker.h.


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