|
bool | hltFilter (edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override |
|
| HLTMuonL1toL3TkPreFilter (const edm::ParameterSet &) |
|
| ~HLTMuonL1toL3TkPreFilter () 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) |
|
|
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) |
|
This class is an HLTFilter (-> EDFilter) implementing a first filtering for HLT muons
- Author
- J-R Vlimant
Definition at line 25 of file HLTMuonL1toL3TkPreFilter.h.
Implements HLTFilter.
Definition at line 91 of file HLTMuonL1toL3TkPreFilter.cc.
References accept(), trigger::TriggerFilterObjectWithRefs::addCollectionTag(), trigger::TriggerRefsCollections::addObject(), ecalDrivenElectronSeedsParameters_cff::beamSpot, beamspotToken_, candTag_, candToken_, edm::Event::getByToken(), trigger::TriggerRefsCollections::getObjects(), mps_fire::i, LogDebug, LogTrace, max_Dr_, max_Dz_, max_Eta_, numberPerLSFilter_cff::maxN, min_N_, min_Nhits_, min_Pt_, gen::n, nsigma_Pt_, reco::BeamSpot::position(), previousCandToken_, EnergyCorrector::pt, HLTFilter::saveTags(), triggeredAtL1(), trigger::TriggerL1Mu, and trigger::TriggerMuon.
103 std::map<l1extra::L1MuonParticleRef, std::vector<RecoChargedCandidateRef> > L1toL3s;
105 unsigned int maxN = mucands->size();
119 beamSpot = *recoBeamSpotHandle;
123 vector<l1extra::L1MuonParticleRef> vl1cands;
126 auto L1toL3s_it = L1toL3s.begin();
127 auto L1toL3s_end = L1toL3s.end();
128 for (; L1toL3s_it!=L1toL3s_end; ++L1toL3s_it){
134 unsigned int maxItk=L1toL3s_it->second.size();
135 for (; iTk!=maxItk; iTk++){
140 if (fabs(tk->eta())>
max_Eta_)
continue;
143 if (tk->numberOfValidHits()<
min_Nhits_)
continue;
150 if (fabs(tk->dz())>
max_Dz_)
continue;
153 double pt = tk->pt();
154 double err0 = tk->error(0);
155 double abspar0 = fabs(tk->parameter(0));
159 LogTrace(
"HLTMuonL1toL3TkPreFilter") <<
" ...Muon in loop, pt= " 160 << pt <<
", ptLx= " << ptLx;
171 vector<RecoChargedCandidateRef> vref;
173 for (
auto &
i : vref) {
175 LogDebug(
"HLTMuonL1toL3TkPreFilter")
176 <<
" Track passing filter: pt= " << tk->pt() <<
", eta: " 183 LogDebug(
"HLTMuonL1toL3TkPreFilter") <<
" >>>>> Result of HLTMuonL1toL3TkPreFilter is " <<
accept <<
", number of muons passing thresholds= " <<
n;
edm::EDGetTokenT< reco::BeamSpot > beamspotToken_
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > previousCandToken_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
enum start value shifted to 81 so as to avoid clashes with PDG codes
edm::Ref< RecoChargedCandidateCollection > RecoChargedCandidateRef
reference to an object in a collection of RecoChargedCandidate objects
edm::EDGetTokenT< reco::RecoChargedCandidateCollection > candToken_
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
void addObject(int id, const reco::RecoEcalCandidateRef &ref)
setters for L3 collections: (id=physics type, and Ref<C>)
bool triggeredAtL1(const l1extra::L1MuonParticleRef &l1mu, std::vector< l1extra::L1MuonParticleRef > &vcands) const
void addCollectionTag(const edm::InputTag &collectionTag)
collectionTags
const Point & position() const
position