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
PopConSourceHandler.h
popcon::EcalPulseShapesHandler::EcalPulseShapesHandler
EcalPulseShapesHandler(edm::ParameterSet const &)
Definition:
EcalPulseShapesHandler.cc:7
Handle.h
MessageLogger.h
ESHandle.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
EBDetId.h
EEDetId.h
popcon::EcalPulseShapesHandler::m_firstRun
unsigned int m_firstRun
Definition:
EcalPulseShapesHandler.h:52
EcalCondObjectContainer< EcalPulseShape >
popcon::EcalPulseShapesHandler::~EcalPulseShapesHandler
~EcalPulseShapesHandler() override
Definition:
EcalPulseShapesHandler.cc:16
popcon::EcalPulseShapesHandler::m_filename
std::string m_filename
Definition:
EcalPulseShapesHandler.h:56
MakerMacros.h
popcon::EcalPulseShapesHandler::m_EBPulseShapeTemplate
std::vector< double > m_EBPulseShapeTemplate
Definition:
EcalPulseShapesHandler.h:58
PoolDBOutputService.h
Service.h
popcon::EcalPulseShapesHandler::m_lastRun
unsigned int m_lastRun
Definition:
EcalPulseShapesHandler.h:53
Event
popcon::EcalPulseShapesHandler::mypulseshapes
const EcalPulseShapes * mypulseshapes
Definition:
EcalPulseShapesHandler.h:50
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
EcalPulseShapes.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Timestamp.h
Event.h
ParameterSet
Definition:
Functions.h:16
EcalCondObjectContainer< EcalPulseShape >::Item
EcalPulseShape Item
Definition:
EcalCondObjectContainer.h:15
popcon::EcalPulseShapesHandler::getNewObjects
void getNewObjects() override
Definition:
EcalPulseShapesHandler.cc:34
popcon::EcalPulseShapesHandler::m_gentag
std::string m_gentag
Definition:
EcalPulseShapesHandler.h:55
B2GTnPMonitor_cfi.item
item
Definition:
B2GTnPMonitor_cfi.py:147
popcon::PopConSourceHandler
Definition:
PopConSourceHandler.h:30
popcon::EcalPulseShapesHandler::checkPulseShape
bool checkPulseShape(EcalPulseShapes::Item *item)
Definition:
EcalPulseShapesHandler.cc:18
popcon::EcalPulseShapesHandler::fillSimPulseShape
void fillSimPulseShape(EcalPulseShapes::Item *item, bool isbarrel)
Definition:
EcalPulseShapesHandler.cc:28
popcon::EcalPulseShapesHandler::m_EEPulseShapeTemplate
std::vector< double > m_EEPulseShapeTemplate
Definition:
EcalPulseShapesHandler.h:58
popcon
Definition:
Exception.h:6
popcon::EcalPulseShapesHandler::id
std::string id() const override
Definition:
EcalPulseShapesHandler.h:47
popcon::EcalPulseShapesHandler
Definition:
EcalPulseShapesHandler.h:40
ParameterSetfwd.h
EventSetup.h
popcon::EcalPulseShapesHandler::m_name
std::string m_name
Definition:
EcalPulseShapesHandler.h:57
EventSetup
ParameterSet.h
EventSetupRecordKey.h
EcalPulseShapesRcd.h
Generated for CMSSW Reference Manual by
1.8.16