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
namespace
reco
{
15
16
namespace
helper
{
17
18
class
JetMuonHitsIDHelper
{
19
public
:
20
// construction
21
JetMuonHitsIDHelper
() {}
22
JetMuonHitsIDHelper
(
edm::ParameterSet
const
&
pset
,
edm::ConsumesCollector
&& iC);
23
~JetMuonHitsIDHelper
() {}
24
25
void
fillDescription
(
edm::ParameterSetDescription
& iDesc);
26
27
void
initValues
();
28
29
// interface
30
void
calculate
(
const
edm::Event
&
event
,
const
edm::EventSetup
& isetup,
const
reco::Jet
&
jet
,
const
int
iDbg = 0);
31
32
// access
33
int
numberOfHits1RPC
()
const
{
return
numberOfHits1RPC_
; }
34
int
numberOfHits2RPC
()
const
{
return
numberOfHits2RPC_
; }
35
int
numberOfHits3RPC
()
const
{
return
numberOfHits3RPC_
; }
36
int
numberOfHits4RPC
()
const
{
return
numberOfHits4RPC_
; }
37
int
numberOfHitsRPC
()
const
{
return
numberOfHitsRPC_
; }
38
39
private
:
40
edm::InputTag
rpcRecHits_
;
// collection of rpc rechits
41
bool
isRECO_
;
// if this is RECO this will run, else nothing will be added
42
43
int
numberOfHits1RPC_
;
44
int
numberOfHits2RPC_
;
45
int
numberOfHits3RPC_
;
46
int
numberOfHits4RPC_
;
47
int
numberOfHitsRPC_
;
48
49
edm::EDGetTokenT<RPCRecHitCollection>
input_rpchits_token_
;
50
};
51
}
// namespace helper
52
}
// namespace reco
53
#endif
reco::Jet
Base class for all types of Jets.
Definition:
Jet.h:20
reco::helper::JetMuonHitsIDHelper::numberOfHits1RPC
int numberOfHits1RPC() const
Definition:
JetMuonHitsIDHelper.h:33
edm::EDGetTokenT< RPCRecHitCollection >
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
reco::helper::JetMuonHitsIDHelper::initValues
void initValues()
reco::helper::JetMuonHitsIDHelper::numberOfHits3RPC_
int numberOfHits3RPC_
Definition:
JetMuonHitsIDHelper.h:45
reco::helper::JetMuonHitsIDHelper::numberOfHits1RPC_
int numberOfHits1RPC_
Definition:
JetMuonHitsIDHelper.h:43
Jet.h
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
reco::helper::JetMuonHitsIDHelper::input_rpchits_token_
edm::EDGetTokenT< RPCRecHitCollection > input_rpchits_token_
Definition:
JetMuonHitsIDHelper.h:49
reco::helper::JetMuonHitsIDHelper
Definition:
JetMuonHitsIDHelper.h:18
reco::helper::JetMuonHitsIDHelper::fillDescription
void fillDescription(edm::ParameterSetDescription &iDesc)
reco::helper::JetMuonHitsIDHelper::numberOfHitsRPC
int numberOfHitsRPC() const
Definition:
JetMuonHitsIDHelper.h:37
reco::helper::JetMuonHitsIDHelper::rpcRecHits_
edm::InputTag rpcRecHits_
Definition:
JetMuonHitsIDHelper.h:40
reco::helper::JetMuonHitsIDHelper::numberOfHits3RPC
int numberOfHits3RPC() const
Definition:
JetMuonHitsIDHelper.h:35
ParameterSetDescription.h
reco::helper::JetMuonHitsIDHelper::numberOfHits2RPC_
int numberOfHits2RPC_
Definition:
JetMuonHitsIDHelper.h:44
RPCRecHitCollection.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
helper
Definition:
helper.py:1
edm::EventSetup
Definition:
EventSetup.h:58
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:44
reco::helper::JetMuonHitsIDHelper::numberOfHits4RPC
int numberOfHits4RPC() const
Definition:
JetMuonHitsIDHelper.h:36
reco::helper::JetMuonHitsIDHelper::isRECO_
bool isRECO_
Definition:
JetMuonHitsIDHelper.h:41
Frameworkfwd.h
metsig::jet
Definition:
SignAlgoResolutions.h:47
reco::helper::JetMuonHitsIDHelper::numberOfHits4RPC_
int numberOfHits4RPC_
Definition:
JetMuonHitsIDHelper.h:46
EventSetup.h
ConsumesCollector.h
ParameterSet.h
reco::helper::JetMuonHitsIDHelper::numberOfHitsRPC_
int numberOfHitsRPC_
Definition:
JetMuonHitsIDHelper.h:47
reco::helper::JetMuonHitsIDHelper::~JetMuonHitsIDHelper
~JetMuonHitsIDHelper()
Definition:
JetMuonHitsIDHelper.h:23
event
Definition:
event.py:1
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
reco::helper::JetMuonHitsIDHelper::numberOfHits2RPC
int numberOfHits2RPC() const
Definition:
JetMuonHitsIDHelper.h:34
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
reco::helper::JetMuonHitsIDHelper::JetMuonHitsIDHelper
JetMuonHitsIDHelper()
Definition:
JetMuonHitsIDHelper.h:21
Generated for CMSSW Reference Manual by
1.8.16