Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DQM
CastorMonitor
interface
CastorBaseMonitor.h
Go to the documentation of this file.
1
#ifndef DQM_CASTORMONITOR_CASTORBASEMONITOR_H
2
#define DQM_CASTORMONITOR_CASTORBASEMONITOR_H
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include "
FWCore/Utilities/interface/CPUTimer.h
"
6
#include "TH1F.h"
7
#include "TH2F.h"
8
#include <map>
9
#include <iostream>
10
#include "
DQMServices/Core/interface/DQMStore.h
"
11
12
#include "
DataFormats/HcalDetId/interface/HcalCastorDetId.h
"
//-- HcalCastorDetId
13
#include "
DataFormats/HcalDigi/interface/HcalDigiCollections.h
"
//-- CastorDigiCollection
14
#include "
DataFormats/HcalRecHit/interface/HcalRecHitCollections.h
"
//-- CastorRecHitCollection
15
16
#include "
CalibFormats/CastorObjects/interface/CastorCalibrations.h
"
17
#include "
CalibFormats/CastorObjects/interface/CastorCalibrationWidths.h
"
18
#include "
CalibFormats/CastorObjects/interface/CastorCoder.h
"
19
#include "
CalibFormats/CastorObjects/interface/CastorCoderDb.h
"
20
#include "
CalibFormats/CastorObjects/interface/CastorDbService.h
"
21
#include "
CalibFormats/CastorObjects/interface/CastorDbRecord.h
"
22
23
#include "
CondFormats/CastorObjects/interface/CastorElectronicsMap.h
"
24
#include "
CondFormats/CastorObjects/interface/CastorQIECoder.h
"
25
26
#include "
EventFilter/HcalRawToDigi/interface/HcalDCCHeader.h
"
27
28
29
class
CastorBaseMonitor
{
30
public
:
31
CastorBaseMonitor
();
32
virtual
~CastorBaseMonitor
();
33
34
virtual
void
setup
(
const
edm::ParameterSet
& ps,
DQMStore
* dbe);
35
virtual
void
done
();
36
virtual
void
clearME
();
37
38
void
setVerbosity
(
int
verb) {
fVerbosity
= verb; }
39
int
getVerbosity
()
const
{
return
fVerbosity
; }
40
41
void
setDiagnostics
(
bool
myval) {
makeDiagnostics
=myval;}
42
bool
getDiagnostics
()
const
{
return
makeDiagnostics
;}
43
44
bool
vetoCell
(
HcalCastorDetId
id
);
45
46
protected
:
47
48
int
fVerbosity
;
49
bool
showTiming
;
//-- controls whether to show timing diagnostic info
50
edm::CPUTimer
cpu_timer
;
51
52
bool
makeDiagnostics
;
//-- controls whether to make diagnostic plots
53
54
DQMStore
*
m_dbe
;
55
//vector<std::string> hotCells_;
56
std::string
rootFolder_
;
57
std::string
baseFolder_
;
58
59
};
60
61
#endif
CastorBaseMonitor::~CastorBaseMonitor
virtual ~CastorBaseMonitor()
Definition:
CastorBaseMonitor.cc:26
CastorBaseMonitor::cpu_timer
edm::CPUTimer cpu_timer
Definition:
CastorBaseMonitor.h:50
CastorCalibrations.h
CastorBaseMonitor::setup
virtual void setup(const edm::ParameterSet &ps, DQMStore *dbe)
Definition:
CastorBaseMonitor.cc:32
CastorBaseMonitor::clearME
virtual void clearME()
Definition:
CastorBaseMonitor.cc:64
CastorBaseMonitor::fVerbosity
int fVerbosity
Definition:
CastorBaseMonitor.h:48
CastorCoder.h
CastorCoderDb.h
CastorBaseMonitor
Definition:
CastorBaseMonitor.h:29
edm::CPUTimer
Definition:
CPUTimer.h:39
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
CastorBaseMonitor::setVerbosity
void setVerbosity(int verb)
Definition:
CastorBaseMonitor.h:38
CastorBaseMonitor::makeDiagnostics
bool makeDiagnostics
Definition:
CastorBaseMonitor.h:52
CastorBaseMonitor::getDiagnostics
bool getDiagnostics() const
Definition:
CastorBaseMonitor.h:42
CastorDbService.h
HcalCastorDetId
Definition:
HcalCastorDetId.h:23
ParameterSet.h
CastorBaseMonitor::showTiming
bool showTiming
Definition:
CastorBaseMonitor.h:49
CastorBaseMonitor::vetoCell
bool vetoCell(HcalCastorDetId id)
Definition:
CastorBaseMonitor.cc:77
DQMStore
Definition:
DQMStore.h:73
CastorBaseMonitor::baseFolder_
std::string baseFolder_
Definition:
CastorBaseMonitor.h:57
DQMStore.h
HcalDigiCollections.h
CastorBaseMonitor::m_dbe
DQMStore * m_dbe
Definition:
CastorBaseMonitor.h:54
CastorElectronicsMap.h
CPUTimer.h
CastorCalibrationWidths.h
CastorBaseMonitor::CastorBaseMonitor
CastorBaseMonitor()
Definition:
CastorBaseMonitor.cc:14
CastorBaseMonitor::getVerbosity
int getVerbosity() const
Definition:
CastorBaseMonitor.h:39
CastorDbRecord.h
HcalDCCHeader.h
HcalRecHitCollections.h
HcalCastorDetId.h
CastorBaseMonitor::setDiagnostics
void setDiagnostics(bool myval)
Definition:
CastorBaseMonitor.h:41
CastorBaseMonitor::rootFolder_
std::string rootFolder_
Definition:
CastorBaseMonitor.h:56
edm::ParameterSet
Definition:
ParameterSet.h:35
CastorQIECoder.h
CastorBaseMonitor::done
virtual void done()
Definition:
CastorBaseMonitor.cc:58
Generated for CMSSW Reference Manual by
1.8.5