File indexing completed on 2024-04-06 12:04:11
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include "DataFormats/FWLite/interface/RunFactory.h"
0017
0018 namespace fwlite {
0019
0020
0021
0022
0023 RunFactory::RunFactory() {}
0024 RunFactory::~RunFactory() {}
0025
0026 std::shared_ptr<fwlite::Run> RunFactory::makeRun(std::shared_ptr<BranchMapReader> branchMap) const {
0027 if (not run_) {
0028 run_ = std::make_shared<fwlite::Run>(branchMap);
0029 }
0030 return run_;
0031 }
0032
0033 }