#include <CalibTracker/SiStripESProducers/plugins/fake/SiStripThresholdFakeOnDB.h>
Public Member Functions | |
SiStripThresholdFakeOnDB (const edm::ParameterSet &) | |
~SiStripThresholdFakeOnDB () | |
Private Member Functions | |
void | algoAnalyze (const edm::Event &, const edm::EventSetup &) |
SiStripThreshold * | getNewObject () |
Private Attributes | |
SiStripThreshold * | threshold_ |
Definition at line 9 of file SiStripThresholdFakeOnDB.h.
SiStripThresholdFakeOnDB::SiStripThresholdFakeOnDB | ( | const edm::ParameterSet & | iConfig | ) | [explicit] |
Definition at line 9 of file SiStripThresholdFakeOnDB.cc.
00009 : ConditionDBWriter<SiStripThreshold>::ConditionDBWriter<SiStripThreshold>(iConfig){ 00010 00011 00012 edm::LogInfo("SiStripThresholdFakeOnDB::SiStripThresholdFakeOnDB"); 00013 }
SiStripThresholdFakeOnDB::~SiStripThresholdFakeOnDB | ( | ) |
Definition at line 16 of file SiStripThresholdFakeOnDB.cc.
00016 { 00017 00018 edm::LogInfo("SiStripThresholdFakeOnDB::~SiStripThresholdFakeOnDB"); 00019 }
void SiStripThresholdFakeOnDB::algoAnalyze | ( | const edm::Event & | event, | |
const edm::EventSetup & | iSetup | |||
) | [private, virtual] |
Reimplemented from ConditionDBWriter< SiStripThreshold >.
Definition at line 23 of file SiStripThresholdFakeOnDB.cc.
References lat::endl(), edm::EventSetup::get(), and threshold_.
00023 { 00024 00025 edm::ESHandle<SiStripThreshold> thresholdHandle; 00026 00027 iSetup.get<SiStripThresholdRcd>().get(thresholdHandle); 00028 00029 edm::LogInfo("SiStripThresholdFakeOnDB") << "[SiStripThresholdFakeOnDB::algoAnalyze] End Reading SiStripThreshold" << std::endl; 00030 00031 threshold_ = new SiStripThreshold(*thresholdHandle); 00032 }
SiStripThreshold * SiStripThresholdFakeOnDB::getNewObject | ( | ) | [private, virtual] |
Implements ConditionDBWriter< SiStripThreshold >.
Definition at line 35 of file SiStripThresholdFakeOnDB.cc.
References threshold_.
00035 { 00036 return threshold_; 00037 }
Definition at line 24 of file SiStripThresholdFakeOnDB.h.
Referenced by algoAnalyze(), and getNewObject().