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:
31  ~RootSecondaryFileSequence() override;
32 
33  RootSecondaryFileSequence(RootSecondaryFileSequence const&) = delete; // Disallow copying and moving
34  RootSecondaryFileSequence& operator=(RootSecondaryFileSequence const&) = delete; // Disallow copying and moving
35 
36  void closeFile_() override;
37  void endJob();
38  void initAssociationsFromSecondary(std::set<BranchID> const&);
39 
40  private:
41  void initFile_(bool skipBadFiles) override;
42  RootFileSharedPtr makeRootFile(std::shared_ptr<InputFile> filePtr) override;
43 
45  std::vector<BranchID> associationsFromSecondary_;
46  std::vector<ProcessHistoryID> orderedProcessHistoryIDs_;
48  }; // class RootSecondaryFileSequence
49 } // namespace edm
50 #endif
void initAssociationsFromSecondary(std::set< BranchID > const &)
std::vector< BranchID > associationsFromSecondary_
static std::string const input
Definition: EdmProvDump.cc:48
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_