|
| HLTL1MuonNoL2Selector (const edm::ParameterSet &) |
| Constructor. More...
|
|
virtual void | produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override |
|
| ~HLTL1MuonNoL2Selector () |
| Destructor. More...
|
|
| EDProducer ()=default |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDProducerBase () |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
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, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
|
virtual | ~ProducerBase () noexcept(false) |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
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 |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
HLTL1MuonNoL2Selector: Simple selector to output a subset of L1 muon collection
based on RecoMuon/L2MuonSeedGenerator
- Author
- D. Olivito
HLTL1MuonNoL2Selector: Simple selector to output a subset of L1 muon collection with no L2 link.
based on RecoMuon/L2MuonSeedGenerator
- Author
- S. Folgueras
Definition at line 37 of file HLTL1MuonNoL2Selector.h.
Definition at line 65 of file HLTL1MuonNoL2Selector.cc.
References BXVector< T >::begin(), SoftLeptonByDistance_cfi::distance, BXVector< T >::end(), spr::find(), edm::Event::getByToken(), BXVector< T >::getFirstBX(), BXVector< T >::getLastBX(), trigger::TriggerRefsCollections::getObjects(), LogTrace, metname, eostools::move(), muCollToken_, convertSQLitetoXML_cfg::output, edm::RefVector< C, T, F >::push_back(), edm::Event::put(), SurveyInfoScenario_cff::seed, seedMapToken_, BXVector< T >::size(), AlCaHLTBitMon_QueryRunRegistry::string, theL1CandToken_, theL2CandToken_, and trigger::TriggerL1Mu.
85 LogTrace(metname) <<
"Number of muons " << muColl->
size() << endl;
90 std::vector<l1t::MuonRef> firedL1Muons_;
96 if (ibx != 0)
continue;
97 for (
auto it = muColl->
begin(ibx); it != muColl->
end(ibx); it++){
101 if(
find(firedL1Muons_.begin(), firedL1Muons_.end(), l1muon) == firedL1Muons_.end())
continue;
104 bool isTriggeredByL1=
false;
105 for (
auto const &
cand : *L2cands) {
108 for(
auto const &
seed : seeds){
110 if(
find(firedL1Muons_.begin(), firedL1Muons_.end(),
seed->l1tParticle()) != firedL1Muons_.end()){
111 isTriggeredByL1 =
true;
115 if (!isTriggeredByL1) {
116 output->push_back( ibx, *it);
const_iterator end(int bx) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
unsigned size(int bx) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
enum start value shifted to 81 so as to avoid clashes with PDG codes
const std::string metname
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
edm::EDGetTokenT< l1t::MuonBxCollection > muCollToken_
edm::EDGetTokenT< reco::RecoChargedCandidateCollection > theL2CandToken_
BXVector< Muon > MuonBxCollection
edm::EDGetTokenT< SeedMap > seedMapToken_
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > theL1CandToken_
const_iterator begin(int bx) const