Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SimCalorimetry
EcalSelectiveReadoutProducers
interface
EcalSRCondTools.h
Go to the documentation of this file.
1
#ifndef SRCONDACCESS_H
2
#define SRCONDACCESS_H
3
4
/*
5
* $Id: EcalSRCondTools.h,v 1.3 2011/03/02 14:47:41 pgras Exp $
6
*/
7
8
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
9
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
10
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
11
#include "
CondFormats/EcalObjects/interface/EcalSRSettings.h
"
12
15
class
EcalSRCondTools
:
public
edm::EDAnalyzer
{
16
//methods
17
public
:
21
EcalSRCondTools
(
const
edm::ParameterSet
&);
22
25
~EcalSRCondTools
();
26
27
32
virtual
void
analyze
(
const
edm::Event
& evt,
const
edm::EventSetup
& es);
33
42
static
void
importParameterSet
(
EcalSRSettings
& sr,
const
edm::ParameterSet
& ps);
43
44
52
static
void
importSrpConfigFile
(
EcalSRSettings
& sr, std::istream&
f
,
bool
debug
=
false
);
53
57
static
double
normalizeWeights
(
int
hwWeight);
58
59
private
:
64
static
std::string
tokenize
(
const
std::string&
s
,
const
std::string& delim,
int
&
pos
);
65
68
static
std::string
trim
(std::string s);
69
70
//fields
71
private
:
72
73
edm::ParameterSet
ps_
;
74
};
75
76
#endif //SRCONDACCESS_H not defined
EcalSRCondTools::importSrpConfigFile
static void importSrpConfigFile(EcalSRSettings &sr, std::istream &f, bool debug=false)
Definition:
EcalSRCondTools.cc:194
EcalSRCondTools::ps_
edm::ParameterSet ps_
Definition:
EcalSRCondTools.h:73
pos
Definition:
Histograms.cc:19
EcalSRCondTools::tokenize
static std::string tokenize(const std::string &s, const std::string &delim, int &pos)
Definition:
EcalSRCondTools.cc:411
EcalSRCondTools::importParameterSet
static void importParameterSet(EcalSRSettings &sr, const edm::ParameterSet &ps)
Definition:
EcalSRCondTools.cc:156
EcalSRCondTools::normalizeWeights
static double normalizeWeights(int hwWeight)
Definition:
EcalSRCondTools.cc:404
EcalSRSettings
Definition:
EcalSRSettings.h:27
Frameworkfwd.h
EcalSRCondTools::trim
static std::string trim(std::string s)
Definition:
EcalSRCondTools.cc:424
ParameterSet.h
EcalSRCondTools
Definition:
EcalSRCondTools.h:15
f
double f[11][100]
Definition:
MuScleFitUtils.cc:80
edm::EventSetup
Definition:
EventSetup.h:44
EcalSRCondTools::~EcalSRCondTools
~EcalSRCondTools()
Definition:
EcalSRCondTools.cc:66
edm::EDAnalyzer
Definition:
EDAnalyzer.h:14
EDAnalyzer.h
alignCSCRings.s
list s
Definition:
alignCSCRings.py:91
EcalSRCondTools::analyze
virtual void analyze(const edm::Event &evt, const edm::EventSetup &es)
Definition:
EcalSRCondTools.cc:70
edm::ParameterSet
Definition:
ParameterSet.h:35
debug
#define debug
Definition:
MEtoEDMFormat.h:34
edm::Event
Definition:
Event.h:50
EcalSRSettings.h
EcalSRCondTools::EcalSRCondTools
EcalSRCondTools(const edm::ParameterSet &)
Definition:
EcalSRCondTools.cc:62
Generated for CMSSW Reference Manual by
1.8.5