Main Page
Namespaces
Classes
Package Documentation
CondCore
SiStripPlugins
plugins
SiStripDetVOff_PayloadInspector.cc
Go to the documentation of this file.
1
#include "
CondCore/Utilities/interface/PayloadInspectorModule.h
"
2
#include "
CondCore/Utilities/interface/PayloadInspector.h
"
3
#include "
CondCore/CondDB/interface/Time.h
"
4
5
#include "
CondFormats/SiStripObjects/interface/SiStripDetVOff.h
"
6
7
#include <memory>
8
#include <sstream>
9
10
namespace
{
11
12
class
SiStripDetVOff_LV :
public
cond::payloadInspector::TimeHistoryPlot
<SiStripDetVOff,int>{
13
public
:
14
SiStripDetVOff_LV():
cond
::payloadInspector::TimeHistoryPlot<
SiStripDetVOff
,
int
>(
"Nr of mod with LV OFF vs time"
,
"nLVOff"
){
15
}
16
17
int
getFromPayload
(
SiStripDetVOff
&
payload
){
18
return
payload.
getLVoffCounts
();
19
}
20
21
};
22
23
class
SiStripDetVOff_HV :
public
cond::payloadInspector::TimeHistoryPlot
<SiStripDetVOff,int> {
24
public
:
25
SiStripDetVOff_HV() :
cond
::payloadInspector::TimeHistoryPlot<
SiStripDetVOff
,
int
>(
"Nr of mod with HV OFF vs time"
,
"nHVOff"
){
26
}
27
28
int
getFromPayload(
SiStripDetVOff
&
payload
){
29
return
payload.
getHVoffCounts
();
30
}
31
32
};
33
34
}
35
36
PAYLOAD_INSPECTOR_MODULE
(
SiStripDetVOff
){
37
PAYLOAD_INSPECTOR_CLASS
( SiStripDetVOff_LV );
38
PAYLOAD_INSPECTOR_CLASS
( SiStripDetVOff_HV );
39
}
cond::payloadInspector::TimeHistoryPlot
Definition:
PayloadInspector.h:329
SiStripDetVOff
Definition:
SiStripDetVOff.h:29
SiStripDetVOff::getLVoffCounts
int getLVoffCounts() const
Returns the total number of modules with LV off.
Definition:
SiStripDetVOff.cc:113
PAYLOAD_INSPECTOR_CLASS
#define PAYLOAD_INSPECTOR_CLASS(CLASS_NAME)
Definition:
PayloadInspectorModule.h:11
jetCorrFactors_cfi.payload
payload
payload postfix for testing
Definition:
jetCorrFactors_cfi.py:10
createfilelist.int
int
Definition:
createfilelist.py:10
cond::payloadInspector::TimeHistoryPlot::getFromPayload
virtual Y getFromPayload(PayloadType &payload)=0
SiStripDetVOff::getHVoffCounts
int getHVoffCounts() const
Returns the total number of modules with HV off.
Definition:
SiStripDetVOff.cc:131
PAYLOAD_INSPECTOR_MODULE
#define PAYLOAD_INSPECTOR_MODULE(PAYLOAD_TYPENAME)
Definition:
PayloadInspectorModule.h:8
SiStripDetVOff.h
PayloadInspector.h
cond
Definition:
plugin.cc:24
PayloadInspectorModule.h
Time.h
Generated for CMSSW Reference Manual by
1.8.11