/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
PhysicsTools/FWLite/interface/TFileService.h
33 строки
655 B
Cms Build
Clang-Format
31 май 2019, 18:05
31 май 2019, 18:05
29b5de2
Код
Авторство
О чём код?
#ifndef FWLite_TFileService_h #define FWLite_TFileService_h /* \class fwlite::TFileService * * \author Benedikt Hegner, CERN * */ #include "CommonTools/Utils/interface/TFileDirectory.h" namespace fwlite { class TFileService : public TFileDirectory { public: /// constructor TFileService(const std::string& fileName); /// constructor with external TFile TFileService(TFile* aFile); /// destructor ~TFileService() override; /// return opened TFile TFile& file() const { return *file_; } private: /// pointer to opened TFile TFile* file_; std::string fileName_; }; } // namespace fwlite #endif