Main Page
Namespaces
Classes
Package Documentation
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
#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: */
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:111
DTTimeEvolutionHisto::nLumiTrInLastTimeSlot
std::map< int, int > nLumiTrInLastTimeSlot
Definition:
DTTimeEvolutionHisto.h:71
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
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
DTTimeEvolutionHisto::histo
MonitorElement * histo
Definition:
DTTimeEvolutionHisto.h:77
DTTimeEvolutionHisto::setTimeSlotValue
void setTimeSlotValue(float value, int timeSlot)
Definition:
DTTimeEvolutionHisto.cc:89
DQMStore
Definition:
DQMStore.h:76
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition:
ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
DTTimeEvolutionHisto::nEventsInLastTimeSlot
std::map< int, int > nEventsInLastTimeSlot
Definition:
DTTimeEvolutionHisto.h:70
DQMStore.h
DTTimeEvolutionHisto::~DTTimeEvolutionHisto
virtual ~DTTimeEvolutionHisto()
Destructor.
Definition:
DTTimeEvolutionHisto.cc:85
value
Definition:
value.py:1
DTTimeEvolutionHisto::nBookedBins
int nBookedBins
Definition:
DTTimeEvolutionHisto.h:75
MonitorElement
Definition:
MonitorElement.h:37
DTTimeEvolutionHisto::theLSPrescale
int theLSPrescale
Definition:
DTTimeEvolutionHisto.h:73
eostools.ls
def ls(path, rec=False)
Definition:
eostools.py:349
DTTimeEvolutionHisto::normalizeTo
void normalizeTo(const MonitorElement *histForNorm)
Definition:
DTTimeEvolutionHisto.cc:203
DTTimeEvolutionHisto::updateTimeSlot
void updateTimeSlot(int ls, int nEventsInLS)
Definition:
DTTimeEvolutionHisto.cc:117
runGCPTkAlMap.title
string title
Definition:
runGCPTkAlMap.py:60
pileupCalc.nbins
nbins
Definition:
pileupCalc.py:240
dataset.name
name
Definition:
dataset.py:45
DQMStore::IBooker
Definition:
DQMStore.h:88
Generated for CMSSW Reference Manual by
1.8.11