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