Main Page
Namespaces
Classes
Package Documentation
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
Definition:
RazorComputer.h:7
RazorComputer::met_
edm::InputTag met_
Definition:
RazorComputer.h:27
RazorComputer::pt_
float pt_
Definition:
RazorComputer.h:30
CachingVariable::CachingVariableFactoryArg
Definition:
CachingVariable.h:46
RazorComputer::jet_
edm::InputTag jet_
Definition:
RazorComputer.h:26
RazorBox::RazorBox
RazorBox(const CachingVariable::CachingVariableFactoryArg &arg, edm::ConsumesCollector &iC)
Definition:
RazorComputer.cc:4
funct::arg
A arg
Definition:
Factorize.h:36
edm::EDGetTokenT
Definition:
EDGetToken.h:33
CachingVariable
Definition:
CachingVariable.h:40
iEvent
int iEvent
Definition:
GenABIO.cc:224
RazorComputer::metToken_
edm::EDGetTokenT< std::vector< pat::MET > > metToken_
Definition:
RazorComputer.h:29
MET.h
RazorBox::par_
double par_
Definition:
RazorComputer.h:15
RazorBox::~RazorBox
~RazorBox() override
Definition:
RazorComputer.h:10
RazorBox::compute
void compute(const edm::Event &iEvent) const
Definition:
RazorComputer.cc:7
RazorComputer::~RazorComputer
~RazorComputer() override
Definition:
RazorComputer.h:21
edm::InputTag
Definition:
InputTag.h:15
Jet.h
RazorComputer::jetToken_
edm::EDGetTokenT< std::vector< pat::Jet > > jetToken_
Definition:
RazorComputer.h:28
CachingVariable.h
edm::Event
Definition:
Event.h:72
RazorComputer
Definition:
RazorComputer.h:18
VariableComputer
Definition:
CachingVariable.h:115
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.11