1 #ifndef HLTMuonL2ToL1Map_h
2 #define HLTMuonL2ToL1Map_h
31 iEvent.
getByLabel(previousCandTag, previousLevelCands);
43 bool isTriggered =
false;
45 for(
size_t i=0;
i<seeds.
size();
i++){
56 std::ostringstream ss;
58 for(
size_t i=0;
i<seeds.
size();
i++){
59 ss<<seeds[
i]->l1Particle().key()<<
" ";
72 #endif //HLTMuonL2ToL1Map_h
bool isTriggeredByL1(reco::TrackRef &l2muon)
checks if a L2 muon was seeded by a fired L1
enum start value shifted to 81 so as to avoid clashes with PDG codes
edm::Handle< SeedMap > seedMapHandle_
containes the map from a L2 seed to its sister seeds the track of which has been cleaned ...
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
edm::AssociationMap< edm::OneToMany< std::vector< L2MuonTrajectorySeed >, std::vector< L2MuonTrajectorySeed > > > SeedMap
HLTMuonL2ToL1Map(edm::InputTag &previousCandTag, edm::InputTag &seedMapTag, edm::Event &iEvent)
construct with the InputTag of the L1 filter object, the InputTag of the L2 seed map ("hltL2Muons") a...
std::vector< l1extra::L1MuonParticleRef > firedL1Muons_
contains the vector of references to fired L1 candidates
size_type size() const
Size of the RefVector.
std::string getL1Keys(reco::TrackRef &l2muon)
returns the indices of L1 seeds