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/Event.h
"
16
#include "
DataFormats/Common/interface/Handle.h
"
17
#include "
FWCore/Framework/interface/EventSetup.h
"
18
// user include files
19
#include "
CondFormats/CastorObjects/interface/CastorGainWidths.h
"
20
#include "
CondFormats/DataRecord/interface/CastorGainWidthsRcd.h
"
21
#include "
CalibCalorimetry/CastorCalib/interface/CastorDbASCIIIO.h
"
22
23
class
CastorGainWidthsHandler
:
public
popcon::PopConSourceHandler
<CastorGainWidths> {
24
public
:
25
void
getNewObjects
()
override
;
26
std::string
id
()
const override
{
return
m_name
; }
27
~CastorGainWidthsHandler
()
override
;
28
CastorGainWidthsHandler
(
edm::ParameterSet
const
&);
29
30
void
initObject
(
CastorGainWidths
*);
31
32
private
:
33
unsigned
int
sinceTime
;
34
edm::FileInPath
fFile
;
35
CastorGainWidths
*
myDBObject
;
36
std::string
m_name
;
37
};
38
#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:26
CastorGainWidths.h
CastorGainWidthsRcd.h
edm::FileInPath
Definition:
FileInPath.h:64
MakerMacros.h
CastorGainWidthsHandler::sinceTime
unsigned int sinceTime
Definition:
CastorGainWidthsHandler.h:33
CastorGainWidthsHandler::getNewObjects
void getNewObjects() override
Definition:
CastorGainWidthsHandler.cc:13
CastorGainWidthsHandler::myDBObject
CastorGainWidths * myDBObject
Definition:
CastorGainWidthsHandler.h:35
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
CastorGainWidthsHandler::fFile
edm::FileInPath fFile
Definition:
CastorGainWidthsHandler.h:34
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:36
CastorGainWidthsHandler
Definition:
CastorGainWidthsHandler.h:23
EventSetup.h
CastorGainWidthsHandler::initObject
void initObject(CastorGainWidths *)
Definition:
CastorGainWidthsHandler.cc:36
Generated for CMSSW Reference Manual by
1.8.16