RecoMuon
MuonIsolation
plugins
JetExtractor.h
Go to the documentation of this file.
1
#ifndef MuonIsolation_JetExtractor_H
2
#define MuonIsolation_JetExtractor_H
3
14
#include <string>
15
16
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
17
18
#include "
PhysicsTools/IsolationAlgos/interface/IsoDepositExtractor.h
"
19
20
#include "
DataFormats/RecoCandidate/interface/IsoDeposit.h
"
21
#include "
DataFormats/TrackReco/interface/Track.h
"
22
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
23
#include "
DataFormats/CaloTowers/interface/CaloTowerCollection.h
"
24
#include "
DataFormats/JetReco/interface/CaloJetCollection.h
"
25
26
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
27
28
#include "
MagneticField/Engine/interface/MagneticField.h
"
29
#include "
MagneticField/Records/interface/IdealMagneticFieldRecord.h
"
30
31
class
TrackAssociatorParameters
;
32
class
TrackDetectorAssociator
;
33
class
MuonServiceProxy
;
34
35
namespace
muonisolation
{
36
37
class
JetExtractor
:
public
reco::isodeposit::IsoDepositExtractor
{
38
public
:
39
JetExtractor
();
40
JetExtractor
(
const
edm::ParameterSet
& par,
edm::ConsumesCollector
&& iC);
41
42
~JetExtractor
()
override
;
43
44
void
fillVetos
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& evSetup,
const
reco::TrackCollection
&
tracks
)
override
;
45
reco::IsoDeposit
deposit
(
const
edm::Event
&
ev
,
46
const
edm::EventSetup
& evSetup,
47
const
reco::Track
&
track
)
const override
;
48
49
private
:
50
edm::EDGetTokenT<reco::CaloJetCollection>
theJetCollectionToken
;
51
52
std::string
thePropagatorName
;
53
54
edm::ESGetToken<MagneticField, IdealMagneticFieldRecord>
theFieldToken
;
55
56
// Cone cuts and thresholds
57
double
theThreshold
;
58
double
theDR_Veto
;
59
double
theDR_Max
;
60
61
//excludes sumEt of towers that are inside muon veto cone
62
bool
theExcludeMuonVeto
;
63
65
std::unique_ptr<MuonServiceProxy>
theService
;
66
67
std::unique_ptr<TrackAssociatorParameters>
theAssociatorParameters
;
68
std::unique_ptr<TrackDetectorAssociator>
theAssociator
;
69
70
bool
thePrintTimeReport
;
71
};
72
73
}
// namespace muonisolation
74
75
#endif
CaloJetCollection.h
muonisolation::JetExtractor::theDR_Max
double theDR_Max
Definition:
JetExtractor.h:59
HLT_FULL_cff.track
track
Definition:
HLT_FULL_cff.py:11724
muonisolation::JetExtractor::theAssociatorParameters
std::unique_ptr< TrackAssociatorParameters > theAssociatorParameters
Definition:
JetExtractor.h:67
edm::EDGetTokenT< reco::CaloJetCollection >
muonisolation::JetExtractor::theFieldToken
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > theFieldToken
Definition:
JetExtractor.h:54
muonisolation::JetExtractor::theService
std::unique_ptr< MuonServiceProxy > theService
the event setup proxy, it takes care the services update
Definition:
JetExtractor.h:65
muonisolation::JetExtractor::theDR_Veto
double theDR_Veto
Definition:
JetExtractor.h:58
muonisolation::JetExtractor::theThreshold
double theThreshold
Definition:
JetExtractor.h:57
muonisolation::JetExtractor::theAssociator
std::unique_ptr< TrackDetectorAssociator > theAssociator
Definition:
JetExtractor.h:68
muonisolation::JetExtractor::fillVetos
void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks) override
Definition:
JetExtractor.cc:51
Track.h
TrackFwd.h
muonisolation::JetExtractor::theExcludeMuonVeto
bool theExcludeMuonVeto
Definition:
JetExtractor.h:62
reco::Track
Definition:
Track.h:27
IdealMagneticFieldRecord.h
muonisolation::JetExtractor
Definition:
JetExtractor.h:37
IsoDeposit.h
IsoDepositExtractor.h
muonisolation::JetExtractor::theJetCollectionToken
edm::EDGetTokenT< reco::CaloJetCollection > theJetCollectionToken
Definition:
JetExtractor.h:50
edm::ParameterSet
Definition:
ParameterSet.h:47
tracks
const uint32_t *__restrict__ const HitContainer *__restrict__ TkSoA *__restrict__ tracks
Definition:
CAHitNtupletGeneratorKernelsImpl.h:176
muonisolation::JetExtractor::thePrintTimeReport
bool thePrintTimeReport
Definition:
JetExtractor.h:70
TrackDetectorAssociator
Definition:
TrackDetectorAssociator.h:44
MagneticField.h
edm::EventSetup
Definition:
EventSetup.h:58
muonisolation::JetExtractor::~JetExtractor
~JetExtractor() override
Definition:
JetExtractor.cc:49
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
muonisolation
Definition:
CandViewExtractor.h:16
CaloTowerCollection.h
muonisolation::JetExtractor::deposit
reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const override
Definition:
JetExtractor.cc:57
muonisolation::JetExtractor::thePropagatorName
std::string thePropagatorName
Definition:
JetExtractor.h:52
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:97
reco::IsoDeposit
Definition:
IsoDeposit.h:49
muonisolation::JetExtractor::JetExtractor
JetExtractor()
Definition:
JetExtractor.cc:27
ConsumesCollector.h
reco::isodeposit::IsoDepositExtractor
Definition:
IsoDepositExtractor.h:24
MuonServiceProxy
Definition:
MuonServiceProxy.h:38
edm::Event
Definition:
Event.h:73
GlobalPoint.h
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:14
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
TrackAssociatorParameters
Definition:
TrackAssociatorParameters.h:43
Generated for CMSSW Reference Manual by
1.8.16