24 (iConfig.getParameter<edm::
InputTag>(
"ChargedCandidates"))),
26 (iConfig.getParameter<edm::
InputTag>(
"Tracks"))),
28 "EcalPFClusterIsoMap"))),
30 "HcalPFClusterIsoMap"))),
31 TrackIsoMap_(consumes<edm::ValueMap<double>>(iConfig.getParameter<edm::
InputTag>(
33 muonPtCut(iConfig.getParameter<double>(
"muonPtCut")),
34 muonEtaCut(iConfig.getParameter<double>(
"muonEtaCut"))
37 produces<ScoutingMuonCollection>();
88 for (
auto &
muon : *ChargedCandidateCollection) {
104 (*EcalPFClusterIsoMap)[muonRef], (*HcalPFClusterIsoMap)[muonRef],
105 (*TrackIsoMap)[muonRef], track->chi2(), track->ndof(),
106 track->charge(), track->dxy(), track->dz(),
107 track->hitPattern().numberOfValidMuonHits(),
108 track->hitPattern().numberOfValidPixelHits(),
110 track->hitPattern().trackerLayersWithMeasurement(),
126 "hltMuonTkRelIsolationCut0p09Map:combinedRelativeIsoDeposits"));
127 desc.
add<
double>(
"muonPtCut", 4.0);
128 desc.
add<
double>(
"muonEtaCut", 2.4);
129 descriptions.
add(
"hltScoutingMuonProducer", desc);
helper::MatcherGetRef< C >::ref_type getRef(const Handle< C > &c, size_t k)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< Track > TrackCollection
collection of Tracks
const edm::EDGetTokenT< RecoChargedCandMap > EcalPFClusterIsoMap_
~HLTScoutingMuonProducer()
const edm::EDGetTokenT< reco::TrackCollection > TrackCollection_
const edm::EDGetTokenT< RecoChargedCandMap > HcalPFClusterIsoMap_
virtual void produce(edm::StreamID sid, edm::Event &iEvent, edm::EventSetup const &setup) const overridefinal
const edm::EDGetTokenT< edm::ValueMap< double > > TrackIsoMap_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< ScoutingMuon > ScoutingMuonCollection
ParameterDescriptionBase * add(U const &iLabel, T const &value)
bool isNull() const
Checks for null.
std::vector< RecoChargedCandidate > RecoChargedCandidateCollection
collectin of RecoChargedCandidate objects
const edm::EDGetTokenT< reco::RecoChargedCandidateCollection > ChargedCandidateCollection_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
HLTScoutingMuonProducer(const edm::ParameterSet &)
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")