Main Page
Namespaces
Classes
Package Documentation
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
25
class
CastorGainsHandler
:
public
popcon::PopConSourceHandler
<CastorGains>
26
{
27
public
:
28
void
getNewObjects
();
29
std::string
id
()
const
{
return
m_name
;}
30
~CastorGainsHandler
();
31
CastorGainsHandler
(
edm::ParameterSet
const
&);
32
33
void
initObject
(
CastorGains
*);
34
35
private
:
36
unsigned
int
sinceTime
;
37
edm::FileInPath
fFile
;
38
CastorGains
*
myDBObject
;
39
std::string
m_name
;
40
41
};
42
#endif
CastorGainsHandler::id
std::string id() const
Definition:
CastorGainsHandler.h:29
CastorGains.h
CastorGainsHandler::getNewObjects
void getNewObjects()
Definition:
CastorGainsHandler.cc:16
CastorGainsHandler::fFile
edm::FileInPath fFile
Definition:
CastorGainsHandler.h:37
CastorGains
Definition:
CastorGains.h:18
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
Event.h
MakerMacros.h
EventSetup.h
CastorGainsHandler::sinceTime
unsigned int sinceTime
Definition:
CastorGainsHandler.h:36
CastorDbASCIIIO.h
CastorGainsHandler::myDBObject
CastorGains * myDBObject
Definition:
CastorGainsHandler.h:38
CastorGainsHandler::initObject
void initObject(CastorGains *)
Definition:
CastorGainsHandler.cc:45
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:32
CastorGainsHandler::CastorGainsHandler
CastorGainsHandler(edm::ParameterSet const &)
Definition:
CastorGainsHandler.cc:6
ESHandle.h
CastorGainsHandler
Definition:
CastorGainsHandler.h:25
CastorGainsRcd.h
CastorGainsHandler::~CastorGainsHandler
~CastorGainsHandler()
Definition:
CastorGainsHandler.cc:12
edm::FileInPath
Definition:
FileInPath.h:68
PopConSourceHandler.h
edm::ParameterSet
Definition:
ParameterSet.h:36
CastorGainsHandler::m_name
std::string m_name
Definition:
CastorGainsHandler.h:39
Handle.h
Generated for CMSSW Reference Manual by
1.8.11