Main Page
Namespaces
Classes
Package Documentation
CondTools
Ecal
interface
EcalPulseShapesHandler.h
Go to the documentation of this file.
1
#ifndef ECAL_PULSESHAPES_HANDLER_H
2
#define ECAL_PULSESHAPES_HANDLER_H
3
4
#include <vector>
5
#include <typeinfo>
6
#include <string>
7
#include <map>
8
#include <iostream>
9
#include <ctime>
10
11
#include "
CondCore/PopCon/interface/PopConSourceHandler.h
"
12
#include "
FWCore/ParameterSet/interface/ParameterSetfwd.h
"
13
14
15
#include "
FWCore/ServiceRegistry/interface/Service.h
"
16
#include "
CondCore/DBOutputService/interface/PoolDBOutputService.h
"
17
#include "
FWCore/Framework/interface/ESHandle.h
"
18
#include "
FWCore/Framework/interface/Event.h
"
19
#include "
FWCore/Framework/interface/MakerMacros.h
"
20
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
21
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
22
#include "
DataFormats/Common/interface/Handle.h
"
23
#include "
FWCore/Framework/interface/EventSetup.h
"
24
#include "
FWCore/Framework/interface/EventSetupRecordKey.h
"
25
26
#include "
CondFormats/EcalObjects/interface/EcalPulseShapes.h
"
27
#include "
CondFormats/DataRecord/interface/EcalPulseShapesRcd.h
"
28
29
#include "
DataFormats/EcalDetId/interface/EEDetId.h
"
30
#include "
DataFormats/EcalDetId/interface/EBDetId.h
"
31
#include "
DataFormats/Provenance/interface/Timestamp.h
"
32
33
namespace
edm
{
34
class
ParameterSet
;
35
class
Event
;
36
class
EventSetup
;
37
}
38
39
namespace
popcon
40
{
41
42
class
EcalPulseShapesHandler
:
public
popcon::PopConSourceHandler
<EcalPulseShapes>
43
{
44
45
public
:
46
EcalPulseShapesHandler
(
edm::ParameterSet
const
& );
47
~
EcalPulseShapesHandler
()
override
;
48
bool
checkPulseShape(
EcalPulseShapes::Item
* item);
49
void
fillSimPulseShape(
EcalPulseShapes::Item
* item,
bool
isbarrel);
50
void
getNewObjects()
override
;
51
std::string
id
()
const override
{
return
m_name;}
52
53
private
:
54
const
EcalPulseShapes
*
mypulseshapes
;
55
56
unsigned
int
m_firstRun
;
57
unsigned
int
m_lastRun
;
58
59
std::string
m_gentag
;
60
std::string
m_filename
;
61
std::string
m_name
;
62
std::vector<double> m_EBPulseShapeTemplate,
m_EEPulseShapeTemplate
;
63
64
};
65
}
66
#endif
MessageLogger.h
popcon::EcalPulseShapesHandler::mypulseshapes
const EcalPulseShapes * mypulseshapes
Definition:
EcalPulseShapesHandler.h:54
popcon::EcalPulseShapesHandler::m_name
std::string m_name
Definition:
EcalPulseShapesHandler.h:61
ParameterSet
Definition:
Functions.h:16
popcon::EcalPulseShapesHandler
Definition:
EcalPulseShapesHandler.h:42
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Event.h
popcon::EcalPulseShapesHandler::m_firstRun
unsigned int m_firstRun
Definition:
EcalPulseShapesHandler.h:56
MakerMacros.h
EventSetup.h
popcon
Definition:
Exception.h:6
ParameterSetfwd.h
ParameterSet.h
popcon::EcalPulseShapesHandler::m_lastRun
unsigned int m_lastRun
Definition:
EcalPulseShapesHandler.h:57
popcon::EcalPulseShapesHandler::id
std::string id() const override
Definition:
EcalPulseShapesHandler.h:51
EcalPulseShapesRcd.h
EventSetup
EventSetupRecordKey.h
EcalPulseShapes.h
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:32
PoolDBOutputService.h
popcon::EcalPulseShapesHandler::m_EEPulseShapeTemplate
std::vector< double > m_EEPulseShapeTemplate
Definition:
EcalPulseShapesHandler.h:62
ESHandle.h
Service.h
Timestamp.h
PopConSourceHandler.h
Event
popcon::EcalPulseShapesHandler::m_gentag
std::string m_gentag
Definition:
EcalPulseShapesHandler.h:59
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
EBDetId.h
EEDetId.h
EcalPulseShapesHandler
EcalCondHandler< EcalPulseShapes, EcalPulseShapesXMLTranslator > EcalPulseShapesHandler
Definition:
EcalCondAnalyzers.cc:63
EcalPulseShape
Definition:
EcalPulseShapes.h:8
popcon::EcalPulseShapesHandler::m_filename
std::string m_filename
Definition:
EcalPulseShapesHandler.h:60
EcalCondObjectContainer< EcalPulseShape >
Handle.h
Generated for CMSSW Reference Manual by
1.8.11