CMS 3D CMS Logo

SiStripBadStripFakeESSource.cc

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Package:    SiStripBadStripFakeESSource
00004 // Class:      SiStripBadStripFakeESSource
00005 // 
00013 //
00014 // Original Author:  Domenico GIORDANO
00015 //         Created:  Wed Oct  3 11:46:09 CEST 2007
00016 // $Id: SiStripBadStripFakeESSource.cc,v 1.1 2008/09/11 16:27:19 giordano Exp $
00017 //
00018 //
00019 
00020 #include "CalibTracker/SiStripESProducers/plugins/fake/SiStripBadStripFakeESSource.h"
00021 
00022 SiStripBadStripFakeESSource::SiStripBadStripFakeESSource(const edm::ParameterSet& iConfig)
00023 {
00024   setWhatProduced(this);
00025   findingRecord<SiStripBadStripRcd>();
00026 }
00027 
00028 
00029 std::auto_ptr<SiStripBadStrip> SiStripBadStripFakeESSource::produce(const SiStripBadStripRcd& iRecord)
00030 {
00031   std::auto_ptr<SiStripBadStrip> ptr(new SiStripBadStrip);
00032   return ptr;
00033 }
00034 
00035 void SiStripBadStripFakeESSource::setIntervalFor( const edm::eventsetup::EventSetupRecordKey&,
00036                                                          const edm::IOVSyncValue& iov,
00037                                                          edm::ValidityInterval& iValidity){
00038   edm::ValidityInterval infinity( iov.beginOfTime(), iov.endOfTime() );
00039   iValidity = infinity;
00040 }
00041 
00042 

Generated on Tue Jun 9 17:25:50 2009 for CMSSW by  doxygen 1.5.4