Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
CondCore
EcalPlugins
plugins
EcalTimeOffsetConstantPyWrapper.cc
Go to the documentation of this file.
1
#include "
CondFormats/EcalObjects/interface/EcalTimeOffsetConstant.h
"
2
#include "
CondTools/Ecal/interface/EcalTimeOffsetXMLTranslator.h
"
3
#include "
CondTools/Ecal/interface/EcalCondHeader.h
"
4
#include "TH2F.h"
5
#include "TCanvas.h"
6
#include "TLine.h"
7
#include "TStyle.h"
8
#include "TPave.h"
9
#include "TPaveStats.h"
10
11
#include "
CondCore/Utilities/interface/PayLoadInspector.h
"
12
#include "
CondCore/Utilities/interface/InspectorPythonWrapper.h
"
13
14
#include <string>
15
#include <fstream>
16
17
namespace
cond {
18
template
<>
19
std::string
PayLoadInspector<EcalTimeOffsetConstant>::dump
()
const
{
20
std::stringstream
ss
;
21
EcalCondHeader
header;
22
ss <<
EcalTimeOffsetXMLTranslator::dumpXML
(header,
object
());
23
return
ss.str();
24
}
25
26
template
<>
27
std::string
PayLoadInspector<EcalTimeOffsetConstant>::summary
()
const
{
28
std::stringstream
ss
;
29
ss <<
" Barrel and endcap Time Offset"
<< std::endl;
30
ss <<
" EB "
<<
object
().getEBValue()
31
<<
" EE "
<<
object
().getEEValue() << std::endl;
32
return
ss.str();
33
}
34
35
36
template
<>
37
std::string
PayLoadInspector<EcalTimeOffsetConstant>::plot
(
std::string
const
&
filename
,
38
std::string
const
&,
39
std::vector<int>
const
&,
40
std::vector<float>
const
& )
const
{
41
return
filename
;
42
}
43
}
44
45
PYTHON_WRAPPER
(
EcalTimeOffsetConstant
,
EcalTimeOffsetConstant
);
EcalTimeOffsetConstant
Definition:
EcalTimeOffsetConstant.h:13
EcalTimeOffsetXMLTranslator.h
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
EcalTimeOffsetXMLTranslator::dumpXML
static std::string dumpXML(const EcalCondHeader &header, const EcalTimeOffsetConstant &record)
Definition:
EcalTimeOffsetXMLTranslator.cc:81
PYTHON_WRAPPER
#define PYTHON_WRAPPER(_class, _name)
Definition:
InspectorPythonWrapper.h:48
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
cond::PayLoadInspector::summary
std::string summary() const
Definition:
PayLoadInspector.h:103
EcalCondHeader
Definition:
EcalCondHeader.h:17
InspectorPythonWrapper.h
EcalTimeOffsetConstant.h
dbtoconf.object
list object
Definition:
dbtoconf.py:77
contentValuesCheck.ss
list ss
Definition:
contentValuesCheck.py:32
lut2db_cfg.filename
tuple filename
Definition:
lut2db_cfg.py:20
cond::PayLoadInspector::dump
std::string dump() const
Definition:
PayLoadInspector.h:93
EcalCondHeader.h
PayLoadInspector.h
Generated for CMSSW Reference Manual by
1.8.5