![]() |
![]() |
#include <HLTMuonTrackMassFilter.h>
Public Member Functions | |
HLTMuonTrackMassFilter (const edm::ParameterSet &) | |
~HLTMuonTrackMassFilter () override | |
![]() | |
HLTFilter (const edm::ParameterSet &config) | |
int | module (edm::Event const &) const |
const std::string * | moduleLabel () const |
int | path (edm::Event const &) const |
const std::string * | pathName (edm::Event const &) const |
std::pair< int, int > | pmid (edm::Event const &) const |
bool | saveTags () const |
~HLTFilter () override | |
![]() | |
EDFilter ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
bool | wantsGlobalLuminosityBlocks () const final |
bool | wantsGlobalRuns () const final |
bool | wantsStreamLuminosityBlocks () const final |
bool | wantsStreamRuns () const final |
![]() | |
EDFilterBase () | |
ModuleDescription const & | moduleDescription () const |
~EDFilterBase () override | |
![]() | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
~ProducerBase () noexcept(false) override | |
![]() | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
virtual | ~EDConsumerBase () noexcept(false) |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
![]() | |
static void | makeHLTFilterDescription (edm::ParameterSetDescription &desc) |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
bool | hltFilter (edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override |
bool | pairMatched (std::vector< reco::RecoChargedCandidateRef > &prevMuonRefs, std::vector< reco::RecoChargedCandidateRef > &prevTrackRefs, const reco::RecoChargedCandidateRef &muonRef, const reco::RecoChargedCandidateRef &trackRef) const |
Private Attributes | |
edm::InputTag | beamspotTag_ |
beamspot used for quality cuts More... | |
edm::EDGetTokenT< reco::BeamSpot > | beamspotToken_ |
beamspot used for quality cuts More... | |
bool | checkCharge_ |
check opposite charge? More... | |
bool | cutCowboys_ |
DCA between the two muons. More... | |
double | max_DCAMuonTrack_ |
std::vector< double > | maxMasses_ |
higher mass limits More... | |
double | maxTrackDxy_ |
track tip cut w.r.t. beamspot More... | |
double | maxTrackDz_ |
track lip cut w.r.t. beamspot More... | |
double | maxTrackEta_ |
track |eta| cut More... | |
double | maxTrackNormChi2_ |
normalized chi2 of track More... | |
std::vector< double > | minMasses_ |
lower mass limits More... | |
int | minTrackHits_ |
valid hits on trackMore... | |
double | minTrackP_ |
track p cut More... | |
double | minTrackPt_ |
track pt cut More... | |
edm::InputTag | muonTag_ |
RecoChargedCandidateCollection (muons) More... | |
edm::EDGetTokenT< reco::RecoChargedCandidateCollection > | muonToken_ |
RecoChargedCandidateCollection (muons) More... | |
edm::InputTag | prevCandTag_ |
filter objects from previous filter More... | |
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > | prevCandToken_ |
filter objects from previous filter More... | |
edm::InputTag | trackTag_ |
RecoChargedCandidateCollection (tracks) More... | |
edm::EDGetTokenT< reco::RecoChargedCandidateCollection > | trackToken_ |
RecoChargedCandidateCollection (tracks) More... | |
Additional Inherited Members | |
![]() | |
typedef EDFilterBase | ModuleType |
![]() | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
![]() | |
typedef ProductLabels | Labels |
![]() | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 17 of file HLTMuonTrackMassFilter.h.
|
explicit |
Definition at line 39 of file HLTMuonTrackMassFilter.cc.
References beamspotTag_, checkCharge_, mps_fire::i, LogDebug, maxMasses_, maxTrackDxy_, maxTrackDz_, maxTrackEta_, maxTrackNormChi2_, minMasses_, minTrackHits_, minTrackP_, minTrackPt_, muonTag_, prevCandTag_, HLTFilter::saveTags(), and trackTag_.
|
inlineoverride |
|
static |
Definition at line 104 of file HLTMuonTrackMassFilter.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and HLTFilter::makeHLTFilterDescription().
|
overrideprivatevirtual |
Implements HLTFilter.
Definition at line 139 of file HLTMuonTrackMassFilter.cc.
References trigger::TriggerFilterObjectWithRefs::addCollectionTag(), trigger::TriggerRefsCollections::addObject(), egammaObjectModificationsInMiniAOD_cff::beamspot, beamspotToken_, ClosestApproachInRPhi::calculate(), reco::LeafCandidate::charge(), checkCharge_, cutCowboys_, hiPixelPairStep_cff::deltaPhi, ClosestApproachInRPhi::distance(), reco::TrackBase::dxy(), reco::TrackBase::dz(), reco::LeafCandidate::eta(), spr::find(), edm::EventSetup::get(), edm::Event::getByToken(), trigger::TriggerRefsCollections::getObjects(), mps_fire::i, reco::TransientTrack::impactPointTSCP(), edm::isDebugEnabled(), edm::Ref< C, T, F >::isNull(), TrajectoryStateClosestToPoint::isValid(), LogDebug, ResonanceBuilder::mass, max_DCAMuonTrack_, maxMasses_, maxTrackDxy_, maxTrackDz_, maxTrackEta_, maxTrackNormChi2_, minMasses_, minTrackHits_, minTrackP_, minTrackPt_, muonTag_, muonToken_, reco::TrackBase::normalizedChi2(), reco::TrackBase::numberOfValidHits(), reco::LeafCandidate::p(), reco::LeafCandidate::p4(), pairMatched(), reco::LeafCandidate::phi(), reco::BeamSpot::position(), prevCandToken_, reco::LeafCandidate::pt(), HLTFilter::saveTags(), ClosestApproachInRPhi::status(), TrajectoryStateClosestToPoint::theState(), HiIsolationCommonParameters_cff::track, reco::RecoChargedCandidate::track(), trackTag_, trackToken_, trigger::TriggerMuon, and trigger::TriggerTrack.
|
private |
Definition at line 339 of file HLTMuonTrackMassFilter.cc.
References TrackingRecHit::all, DEFINE_FWK_MODULE, mps_fire::i, iseed, edm::RefToBase< T >::isNull(), edm::Ref< C, T, F >::isNull(), TrajectorySeed::nHits(), and TrajectorySeed::recHits().
Referenced by hltFilter().
|
private |
beamspot used for quality cuts
Definition at line 31 of file HLTMuonTrackMassFilter.h.
Referenced by HLTMuonTrackMassFilter().
|
private |
beamspot used for quality cuts
Definition at line 32 of file HLTMuonTrackMassFilter.h.
Referenced by hltFilter().
|
private |
check opposite charge?
Definition at line 41 of file HLTMuonTrackMassFilter.h.
Referenced by hltFilter(), and HLTMuonTrackMassFilter().
|
private |
DCA between the two muons.
if true, reject muon-track pairs that bend towards each other
Definition at line 51 of file HLTMuonTrackMassFilter.h.
Referenced by hltFilter().
|
private |
Definition at line 50 of file HLTMuonTrackMassFilter.h.
Referenced by hltFilter().
|
private |
higher mass limits
Definition at line 40 of file HLTMuonTrackMassFilter.h.
Referenced by hltFilter(), and HLTMuonTrackMassFilter().
|
private |
track tip cut w.r.t. beamspot
Definition at line 45 of file HLTMuonTrackMassFilter.h.
Referenced by hltFilter(), and HLTMuonTrackMassFilter().
|
private |
track lip cut w.r.t. beamspot
Definition at line 46 of file HLTMuonTrackMassFilter.h.
Referenced by hltFilter(), and HLTMuonTrackMassFilter().
|
private |
track |eta| cut
Definition at line 44 of file HLTMuonTrackMassFilter.h.
Referenced by hltFilter(), and HLTMuonTrackMassFilter().
|
private |
normalized chi2 of track
Definition at line 48 of file HLTMuonTrackMassFilter.h.
Referenced by hltFilter(), and HLTMuonTrackMassFilter().
|
private |
lower mass limits
Definition at line 39 of file HLTMuonTrackMassFilter.h.
Referenced by hltFilter(), and HLTMuonTrackMassFilter().
|
private |
Definition at line 47 of file HLTMuonTrackMassFilter.h.
Referenced by hltFilter(), and HLTMuonTrackMassFilter().
|
private |
track p cut
Definition at line 43 of file HLTMuonTrackMassFilter.h.
Referenced by hltFilter(), and HLTMuonTrackMassFilter().
|
private |
track pt cut
Definition at line 42 of file HLTMuonTrackMassFilter.h.
Referenced by hltFilter(), and HLTMuonTrackMassFilter().
|
private |
RecoChargedCandidateCollection (muons)
Definition at line 33 of file HLTMuonTrackMassFilter.h.
Referenced by hltFilter(), and HLTMuonTrackMassFilter().
|
private |
RecoChargedCandidateCollection (muons)
Definition at line 34 of file HLTMuonTrackMassFilter.h.
Referenced by hltFilter().
|
private |
filter objects from previous filter
Definition at line 37 of file HLTMuonTrackMassFilter.h.
Referenced by HLTMuonTrackMassFilter().
|
private |
filter objects from previous filter
Definition at line 38 of file HLTMuonTrackMassFilter.h.
Referenced by hltFilter().
|
private |
RecoChargedCandidateCollection (tracks)
Definition at line 35 of file HLTMuonTrackMassFilter.h.
Referenced by hltFilter(), and HLTMuonTrackMassFilter().
|
private |
RecoChargedCandidateCollection (tracks)
Definition at line 36 of file HLTMuonTrackMassFilter.h.
Referenced by hltFilter().