CMS 3D CMS Logo

SiStripThresholdFakeOnDB Class Reference

#include <CalibTracker/SiStripESProducers/plugins/fake/SiStripThresholdFakeOnDB.h>

Inheritance diagram for SiStripThresholdFakeOnDB:

ConditionDBWriter< SiStripThreshold > edm::EDAnalyzer

List of all members.

Public Member Functions

 SiStripThresholdFakeOnDB (const edm::ParameterSet &)
 ~SiStripThresholdFakeOnDB ()

Private Member Functions

void algoAnalyze (const edm::Event &, const edm::EventSetup &)
SiStripThresholdgetNewObject ()

Private Attributes

SiStripThresholdthreshold_


Detailed Description

Definition at line 9 of file SiStripThresholdFakeOnDB.h.


Constructor & Destructor Documentation

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 }


Member Function Documentation

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 }


Member Data Documentation

SiStripThreshold* SiStripThresholdFakeOnDB::threshold_ [private]

Definition at line 24 of file SiStripThresholdFakeOnDB.h.

Referenced by algoAnalyze(), and getNewObject().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:32:35 2009 for CMSSW by  doxygen 1.5.4