Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondCore
SiStripPlugins
plugins
SiStripBaseDelayPyWrapper.cc
Go to the documentation of this file.
1
#include "
CondFormats/SiStripObjects/interface/SiStripBaseDelay.h
"
2
3
#include "
CondCore/Utilities/interface/PayLoadInspector.h
"
4
#include "
CondCore/Utilities/interface/InspectorPythonWrapper.h
"
5
6
#include <string>
7
#include <fstream>
8
9
namespace
cond {
10
11
template
<>
12
class
ValueExtractor
<
SiStripBaseDelay
>:
public
BaseValueExtractor
<SiStripBaseDelay> {
13
public
:
14
15
typedef
SiStripBaseDelay
Class
;
16
typedef
ExtractWhat<Class>
What
;
17
static
What
what
() {
return
What
();}
18
19
ValueExtractor
(){}
20
ValueExtractor
(
What
const
&
what
)
21
{
22
// here one can make stuff really complicated...
23
}
24
void
compute
(
Class
const
& it)
override
{
25
}
26
private
:
27
28
};
29
30
31
template
<>
32
std::string
33
PayLoadInspector<SiStripBaseDelay>::dump
()
const
{
34
std::stringstream ss;
35
return
ss.str();
36
37
}
38
39
template
<>
40
std::string
PayLoadInspector<SiStripBaseDelay>::summary
()
const
{
41
std::stringstream ss;
42
object
().printSummary(ss);
43
return
ss.str();
44
}
45
46
47
template
<>
48
std::string
PayLoadInspector<SiStripBaseDelay>::plot
(
std::string
const
&
filename
,
49
std::string
const
&,
50
std::vector<int>
const
&,
51
std::vector<float>
const
& )
const
{
52
std::string
fname
= filename +
".png"
;
53
std::ofstream
f
(fname.c_str());
54
return
fname
;
55
}
56
57
58
}
59
60
PYTHON_WRAPPER
(
SiStripBaseDelay
,
SiStripBaseDelay
);
cond::PayLoadInspector::plot
std::string plot(std::string const &, std::string const &, std::vector< int > const &, std::vector< float > const &) const
Definition:
PayLoadInspector.h:110
cond::ValueExtractor< SiStripBaseDelay >::ValueExtractor
ValueExtractor(What const &what)
Definition:
SiStripBaseDelayPyWrapper.cc:20
cond::ValueExtractor::What
ExtractWhat< Class > What
Definition:
PayLoadInspector.h:56
SiStripBaseDelay
Definition:
SiStripBaseDelay.h:22
PYTHON_WRAPPER
#define PYTHON_WRAPPER(_class, _name)
Definition:
InspectorPythonWrapper.h:48
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
cond::ValueExtractor< SiStripBaseDelay >::compute
void compute(Class const &it) override
Definition:
SiStripBaseDelayPyWrapper.cc:24
cond::PayLoadInspector::summary
std::string summary() const
Definition:
PayLoadInspector.h:103
cond::ValueExtractor::what
static What what()
Definition:
PayLoadInspector.h:59
cond::ValueExtractor< SiStripBaseDelay >::What
ExtractWhat< Class > What
Definition:
SiStripBaseDelayPyWrapper.cc:16
f
double f[11][100]
Definition:
MuScleFitUtils.cc:77
InspectorPythonWrapper.h
cond::ExtractWhat< Class >
cond::ValueExtractor
Definition:
PayLoadInspector.h:53
cond::ValueExtractor< SiStripBaseDelay >::ValueExtractor
ValueExtractor()
Definition:
SiStripBaseDelayPyWrapper.cc:19
cond::BaseValueExtractor
Definition:
PayLoadInspector.h:19
dbtoconf.object
list object
Definition:
dbtoconf.py:77
alignmentValidation.fname
string fname
main script
Definition:
alignmentValidation.py:957
cond::ValueExtractor< SiStripBaseDelay >::what
static What what()
Definition:
SiStripBaseDelayPyWrapper.cc:17
lut2db_cfg.filename
tuple filename
Definition:
lut2db_cfg.py:20
cond::ValueExtractor< SiStripBaseDelay >::Class
SiStripBaseDelay Class
Definition:
SiStripBaseDelayPyWrapper.cc:15
cond::PayLoadInspector::dump
std::string dump() const
Definition:
PayLoadInspector.h:93
PayLoadInspector.h
SiStripBaseDelay.h
Generated for CMSSW Reference Manual by
1.8.5