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
DTTimeEvolutionHisto
{
16
public
:
17
typedef
dqm::legacy::DQMStore
DQMStore
;
18
typedef
dqm::legacy::MonitorElement
MonitorElement
;
32
DTTimeEvolutionHisto
(
DQMStore::IBooker
& ibooker,
33
const
std::string
&
name
,
34
const
std::string
&
title
,
35
int
nbins
,
36
int
lsPrescale,
37
bool
sliding,
38
int
mode
= 0);
39
40
DTTimeEvolutionHisto
(
DQMStore::IBooker
& ibooker,
41
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
//FR changed the previous 2 argument constructor to the following one
50
DTTimeEvolutionHisto
(
MonitorElement
*);
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
private
:
67
float
valueLastTimeSlot
;
68
std::map<int, int>
nEventsInLastTimeSlot
;
69
std::map<int, int>
nLumiTrInLastTimeSlot
;
70
int
theFirstLS
;
71
int
theLSPrescale
;
72
bool
doSlide
;
73
int
nBookedBins
;
74
int
theMode
;
75
MonitorElement
*
histo
;
76
};
77
#endif
78
79
/* Local Variables: */
80
/* show-trailing-whitespace: t */
81
/* truncate-lines: t */
82
/* End: */
DTTimeEvolutionHisto::theFirstLS
int theFirstLS
Definition:
DTTimeEvolutionHisto.h:70
DTTimeEvolutionHisto::doSlide
bool doSlide
Definition:
DTTimeEvolutionHisto.h:72
DTTimeEvolutionHisto::accumulateValueTimeSlot
void accumulateValueTimeSlot(float value)
Definition:
DTTimeEvolutionHisto.cc:106
LaserClient_cfi.nbins
nbins
Definition:
LaserClient_cfi.py:53
DTTimeEvolutionHisto::nLumiTrInLastTimeSlot
std::map< int, int > nLumiTrInLastTimeSlot
Definition:
DTTimeEvolutionHisto.h:69
DTTimeEvolutionHisto::valueLastTimeSlot
float valueLastTimeSlot
Definition:
DTTimeEvolutionHisto.h:67
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:15
DTTimeEvolutionHisto::theMode
int theMode
Definition:
DTTimeEvolutionHisto.h:74
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
DTTimeEvolutionHisto::histo
MonitorElement * histo
Definition:
DTTimeEvolutionHisto.h:75
DTTimeEvolutionHisto::setTimeSlotValue
void setTimeSlotValue(float value, int timeSlot)
Definition:
DTTimeEvolutionHisto.cc:87
dqm::implementation::IBooker
Definition:
DQMStore.h:43
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition:
ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
DQMStore.h
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:466
DTTimeEvolutionHisto::~DTTimeEvolutionHisto
virtual ~DTTimeEvolutionHisto()
Destructor.
Definition:
DTTimeEvolutionHisto.cc:85
value
Definition:
value.py:1
DTTimeEvolutionHisto::nBookedBins
int nBookedBins
Definition:
DTTimeEvolutionHisto.h:73
DTTimeEvolutionHisto::DQMStore
dqm::legacy::DQMStore DQMStore
Definition:
DTTimeEvolutionHisto.h:17
DTTimeEvolutionHisto::theLSPrescale
int theLSPrescale
Definition:
DTTimeEvolutionHisto.h:71
eostools.ls
def ls(path, rec=False)
Definition:
eostools.py:349
DTTimeEvolutionHisto::normalizeTo
void normalizeTo(const MonitorElement *histForNorm)
Definition:
DTTimeEvolutionHisto.cc:190
DTTimeEvolutionHisto::updateTimeSlot
void updateTimeSlot(int ls, int nEventsInLS)
Definition:
DTTimeEvolutionHisto.cc:108
runGCPTkAlMap.title
string title
Definition:
runGCPTkAlMap.py:94
DTTimeEvolutionHisto::nEventsInLastTimeSlot
std::map< int, int > nEventsInLastTimeSlot
Definition:
DTTimeEvolutionHisto.h:68
DTTimeEvolutionHisto::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition:
DTTimeEvolutionHisto.h:18
dqm::legacy::DQMStore
Definition:
DQMStore.h:814
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
Generated for CMSSW Reference Manual by
1.8.14