Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
virtual
~CaloExtractorByAssociator
();
44
46
virtual
void
fillVetos
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& evSetup,
const
reco::TrackCollection
&
tracks
);
48
virtual
reco::IsoDeposit
49
deposit
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& evSetup,
const
reco::Track
& track)
const
;
51
virtual
std::vector<reco::IsoDeposit>
52
deposits
(
const
edm::Event
&
ev
,
const
edm::EventSetup
& evSetup,
const
reco::Track
& track)
const
;
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
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:39
muonisolation::CaloExtractorByAssociator::theThreshold_HO
double theThreshold_HO
Definition:
CaloExtractorByAssociator.h:72
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: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
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:10
muonisolation::CaloExtractorByAssociator::noiseHOcal
double noiseHOcal(const CaloTower &tower) const
Definition:
CaloExtractorByAssociator.cc:370
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:365
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:90
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
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
muonisolation::CaloExtractorByAssociator::theCenterConeOnCalIntersection
bool theCenterConeOnCalIntersection
Definition:
CaloExtractorByAssociator.h:80
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: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:24
edm::EventSetup
Definition:
EventSetup.h:44
CaloTower
Definition:
CaloTower.h:26
muonisolation::CaloExtractorByAssociator::theAssociator
TrackDetectorAssociator * theAssociator
Definition:
CaloExtractorByAssociator.h:103
muonisolation::CaloExtractorByAssociator::noiseRecHit
double noiseRecHit(const DetId &detId) const
Definition:
CaloExtractorByAssociator.cc:376
DetId
Definition:
DetId.h:18
muonisolation::CaloExtractorByAssociator::theNoise_HE
double theNoise_HE
Definition:
CaloExtractorByAssociator.h:89
testEve_cfg.tracks
tuple tracks
Definition:
testEve_cfg.py:39
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
TrackDetectorAssociator
Definition:
TrackDetectorAssociator.h:50
reco::Track
Definition:
Track.h:27
muonisolation::CaloExtractorByAssociator::theDR_Veto_H
double theDR_Veto_H
Definition:
CaloExtractorByAssociator.h:76
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:106
edm::Event
Definition:
Event.h:62
muonisolation::CaloExtractorByAssociator::theNoiseTow_EB
double theNoiseTow_EB
Definition:
CaloExtractorByAssociator.h:91
Track.h
TrackAssociatorParameters
Definition:
TrackAssociatorParameters.h:33
ConsumesCollector.h
muonisolation::CaloExtractorByAssociator::theNoise_EB
double theNoise_EB
Definition:
CaloExtractorByAssociator.h:86
edm::ConsumesCollector
Definition:
ConsumesCollector.h:32
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.5