src
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/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/CastorGains.h
"
20
#include "
CondFormats/DataRecord/interface/CastorGainsRcd.h
"
21
#include "
CalibCalorimetry/CastorCalib/interface/CastorDbASCIIIO.h
"
22
23
class
CastorGainsHandler
:
public
popcon::PopConSourceHandler
<CastorGains> {
24
public
:
25
void
getNewObjects
()
override
;
26
std::string
id
()
const override
{
return
m_name
; }
27
~CastorGainsHandler
()
override
;
28
CastorGainsHandler
(
edm::ParameterSet
const
&);
29
30
void
initObject
(
CastorGains
*);
31
32
private
:
33
unsigned
int
sinceTime
;
34
edm::FileInPath
fFile
;
35
CastorGains
*
myDBObject
;
36
std::string
m_name
;
37
};
38
#endif
CastorGains.h
CastorGainsHandler::id
std::string id() const override
Definition:
CastorGainsHandler.h:26
CastorGainsHandler::fFile
edm::FileInPath fFile
Definition:
CastorGainsHandler.h:34
CastorGains
Definition:
CastorGains.h:18
Event.h
EventSetup.h
CastorGainsHandler::sinceTime
unsigned int sinceTime
Definition:
CastorGainsHandler.h:33
CastorDbASCIIIO.h
CastorGainsHandler::myDBObject
CastorGains * myDBObject
Definition:
CastorGainsHandler.h:35
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CastorGainsHandler::initObject
void initObject(CastorGains *)
Definition:
CastorGainsHandler.cc:36
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
CastorGainsHandler::CastorGainsHandler
CastorGainsHandler(edm::ParameterSet const &)
Definition:
CastorGainsHandler.cc:6
CastorGainsHandler::getNewObjects
void getNewObjects() override
Definition:
CastorGainsHandler.cc:13
CastorGainsHandler
Definition:
CastorGainsHandler.h:23
CastorGainsHandler::~CastorGainsHandler
~CastorGainsHandler() override
Definition:
CastorGainsHandler.cc:11
CastorGainsRcd.h
edm::FileInPath
Definition:
FileInPath.h:61
PopConSourceHandler.h
edm::ParameterSet
Definition:
ParameterSet.h:48
CastorGainsHandler::m_name
std::string m_name
Definition:
CastorGainsHandler.h:36
MakerMacros.h
Handle.h
Generated for CMSSW Reference Manual by
1.8.14