Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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/Frameworkfwd.h
"
5
#include "
FWCore/Framework/interface/Event.h
"
6
#include "
FWCore/Framework/interface/EDProducer.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
#include "
FWCore/Utilities/interface/InputTag.h
"
9
10
#include "TLorentzVector.h"
11
#include "
DataFormats/METReco/interface/CaloMETFwd.h
"
12
#include <vector>
13
14
class
RazorVarProducer
:
public
edm::EDProducer
{
15
public
:
16
explicit
RazorVarProducer
(
const
edm::ParameterSet
&);
17
~RazorVarProducer
();
18
virtual
void
produce
(
edm::Event
&,
const
edm::EventSetup
&);
19
20
double
CalcMR
(TLorentzVector ja,TLorentzVector jb);
21
double
CalcR
(
double
MR,
const
TLorentzVector& ja,
const
TLorentzVector& jb,
edm::Handle<reco::CaloMETCollection>
met
,
const
std::vector<math::XYZTLorentzVector>&
muons
);
22
23
private
:
24
25
edm::InputTag
inputTag_
;
// input tag identifying product
26
edm::InputTag
inputMetTag_
;
// input tag identifying MET product
27
28
//define Token(-s)
29
edm::EDGetTokenT<std::vector<math::XYZTLorentzVector>
>
inputTagToken_
;
30
edm::EDGetTokenT<reco::CaloMETCollection>
inputMetTagToken_
;
31
};
32
33
#endif //RazorVarProducer_h
RazorVarProducer::RazorVarProducer
RazorVarProducer(const edm::ParameterSet &)
Definition:
RazorVarProducer.cc:26
Event.h
edm::Handle< reco::CaloMETCollection >
RazorVarProducer::CalcMR
double CalcMR(TLorentzVector ja, TLorentzVector jb)
Definition:
RazorVarProducer.cc:80
edm::EDGetTokenT
Definition:
EDGetToken.h:32
Frameworkfwd.h
edm::EDProducer
Definition:
EDProducer.h:35
ParameterSet.h
RazorVarProducer::inputMetTag_
edm::InputTag inputMetTag_
Definition:
RazorVarProducer.h:26
RazorVarProducer::inputMetTagToken_
edm::EDGetTokenT< reco::CaloMETCollection > inputMetTagToken_
Definition:
RazorVarProducer.h:30
RazorVarProducer::~RazorVarProducer
~RazorVarProducer()
Definition:
RazorVarProducer.cc:41
RazorVarProducer
Definition:
RazorVarProducer.h:14
edm::EventSetup
Definition:
EventSetup.h:45
EDProducer.h
RazorVarProducer::produce
virtual void produce(edm::Event &, const edm::EventSetup &)
Definition:
RazorVarProducer.cc:47
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:114
CaloMETFwd.h
edm::InputTag
Definition:
InputTag.h:15
patZpeak.muons
tuple muons
Definition:
patZpeak.py:38
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
RazorVarProducer::inputTag_
edm::InputTag inputTag_
Definition:
RazorVarProducer.h:25
edm::Event
Definition:
Event.h:65
RazorVarProducer::inputTagToken_
edm::EDGetTokenT< std::vector< math::XYZTLorentzVector > > inputTagToken_
Definition:
RazorVarProducer.h:29
objects.METAnalyzer.met
met
Definition:
METAnalyzer.py:177
Generated for CMSSW Reference Manual by
1.8.5