Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
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
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
relativeConstraints.value
tuple value
Definition:
relativeConstraints.py:55
DTTimeEvolutionHisto::nLumiTrInLastTimeSlot
std::map< int, int > nLumiTrInLastTimeSlot
Definition:
DTTimeEvolutionHisto.h:69
eostools.ls
def ls
Definition:
eostools.py:349
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
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:78
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
universalConfigTemplate.mode
mode
Definition:
universalConfigTemplate.py:82
dqm::implementation::IBooker
Definition:
DQMStore.h:43
DQMStore.h
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:462
DTTimeEvolutionHisto::~DTTimeEvolutionHisto
virtual ~DTTimeEvolutionHisto()
Destructor.
Definition:
DTTimeEvolutionHisto.cc:85
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
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
produceTPGParameters_beamv6_transparency_spikekill_2016_script.sliding
tuple sliding
Saturation value (in GeV) of the TPG before the compressed-LUT (rem: with 35.84 the TPG_LSB = crystal...
Definition:
produceTPGParameters_beamv6_transparency_spikekill_2016_script.py:123
hlt_dqm_clientPB-live_cfg.nbins
tuple nbins
Definition:
hlt_dqm_clientPB-live_cfg.py:50
dqm::legacy::DQMStore
Definition:
DQMStore.h:728
Generated for CMSSW Reference Manual by
1.8.5