SimCalorimetry
EcalSelectiveReadoutProducers
interface
EcalSRCondTools.h
Go to the documentation of this file.
1
#ifndef SRCONDACCESS_H
2
#define SRCONDACCESS_H
3
4
/*
5
*/
6
7
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
8
#include "
FWCore/Framework/interface/one/EDAnalyzer.h
"
9
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
10
#include "
FWCore/Utilities/interface/ESGetToken.h
"
11
#include "
CondFormats/EcalObjects/interface/EcalSRSettings.h
"
12
#include "
CondFormats/DataRecord/interface/EcalSRSettingsRcd.h
"
13
16
class
EcalSRCondTools
:
public
edm::one::EDAnalyzer
<> {
17
//methods
18
public
:
22
EcalSRCondTools
(
const
edm::ParameterSet
&);
23
26
~EcalSRCondTools
()
override
;
27
32
void
analyze
(
const
edm::Event
& evt,
const
edm::EventSetup
& es)
override
;
33
42
static
void
importParameterSet
(
EcalSRSettings
& sr,
const
edm::ParameterSet
& ps);
43
51
static
void
importSrpConfigFile
(
EcalSRSettings
& sr, std::istream&
f
,
bool
debug
=
false
);
52
56
static
double
normalizeWeights
(
int
hwWeight);
57
58
private
:
63
static
std::string
tokenize
(
const
std::string
&
s
,
const
std::string
& delim,
int
&
pos
);
64
67
static
std::string
trim
(
std::string
s
);
68
69
//fields
70
private
:
71
edm::ParameterSet
ps_
;
72
edm::ESGetToken<EcalSRSettings, EcalSRSettingsRcd>
hSrToken_
;
73
74
bool
done_
;
75
};
76
77
#endif //SRCONDACCESS_H not defined
EcalSRCondTools::importParameterSet
static void importParameterSet(EcalSRSettings &sr, const edm::ParameterSet &ps)
Definition:
EcalSRCondTools.cc:148
EDAnalyzer.h
EcalSRCondTools::done_
bool done_
Definition:
EcalSRCondTools.h:74
EcalSRSettingsRcd.h
f
double f[11][100]
Definition:
MuScleFitUtils.cc:78
pos
Definition:
PixelAliasList.h:18
edm::one::EDAnalyzer
Definition:
EDAnalyzer.h:30
ESGetToken.h
EcalSRCondTools
Definition:
EcalSRCondTools.h:16
EcalSRSettings.h
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
debug
#define debug
Definition:
HDRShower.cc:19
EcalSRCondTools::ps_
edm::ParameterSet ps_
Definition:
EcalSRCondTools.h:71
EcalSRCondTools::EcalSRCondTools
EcalSRCondTools(const edm::ParameterSet &)
Definition:
EcalSRCondTools.cc:60
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
EcalSRCondTools::normalizeWeights
static double normalizeWeights(int hwWeight)
Definition:
EcalSRCondTools.cc:466
edm::ParameterSet
Definition:
ParameterSet.h:47
EcalSRCondTools::~EcalSRCondTools
~EcalSRCondTools() override
Definition:
EcalSRCondTools.cc:63
EcalSRCondTools::analyze
void analyze(const edm::Event &evt, const edm::EventSetup &es) override
Definition:
EcalSRCondTools.cc:65
EcalSRCondTools::importSrpConfigFile
static void importSrpConfigFile(EcalSRSettings &sr, std::istream &f, bool debug=false)
Definition:
EcalSRCondTools.cc:186
edm::EventSetup
Definition:
EventSetup.h:57
edm::ESGetToken< EcalSRSettings, EcalSRSettingsRcd >
EcalSRCondTools::trim
static std::string trim(std::string s)
Definition:
EcalSRCondTools.cc:489
EcalSRCondTools::hSrToken_
edm::ESGetToken< EcalSRSettings, EcalSRSettingsRcd > hSrToken_
Definition:
EcalSRCondTools.h:72
EcalSRSettings
Definition:
EcalSRSettings.h:29
Frameworkfwd.h
ParameterSet.h
edm::Event
Definition:
Event.h:73
EcalSRCondTools::tokenize
static std::string tokenize(const std::string &s, const std::string &delim, int &pos)
Definition:
EcalSRCondTools.cc:474
Generated for CMSSW Reference Manual by
1.8.16