Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
25
class
CastorQIEDataHandler
:
public
popcon::PopConSourceHandler
<CastorQIEData>
26
{
27
public
:
28
void
getNewObjects
();
29
std::string
id
()
const
{
return
m_name
;}
30
~CastorQIEDataHandler
();
31
CastorQIEDataHandler
(
edm::ParameterSet
const
&);
32
33
void
initObject
(
CastorQIEData
*);
34
35
private
:
36
unsigned
int
sinceTime
;
37
edm::FileInPath
fFile
;
38
CastorQIEData
*
myDBObject
;
39
std::string
m_name
;
40
41
};
42
#endif
CastorQIEData
Definition:
CastorQIEData.h:28
CastorQIEDataHandler::id
std::string id() const
Definition:
CastorQIEDataHandler.h:29
Event.h
MakerMacros.h
EventSetup.h
CastorQIEDataHandler
Definition:
CastorQIEDataHandler.h:25
CastorDbASCIIIO.h
Handle.h
CastorQIEDataHandler::getNewObjects
void getNewObjects()
Definition:
CastorQIEDataHandler.cc:16
CastorQIEDataHandler::myDBObject
CastorQIEData * myDBObject
Definition:
CastorQIEDataHandler.h:38
CastorQIEDataHandler::sinceTime
unsigned int sinceTime
Definition:
CastorQIEDataHandler.h:36
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:35
ESHandle.h
CastorQIEDataHandler::initObject
void initObject(CastorQIEData *)
Definition:
CastorQIEDataHandler.cc:45
CastorQIEDataHandler::fFile
edm::FileInPath fFile
Definition:
CastorQIEDataHandler.h:37
CastorQIEDataHandler::CastorQIEDataHandler
CastorQIEDataHandler(edm::ParameterSet const &)
Definition:
CastorQIEDataHandler.cc:6
edm::FileInPath
Definition:
FileInPath.h:68
CastorQIEDataHandler::~CastorQIEDataHandler
~CastorQIEDataHandler()
Definition:
CastorQIEDataHandler.cc:12
CastorQIEDataRcd.h
PopConSourceHandler.h
edm::ParameterSet
Definition:
ParameterSet.h:35
CastorQIEData.h
CastorQIEDataHandler::m_name
std::string m_name
Definition:
CastorQIEDataHandler.h:39
Generated for CMSSW Reference Manual by
1.8.5