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_;
49  }; // class RootSecondaryFileSequence
50 } // namespace edm
51 #endif
ProcessHistoryID.h
edm::RootSecondaryFileSequence::closeFile_
void closeFile_() override
Definition: RootSecondaryFileSequence.cc:57
RootInputFileSequence.h
edm::RootSecondaryFileSequence::endJob
void endJob()
Definition: RootSecondaryFileSequence.cc:55
edm::PoolSource
Definition: PoolSource.h:32
input
static const std::string input
Definition: EdmProvDump.cc:48
edm::RootSecondaryFileSequence::associationsFromSecondary_
std::vector< BranchID > associationsFromSecondary_
Definition: RootSecondaryFileSequence.h:45
getEcalConditions_orcoffint2r_cff.catalog
catalog
Definition: getEcalConditions_orcoffint2r_cff.py:40
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::InputFileCatalog
Definition: InputFileCatalog.h:32
remoteMonitoring_LED_IterMethod_cfg.skipBadFiles
skipBadFiles
Definition: remoteMonitoring_LED_IterMethod_cfg.py:24
edm::RootSecondaryFileSequence::initAssociationsFromSecondary
void initAssociationsFromSecondary(std::set< BranchID > const &)
Definition: RootSecondaryFileSequence.cc:96
edm::RootSecondaryFileSequence::orderedProcessHistoryIDs_
std::vector< ProcessHistoryID > orderedProcessHistoryIDs_
Definition: RootSecondaryFileSequence.h:46
edm::RootInputFileSequence::RootFileSharedPtr
std::shared_ptr< RootFile > RootFileSharedPtr
Definition: RootInputFileSequence.h:55
edm::RootSecondaryFileSequence::input_
PoolSource & input_
Definition: RootSecondaryFileSequence.h:44
edm::RootSecondaryFileSequence::~RootSecondaryFileSequence
~RootSecondaryFileSequence() override
Definition: RootSecondaryFileSequence.cc:53
edm::RootInputFileSequence
Definition: RootInputFileSequence.h:32
edm::ParameterSet
Definition: ParameterSet.h:47
edm::RootSecondaryFileSequence::enforceGUIDInFileName_
bool enforceGUIDInFileName_
Definition: RootSecondaryFileSequence.h:48
edm::RootSecondaryFileSequence::enablePrefetching_
bool enablePrefetching_
Definition: RootSecondaryFileSequence.h:47
edm::RootSecondaryFileSequence::initFile_
void initFile_(bool skipBadFiles) override
Definition: RootSecondaryFileSequence.cc:65
edm::RootSecondaryFileSequence::operator=
RootSecondaryFileSequence & operator=(RootSecondaryFileSequence const &)=delete
Frameworkfwd.h
edm::RootSecondaryFileSequence::RootSecondaryFileSequence
RootSecondaryFileSequence(ParameterSet const &pset, PoolSource &input, InputFileCatalog const &catalog)
Definition: RootSecondaryFileSequence.cc:21
edm::RootSecondaryFileSequence::makeRootFile
RootFileSharedPtr makeRootFile(std::shared_ptr< InputFile > filePtr) override
Definition: RootSecondaryFileSequence.cc:69
edm::RootSecondaryFileSequence
Definition: RootSecondaryFileSequence.h:28
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
ProductSelectorRules.h