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