CondTools
Hcal
interface
CastorGainsHandler.h
Go to the documentation of this file.
1
#ifndef CastorGainsHandler_h
2
#define CastorGainsHandler_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/CastorGains.h
"
21
#include "
CondFormats/DataRecord/interface/CastorGainsRcd.h
"
22
#include "
CalibCalorimetry/CastorCalib/interface/CastorDbASCIIIO.h
"
23
24
class
CastorGainsHandler
:
public
popcon::PopConSourceHandler
<CastorGains> {
25
public
:
26
void
getNewObjects
()
override
;
27
std::string
id
()
const override
{
return
m_name
; }
28
~CastorGainsHandler
()
override
;
29
CastorGainsHandler
(
edm::ParameterSet
const
&);
30
31
void
initObject
(
CastorGains
*);
32
33
private
:
34
unsigned
int
sinceTime
;
35
edm::FileInPath
fFile
;
36
CastorGains
*
myDBObject
;
37
std::string
m_name
;
38
};
39
#endif
PopConSourceHandler.h
Handle.h
CastorGainsHandler::sinceTime
unsigned int sinceTime
Definition:
CastorGainsHandler.h:34
ESHandle.h
CastorGainsHandler::getNewObjects
void getNewObjects() override
Definition:
CastorGainsHandler.cc:13
edm::FileInPath
Definition:
FileInPath.h:64
MakerMacros.h
CastorGainsHandler::fFile
edm::FileInPath fFile
Definition:
CastorGainsHandler.h:35
CastorGainsHandler::CastorGainsHandler
CastorGainsHandler(edm::ParameterSet const &)
Definition:
CastorGainsHandler.cc:6
CastorGainsHandler::m_name
std::string m_name
Definition:
CastorGainsHandler.h:37
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
CastorGainsRcd.h
CastorGainsHandler::id
std::string id() const override
Definition:
CastorGainsHandler.h:27
CastorGainsHandler
Definition:
CastorGainsHandler.h:24
CastorGainsHandler::initObject
void initObject(CastorGains *)
Definition:
CastorGainsHandler.cc:36
CastorGains
Definition:
CastorGains.h:18
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
CastorGainsHandler::myDBObject
CastorGains * myDBObject
Definition:
CastorGainsHandler.h:36
CastorDbASCIIIO.h
EventSetup.h
CastorGainsHandler::~CastorGainsHandler
~CastorGainsHandler() override
Definition:
CastorGainsHandler.cc:11
CastorGains.h
Generated for CMSSW Reference Manual by
1.8.16