Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
HLTTauDQMPlotter::~HLTTauDQMPlotter
~HLTTauDQMPlotter()
Definition:
HLTTauDQMPlotter.cc:21
TrackValidation_cff.pset
tuple pset
Definition:
TrackValidation_cff.py:374
HLTTauDQMPlotter::triggerTag
const std::string & triggerTag() const
Definition:
HLTTauDQMPlotter.h:43
HLTTauDQMPlotter
Definition:
HLTTauDQMPlotter.h:33
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
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
HLTTauDQMPlotter::HLTTauDQMPlotter
HLTTauDQMPlotter(const edm::ParameterSet &pset, const std::string &dqmBaseFolder)
Definition:
HLTTauDQMPlotter.cc:5
edm::ParameterSet
Definition:
ParameterSet.h:36
HLTTauDQMPlotter::match
std::pair< bool, LV > match(const LV &, const LVColl &, double)
Definition:
HLTTauDQMPlotter.cc:24
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.5