/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
IOPool/Input/src/RootSecondaryFileSequence.h
49 строк
2 KB
W. David Dagenhart
Reduce the memory usage of the InputFileCatalog
18 май 2026, 23:53
18 май 2026, 23:53
7e6433c
Код
Авторство
О чём код?
#ifndef IOPool_Input_RootSecondaryFileSequence_h #define IOPool_Input_RootSecondaryFileSequence_h /*---------------------------------------------------------------------- RootSecondaryFileSequence: This is an InputSource ----------------------------------------------------------------------*/ #include "RootInputFileSequence.h" #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/ProductSelectorRules.h" #include "DataFormats/Provenance/interface/ProcessHistoryID.h" #include <memory> #include <set> #include <string> #include <vector> namespace edm { class BranchID; class InputFileCatalog; class PoolSource; class RootFile; class RootSecondaryFileSequence : public RootInputFileSequence { public: explicit RootSecondaryFileSequence(ParameterSet const& pset, PoolSource& input, InputFileCatalog const& catalog); ~RootSecondaryFileSequence() override; RootSecondaryFileSequence(RootSecondaryFileSequence const&) = delete; // Disallow copying and moving RootSecondaryFileSequence& operator=(RootSecondaryFileSequence const&) = delete; // Disallow copying and moving void endJob(); private: void closeFile_() override; void initFile_(bool skipBadFiles) override; RootFileSharedPtr makeRootFile(std::shared_ptr<InputFile> filePtr, std::string const& physicalFileNameFirstCatalog) override; PoolSource& input_; std::vector<ProcessHistoryID> orderedProcessHistoryIDs_; bool enablePrefetching_; bool enforceGUIDInFileName_; }; // class RootSecondaryFileSequence } // namespace edm #endif