PhysicsTools
PatUtils
interface
RazorComputer.h
Go to the documentation of this file.
1
#ifndef PhysicsToolsPatUtils_RazorComputer_H
2
#define PhysicsToolsPatUtils_RazorComputer_H
3
#include "
PhysicsTools/UtilAlgos/interface/CachingVariable.h
"
4
#include "
DataFormats/PatCandidates/interface/Jet.h
"
5
#include "
DataFormats/PatCandidates/interface/MET.h
"
6
7
class
RazorBox
:
public
CachingVariable
{
8
public
:
9
RazorBox
(
const
CachingVariable::CachingVariableFactoryArg
&
arg
,
edm::ConsumesCollector
& iC);
10
~RazorBox
()
override
{}
11
12
void
compute
(
const
edm::Event
&
iEvent
)
const
;
13
14
private
:
15
double
par_
;
16
};
17
18
class
RazorComputer
:
public
VariableComputer
{
19
public
:
20
RazorComputer
(
const
CachingVariable::CachingVariableFactoryArg
&
arg
,
edm::ConsumesCollector
& iC);
21
~RazorComputer
()
override
{};
22
23
void
compute
(
const
edm::Event
&
iEvent
)
const override
;
24
25
private
:
26
edm::InputTag
jet_
;
27
edm::InputTag
met_
;
28
edm::EDGetTokenT<std::vector<pat::Jet>
>
jetToken_
;
29
edm::EDGetTokenT<std::vector<pat::MET>
>
metToken_
;
30
float
pt_
,
eta_
;
31
};
32
33
#endif
RazorBox::compute
void compute(const edm::Event &iEvent) const
Definition:
RazorComputer.cc:7
CachingVariable.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
RazorComputer::~RazorComputer
~RazorComputer() override
Definition:
RazorComputer.h:21
CachingVariable
Definition:
CachingVariable.h:40
RazorComputer
Definition:
RazorComputer.h:18
RazorComputer::metToken_
edm::EDGetTokenT< std::vector< pat::MET > > metToken_
Definition:
RazorComputer.h:29
RazorComputer::eta_
float eta_
Definition:
RazorComputer.h:30
RazorBox::RazorBox
RazorBox(const CachingVariable::CachingVariableFactoryArg &arg, edm::ConsumesCollector &iC)
Definition:
RazorComputer.cc:4
VariableComputer
Definition:
CachingVariable.h:115
RazorComputer::pt_
float pt_
Definition:
RazorComputer.h:30
RazorBox::par_
double par_
Definition:
RazorComputer.h:15
RazorBox
Definition:
RazorComputer.h:7
iEvent
int iEvent
Definition:
GenABIO.cc:224
MET.h
RazorBox::~RazorBox
~RazorBox() override
Definition:
RazorComputer.h:10
Jet.h
RazorComputer::met_
edm::InputTag met_
Definition:
RazorComputer.h:27
RazorComputer::compute
void compute(const edm::Event &iEvent) const override
Definition:
RazorComputer.cc:47
funct::arg
A arg
Definition:
Factorize.h:36
CachingVariable::CachingVariableFactoryArg
Definition:
CachingVariable.h:46
RazorComputer::jet_
edm::InputTag jet_
Definition:
RazorComputer.h:26
edm::Event
Definition:
Event.h:73
RazorComputer::jetToken_
edm::EDGetTokenT< std::vector< pat::Jet > > jetToken_
Definition:
RazorComputer.h:28
RazorComputer::RazorComputer
RazorComputer(const CachingVariable::CachingVariableFactoryArg &arg, edm::ConsumesCollector &iC)
Definition:
RazorComputer.cc:9
edm::InputTag
Definition:
InputTag.h:15
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.16