CondTools
Hcal
interface
CastorGainWidthsHandler.h
Go to the documentation of this file.
1
#ifndef CastorGainWidthsHandler_h
2
#define CastorGainWidthsHandler_h
3
4
// Radek Ofierzynski, 27.02.2008
5
// Adapted for CASTOR by L. Mundim (26/03/2009)
6
7
#include <string>
8
#include <iostream>
9
#include <typeinfo>
10
#include <fstream>
11
12
#include "
FWCore/Framework/interface/MakerMacros.h
"
13
#include "
CondCore/PopCon/interface/PopConSourceHandler.h
"
14
15
#include "
FWCore/Framework/interface/ESHandle.h
"
16
#include "
FWCore/Framework/interface/Event.h
"
17
#include "
DataFormats/Common/interface/Handle.h
"
18
#include "
FWCore/Framework/interface/EventSetup.h
"
19
// user include files
20
#include "
CondFormats/CastorObjects/interface/CastorGainWidths.h
"
21
#include "
CondFormats/DataRecord/interface/CastorGainWidthsRcd.h
"
22
#include "
CalibCalorimetry/CastorCalib/interface/CastorDbASCIIIO.h
"
23
24
class
CastorGainWidthsHandler
:
public
popcon::PopConSourceHandler
<CastorGainWidths> {
25
public
:
26
void
getNewObjects
()
override
;
27
std::string
id
()
const override
{
return
m_name
; }
28
~CastorGainWidthsHandler
()
override
;
29
CastorGainWidthsHandler
(
edm::ParameterSet
const
&);
30
31
void
initObject
(
CastorGainWidths
*);
32
33
private
:
34
unsigned
int
sinceTime
;
35
edm::FileInPath
fFile
;
36
CastorGainWidths
*
myDBObject
;
37
std::string
m_name
;
38
};
39
#endif
PopConSourceHandler.h
Handle.h
CastorGainWidthsHandler::~CastorGainWidthsHandler
~CastorGainWidthsHandler() override
Definition:
CastorGainWidthsHandler.cc:11
CastorGainWidths
Definition:
CastorGainWidths.h:18
CastorGainWidthsHandler::id
std::string id() const override
Definition:
CastorGainWidthsHandler.h:27
ESHandle.h
CastorGainWidths.h
CastorGainWidthsRcd.h
edm::FileInPath
Definition:
FileInPath.h:64
MakerMacros.h
CastorGainWidthsHandler::sinceTime
unsigned int sinceTime
Definition:
CastorGainWidthsHandler.h:34
CastorGainWidthsHandler::getNewObjects
void getNewObjects() override
Definition:
CastorGainWidthsHandler.cc:13
CastorGainWidthsHandler::myDBObject
CastorGainWidths * myDBObject
Definition:
CastorGainWidthsHandler.h:36
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
CastorGainWidthsHandler::fFile
edm::FileInPath fFile
Definition:
CastorGainWidthsHandler.h:35
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
CastorGainWidthsHandler::CastorGainWidthsHandler
CastorGainWidthsHandler(edm::ParameterSet const &)
Definition:
CastorGainWidthsHandler.cc:6
CastorDbASCIIIO.h
CastorGainWidthsHandler::m_name
std::string m_name
Definition:
CastorGainWidthsHandler.h:37
CastorGainWidthsHandler
Definition:
CastorGainWidthsHandler.h:24
EventSetup.h
CastorGainWidthsHandler::initObject
void initObject(CastorGainWidths *)
Definition:
CastorGainWidthsHandler.cc:36
Generated for CMSSW Reference Manual by
1.8.16