CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BranchMapperWithReader.h
Go to the documentation of this file.
1 #ifndef IOPool_Input_BranchMapperWithReader
2 #define IOPool_Input_BranchMapperWithReader
3 
4 /*----------------------------------------------------------------------
5 
6 BranchMapperWithReader:
7 
8 ----------------------------------------------------------------------*/
10 #include "Inputfwd.h"
11 
12 #include <vector>
13 
14 namespace edm {
15  class RootTree;
17  public:
19  BranchMapperWithReader(RootTree* rootTree, bool useCache);
20 
22  void insertIntoMap(ProductID const& oldProductID, BranchID const& branchID);
23 
24  private:
25  virtual void readProvenance_() const;
26  virtual BranchID oldProductIDToBranchID_(ProductID const& oldProductID) const;
27 
29  bool useCache_;
32  std::map<unsigned int, BranchID> oldProductIDToBranchIDMap_;
33  };
34 }
35 #endif
ProductProvenanceVector * pInfoVector_
std::vector< ProductProvenance > ProductProvenanceVector
virtual BranchID oldProductIDToBranchID_(ProductID const &oldProductID) const
std::map< unsigned int, BranchID > oldProductIDToBranchIDMap_
virtual void readProvenance_() const
void insertIntoMap(ProductID const &oldProductID, BranchID const &branchID)
ProductProvenanceVector infoVector_