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
8
class
RazorBox
:
public
CachingVariable
{
9
public
:
10
RazorBox
(
const
CachingVariable::CachingVariableFactoryArg
&
arg
,
edm::ConsumesCollector
& iC) ;
11
~RazorBox
()
override
{}
12
13
void
compute
(
const
edm::Event
&
iEvent
)
const
;
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
private
:
25
edm::InputTag
jet_
;
26
edm::InputTag
met_
;
27
edm::EDGetTokenT<std::vector<pat::Jet>
>
jetToken_
;
28
edm::EDGetTokenT<std::vector<pat::MET>
>
metToken_
;
29
float
pt_
,eta_;
30
31
};
32
33
#endif
RazorBox
Definition:
RazorComputer.h:8
RazorComputer::met_
edm::InputTag met_
Definition:
RazorComputer.h:26
RazorComputer::pt_
float pt_
Definition:
RazorComputer.h:29
CachingVariable::CachingVariableFactoryArg
Definition:
CachingVariable.h:45
RazorComputer::jet_
edm::InputTag jet_
Definition:
RazorComputer.h:25
RazorBox::RazorBox
RazorBox(const CachingVariable::CachingVariableFactoryArg &arg, edm::ConsumesCollector &iC)
Definition:
RazorComputer.cc:4
funct::arg
A arg
Definition:
Factorize.h:37
edm::EDGetTokenT
Definition:
EDGetToken.h:32
CachingVariable
Definition:
CachingVariable.h:39
iEvent
int iEvent
Definition:
GenABIO.cc:230
RazorComputer::metToken_
edm::EDGetTokenT< std::vector< pat::MET > > metToken_
Definition:
RazorComputer.h:28
MET.h
RazorBox::par_
double par_
Definition:
RazorComputer.h:15
RazorBox::~RazorBox
~RazorBox() override
Definition:
RazorComputer.h:11
RazorBox::compute
void compute(const edm::Event &iEvent) const
Definition:
RazorComputer.cc:9
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:27
CachingVariable.h
edm::Event
Definition:
Event.h:70
RazorComputer
Definition:
RazorComputer.h:18
VariableComputer
Definition:
CachingVariable.h:114
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.11