src
DQM
DataScouting
interface
RazorVarProducer.h
Go to the documentation of this file.
1
#ifndef RazorVarProducer_h
2
#define RazorVarProducer_h
3
4
#include "
FWCore/Framework/interface/global/EDProducer.h
"
5
#include "
FWCore/Framework/interface/Event.h
"
6
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
#include "
FWCore/Utilities/interface/InputTag.h
"
9
10
#include "
DataFormats/METReco/interface/CaloMETFwd.h
"
11
#include "
DataFormats/Math/interface/LorentzVectorFwd.h
"
12
#include "TLorentzVector.h"
13
#include <vector>
14
15
class
RazorVarProducer
:
public
edm::global::EDProducer
<> {
16
public
:
17
explicit
RazorVarProducer
(
const
edm::ParameterSet
&);
18
void
produce
(
edm::StreamID
,
edm::Event
&,
const
edm::EventSetup
&)
const override
;
19
20
double
CalcMR
(TLorentzVector ja, TLorentzVector jb)
const
;
21
double
CalcR
(
double
MR,
22
const
TLorentzVector &ja,
23
const
TLorentzVector &jb,
24
edm::Handle<reco::CaloMETCollection>
met
,
25
const
std::vector<math::XYZTLorentzVector> &
muons
)
const
;
26
27
private
:
28
edm::InputTag
inputTag_
;
// input tag identifying product
29
edm::InputTag
inputMetTag_
;
// input tag identifying MET product
30
31
// define Token(-s)
32
edm::EDGetTokenT<std::vector<math::XYZTLorentzVector>
>
inputTagToken_
;
33
edm::EDGetTokenT<reco::CaloMETCollection>
inputMetTagToken_
;
34
};
35
36
#endif // RazorVarProducer_h
RazorVarProducer::RazorVarProducer
RazorVarProducer(const edm::ParameterSet &)
Definition:
RazorVarProducer.cc:26
edm::StreamID
Definition:
StreamID.h:30
Event.h
edm::Handle< reco::CaloMETCollection >
LorentzVectorFwd.h
edm::EDGetTokenT
Definition:
EDGetToken.h:37
Frameworkfwd.h
ParameterSet.h
RazorVarProducer::inputMetTag_
edm::InputTag inputMetTag_
Definition:
RazorVarProducer.h:29
RazorVarProducer::inputMetTagToken_
edm::EDGetTokenT< reco::CaloMETCollection > inputMetTagToken_
Definition:
RazorVarProducer.h:33
RazorVarProducer::produce
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
Definition:
RazorVarProducer.cc:39
RazorVarProducer
Definition:
RazorVarProducer.h:15
edm::EventSetup
Definition:
EventSetup.h:56
edm::global::EDProducer
Definition:
EDProducer.h:32
CaloMETFwd.h
RazorVarProducer::CalcMR
double CalcMR(TLorentzVector ja, TLorentzVector jb) const
Definition:
RazorVarProducer.cc:67
EDProducer.h
BTaggingMonitor_cfi.met
met
Definition:
BTaggingMonitor_cfi.py:74
edm::InputTag
Definition:
InputTag.h:15
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:48
PDWG_BPHSkim_cff.muons
muons
Definition:
PDWG_BPHSkim_cff.py:47
RazorVarProducer::inputTag_
edm::InputTag inputTag_
Definition:
RazorVarProducer.h:28
RazorVarProducer::CalcR
double CalcR(double MR, const TLorentzVector &ja, const TLorentzVector &jb, edm::Handle< reco::CaloMETCollection > met, const std::vector< math::XYZTLorentzVector > &muons) const
Definition:
RazorVarProducer.cc:100
edm::Event
Definition:
Event.h:73
RazorVarProducer::inputTagToken_
edm::EDGetTokenT< std::vector< math::XYZTLorentzVector > > inputTagToken_
Definition:
RazorVarProducer.h:32
Generated for CMSSW Reference Manual by
1.8.14