Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoMuon
MuonIsolation
plugins
CaloExtractorByAssociator.h
Go to the documentation of this file.
1
#ifndef MuonIsolation_CaloExtractorByAssociator_H
2
#define MuonIsolation_CaloExtractorByAssociator_H
3
17
#include <string>
18
19
#include "
PhysicsTools/IsolationAlgos/interface/IsoDepositExtractor.h
"
20
21
#include "
DataFormats/RecoCandidate/interface/IsoDeposit.h
"
22
#include "
DataFormats/TrackReco/interface/Track.h
"
23
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
24
25
26
#include "
DataFormats/CaloTowers/interface/CaloTowerCollection.h
"
27
28
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
29
30
class
TrackAssociatorParameters
;
31
class
TrackDetectorAssociator
;
32
class
MuonServiceProxy
;
33
34
namespace
muonisolation {
35
36
class
CaloExtractorByAssociator
:
public
reco::isodeposit::IsoDepositExtractor
{
37
38
public
:
39
41
CaloExtractorByAssociator
(){};
42
CaloExtractorByAssociator
(
const
edm::ParameterSet
& par);
43
45
virtual
~CaloExtractorByAssociator
();
46
48
virtual
void
fillVetos
(
const
edm::Event
& ev,
const
edm::EventSetup
& evSetup,
const
reco::TrackCollection
&
tracks
);
50
virtual
reco::IsoDeposit
51
deposit
(
const
edm::Event
& ev,
const
edm::EventSetup
& evSetup,
const
reco::Track
& track)
const
;
53
virtual
std::vector<reco::IsoDeposit>
54
deposits
(
const
edm::Event
& ev,
const
edm::EventSetup
& evSetup,
const
reco::Track
& track)
const
;
55
56
private
:
57
59
bool
theUseRecHitsFlag
;
60
62
std::string
theDepositLabel
;
63
65
std::vector<std::string>
theDepositInstanceLabels
;
66
68
std::string
thePropagatorName
;
69
72
double
theThreshold_E
;
73
double
theThreshold_H
;
74
double
theThreshold_HO
;
75
77
double
theDR_Veto_E
;
78
double
theDR_Veto_H
;
79
double
theDR_Veto_HO
;
82
bool
theCenterConeOnCalIntersection
;
84
double
theDR_Max
;
85
88
double
theNoise_EB
;
89
double
theNoise_EE
;
90
double
theNoise_HB
;
91
double
theNoise_HE
;
92
double
theNoise_HO
;
93
double
theNoiseTow_EB
;
94
double
theNoiseTow_EE
;
95
97
std::vector<DetId>
theVetoCollection
;
98
100
MuonServiceProxy
*
theService
;
101
102
104
TrackAssociatorParameters
*
theAssociatorParameters
;
105
TrackDetectorAssociator
*
theAssociator
;
106
108
bool
thePrintTimeReport
;
109
111
double
noiseEcal
(
const
CaloTower
& tower)
const
;
112
double
noiseHcal
(
const
CaloTower
& tower)
const
;
113
double
noiseHOcal
(
const
CaloTower
& tower)
const
;
114
double
noiseRecHit
(
const
DetId
& detId)
const
;
115
116
};
117
118
}
119
120
#endif
muonisolation::CaloExtractorByAssociator::fillVetos
virtual void fillVetos(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks)
allows to set extra vetoes (in addition to the muon) – no-op at this point
Definition:
CaloExtractorByAssociator.cc:75
CaloTowerCollection.h
muonisolation::CaloExtractorByAssociator::CaloExtractorByAssociator
CaloExtractorByAssociator()
constructors
Definition:
CaloExtractorByAssociator.h:41
muonisolation::CaloExtractorByAssociator::theThreshold_HO
double theThreshold_HO
Definition:
CaloExtractorByAssociator.h:74
reco::IsoDeposit
Definition:
IsoDeposit.h:46
muonisolation::CaloExtractorByAssociator::deposits
virtual std::vector< reco::IsoDeposit > deposits(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const
return deposits for 3 calorimeter subdetectors (ecal, hcal, ho) – in this order
Definition:
CaloExtractorByAssociator.cc:98
muonisolation::CaloExtractorByAssociator::thePropagatorName
std::string thePropagatorName
propagator name to feed into the track associator
Definition:
CaloExtractorByAssociator.h:68
muonisolation::CaloExtractorByAssociator::theVetoCollection
std::vector< DetId > theVetoCollection
Vector of calo Ids to veto – not used.
Definition:
CaloExtractorByAssociator.h:97
muonisolation::CaloExtractorByAssociator::theNoise_HB
double theNoise_HB
Definition:
CaloExtractorByAssociator.h:90
muonisolation::CaloExtractorByAssociator::theDepositLabel
std::string theDepositLabel
Label of deposit – suggest to set to "" (all info is in collection name anyways)
Definition:
CaloExtractorByAssociator.h:62
muonisolation::CaloExtractorByAssociator::theDR_Max
double theDR_Max
max cone size in which towers are considered
Definition:
CaloExtractorByAssociator.h:84
reco::isodeposit::IsoDepositExtractor
Definition:
IsoDepositExtractor.h:25
muonisolation::CaloExtractorByAssociator
Definition:
CaloExtractorByAssociator.h:36
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition:
TrackFwd.h:10
muonisolation::CaloExtractorByAssociator::noiseHOcal
double noiseHOcal(const CaloTower &tower) const
Definition:
CaloExtractorByAssociator.cc:370
muonisolation::CaloExtractorByAssociator::theThreshold_H
double theThreshold_H
Definition:
CaloExtractorByAssociator.h:73
muonisolation::CaloExtractorByAssociator::theDepositInstanceLabels
std::vector< std::string > theDepositInstanceLabels
multiple deposits: labels – expect 3 labels beginning with "e", "h", "ho"
Definition:
CaloExtractorByAssociator.h:65
muonisolation::CaloExtractorByAssociator::noiseHcal
double noiseHcal(const CaloTower &tower) const
Definition:
CaloExtractorByAssociator.cc:365
TrackFwd.h
muonisolation::CaloExtractorByAssociator::theDR_Veto_E
double theDR_Veto_E
cone sizes inside which the Et (towers) are not counted
Definition:
CaloExtractorByAssociator.h:77
muonisolation::CaloExtractorByAssociator::theAssociatorParameters
TrackAssociatorParameters * theAssociatorParameters
associator, its' parameters and the propagator
Definition:
CaloExtractorByAssociator.h:104
muonisolation::CaloExtractorByAssociator::theDR_Veto_HO
double theDR_Veto_HO
Definition:
CaloExtractorByAssociator.h:79
muonisolation::CaloExtractorByAssociator::theThreshold_E
double theThreshold_E
Definition:
CaloExtractorByAssociator.h:72
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
muonisolation::CaloExtractorByAssociator::theCenterConeOnCalIntersection
bool theCenterConeOnCalIntersection
Definition:
CaloExtractorByAssociator.h:82
muonisolation::CaloExtractorByAssociator::~CaloExtractorByAssociator
virtual ~CaloExtractorByAssociator()
destructor
Definition:
CaloExtractorByAssociator.cc:68
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:358
muonisolation::CaloExtractorByAssociator::theNoise_EE
double theNoise_EE
Definition:
CaloExtractorByAssociator.h:89
muonisolation::CaloExtractorByAssociator::theUseRecHitsFlag
bool theUseRecHitsFlag
use towers or rec hits
Definition:
CaloExtractorByAssociator.h:59
muonisolation::CaloExtractorByAssociator::theNoise_HO
double theNoise_HO
Definition:
CaloExtractorByAssociator.h:92
MuonServiceProxy
Definition:
MuonServiceProxy.h:26
edm::EventSetup
Definition:
EventSetup.h:44
CaloTower
Definition:
CaloTower.h:28
muonisolation::CaloExtractorByAssociator::theAssociator
TrackDetectorAssociator * theAssociator
Definition:
CaloExtractorByAssociator.h:105
muonisolation::CaloExtractorByAssociator::noiseRecHit
double noiseRecHit(const DetId &detId) const
Definition:
CaloExtractorByAssociator.cc:376
DetId
Definition:
DetId.h:20
muonisolation::CaloExtractorByAssociator::theNoise_HE
double theNoise_HE
Definition:
CaloExtractorByAssociator.h:91
testEve_cfg.tracks
tuple tracks
Definition:
testEve_cfg.py:39
muonisolation::CaloExtractorByAssociator::theNoiseTow_EE
double theNoiseTow_EE
Definition:
CaloExtractorByAssociator.h:94
muonisolation::CaloExtractorByAssociator::theService
MuonServiceProxy * theService
the event setup proxy, it takes care the services update
Definition:
CaloExtractorByAssociator.h:100
TrackDetectorAssociator
Definition:
TrackDetectorAssociator.h:51
reco::Track
Definition:
Track.h:27
muonisolation::CaloExtractorByAssociator::theDR_Veto_H
double theDR_Veto_H
Definition:
CaloExtractorByAssociator.h:78
IsoDeposit.h
IsoDepositExtractor.h
edm::ParameterSet
Definition:
ParameterSet.h:35
muonisolation::CaloExtractorByAssociator::deposit
virtual reco::IsoDeposit deposit(const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const
no-op: by design of this extractor the deposits are pulled out all at a time
Definition:
CaloExtractorByAssociator.cc:83
muonisolation::CaloExtractorByAssociator::thePrintTimeReport
bool thePrintTimeReport
flag to turn on/off printing of a time report
Definition:
CaloExtractorByAssociator.h:108
edm::Event
Definition:
Event.h:56
muonisolation::CaloExtractorByAssociator::theNoiseTow_EB
double theNoiseTow_EB
Definition:
CaloExtractorByAssociator.h:93
Track.h
TrackAssociatorParameters
Definition:
TrackAssociatorParameters.h:22
muonisolation::CaloExtractorByAssociator::theNoise_EB
double theNoise_EB
Definition:
CaloExtractorByAssociator.h:88
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.5