Main Page
Namespaces
Classes
Package Documentation
src
RecoMuon
MuonIsolation
plugins
CaloExtractorByAssociator.h
Go to the documentation of this file.
1
#ifndef MuonIsolation_CaloExtractorByAssociator_H
2
#define MuonIsolation_CaloExtractorByAssociator_H
3
14
#include <string>
15
16
#include "
PhysicsTools/IsolationAlgos/interface/IsoDepositExtractor.h
"
17
18
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
19
20
#include "
DataFormats/RecoCandidate/interface/IsoDeposit.h
"
21
#include "
DataFormats/TrackReco/interface/Track.h
"
22
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
23
24
#include "
DataFormats/CaloTowers/interface/CaloTowerCollection.h
"
25
26
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
27
28
class
TrackAssociatorParameters
;
29
class
TrackDetectorAssociator
;
30
class
MuonServiceProxy
;
31
32
namespace
muonisolation
{
33
34
class
CaloExtractorByAssociator
:
public
reco::isodeposit::IsoDepositExtractor
{
35
36
public
:
37
39
CaloExtractorByAssociator
(){};
40
CaloExtractorByAssociator
(
const
edm::ParameterSet
& par,
edm::ConsumesCollector
&& iC);
41
43
~CaloExtractorByAssociator
()
override
;
44
46
void
fillVetos
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& evSetup,
const
reco::TrackCollection
&
tracks
)
override
;
48
reco::IsoDeposit
49
deposit
(
const
edm::Event
& ev,
const
edm::EventSetup
& evSetup,
const
reco::Track
&
track
)
const override
;
51
std::vector<reco::IsoDeposit>
52
deposits
(
const
edm::Event
& ev,
const
edm::EventSetup
& evSetup,
const
reco::Track
& track)
const override
;
53
54
private
:
55
57
bool
theUseRecHitsFlag
;
58
60
std::string
theDepositLabel
;
61
63
std::vector<std::string>
theDepositInstanceLabels
;
64
66
std::string
thePropagatorName
;
67
70
double
theThreshold_E
;
71
double
theThreshold_H
;
72
double
theThreshold_HO
;
73
75
double
theDR_Veto_E
;
76
double
theDR_Veto_H
;
77
double
theDR_Veto_HO
;
80
bool
theCenterConeOnCalIntersection
;
82
double
theDR_Max
;
83
86
double
theNoise_EB
;
87
double
theNoise_EE
;
88
double
theNoise_HB
;
89
double
theNoise_HE
;
90
double
theNoise_HO
;
91
double
theNoiseTow_EB
;
92
double
theNoiseTow_EE
;
93
95
std::vector<DetId>
theVetoCollection
;
96
98
MuonServiceProxy
*
theService
;
99
100
102
TrackAssociatorParameters
*
theAssociatorParameters
;
103
TrackDetectorAssociator
*
theAssociator
;
104
106
bool
thePrintTimeReport
;
107
109
double
noiseEcal
(
const
CaloTower
& tower)
const
;
110
double
noiseHcal
(
const
CaloTower
& tower)
const
;
111
double
noiseHOcal
(
const
CaloTower
& tower)
const
;
112
double
noiseRecHit
(
const
DetId
& detId)
const
;
113
114
};
115
116
}
117
118
#endif
CaloTowerCollection.h
muonisolation::CaloExtractorByAssociator::CaloExtractorByAssociator
CaloExtractorByAssociator()
constructors
Definition:
CaloExtractorByAssociator.h:39
muonisolation::CaloExtractorByAssociator::theThreshold_HO
double theThreshold_HO
Definition:
CaloExtractorByAssociator.h:72
reco::IsoDeposit
Definition:
IsoDeposit.h:46
muonisolation::CaloExtractorByAssociator::thePropagatorName
std::string thePropagatorName
propagator name to feed into the track associator
Definition:
CaloExtractorByAssociator.h:66
muonisolation::CaloExtractorByAssociator::theVetoCollection
std::vector< DetId > theVetoCollection
Vector of calo Ids to veto – not used.
Definition:
CaloExtractorByAssociator.h:95
muonisolation::CaloExtractorByAssociator::theNoise_HB
double theNoise_HB
Definition:
CaloExtractorByAssociator.h:88
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
muonisolation::CaloExtractorByAssociator::theDepositLabel
std::string theDepositLabel
Label of deposit – suggest to set to "" (all info is in collection name anyways) ...
Definition:
CaloExtractorByAssociator.h:60
muonisolation::CaloExtractorByAssociator::theDR_Max
double theDR_Max
max cone size in which towers are considered
Definition:
CaloExtractorByAssociator.h:82
reco::isodeposit::IsoDepositExtractor
Definition:
IsoDepositExtractor.h:25
muonisolation::CaloExtractorByAssociator
Definition:
CaloExtractorByAssociator.h:34
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:15
muonisolation::CaloExtractorByAssociator::noiseHOcal
double noiseHOcal(const CaloTower &tower) const
Definition:
CaloExtractorByAssociator.cc:381
muonisolation::CaloExtractorByAssociator::theThreshold_H
double theThreshold_H
Definition:
CaloExtractorByAssociator.h:71
muonisolation::CaloExtractorByAssociator::theDepositInstanceLabels
std::vector< std::string > theDepositInstanceLabels
multiple deposits: labels – expect 3 labels beginning with "e", "h", "ho"
Definition:
CaloExtractorByAssociator.h:63
muonisolation::CaloExtractorByAssociator::noiseHcal
double noiseHcal(const CaloTower &tower) const
Definition:
CaloExtractorByAssociator.cc:376
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:95
TrackFwd.h
muonisolation::CaloExtractorByAssociator::theDR_Veto_E
double theDR_Veto_E
cone sizes inside which the Et (towers) are not counted
Definition:
CaloExtractorByAssociator.h:75
muonisolation::CaloExtractorByAssociator::theAssociatorParameters
TrackAssociatorParameters * theAssociatorParameters
associator, its' parameters and the propagator
Definition:
CaloExtractorByAssociator.h:102
muonisolation::CaloExtractorByAssociator::theDR_Veto_HO
double theDR_Veto_HO
Definition:
CaloExtractorByAssociator.h:77
muonisolation::CaloExtractorByAssociator::theThreshold_E
double theThreshold_E
Definition:
CaloExtractorByAssociator.h:70
muonisolation::CaloExtractorByAssociator::theCenterConeOnCalIntersection
bool theCenterConeOnCalIntersection
Definition:
CaloExtractorByAssociator.h:80
muonisolation::CaloExtractorByAssociator::noiseEcal
double noiseEcal(const CaloTower &tower) const
Determine noise for HCAL and ECAL (take some defaults for the time being)
Definition:
CaloExtractorByAssociator.cc:369
muonisolation::CaloExtractorByAssociator::theNoise_EE
double theNoise_EE
Definition:
CaloExtractorByAssociator.h:87
muonisolation::CaloExtractorByAssociator::theUseRecHitsFlag
bool theUseRecHitsFlag
use towers or rec hits
Definition:
CaloExtractorByAssociator.h:57
muonisolation::CaloExtractorByAssociator::theNoise_HO
double theNoise_HO
Definition:
CaloExtractorByAssociator.h:90
MuonServiceProxy
Definition:
MuonServiceProxy.h:27
l1t::tracks
Definition:
MicroGMTCancelOutUnit.h:12
muonisolation
Definition:
CandViewExtractor.h:17
muonisolation::CaloExtractorByAssociator::deposit
reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const override
no-op: by design of this extractor the deposits are pulled out all at a time
Definition:
CaloExtractorByAssociator.cc:83
edm::EventSetup
Definition:
EventSetup.h:57
CaloTower
Definition:
CaloTower.h:27
muonisolation::CaloExtractorByAssociator::deposits
std::vector< reco::IsoDeposit > deposits(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const override
return deposits for 3 calorimeter subdetectors (ecal, hcal, ho) – in this order
Definition:
CaloExtractorByAssociator.cc:98
muonisolation::CaloExtractorByAssociator::theAssociator
TrackDetectorAssociator * theAssociator
Definition:
CaloExtractorByAssociator.h:103
muonisolation::CaloExtractorByAssociator::noiseRecHit
double noiseRecHit(const DetId &detId) const
Definition:
CaloExtractorByAssociator.cc:387
DetId
Definition:
DetId.h:18
muonisolation::CaloExtractorByAssociator::theNoise_HE
double theNoise_HE
Definition:
CaloExtractorByAssociator.h:89
HiIsolationCommonParameters_cff.track
track
Definition:
HiIsolationCommonParameters_cff.py:9
muonisolation::CaloExtractorByAssociator::theNoiseTow_EE
double theNoiseTow_EE
Definition:
CaloExtractorByAssociator.h:92
muonisolation::CaloExtractorByAssociator::theService
MuonServiceProxy * theService
the event setup proxy, it takes care the services update
Definition:
CaloExtractorByAssociator.h:98
muonisolation::CaloExtractorByAssociator::fillVetos
void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks) override
allows to set extra vetoes (in addition to the muon) – no-op at this point
Definition:
CaloExtractorByAssociator.cc:75
TrackDetectorAssociator
Definition:
TrackDetectorAssociator.h:50
reco::Track
Definition:
Track.h:28
muonisolation::CaloExtractorByAssociator::theDR_Veto_H
double theDR_Veto_H
Definition:
CaloExtractorByAssociator.h:76
IsoDeposit.h
IsoDepositExtractor.h
edm::ParameterSet
Definition:
ParameterSet.h:36
muonisolation::CaloExtractorByAssociator::thePrintTimeReport
bool thePrintTimeReport
flag to turn on/off printing of a time report
Definition:
CaloExtractorByAssociator.h:106
edm::Event
Definition:
Event.h:71
muonisolation::CaloExtractorByAssociator::theNoiseTow_EB
double theNoiseTow_EB
Definition:
CaloExtractorByAssociator.h:91
Track.h
TrackAssociatorParameters
Definition:
TrackAssociatorParameters.h:34
muonisolation::CaloExtractorByAssociator::~CaloExtractorByAssociator
~CaloExtractorByAssociator() override
destructor
Definition:
CaloExtractorByAssociator.cc:69
ConsumesCollector.h
muonisolation::CaloExtractorByAssociator::theNoise_EB
double theNoise_EB
Definition:
CaloExtractorByAssociator.h:86
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.11