1 #ifndef CalibTracker_SiStripESProducers_SiStripTemplateDepFakeESSource
2 #define CalibTracker_SiStripESProducers_SiStripTemplateDepFakeESSource
6 #include "boost/shared_ptr.hpp"
23 template<
typename TObject ,
typename TRecord,
typename TService,
typename DepTRecord,
typename DepTObj>
30 std::auto_ptr<TObject>
produce(
const TRecord&);
42 template<
typename TObject ,
typename TRecord,
typename TService,
typename DepTRecord,
typename DepTObj>
45 setWhatProduced(
this);
46 findingRecord<TRecord>();
49 template<
typename TObject ,
typename TRecord,
typename TService,
typename DepTRecord,
typename DepTObj>
53 iRecord.template getRecord<DepTRecord>().
get(depObjHandle);
54 const DepTObj*
const depObject = depObjHandle.
product();
58 condObjBuilder->getObj(obj,depObject);
59 std::auto_ptr<TObject> ptr(obj);
63 template<
typename TObject ,
typename TRecord,
typename TService,
typename DepTRecord,
typename DepTObj>
static const IOVSyncValue & endOfTime()
std::auto_ptr< TObject > produce(const TRecord &)
static const IOVSyncValue & beginOfTime()
~SiStripTemplateDepFakeESSource()
T const * product() const
const SiStripTemplateDepFakeESSource & operator=(const SiStripTemplateDepFakeESSource &)
SiStripTemplateDepFakeESSource(const edm::ParameterSet &)
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &iov, edm::ValidityInterval &iValidity)