10#ifndef CbmQaCheckerFileHandler_h
11#define CbmQaCheckerFileHandler_h 1
15#include "TClonesArray.h"
34 FileHandler(std::shared_ptr<ObjectDB>& pObjDB,
int iDataset,
int iFile);
66 std::vector<ECmpInference>
Process(Option_t* opt =
"");
80 std::shared_ptr<ObjectDB>
fpObjDB =
nullptr;
Database for processed objects in the QA checker framework (implementation)
Common definitions for QA-Checker framework.
Handler for single files, created from different QA versions.
TDirectory * CreateNestedDirectory(const std::string &path)
Creates nested directory from a given path.
int fFileID
Index of file.
std::unique_ptr< TClonesArray > fpInputFiles
Pointer to input files array.
~FileHandler()
Destructor.
FileHandler & operator=(const FileHandler &)=delete
Copy assignment operator.
FileHandler(std::shared_ptr< ObjectDB > &pObjDB, int iDataset, int iFile)
Constructor.
std::unique_ptr< TFile > fpOutputFile
Pointer to output file.
FileHandler(FileHandler &&)=delete
Move constructor.
int fDatasetID
Index of dataset.
int GetDatasetID() const
Gets index of dataset.
int GetFileID() const
Gets index of file.
FileHandler & operator=(FileHandler &&)=delete
Move assignment operator.
std::vector< ECmpInference > Process(Option_t *opt="")
Processes comparison.
void ReOpenOutputFile()
Closes and opens output file.
TDirectory * fpOutDir
Pointer to output directory.
FileHandler(const FileHandler &)=delete
Copy constructor.
std::shared_ptr< ObjectDB > fpObjDB
Pointer to object database.