Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondTools
Hcal
interface
CastorGainWidthsHandler.h
Go to the documentation of this file.
1
#ifndef CastorGainWidthsHandler_h
2
#define CastorGainWidthsHandler_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/CastorGainWidths.h
"
21
#include "
CondFormats/DataRecord/interface/CastorGainWidthsRcd.h
"
22
#include "
CalibCalorimetry/CastorCalib/interface/CastorDbASCIIIO.h
"
23
24
25
class
CastorGainWidthsHandler
:
public
popcon::PopConSourceHandler
<CastorGainWidths>
26
{
27
public
:
28
void
getNewObjects
();
29
std::string
id
()
const
{
return
m_name
;}
30
~CastorGainWidthsHandler
();
31
CastorGainWidthsHandler
(
edm::ParameterSet
const
&);
32
33
void
initObject
(
CastorGainWidths
*);
34
35
private
:
36
unsigned
int
sinceTime
;
37
edm::FileInPath
fFile
;
38
CastorGainWidths
*
myDBObject
;
39
std::string
m_name
;
40
41
};
42
#endif
Event.h
MakerMacros.h
EventSetup.h
CastorDbASCIIIO.h
CastorGainWidthsHandler::myDBObject
CastorGainWidths * myDBObject
Definition:
CastorGainWidthsHandler.h:38
Handle.h
CastorGainWidthsHandler::~CastorGainWidthsHandler
~CastorGainWidthsHandler()
Definition:
CastorGainWidthsHandler.cc:12
CastorGainWidthsHandler::id
std::string id() const
Definition:
CastorGainWidthsHandler.h:29
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:36
CastorGainWidthsHandler::fFile
edm::FileInPath fFile
Definition:
CastorGainWidthsHandler.h:37
CastorGainWidthsHandler
Definition:
CastorGainWidthsHandler.h:25
ESHandle.h
CastorGainWidths
Definition:
CastorGainWidths.h:16
edm::FileInPath
Definition:
FileInPath.h:68
CastorGainWidthsHandler::m_name
std::string m_name
Definition:
CastorGainWidthsHandler.h:39
PopConSourceHandler.h
CastorGainWidthsHandler::CastorGainWidthsHandler
CastorGainWidthsHandler(edm::ParameterSet const &)
Definition:
CastorGainWidthsHandler.cc:6
CastorGainWidths.h
CastorGainWidthsHandler::initObject
void initObject(CastorGainWidths *)
Definition:
CastorGainWidthsHandler.cc:45
CastorGainWidthsHandler::getNewObjects
void getNewObjects()
Definition:
CastorGainWidthsHandler.cc:16
edm::ParameterSet
Definition:
ParameterSet.h:35
CastorGainWidthsHandler::sinceTime
unsigned int sinceTime
Definition:
CastorGainWidthsHandler.h:36
CastorGainWidthsRcd.h
Generated for CMSSW Reference Manual by
1.8.5