CMS 3D CMS Logo

RootSecondaryFileSequence.h
Go to the documentation of this file.
1 #ifndef IOPool_Input_RootSecondaryFileSequence_h
2 #define IOPool_Input_RootSecondaryFileSequence_h
3 
4 /*----------------------------------------------------------------------
5 
6 RootSecondaryFileSequence: This is an InputSource
7 
8 ----------------------------------------------------------------------*/
9 
10 #include "RootInputFileSequence.h"
14 
15 #include <memory>
16 #include <set>
17 #include <string>
18 #include <vector>
19 
20 namespace edm {
21 
22  class BranchID;
23  class FileCatalogItem;
24  class InputFileCatalog;
25  class PoolSource;
26  class RootFile;
27 
29  public:
32  InputFileCatalog const& catalog);
33  ~RootSecondaryFileSequence() override;
34 
35  RootSecondaryFileSequence(RootSecondaryFileSequence const&) = delete; // Disallow copying and moving
36  RootSecondaryFileSequence& operator=(RootSecondaryFileSequence const&) = delete; // Disallow copying and moving
37 
38  void closeFile_() override;
39  void endJob();
40  void initAssociationsFromSecondary(std::set<BranchID> const&);
41  private:
42  void initFile_(bool skipBadFiles) override;
43  RootFileSharedPtr makeRootFile(std::shared_ptr<InputFile> filePtr) override;
44 
46  std::vector<BranchID> associationsFromSecondary_;
47  std::vector<ProcessHistoryID> orderedProcessHistoryIDs_;
50  }; // class RootSecondaryFileSequence
51 }
52 #endif
void initAssociationsFromSecondary(std::set< BranchID > const &)
std::vector< BranchID > associationsFromSecondary_
static std::string const input
Definition: EdmProvDump.cc:44
std::shared_ptr< RootFile > RootFileSharedPtr
void initFile_(bool skipBadFiles) override
RootFileSharedPtr makeRootFile(std::shared_ptr< InputFile > filePtr) override
RootSecondaryFileSequence & operator=(RootSecondaryFileSequence const &)=delete
RootSecondaryFileSequence(ParameterSet const &pset, PoolSource &input, InputFileCatalog const &catalog)
HLT enums.
std::vector< ProcessHistoryID > orderedProcessHistoryIDs_