00001 #ifndef CalibTracker_SiStripLorentzAngle_SiStripLAFakeESSource_H 00002 #define CalibTracker_SiStripLorentzAngle_SiStripLAFakeESSource_H 00003 00004 #include "FWCore/Framework/interface/ESProducer.h" 00005 #include "FWCore/Framework/interface/ESHandle.h" 00006 #include "FWCore/Framework/interface/EventSetupRecordIntervalFinder.h" 00007 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00008 #include "CondFormats/DataRecord/interface/SiStripLorentzAngleRcd.h" 00009 #include "CondFormats/SiStripObjects/interface/SiStripLorentzAngle.h" 00010 #include "FWCore/ParameterSet/interface/FileInPath.h" 00011 #include "boost/cstdint.hpp" 00012 #include <memory> 00013 00014 00020 class SiStripLAFakeESSource : public edm::ESProducer, public edm::EventSetupRecordIntervalFinder { 00021 00022 public: 00023 00024 SiStripLAFakeESSource( const edm::ParameterSet& ); 00025 virtual ~SiStripLAFakeESSource() {;} 00026 00027 virtual std::auto_ptr<SiStripLorentzAngle> produce( const SiStripLorentzAngleRcd& ); 00028 00029 00030 protected: 00031 00032 virtual void setIntervalFor( const edm::eventsetup::EventSetupRecordKey&, 00033 const edm::IOVSyncValue&, 00034 edm::ValidityInterval& ); 00035 00036 private: 00037 00038 SiStripLAFakeESSource( const SiStripLAFakeESSource& ); 00039 const SiStripLAFakeESSource& operator=( const SiStripLAFakeESSource& ); 00040 00041 00042 edm::FileInPath fp_; 00043 double appliedVoltage_; 00044 double chargeMobility_; 00045 double temperature_; 00046 double temperatureerror_; 00047 double rhall_; 00048 double holeBeta_; 00049 double holeSaturationVelocity_; 00050 }; 00051 00052 00053 #endif // CalibTracker_SiStripLorentzAngle_SiStripLAFakeESSource_H 00054