CMS 3D CMS Logo

SiStripBadChannelFakeESSource.cc

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // Package:    SiStripBadChannelFakeESSource
00004 // Class:      SiStripBadChannelFakeESSource
00005 // 
00013 //
00014 // Original Author:  Domenico GIORDANO
00015 //         Created:  Wed Oct  3 11:46:09 CEST 2007
00016 // $Id: SiStripBadChannelFakeESSource.cc,v 1.1 2008/09/11 16:27:19 giordano Exp $
00017 //
00018 //
00019 
00020 #include "CalibTracker/SiStripESProducers/plugins/fake/SiStripBadChannelFakeESSource.h"
00021 
00022 SiStripBadChannelFakeESSource::SiStripBadChannelFakeESSource(const edm::ParameterSet& iConfig)
00023 {
00024   setWhatProduced(this);
00025   findingRecord<SiStripBadChannelRcd>();
00026 }
00027 
00028 
00029 std::auto_ptr<SiStripBadStrip> SiStripBadChannelFakeESSource::produce(const SiStripBadChannelRcd& iRecord)
00030 {
00031   std::auto_ptr<SiStripBadStrip> ptr(new SiStripBadStrip);
00032   return ptr;
00033 }
00034 
00035 void SiStripBadChannelFakeESSource::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