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 
11 #include <vector>
12 
13 namespace edm {
14  class RootTree;
16  public:
18  explicit BranchMapperWithReader(RootTree* rootTree);
19 
21  void insertIntoMap(ProductID const& oldProductID, BranchID const& branchID);
22 
23  private:
24  virtual void readProvenance_() const;
25  virtual BranchID oldProductIDToBranchID_(ProductID const& oldProductID) const;
26 
30  std::map<unsigned int, BranchID> oldProductIDToBranchIDMap_;
31  };
32 }
33 #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_