Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DQM
DTMonitorModule
interface
DTTimeEvolutionHisto.h
Go to the documentation of this file.
1
#ifndef DTTimeEvolutionHisto_H
2
#define DTTimeEvolutionHisto_H
3
10
#include <string>
11
#include <map>
12
13
class
DQMStore
;
14
class
MonitorElement
;
15
16
class
DTTimeEvolutionHisto
{
17
public
:
31
DTTimeEvolutionHisto
(
DQMStore
*dbe,
const
std::string
&
name
,
32
const
std::string
&
title
,
33
int
nbins
,
34
int
lsPrescale,
35
bool
sliding,
36
int
mode
= 0);
37
38
39
DTTimeEvolutionHisto
(
DQMStore
*dbe,
const
std::string
& name,
40
const
std::string
& title,
41
int
nbins,
42
int
firstLS,
43
int
lsPrescale,
44
bool
sliding,
45
int
mode
= 0);
46
47
48
50
DTTimeEvolutionHisto
(
DQMStore
*dbe,
const
std::string
& name);
51
53
virtual
~DTTimeEvolutionHisto
();
54
55
// Operations
56
57
void
setTimeSlotValue
(
float
value
,
int
timeSlot);
58
59
void
accumulateValueTimeSlot
(
float
value);
60
61
void
updateTimeSlot
(
int
ls
,
int
nEventsInLS);
62
63
void
normalizeTo
(
const
MonitorElement
*histForNorm);
64
65
protected
:
66
67
private
:
68
float
valueLastTimeSlot
;
69
std::map<int,int>
nEventsInLastTimeSlot
;
70
std::map<int,int>
nLumiTrInLastTimeSlot
;
71
int
theFirstLS
;
72
int
theLSPrescale
;
73
bool
doSlide
;
74
int
nBookedBins
;
75
int
theMode
;
76
MonitorElement
*
histo
;
77
78
};
79
#endif
80
81
82
/* Local Variables: */
83
/* show-trailing-whitespace: t */
84
/* truncate-lines: t */
85
/* End: */
indexGen.title
title
Definition:
indexGen.py:48
DTTimeEvolutionHisto::theFirstLS
int theFirstLS
Definition:
DTTimeEvolutionHisto.h:71
DTTimeEvolutionHisto::doSlide
bool doSlide
Definition:
DTTimeEvolutionHisto.h:73
DTTimeEvolutionHisto::accumulateValueTimeSlot
void accumulateValueTimeSlot(float value)
Definition:
DTTimeEvolutionHisto.cc:166
DTTimeEvolutionHisto::nLumiTrInLastTimeSlot
std::map< int, int > nLumiTrInLastTimeSlot
Definition:
DTTimeEvolutionHisto.h:70
relativeConstraints.value
tuple value
Definition:
relativeConstraints.py:54
DTTimeEvolutionHisto::valueLastTimeSlot
float valueLastTimeSlot
Definition:
DTTimeEvolutionHisto.h:68
DTTimeEvolutionHisto
Definition:
DTTimeEvolutionHisto.h:16
alignBH_cfg.mode
list mode
Definition:
alignBH_cfg.py:7
DTTimeEvolutionHisto::theMode
int theMode
Definition:
DTTimeEvolutionHisto.h:75
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
DTTimeEvolutionHisto::DTTimeEvolutionHisto
DTTimeEvolutionHisto(DQMStore *dbe, const std::string &name, const std::string &title, int nbins, int lsPrescale, bool sliding, int mode=0)
DTTimeEvolutionHisto::histo
MonitorElement * histo
Definition:
DTTimeEvolutionHisto.h:76
DTTimeEvolutionHisto::setTimeSlotValue
void setTimeSlotValue(float value, int timeSlot)
Definition:
DTTimeEvolutionHisto.cc:141
DQMStore
Definition:
DQMStore.h:70
DTTimeEvolutionHisto::nEventsInLastTimeSlot
std::map< int, int > nEventsInLastTimeSlot
Definition:
DTTimeEvolutionHisto.h:69
DTTimeEvolutionHisto::~DTTimeEvolutionHisto
virtual ~DTTimeEvolutionHisto()
Destructor.
Definition:
DTTimeEvolutionHisto.cc:137
DTTimeEvolutionHisto::nBookedBins
int nBookedBins
Definition:
DTTimeEvolutionHisto.h:74
MonitorElement
Definition:
MonitorElement.h:34
DTTimeEvolutionHisto::theLSPrescale
int theLSPrescale
Definition:
DTTimeEvolutionHisto.h:72
DTTimeEvolutionHisto::normalizeTo
void normalizeTo(const MonitorElement *histForNorm)
Definition:
DTTimeEvolutionHisto.cc:257
DTTimeEvolutionHisto::updateTimeSlot
void updateTimeSlot(int ls, int nEventsInLS)
Definition:
DTTimeEvolutionHisto.cc:172
pileupCalc.nbins
nbins
Definition:
pileupCalc.py:237
python.rootplot.utilities.ls
def ls
Definition:
utilities.py:408
Generated for CMSSW Reference Manual by
1.8.5