CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch12/src/CalibTracker/SiStripESProducers/plugins/fake/SiStripQualityFakeESSource.cc

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