Main Page
Namespaces
Classes
Package Documentation
RecoJets
JetProducers
interface
JetMuonHitsIDHelper.h
Go to the documentation of this file.
1
#ifndef RecoJets_JetProducers_interface_JetMuonHitsIDHelper_h
2
#define RecoJets_JetProducers_interface_JetMuonHitsIDHelper_h
3
4
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
5
#include "
FWCore/Framework/interface/Event.h
"
6
#include "
FWCore/Framework/interface/EventSetup.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
9
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
10
11
#include "
DataFormats/JetReco/interface/Jet.h
"
12
#include "
DataFormats/RPCRecHit/interface/RPCRecHitCollection.h
"
13
14
15
namespace
reco
{
16
17
namespace
helper
{
18
19
class
JetMuonHitsIDHelper
{
20
21
public
:
22
// construction
23
JetMuonHitsIDHelper
() {}
24
JetMuonHitsIDHelper
(
edm::ParameterSet
const
&
pset
,
edm::ConsumesCollector
&& iC );
25
~JetMuonHitsIDHelper
() {}
26
27
void
fillDescription
(
edm::ParameterSetDescription
& iDesc);
28
29
void
initValues
();
30
31
// interface
32
void
calculate
(
const
edm::Event
&
event
,
const
edm::EventSetup
& isetup,
33
const
reco::Jet
&
jet
,
const
int
iDbg = 0 );
34
35
// access
36
int
numberOfHits1RPC
()
const
{
return
numberOfHits1RPC_
;}
37
int
numberOfHits2RPC
()
const
{
return
numberOfHits2RPC_
;}
38
int
numberOfHits3RPC
()
const
{
return
numberOfHits3RPC_
;}
39
int
numberOfHits4RPC
()
const
{
return
numberOfHits4RPC_
;}
40
int
numberOfHitsRPC
()
const
{
return
numberOfHitsRPC_
;}
41
42
private
:
43
44
edm::InputTag
rpcRecHits_
;
// collection of rpc rechits
45
bool
isRECO_
;
// if this is RECO this will run, else nothing will be added
46
47
int
numberOfHits1RPC_
;
48
int
numberOfHits2RPC_
;
49
int
numberOfHits3RPC_
;
50
int
numberOfHits4RPC_
;
51
int
numberOfHitsRPC_
;
52
53
edm::EDGetTokenT<RPCRecHitCollection>
input_rpchits_token_
;
54
55
};
56
}
57
}
58
#endif
metsig::jet
Definition:
SignAlgoResolutions.h:40
reco::helper::JetMuonHitsIDHelper::numberOfHits1RPC
int numberOfHits1RPC() const
Definition:
JetMuonHitsIDHelper.h:36
helper
Definition:
helper.py:1
reco::helper::JetMuonHitsIDHelper::JetMuonHitsIDHelper
JetMuonHitsIDHelper()
Definition:
JetMuonHitsIDHelper.h:23
reco::Jet
Base class for all types of Jets.
Definition:
Jet.h:20
Event.h
reco::helper::JetMuonHitsIDHelper::fillDescription
void fillDescription(edm::ParameterSetDescription &iDesc)
EventSetup.h
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
reco::helper::JetMuonHitsIDHelper::isRECO_
bool isRECO_
Definition:
JetMuonHitsIDHelper.h:45
edm::EDGetTokenT< RPCRecHitCollection >
Frameworkfwd.h
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:50
ParameterSet.h
reco::helper::JetMuonHitsIDHelper::calculate
void calculate(const edm::Event &event, const edm::EventSetup &isetup, const reco::Jet &jet, const int iDbg=0)
Definition:
JetMuonHitsIDHelper.cc:49
RPCRecHitCollection.h
ParameterSetDescription.h
reco::helper::JetMuonHitsIDHelper::initValues
void initValues()
edm::EventSetup
Definition:
EventSetup.h:48
Jet.h
reco::helper::JetMuonHitsIDHelper::~JetMuonHitsIDHelper
~JetMuonHitsIDHelper()
Definition:
JetMuonHitsIDHelper.h:25
reco::helper::JetMuonHitsIDHelper::numberOfHitsRPC_
int numberOfHitsRPC_
Definition:
JetMuonHitsIDHelper.h:51
reco::helper::JetMuonHitsIDHelper::input_rpchits_token_
edm::EDGetTokenT< RPCRecHitCollection > input_rpchits_token_
Definition:
JetMuonHitsIDHelper.h:53
reco::helper::JetMuonHitsIDHelper::numberOfHits4RPC_
int numberOfHits4RPC_
Definition:
JetMuonHitsIDHelper.h:50
reco::helper::JetMuonHitsIDHelper::numberOfHits1RPC_
int numberOfHits1RPC_
Definition:
JetMuonHitsIDHelper.h:47
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:43
reco::helper::JetMuonHitsIDHelper::numberOfHits3RPC
int numberOfHits3RPC() const
Definition:
JetMuonHitsIDHelper.h:38
edm::InputTag
Definition:
InputTag.h:15
reco::helper::JetMuonHitsIDHelper::numberOfHits2RPC_
int numberOfHits2RPC_
Definition:
JetMuonHitsIDHelper.h:48
reco::helper::JetMuonHitsIDHelper::numberOfHits2RPC
int numberOfHits2RPC() const
Definition:
JetMuonHitsIDHelper.h:37
edm::ParameterSet
Definition:
ParameterSet.h:36
reco::helper::JetMuonHitsIDHelper::rpcRecHits_
edm::InputTag rpcRecHits_
Definition:
JetMuonHitsIDHelper.h:44
reco::helper::JetMuonHitsIDHelper::numberOfHits4RPC
int numberOfHits4RPC() const
Definition:
JetMuonHitsIDHelper.h:39
reco::helper::JetMuonHitsIDHelper::numberOfHits3RPC_
int numberOfHits3RPC_
Definition:
JetMuonHitsIDHelper.h:49
edm::Event
Definition:
Event.h:69
reco::helper::JetMuonHitsIDHelper::numberOfHitsRPC
int numberOfHitsRPC() const
Definition:
JetMuonHitsIDHelper.h:40
ConsumesCollector.h
event
Definition:
event.py:1
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
reco::helper::JetMuonHitsIDHelper
Definition:
JetMuonHitsIDHelper.h:19
Generated for CMSSW Reference Manual by
1.8.11