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
#include "
DQMServices/Core/interface/MonitorElement.h
"
15
16
typedef
math::XYZTLorentzVectorD
LV
;
17
typedef
std::vector<LV>
LVColl
;
18
19
struct
HLTTauDQMOfflineObjects
{
20
void
clear
() {
21
electrons
.clear();
22
muons
.clear();
23
taus
.clear();
24
met
.clear();
25
};
26
std::vector<LV>
electrons
;
27
std::vector<LV>
muons
;
28
std::vector<LV>
taus
;
29
std::vector<LV>
met
;
30
};
31
32
//Virtual base class for HLT-Tau-DQM Plotters
33
class
HLTTauDQMPlotter
{
34
public
:
35
HLTTauDQMPlotter
(
const
edm::ParameterSet
&
pset
,
const
std::string
& dqmBaseFolder);
36
HLTTauDQMPlotter
(
const
std::string
& dqmFolder,
const
std::string
& dqmBaseFolder);
37
~
HLTTauDQMPlotter
();
38
bool
isValid
()
const
{
return
configValid_; }
39
40
protected
:
41
//Helper functions
42
std::pair<bool,LV>
match
(
const
LV
&,
const
LVColl
&,
double
);
43
const
std::string
&
triggerTag
()
const
{
return
dqmFullFolder_; }
44
45
//DQM folders
46
std::string
dqmFullFolder_
;
47
std::string
dqmFolder_
;
48
49
//Validity check
50
bool
configValid_
;
51
};
52
#endif
HLTTauDQMPlotter::isValid
bool isValid() const
Definition:
HLTTauDQMPlotter.h:38
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:25
HLTTauDQMOfflineObjects::taus
std::vector< LV > taus
Definition:
HLTTauDQMPlotter.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
HLTTauDQMPlotter::triggerTag
const std::string & triggerTag() const
Definition:
HLTTauDQMPlotter.h:43
HLTTauDQMPlotter
Definition:
HLTTauDQMPlotter.h:33
Frameworkfwd.h
ParameterSet.h
HLTTauDQMPlotter::dqmFolder_
std::string dqmFolder_
Definition:
HLTTauDQMPlotter.h:47
LV
math::XYZTLorentzVectorD LV
Definition:
HLTTauDQMPlotter.h:16
LVColl
std::vector< LV > LVColl
Definition:
HLTTauDQMPlotter.h:17
DQMStore.h
HLTTauDQMPlotter::configValid_
bool configValid_
Definition:
HLTTauDQMPlotter.h:50
Service.h
LorentzVector.h
HLTTauDQMOfflineObjects::met
std::vector< LV > met
Definition:
HLTTauDQMPlotter.h:29
MonitorElement.h
edm::ParameterSet
Definition:
ParameterSet.h:36
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:46
HLTTauDQMOfflineObjects
Definition:
HLTTauDQMPlotter.h:19
HLTTauDQMOfflineObjects::clear
void clear()
Definition:
HLTTauDQMPlotter.h:20
HLTTauDQMOfflineObjects::muons
std::vector< LV > muons
Definition:
HLTTauDQMPlotter.h:27
Generated for CMSSW Reference Manual by
1.8.11