CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/CalibTracker/SiStripESProducers/plugins/fake/SiStripHashedDetIdFakeESSource.h

Go to the documentation of this file.
00001 #ifndef CalibTracker_SiStripESProducers_SiStripHashedDetIdFakeESSource_H
00002 #define CalibTracker_SiStripESProducers_SiStripHashedDetIdFakeESSource_H
00003 
00004 #include "CalibTracker/SiStripESProducers/interface/SiStripHashedDetIdESProducer.h"
00005 #include "FWCore/Framework/interface/EventSetupRecordIntervalFinder.h"
00006 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00007 #include "FWCore/ParameterSet/interface/FileInPath.h"
00008 
00009 class SiStripHashedDetId;
00010 class SiStripHashedDetIdRcd;
00011 
00017 class SiStripHashedDetIdFakeESSource : public SiStripHashedDetIdESProducer, public edm::EventSetupRecordIntervalFinder {
00018   
00019  public:
00020   
00021   explicit SiStripHashedDetIdFakeESSource( const edm::ParameterSet& );
00022   virtual ~SiStripHashedDetIdFakeESSource();
00023   
00024  protected:
00025   
00026   virtual void setIntervalFor( const edm::eventsetup::EventSetupRecordKey&,
00027                                const edm::IOVSyncValue&,
00028                                edm::ValidityInterval& );
00029   
00030  private:
00031   
00033   virtual SiStripHashedDetId* make( const SiStripHashedDetIdRcd& ); 
00034   
00036   edm::FileInPath detIds_;
00037   
00038 };
00039 
00040 #endif // CalibTracker_SiStripESProducers_SiStripHashedDetIdFakeESSource_H
00041 
00042