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
();
35
bool
isValid
()
const
{
return
configValid_
&&
runValid_
; }
36
37
protected
:
38
//Helper functions
39
std::pair<bool,LV>
match
(
const
LV
&,
const
LVColl
&,
double
);
40
const
std::string
&
triggerTag
()
const
{
return
dqmFullFolder_
; }
41
42
//DQM folders
43
std::string
dqmFullFolder_
;
44
std::string
dqmFolder_
;
45
46
//Validity check
47
bool
configValid_
;
48
bool
runValid_
;
49
};
50
#endif
HLTTauDQMPlotter::isValid
bool isValid() const
Definition:
HLTTauDQMPlotter.h:35
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:20
HLTTauDQMPlotter::runValid_
bool runValid_
Definition:
HLTTauDQMPlotter.h:48
HLTTauDQMPlotter::triggerTag
const std::string & triggerTag() const
Definition:
HLTTauDQMPlotter.h:40
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:44
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:47
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:23
HLTTauDQMPlotter::dqmFullFolder_
std::string dqmFullFolder_
Definition:
HLTTauDQMPlotter.h:43
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