Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
};
25
std::vector<LV>
electrons
;
26
std::vector<LV>
muons
;
27
std::vector<LV>
taus
;
28
};
29
30
//Virtual base class for HLT-Tau-DQM Plotters
31
class
HLTTauDQMPlotter
{
32
public
:
33
HLTTauDQMPlotter
(
const
edm::ParameterSet
& pset,
const
std::string
& dqmBaseFolder);
34
HLTTauDQMPlotter
(
const
std::string
& dqmFolder,
const
std::string
& dqmBaseFolder);
35
~HLTTauDQMPlotter
();
36
bool
isValid
()
const
{
return
configValid_
; }
37
38
protected
:
39
//Helper functions
40
std::pair<bool,LV>
match
(
const
LV
&,
const
LVColl
&,
double
);
41
const
std::string
&
triggerTag
()
const
{
return
dqmFullFolder_
; }
42
43
//DQM folders
44
std::string
dqmFullFolder_
;
45
std::string
dqmFolder_
;
46
47
//Validity check
48
bool
configValid_
;
49
};
50
#endif
HLTTauDQMPlotter::isValid
bool isValid() const
Definition:
HLTTauDQMPlotter.h:36
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
HLTTauDQMPlotter::~HLTTauDQMPlotter
~HLTTauDQMPlotter()
Definition:
HLTTauDQMPlotter.cc:21
HLTTauDQMPlotter::triggerTag
const std::string & triggerTag() const
Definition:
HLTTauDQMPlotter.h:41
HLTTauDQMPlotter
Definition:
HLTTauDQMPlotter.h:31
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
ParameterSet.h
HLTTauDQMPlotter::dqmFolder_
std::string dqmFolder_
Definition:
HLTTauDQMPlotter.h:45
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:48
Service.h
LorentzVector.h
MonitorElement.h
HLTTauDQMPlotter::HLTTauDQMPlotter
HLTTauDQMPlotter(const edm::ParameterSet &pset, const std::string &dqmBaseFolder)
Definition:
HLTTauDQMPlotter.cc:5
edm::ParameterSet
Definition:
ParameterSet.h:35
HLTTauDQMPlotter::match
std::pair< bool, LV > match(const LV &, const LVColl &, double)
Definition:
HLTTauDQMPlotter.cc:24
HLTTauDQMPlotter::dqmFullFolder_
std::string dqmFullFolder_
Definition:
HLTTauDQMPlotter.h:44
HLTTauDQMOfflineObjects
Definition:
HLTTauDQMPlotter.h:19
HLTTauDQMOfflineObjects::clear
void clear()
Definition:
HLTTauDQMPlotter.h:20
HLTTauDQMOfflineObjects::muons
std::vector< LV > muons
Definition:
HLTTauDQMPlotter.h:26
Generated for CMSSW Reference Manual by
1.8.5