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/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::EDProducer
{
16
public
:
17
explicit
RazorVarProducer
(
const
edm::ParameterSet
&);
18
~RazorVarProducer
()
override
;
19
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
20
21
double
CalcMR
(TLorentzVector ja, TLorentzVector jb);
22
double
CalcR
(
double
MR,
23
const
TLorentzVector &ja,
24
const
TLorentzVector &jb,
25
edm::Handle<reco::CaloMETCollection>
met
,
26
const
std::vector<math::XYZTLorentzVector> &
muons
);
27
28
private
:
29
edm::InputTag
inputTag_
;
// input tag identifying product
30
edm::InputTag
inputMetTag_
;
// input tag identifying MET product
31
32
// define Token(-s)
33
edm::EDGetTokenT<std::vector<math::XYZTLorentzVector>
>
inputTagToken_
;
34
edm::EDGetTokenT<reco::CaloMETCollection>
inputMetTagToken_
;
35
};
36
37
#endif // RazorVarProducer_h
PDWG_BPHSkim_cff.muons
muons
Definition:
PDWG_BPHSkim_cff.py:47
EDProducer.h
RazorVarProducer::inputTag_
edm::InputTag inputTag_
Definition:
RazorVarProducer.h:29
edm::EDGetTokenT
Definition:
EDGetToken.h:33
RazorVarProducer::inputTagToken_
edm::EDGetTokenT< std::vector< math::XYZTLorentzVector > > inputTagToken_
Definition:
RazorVarProducer.h:33
RazorVarProducer::CalcMR
double CalcMR(TLorentzVector ja, TLorentzVector jb)
Definition:
RazorVarProducer.cc:69
edm::Handle< reco::CaloMETCollection >
RazorVarProducer::RazorVarProducer
RazorVarProducer(const edm::ParameterSet &)
Definition:
RazorVarProducer.cc:26
CaloMETFwd.h
BTaggingMonitor_cfi.met
met
Definition:
BTaggingMonitor_cfi.py:84
LorentzVectorFwd.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Event.h
edm::EventSetup
Definition:
EventSetup.h:57
RazorVarProducer::inputMetTagToken_
edm::EDGetTokenT< reco::CaloMETCollection > inputMetTagToken_
Definition:
RazorVarProducer.h:34
RazorVarProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
RazorVarProducer.cc:41
InputTag.h
RazorVarProducer::inputMetTag_
edm::InputTag inputMetTag_
Definition:
RazorVarProducer.h:30
Frameworkfwd.h
edm::EDProducer
Definition:
EDProducer.h:36
RazorVarProducer::~RazorVarProducer
~RazorVarProducer() override
Definition:
RazorVarProducer.cc:38
ParameterSet.h
edm::Event
Definition:
Event.h:73
RazorVarProducer::CalcR
double CalcR(double MR, const TLorentzVector &ja, const TLorentzVector &jb, edm::Handle< reco::CaloMETCollection > met, const std::vector< math::XYZTLorentzVector > &muons)
Definition:
RazorVarProducer.cc:102
edm::InputTag
Definition:
InputTag.h:15
RazorVarProducer
Definition:
RazorVarProducer.h:15
Generated for CMSSW Reference Manual by
1.8.16