test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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);
34 
35  RootSecondaryFileSequence(RootSecondaryFileSequence const&) = delete; // Disallow copying and moving
36  RootSecondaryFileSequence& operator=(RootSecondaryFileSequence const&) = delete; // Disallow copying and moving
37 
38  virtual void closeFile_() override;
39  void endJob();
40  void initAssociationsFromSecondary(std::set<BranchID> const&);
41  private:
42  virtual void initFile_(bool skipBadFiles) override;
43  virtual RootFileSharedPtr makeRootFile(std::shared_ptr<InputFile> filePtr) override;
44 
46  std::vector<BranchID> associationsFromSecondary_;
47  std::vector<ProcessHistoryID> orderedProcessHistoryIDs_;
49  }; // class RootSecondaryFileSequence
50 }
51 #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
virtual void initFile_(bool skipBadFiles) override
virtual RootFileSharedPtr makeRootFile(std::shared_ptr< InputFile > filePtr) override
RootSecondaryFileSequence & operator=(RootSecondaryFileSequence const &)=delete
RootSecondaryFileSequence(ParameterSet const &pset, PoolSource &input, InputFileCatalog const &catalog)
tuple skipBadFiles
Definition: example_cfg.py:64
std::vector< ProcessHistoryID > orderedProcessHistoryIDs_