test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
#include "
DQMServices/Core/interface/DQMStore.h
"
14
15
class
DQMStore
;
16
class
MonitorElement
;
17
18
class
DTTimeEvolutionHisto
{
19
public
:
33
DTTimeEvolutionHisto
(
DQMStore::IBooker
& ibooker,
const
std::string
&
name
,
34
const
std::string
&
title
,
35
int
nbins
,
36
int
lsPrescale,
37
bool
sliding,
38
int
mode
= 0);
39
40
41
DTTimeEvolutionHisto
(
DQMStore::IBooker
& ibooker,
const
std::string
& name,
42
const
std::string
& title,
43
int
nbins,
44
int
firstLS,
45
int
lsPrescale,
46
bool
sliding,
47
int
mode
= 0);
48
49
50
//FR changed the previous 2 argument constructor to the following one
51
DTTimeEvolutionHisto
(
MonitorElement
*);
52
54
virtual
~DTTimeEvolutionHisto
();
55
56
// Operations
57
58
void
setTimeSlotValue
(
float
value
,
int
timeSlot);
59
60
void
accumulateValueTimeSlot
(
float
value);
61
62
void
updateTimeSlot
(
int
ls
,
int
nEventsInLS);
63
64
void
normalizeTo
(
const
MonitorElement
*histForNorm);
65
66
protected
:
67
68
private
:
69
float
valueLastTimeSlot
;
70
std::map<int,int>
nEventsInLastTimeSlot
;
71
std::map<int,int>
nLumiTrInLastTimeSlot
;
72
int
theFirstLS
;
73
int
theLSPrescale
;
74
bool
doSlide
;
75
int
nBookedBins
;
76
int
theMode
;
77
MonitorElement
*
histo
;
78
79
};
80
#endif
81
82
83
/* Local Variables: */
84
/* show-trailing-whitespace: t */
85
/* truncate-lines: t */
86
/* End: */
indexGen.title
title
Definition:
indexGen.py:48
DTTimeEvolutionHisto::theFirstLS
int theFirstLS
Definition:
DTTimeEvolutionHisto.h:72
DTTimeEvolutionHisto::doSlide
bool doSlide
Definition:
DTTimeEvolutionHisto.h:74
DTTimeEvolutionHisto::accumulateValueTimeSlot
void accumulateValueTimeSlot(float value)
Definition:
DTTimeEvolutionHisto.cc:113
DTTimeEvolutionHisto::nLumiTrInLastTimeSlot
std::map< int, int > nLumiTrInLastTimeSlot
Definition:
DTTimeEvolutionHisto.h:71
relativeConstraints.value
tuple value
Definition:
relativeConstraints.py:54
eostools.ls
def ls
Definition:
eostools.py:348
DTTimeEvolutionHisto::valueLastTimeSlot
float valueLastTimeSlot
Definition:
DTTimeEvolutionHisto.h:69
DTTimeEvolutionHisto::DTTimeEvolutionHisto
DTTimeEvolutionHisto(DQMStore::IBooker &ibooker, const std::string &name, const std::string &title, int nbins, int lsPrescale, bool sliding, int mode=0)
DTTimeEvolutionHisto
Definition:
DTTimeEvolutionHisto.h:18
DTTimeEvolutionHisto::theMode
int theMode
Definition:
DTTimeEvolutionHisto.h:76
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
DTTimeEvolutionHisto::histo
MonitorElement * histo
Definition:
DTTimeEvolutionHisto.h:77
DTTimeEvolutionHisto::setTimeSlotValue
void setTimeSlotValue(float value, int timeSlot)
Definition:
DTTimeEvolutionHisto.cc:89
universalConfigTemplate.mode
mode
Definition:
universalConfigTemplate.py:80
DQMStore
Definition:
DQMStore.h:75
DTTimeEvolutionHisto::nEventsInLastTimeSlot
std::map< int, int > nEventsInLastTimeSlot
Definition:
DTTimeEvolutionHisto.h:70
DQMStore.h
DTTimeEvolutionHisto::~DTTimeEvolutionHisto
virtual ~DTTimeEvolutionHisto()
Destructor.
Definition:
DTTimeEvolutionHisto.cc:85
DTTimeEvolutionHisto::nBookedBins
int nBookedBins
Definition:
DTTimeEvolutionHisto.h:75
MonitorElement
Definition:
MonitorElement.h:37
DTTimeEvolutionHisto::theLSPrescale
int theLSPrescale
Definition:
DTTimeEvolutionHisto.h:73
DTTimeEvolutionHisto::normalizeTo
void normalizeTo(const MonitorElement *histForNorm)
Definition:
DTTimeEvolutionHisto.cc:205
DTTimeEvolutionHisto::updateTimeSlot
void updateTimeSlot(int ls, int nEventsInLS)
Definition:
DTTimeEvolutionHisto.cc:119
hlt_dqm_clientPB-live_cfg.nbins
tuple nbins
Definition:
hlt_dqm_clientPB-live_cfg.py:35
DQMStore::IBooker
Definition:
DQMStore.h:90
Generated for CMSSW Reference Manual by
1.8.5