Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
#include "
CondFormats/EcalObjects/interface/EcalTPGPhysicsConst.h
"
14
#include "
CondFormats/DataRecord/interface/EcalTPGPhysicsConstRcd.h
"
15
16
#include <string>
19
class
EcalSRCondTools
:
public
edm::one::EDAnalyzer
<> {
20
//methods
21
public
:
25
EcalSRCondTools
(
const
edm::ParameterSet
&);
26
29
~EcalSRCondTools
()
override
;
30
35
void
analyze
(
const
edm::Event
& evt,
const
edm::EventSetup
& es)
override
;
36
45
static
void
importParameterSet
(
EcalSRSettings
& sr,
const
edm::ParameterSet
& ps);
46
54
static
void
importSrpConfigFile
(
EcalSRSettings
& sr, std::istream&
f
,
bool
debug
=
false
);
55
59
static
double
normalizeWeights
(
int
hwWeight);
60
61
private
:
66
static
std::string
tokenize
(
const
std::string
&
s
,
const
std::string
& delim,
int
& pos);
67
70
static
std::string
trim
(
std::string
s);
71
72
//fields
73
private
:
74
const
edm::ParameterSet
ps_
;
75
76
const
std::string
mode_
;
77
bool
iomode_write_
;
78
bool
done_
;
79
80
edm::ESGetToken<EcalSRSettings, EcalSRSettingsRcd>
hSrToken_
;
81
edm::ESGetToken<EcalTPGPhysicsConst, EcalTPGPhysicsConstRcd>
tpgPhysicsConstToken_
;
82
};
83
84
#endif //SRCONDACCESS_H not defined
EcalSRCondTools::importSrpConfigFile
static void importSrpConfigFile(EcalSRSettings &sr, std::istream &f, bool debug=false)
Definition:
EcalSRCondTools.cc:178
EcalSRCondTools::mode_
const std::string mode_
Definition:
EcalSRCondTools.h:76
EcalSRCondTools::ps_
const edm::ParameterSet ps_
Definition:
EcalSRCondTools.h:74
EcalSRCondTools::tokenize
static std::string tokenize(const std::string &s, const std::string &delim, int &pos)
Definition:
EcalSRCondTools.cc:466
EcalSRSettingsRcd.h
EcalSRCondTools::importParameterSet
static void importParameterSet(EcalSRSettings &sr, const edm::ParameterSet &ps)
Definition:
EcalSRCondTools.cc:140
EcalTPGPhysicsConst.h
EcalSRCondTools::normalizeWeights
static double normalizeWeights(int hwWeight)
Definition:
EcalSRCondTools.cc:458
EcalSRSettings
Definition:
EcalSRSettings.h:27
EcalSRCondTools::hSrToken_
edm::ESGetToken< EcalSRSettings, EcalSRSettingsRcd > hSrToken_
Definition:
EcalSRCondTools.h:80
Frameworkfwd.h
EcalSRCondTools::trim
static std::string trim(std::string s)
Definition:
EcalSRCondTools.cc:481
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ParameterSet.h
edm::ESGetToken< EcalSRSettings, EcalSRSettingsRcd >
EcalSRCondTools::analyze
void analyze(const edm::Event &evt, const edm::EventSetup &es) override
Definition:
EcalSRCondTools.cc:66
EcalSRCondTools
Definition:
EcalSRCondTools.h:19
ESGetToken.h
EcalTPGPhysicsConstRcd.h
EcalSRCondTools::done_
bool done_
Definition:
EcalSRCondTools.h:78
edm::EventSetup
Definition:
EventSetup.h:59
debug
#define debug
Definition:
HDRShower.cc:19
alignCSCRings.s
list s
Definition:
alignCSCRings.py:92
EDAnalyzer.h
edm::ParameterSet
Definition:
ParameterSet.h:47
EcalSRCondTools::tpgPhysicsConstToken_
edm::ESGetToken< EcalTPGPhysicsConst, EcalTPGPhysicsConstRcd > tpgPhysicsConstToken_
Definition:
EcalSRCondTools.h:81
edm::Event
Definition:
Event.h:73
EcalSRSettings.h
EcalSRCondTools::~EcalSRCondTools
~EcalSRCondTools() override
Definition:
EcalSRCondTools.cc:64
EcalSRCondTools::iomode_write_
bool iomode_write_
Definition:
EcalSRCondTools.h:77
edm::one::EDAnalyzer
Definition:
EDAnalyzer.h:30
EcalSRCondTools::EcalSRCondTools
EcalSRCondTools(const edm::ParameterSet &)
Definition:
EcalSRCondTools.cc:55
validate-o2o-wbm.f
tuple f
Definition:
validate-o2o-wbm.py:27
Generated for CMSSW Reference Manual by
1.8.5