CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalDbProducer.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: HcalDbProducer
4 // Class: HcalDbProducer
5 //
13 //
14 // Original Author: Fedor Ratnikov
15 // Created: Tue Aug 9 19:10:10 CDT 2005
16 // $Id: HcalDbProducer.h,v 1.17 2009/10/16 22:12:57 kukartse Exp $
17 //
18 //
19 
20 
21 // system include files
22 #include <memory>
23 #include "boost/shared_ptr.hpp"
24 
25 // user include files
28 
29 class HcalDbService;
30 class HcalDbRecord;
31 
33 
34 
36  public:
39 
40  boost::shared_ptr<HcalDbService> produce( const HcalDbRecord& );
41 
42  // callbacks
43  void pedestalsCallback (const HcalPedestalsRcd& fRecord);
44  void pedestalWidthsCallback (const HcalPedestalWidthsRcd& fRecord);
45  void gainsCallback (const HcalGainsRcd& fRecord);
46  void gainWidthsCallback (const HcalGainWidthsRcd& fRecord);
47  void QIEDataCallback (const HcalQIEDataRcd& fRecord);
48  void channelQualityCallback (const HcalChannelQualityRcd& fRecord);
49  void zsThresholdsCallback (const HcalZSThresholdsRcd& fRecord);
50  void respCorrsCallback (const HcalRespCorrsRcd& fRecord);
52  void electronicsMapCallback (const HcalElectronicsMapRcd& fRecord);
53  void timeCorrsCallback (const HcalTimeCorrsRcd& fRecord);
54  void LUTCorrsCallback (const HcalLUTCorrsRcd& fRecord);
55  void PFCorrsCallback (const HcalPFCorrsRcd& fRecord);
56  void lutMetadataCallback (const HcalLutMetadataRcd& fRecord);
57 
58  private:
59  // ----------member data ---------------------------
60  boost::shared_ptr<HcalDbService> mService;
61  std::vector<std::string> mDumpRequest;
62  std::ostream* mDumpStream;
63 };
void LUTCorrsCallback(const HcalLUTCorrsRcd &fRecord)
void electronicsMapCallback(const HcalElectronicsMapRcd &fRecord)
HcalDbProducer(const edm::ParameterSet &)
void pedestalsCallback(const HcalPedestalsRcd &fRecord)
void gainWidthsCallback(const HcalGainWidthsRcd &fRecord)
void QIEDataCallback(const HcalQIEDataRcd &fRecord)
std::vector< std::string > mDumpRequest
void L1triggerObjectsCallback(const HcalL1TriggerObjectsRcd &fRecord)
void PFCorrsCallback(const HcalPFCorrsRcd &fRecord)
void channelQualityCallback(const HcalChannelQualityRcd &fRecord)
boost::shared_ptr< HcalDbService > mService
void respCorrsCallback(const HcalRespCorrsRcd &fRecord)
void gainsCallback(const HcalGainsRcd &fRecord)
void zsThresholdsCallback(const HcalZSThresholdsRcd &fRecord)
void timeCorrsCallback(const HcalTimeCorrsRcd &fRecord)
boost::shared_ptr< HcalDbService > produce(const HcalDbRecord &)
std::ostream * mDumpStream
void pedestalWidthsCallback(const HcalPedestalWidthsRcd &fRecord)
void lutMetadataCallback(const HcalLutMetadataRcd &fRecord)