CMS 3D CMS Logo

CastorDbProducer.h
Go to the documentation of this file.
1 // system include files
2 #include <memory>
3 
4 // user include files
7 
8 class CastorDbService;
9 class CastorDbRecord;
10 
18 
20  public:
23 
24  std::shared_ptr<CastorDbService> produce( const CastorDbRecord& );
25 
26  // callbacks
27  void pedestalsCallback (const CastorPedestalsRcd& fRecord);
28  void pedestalWidthsCallback (const CastorPedestalWidthsRcd& fRecord);
29  void gainsCallback (const CastorGainsRcd& fRecord);
30  void gainWidthsCallback (const CastorGainWidthsRcd& fRecord);
31  void QIEDataCallback (const CastorQIEDataRcd& fRecord);
32  void channelQualityCallback (const CastorChannelQualityRcd& fRecord);
33  void electronicsMapCallback (const CastorElectronicsMapRcd& fRecord);
34 
35  private:
36  // ----------member data ---------------------------
37  std::shared_ptr<CastorDbService> mService;
38  std::vector<std::string> mDumpRequest;
39  std::ostream* mDumpStream;
40 };
void QIEDataCallback(const CastorQIEDataRcd &fRecord)
std::vector< std::string > mDumpRequest
void gainWidthsCallback(const CastorGainWidthsRcd &fRecord)
void pedestalsCallback(const CastorPedestalsRcd &fRecord)
void channelQualityCallback(const CastorChannelQualityRcd &fRecord)
std::shared_ptr< CastorDbService > produce(const CastorDbRecord &)
std::shared_ptr< CastorDbService > mService
void electronicsMapCallback(const CastorElectronicsMapRcd &fRecord)
std::ostream * mDumpStream
void gainsCallback(const CastorGainsRcd &fRecord)
void pedestalWidthsCallback(const CastorPedestalWidthsRcd &fRecord)
CastorDbProducer(const edm::ParameterSet &)