src
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
makeMEIFBenchmarkPlots.ev
ev
Definition:
makeMEIFBenchmarkPlots.py:55
muonisolation::JetExtractor::theAssociatorParameters
std::unique_ptr< TrackAssociatorParameters > theAssociatorParameters
Definition:
JetExtractor.h:67
CaloTowerCollection.h
reco::IsoDeposit
Definition:
IsoDeposit.h:49
muonisolation::JetExtractor::theDR_Max
double theDR_Max
Definition:
JetExtractor.h:59
muonisolation::JetExtractor::theFieldToken
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > theFieldToken
Definition:
JetExtractor.h:54
CaloJetCollection.h
muonisolation::JetExtractor::theService
std::unique_ptr< MuonServiceProxy > theService
the event setup proxy, it takes care the services update
Definition:
JetExtractor.h:65
muonisolation::JetExtractor::theThreshold
double theThreshold
Definition:
JetExtractor.h:57
reco::isodeposit::IsoDepositExtractor
Definition:
IsoDepositExtractor.h:24
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:14
muonisolation::JetExtractor::fillVetos
void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks) override
Definition:
JetExtractor.cc:50
TrackFwd.h
edm::EDGetTokenT< reco::CaloJetCollection >
muonisolation::JetExtractor::theDR_Veto
double theDR_Veto
Definition:
JetExtractor.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
muonisolation::JetExtractor::theAssociator
std::unique_ptr< TrackDetectorAssociator > theAssociator
Definition:
JetExtractor.h:68
MagneticField.h
DiMuonV_cfg.tracks
tracks
Definition:
DiMuonV_cfg.py:213
muonisolation::JetExtractor::theExcludeMuonVeto
bool theExcludeMuonVeto
Definition:
JetExtractor.h:62
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord >
muonisolation::JetExtractor
Definition:
JetExtractor.h:37
MuonServiceProxy
Definition:
MuonServiceProxy.h:38
muonisolation
Definition:
CandViewExtractor.cc:14
muonisolation::JetExtractor::thePrintTimeReport
bool thePrintTimeReport
Definition:
JetExtractor.h:70
edm::EventSetup
Definition:
EventSetup.h:56
muonisolation::JetExtractor::theJetCollectionToken
edm::EDGetTokenT< reco::CaloJetCollection > theJetCollectionToken
Definition:
JetExtractor.h:50
muonisolation::JetExtractor::thePropagatorName
std::string thePropagatorName
Definition:
JetExtractor.h:52
muonisolation::JetExtractor::deposit
reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const override
Definition:
JetExtractor.cc:56
muonisolation::JetExtractor::~JetExtractor
~JetExtractor() override
Definition:
JetExtractor.cc:48
TrackDetectorAssociator
Definition:
TrackDetectorAssociator.h:44
reco::Track
Definition:
Track.h:27
IsoDeposit.h
IsoDepositExtractor.h
muonisolation::JetExtractor::JetExtractor
JetExtractor()
Definition:
JetExtractor.cc:26
Track.h
edm::ParameterSet
Definition:
ParameterSet.h:48
edm::Event
Definition:
Event.h:73
TrackAssociatorParameters
Definition:
TrackAssociatorParameters.h:50
ConsumesCollector.h
IdealMagneticFieldRecord.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
HLT_2023v12_cff.track
track
Definition:
HLT_2023v12_cff.py:9624
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.14