Main Page
Namespaces
Classes
Package Documentation
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
HLTTauDQMPlotter::isValid
bool isValid() const
Definition:
HLTTauDQMPlotter.h:39
MessageLogger.h
math::XYZTLorentzVectorD
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition:
LorentzVector.h:14
HLTTauDQMOfflineObjects::electrons
std::vector< LV > electrons
Definition:
HLTTauDQMPlotter.h:24
HLTTauDQMOfflineObjects::taus
std::vector< LV > taus
Definition:
HLTTauDQMPlotter.h:27
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
LV
math::XYZTLorentzVectorD LV
Definition:
HLTTauDQMPlotter.h:15
HLTTauDQMPlotter::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition:
HLTTauDQMPlotter.h:35
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
HLTTauDQMPlotter::triggerTag
const std::string & triggerTag() const
Definition:
HLTTauDQMPlotter.h:44
HLTTauDQMPlotter
Definition:
HLTTauDQMPlotter.h:32
Frameworkfwd.h
ParameterSet.h
HLTTauDQMPlotter::dqmFolder_
std::string dqmFolder_
Definition:
HLTTauDQMPlotter.h:48
DQMStore.h
dqm::legacy::MonitorElement
Definition:
MonitorElement.h:451
HLTTauDQMPlotter::configValid_
bool configValid_
Definition:
HLTTauDQMPlotter.h:51
Service.h
hlt_dqm_sourceclient-live_cfg.dqmFolder
dqmFolder
Definition:
hlt_dqm_sourceclient-live_cfg.py:118
HLTTauDQMPlotter::DQMStore
dqm::legacy::DQMStore DQMStore
Definition:
HLTTauDQMPlotter.h:34
LorentzVector.h
HLTTauDQMOfflineObjects::met
std::vector< LV > met
Definition:
HLTTauDQMPlotter.h:28
LVColl
std::vector< LV > LVColl
Definition:
HLTTauDQMPlotter.h:16
edm::ParameterSet
Definition:
ParameterSet.h:36
dqm::dqmstoreimpl::DQMStore
Definition:
DQMStore.h:98
match
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
Definition:
Utils.h:10
HLTTauDQMPlotter::dqmFullFolder_
std::string dqmFullFolder_
Definition:
HLTTauDQMPlotter.h:47
HLTTauDQMOfflineObjects
Definition:
HLTTauDQMPlotter.h:18
HLTTauDQMOfflineObjects::clear
void clear()
Definition:
HLTTauDQMPlotter.h:19
HLTTauDQMOfflineObjects::muons
std::vector< LV > muons
Definition:
HLTTauDQMPlotter.h:26
Generated for CMSSW Reference Manual by
1.8.11