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
#include "
FWCore/ServiceRegistry/interface/Service.h
"
15
#include "
CondCore/DBOutputService/interface/PoolDBOutputService.h
"
16
#include "
FWCore/Framework/interface/ESHandle.h
"
17
#include "
FWCore/Framework/interface/Event.h
"
18
#include "
FWCore/Framework/interface/MakerMacros.h
"
19
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
20
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
21
#include "
DataFormats/Common/interface/Handle.h
"
22
#include "
FWCore/Framework/interface/EventSetup.h
"
23
#include "
FWCore/Framework/interface/EventSetupRecordKey.h
"
24
25
#include "
CondFormats/EcalObjects/interface/EcalPulseShapes.h
"
26
#include "
CondFormats/DataRecord/interface/EcalPulseShapesRcd.h
"
27
28
#include "
DataFormats/EcalDetId/interface/EEDetId.h
"
29
#include "
DataFormats/EcalDetId/interface/EBDetId.h
"
30
#include "
DataFormats/Provenance/interface/Timestamp.h
"
31
32
namespace
edm
{
33
class
ParameterSet
;
34
class
Event
;
35
class
EventSetup
;
36
}
// namespace edm
37
38
namespace
popcon
{
39
40
class
EcalPulseShapesHandler
:
public
popcon::PopConSourceHandler
<EcalPulseShapes> {
41
public
:
42
EcalPulseShapesHandler
(
edm::ParameterSet
const
&);
43
~
EcalPulseShapesHandler
()
override
;
44
bool
checkPulseShape(
EcalPulseShapes::Item
*
item
);
45
void
fillSimPulseShape(
EcalPulseShapes::Item
* item,
bool
isbarrel);
46
void
getNewObjects()
override
;
47
std::string
id
()
const override
{
return
m_name; }
48
49
private
:
50
const
EcalPulseShapes
*
mypulseshapes
;
51
52
unsigned
int
m_firstRun
;
53
unsigned
int
m_lastRun
;
54
55
std::string
m_gentag
;
56
std::string
m_filename
;
57
std::string
m_name
;
58
std::vector<double> m_EBPulseShapeTemplate,
m_EEPulseShapeTemplate
;
59
};
60
}
// namespace popcon
61
#endif
MessageLogger.h
popcon::EcalPulseShapesHandler::mypulseshapes
const EcalPulseShapes * mypulseshapes
Definition:
EcalPulseShapesHandler.h:50
popcon::EcalPulseShapesHandler::m_name
std::string m_name
Definition:
EcalPulseShapesHandler.h:57
ParameterSet
Definition:
Functions.h:16
popcon::EcalPulseShapesHandler
Definition:
EcalPulseShapesHandler.h:40
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Event.h
popcon::EcalPulseShapesHandler::m_firstRun
unsigned int m_firstRun
Definition:
EcalPulseShapesHandler.h:52
MakerMacros.h
EventSetup.h
popcon
Definition:
Exception.h:6
B2GTnPMonitor_cfi.item
item
Definition:
B2GTnPMonitor_cfi.py:147
ParameterSetfwd.h
ParameterSet.h
popcon::EcalPulseShapesHandler::m_lastRun
unsigned int m_lastRun
Definition:
EcalPulseShapesHandler.h:53
popcon::EcalPulseShapesHandler::id
std::string id() const override
Definition:
EcalPulseShapesHandler.h:47
EcalPulseShapesRcd.h
EventSetup
EventSetupRecordKey.h
EcalPulseShapes.h
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
PoolDBOutputService.h
popcon::EcalPulseShapesHandler::m_EEPulseShapeTemplate
std::vector< double > m_EEPulseShapeTemplate
Definition:
EcalPulseShapesHandler.h:58
ESHandle.h
Service.h
Timestamp.h
PopConSourceHandler.h
Event
popcon::EcalPulseShapesHandler::m_gentag
std::string m_gentag
Definition:
EcalPulseShapesHandler.h:55
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ParameterSet
Definition:
ParameterSet.h:36
EBDetId.h
EEDetId.h
EcalPulseShapesHandler
EcalCondHandler< EcalPulseShapes, EcalPulseShapesXMLTranslator > EcalPulseShapesHandler
Definition:
EcalCondAnalyzers.cc:57
EcalPulseShape
Definition:
EcalPulseShapes.h:8
popcon::EcalPulseShapesHandler::m_filename
std::string m_filename
Definition:
EcalPulseShapesHandler.h:56
EcalCondObjectContainer< EcalPulseShape >
Handle.h
Generated for CMSSW Reference Manual by
1.8.11