Go to the documentation of this file. 1 #ifndef HLTMuonL2ToL1TMap_h
2 #define HLTMuonL2ToL1TMap_h
36 iEvent.getByToken(previousCandToken, previousLevelCands);
47 bool isTriggered =
false;
50 for (
size_t i = 0;
i <
seeds.size();
i++) {
61 std::ostringstream
ss;
64 for (
size_t i = 0;
i <
seeds.size();
i++) {
65 ss <<
seeds[
i]->l1tParticle().key() <<
" ";
78 #endif //HLTMuonL2ToL1TMap_h
HLTMuonL2ToL1TMap(const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > &previousCandToken, const edm::EDGetTokenT< SeedMap > seedMapToken, const edm::Event &iEvent)
construct with the Token of the L1 filter object, the Token of the L2 seed map ("hltL2Muons") and the...
edm::AssociationMap< edm::OneToMany< std::vector< L2MuonTrajectorySeed >, std::vector< L2MuonTrajectorySeed > > > SeedMap
edm::Handle< SeedMap > seedMapHandle_
containes the map from a L2 seed to its sister seeds the track of which has been cleaned
bool isTriggeredByL1(reco::TrackRef &l2muon)
checks if a L2 muon was seeded by a fired L1
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
enum start value shifted to 81 so as to avoid clashes with PDG codes
std::string getL1Keys(reco::TrackRef &l2muon)
returns the indices of L1 seeds
std::vector< l1t::MuonRef > firedL1Muons_
contains the vector of references to fired L1 candidates