Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
(){}
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
(){};
22
23
void
compute
(
const
edm::Event
&
iEvent
)
const
;
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::~RazorBox
~RazorBox()
Definition:
RazorComputer.h:11
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::compute
void compute(const edm::Event &iEvent) const
Definition:
RazorComputer.cc:53
RazorComputer::jet_
edm::InputTag jet_
Definition:
RazorComputer.h:25
RazorComputer::~RazorComputer
~RazorComputer()
Definition:
RazorComputer.h:21
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:32
CachingVariable
Definition:
CachingVariable.h:39
iEvent
int iEvent
Definition:
GenABIO.cc:230
RazorComputer::RazorComputer
RazorComputer(const CachingVariable::CachingVariableFactoryArg &arg, edm::ConsumesCollector &iC)
Definition:
RazorComputer.cc:13
RazorComputer::metToken_
edm::EDGetTokenT< std::vector< pat::MET > > metToken_
Definition:
RazorComputer.h:28
MET.h
RazorBox::par_
double par_
Definition:
RazorComputer.h:15
RazorBox::compute
void compute(const edm::Event &iEvent) const
Definition:
RazorComputer.cc:9
edm::InputTag
Definition:
InputTag.h:15
Jet.h
RazorComputer::jetToken_
edm::EDGetTokenT< std::vector< pat::Jet > > jetToken_
Definition:
RazorComputer.h:27
CachingVariable.h
RazorComputer::eta_
float eta_
Definition:
RazorComputer.h:29
edm::Event
Definition:
Event.h:65
RazorComputer
Definition:
RazorComputer.h:18
VariableComputer
Definition:
CachingVariable.h:114
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
Generated for CMSSW Reference Manual by
1.8.5