DQMOffline
Trigger
interface
HLTTauDQMPlotter.h
Go to the documentation of this file.
1
// -*- c++ -*-
2
#ifndef HLTTauDQMPlotter_h
3
#define HLTTauDQMPlotter_h
4
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
#include "
FWCore/ServiceRegistry/interface/Service.h
"
7
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
8
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
9
10
#include "
DataFormats/Math/interface/LorentzVector.h
"
11
12
//Include DQM core
13
#include "
DQMServices/Core/interface/DQMStore.h
"
14
15
using
LV
=
math::XYZTLorentzVectorD
;
16
using
LVColl
= std::vector<LV>;
17
18
struct
HLTTauDQMOfflineObjects
{
19
void
clear
() {
20
electrons
.clear();
21
muons
.clear();
22
taus
.clear();
23
met
.clear();
24
};
25
std::vector<LV>
electrons
;
26
std::vector<LV>
muons
;
27
std::vector<LV>
taus
;
28
std::vector<LV>
met
;
29
};
30
31
//Virtual base class for HLT-Tau-DQM Plotters
32
class
HLTTauDQMPlotter
{
33
public
:
34
typedef
dqm::legacy::DQMStore
DQMStore
;
35
typedef
dqm::legacy::MonitorElement
MonitorElement
;
36
HLTTauDQMPlotter
(
const
edm::ParameterSet
&
pset
,
std::string
dqmBaseFolder);
37
HLTTauDQMPlotter
(
const
std::string
&
dqmFolder
,
const
std::string
& dqmBaseFolder);
38
~HLTTauDQMPlotter
();
39
bool
isValid
()
const
{
return
configValid_
; }
40
41
protected
:
42
//Helper functions
43
std::pair<bool, LV>
match
(
const
LV
&,
const
LVColl
&,
double
);
44
const
std::string
&
triggerTag
()
const
{
return
dqmFullFolder_
; }
45
46
//DQM folders
47
std::string
dqmFullFolder_
;
48
std::string
dqmFolder_
;
49
50
//Validity check
51
bool
configValid_
;
52
};
53
#endif
HLTTauDQMOfflineObjects::clear
void clear()
Definition:
HLTTauDQMPlotter.h:19
LVColl
std::vector< LV > LVColl
Definition:
HLTTauDQMPlotter.h:16
MessageLogger.h
math::XYZTLorentzVectorD
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition:
LorentzVector.h:14
DQMStore.h
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:461
HLTTauDQMPlotter::HLTTauDQMPlotter
HLTTauDQMPlotter(const edm::ParameterSet &pset, std::string dqmBaseFolder)
Definition:
HLTTauDQMPlotter.cc:7
L1TMonitor_cff.dqmFolder
dqmFolder
Definition:
L1TMonitor_cff.py:88
dqm::legacy::DQMStore
Definition:
DQMStore.h:727
Service.h
HLTTauDQMOfflineObjects::electrons
std::vector< LV > electrons
Definition:
HLTTauDQMPlotter.h:24
HLTTauDQMOfflineObjects
Definition:
HLTTauDQMPlotter.h:18
HLTTauDQMPlotter::match
std::pair< bool, LV > match(const LV &, const LVColl &, double)
Definition:
HLTTauDQMPlotter.cc:20
HLTTauDQMPlotter::dqmFullFolder_
std::string dqmFullFolder_
Definition:
HLTTauDQMPlotter.h:47
HLTTauDQMPlotter::triggerTag
const std::string & triggerTag() const
Definition:
HLTTauDQMPlotter.h:44
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
HLTTauDQMPlotter::~HLTTauDQMPlotter
~HLTTauDQMPlotter()
HLTTauDQMOfflineObjects::met
std::vector< LV > met
Definition:
HLTTauDQMPlotter.h:28
LorentzVector.h
HLTTauDQMOfflineObjects::muons
std::vector< LV > muons
Definition:
HLTTauDQMPlotter.h:26
HLTTauDQMPlotter::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition:
HLTTauDQMPlotter.h:35
HLTTauDQMPlotter::isValid
bool isValid() const
Definition:
HLTTauDQMPlotter.h:39
Frameworkfwd.h
LV
math::XYZTLorentzVectorD LV
Definition:
HLTTauDQMPlotter.h:15
HLTTauDQMOfflineObjects::taus
std::vector< LV > taus
Definition:
HLTTauDQMPlotter.h:27
HLTTauDQMPlotter
Definition:
HLTTauDQMPlotter.h:32
ParameterSet.h
HLTTauDQMPlotter::dqmFolder_
std::string dqmFolder_
Definition:
HLTTauDQMPlotter.h:48
HLTTauDQMPlotter::configValid_
bool configValid_
Definition:
HLTTauDQMPlotter.h:51
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
HLTTauDQMPlotter::DQMStore
dqm::legacy::DQMStore DQMStore
Definition:
HLTTauDQMPlotter.h:34
Generated for CMSSW Reference Manual by
1.8.16