test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CastorDbProducer.h
Go to the documentation of this file.
1 // system include files
2 #include <memory>
3 #include "boost/shared_ptr.hpp"
4 
5 // user include files
8 
9 class CastorDbService;
10 class CastorDbRecord;
11 
19 
21  public:
24 
25  boost::shared_ptr<CastorDbService> produce( const CastorDbRecord& );
26 
27  // callbacks
28  void pedestalsCallback (const CastorPedestalsRcd& fRecord);
29  void pedestalWidthsCallback (const CastorPedestalWidthsRcd& fRecord);
30  void gainsCallback (const CastorGainsRcd& fRecord);
31  void gainWidthsCallback (const CastorGainWidthsRcd& fRecord);
32  void QIEDataCallback (const CastorQIEDataRcd& fRecord);
33  void channelQualityCallback (const CastorChannelQualityRcd& fRecord);
34  void electronicsMapCallback (const CastorElectronicsMapRcd& fRecord);
35 
36  private:
37  // ----------member data ---------------------------
38  boost::shared_ptr<CastorDbService> mService;
39  std::vector<std::string> mDumpRequest;
40  std::ostream* mDumpStream;
41 };
void QIEDataCallback(const CastorQIEDataRcd &fRecord)
std::vector< std::string > mDumpRequest
boost::shared_ptr< CastorDbService > mService
void gainWidthsCallback(const CastorGainWidthsRcd &fRecord)
void pedestalsCallback(const CastorPedestalsRcd &fRecord)
boost::shared_ptr< CastorDbService > produce(const CastorDbRecord &)
void channelQualityCallback(const CastorChannelQualityRcd &fRecord)
void electronicsMapCallback(const CastorElectronicsMapRcd &fRecord)
std::ostream * mDumpStream
void gainsCallback(const CastorGainsRcd &fRecord)
void pedestalWidthsCallback(const CastorPedestalWidthsRcd &fRecord)
CastorDbProducer(const edm::ParameterSet &)