CMS 3D CMS Logo

makeRefToBaseProdFrom.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_makeRefToBaseProdFrom_h
2 #define FWCore_Framework_makeRefToBaseProdFrom_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/Framework
6 // Class : makeRefToBaseProdFrom
7 //
16 //
17 // Original Author: Christopher Jones
18 // Created: Tue, 02 Dec 2014 16:00:08 GMT
19 //
20 
21 // system include files
22 
23 // user include files
29 
30 // forward declarations
31 
32 namespace edm {
33  template <typename T>
36  iEvent.get(iRef.id(), view);
37 
38  return RefToBaseProd<T>(view);
39  }
40 } // namespace edm
41 #endif
ProductID id() const
Definition: RefToBase.h:216
int iEvent
Definition: GenABIO.cc:224
RefToBaseProd< T > makeRefToBaseProdFrom(RefToBase< T > const &iRef, Event const &iEvent)
HLT enums.