#include <GEMRecHitMatcher.h>
Public Member Functions | |
bool | areGEMRecHitSame (const GEMRecHit &l, const GEMRecHit &r) const |
std::set< unsigned int > | chamberIds () const |
std::set< unsigned int > | detIds () const |
std::shared_ptr< GEMDigiMatcher > | gemDigiMatcher () const |
GEMRecHitMatcher (edm::ParameterSet const &iPS, edm::ConsumesCollector &&iC) | |
void | init (const edm::Event &e, const edm::EventSetup &eventSetup) |
bool | isGEMRecHitMatched (const GEMRecHit &thisRh) const |
void | match (const SimTrack &t, const SimVertex &v) |
do the matching More... | |
int | nGEMRecHits () const |
How many recHits in GEM did this simtrack get in total? More... | |
int | nLayersWithRecHitsInSuperChamber (unsigned int) const |
std::set< int > | partitionNumbers () const |
bool | recHitInContainer (const GEMRecHit &rh, const GEMRecHitContainer &c) const |
GlobalPoint | recHitMeanPosition (const GEMRecHitContainer &rechits) const |
GlobalPoint | recHitPosition (const GEMRecHit &rechit) const |
const GEMRecHitContainer & | recHits () const |
const GEMRecHitContainer & | recHitsInChamber (unsigned int) const |
const GEMRecHitContainer & | recHitsInDetId (unsigned int) const |
const GEMRecHitContainer & | recHitsInSuperChamber (unsigned int) const |
std::set< int > | stripNumbersInDetId (unsigned int) const |
std::set< unsigned int > | superChamberIds () const |
bool | verbose () const |
~GEMRecHitMatcher () | |
Private Member Functions | |
void | matchRecHitsToSimTrack (const GEMRecHitCollection &recHits) |
Private Attributes | |
std::map< unsigned int, GEMRecHitContainer > | chamber_to_recHits_ |
std::map< unsigned int, GEMRecHitContainer > | detid_to_recHits_ |
edm::ESHandle< GEMGeometry > | gem_geom_ |
std::shared_ptr< GEMDigiMatcher > | gemDigiMatcher_ |
const GEMGeometry * | gemGeometry_ |
edm::Handle< GEMRecHitCollection > | gemRecHitH_ |
edm::EDGetTokenT< GEMRecHitCollection > | gemRecHitToken_ |
int | maxBX_ |
int | minBX_ |
const GEMRecHitContainer | no_recHits_ |
GEMRecHitContainer | recHits_ |
std::map< unsigned int, GEMRecHitContainer > | superchamber_to_recHits_ |
bool | verbose_ |
Description: Matching of RecHits for SimTrack in GEM
Original Author : "Vadim Khotilovich" Contibuting Author : "Claudio Caputo"
Definition at line 31 of file GEMRecHitMatcher.h.
GEMRecHitMatcher::GEMRecHitMatcher | ( | edm::ParameterSet const & | iPS, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 7 of file GEMRecHitMatcher.cc.
References muonGEMRecHitPSet::gemRecHit, eostools::move(), and muonDTDigis_cfi::pset.
|
inline |
Definition at line 37 of file GEMRecHitMatcher.h.
Definition at line 202 of file GEMRecHitMatcher.cc.
References cmsLHEtoEOSManager::l, and alignCSCRings::r.
std::set< unsigned int > GEMRecHitMatcher::chamberIds | ( | ) | const |
Definition at line 100 of file GEMRecHitMatcher.cc.
References AlCaHLTBitMon_ParallelJobs::p, and mps_fire::result.
std::set< unsigned int > GEMRecHitMatcher::detIds | ( | void | ) | const |
Definition at line 93 of file GEMRecHitMatcher.cc.
References AlCaHLTBitMon_ParallelJobs::p, and mps_fire::result.
|
inline |
void GEMRecHitMatcher::init | ( | const edm::Event & | e, |
const edm::EventSetup & | eventSetup | ||
) |
Definition at line 19 of file GEMRecHitMatcher.cc.
References gather_cfg::cout, edm::EventSetup::get(), get, and iEvent.
bool GEMRecHitMatcher::isGEMRecHitMatched | ( | const GEMRecHit & | thisRh | ) | const |
Definition at line 198 of file GEMRecHitMatcher.cc.
References FastTrackerRecHitMaskProducer_cfi::recHits.
do the matching
Definition at line 33 of file GEMRecHitMatcher.cc.
References gemRecHits_cfi::gemRecHits, OrderedSet::t, and findQualityFiles::v.
|
private |
Definition at line 44 of file GEMRecHitMatcher.cc.
References GEMDetId::chamberId(), filterCSVwithJSON::copy, gather_cfg::cout, ztail::d, mps_fire::i, triggerObjects_cff::id, DetId::rawId(), TrackInfoProducer_cfi::rechits, GEMDetId::superChamberId(), and verbose.
int GEMRecHitMatcher::nGEMRecHits | ( | ) | const |
How many recHits in GEM did this simtrack get in total?
int GEMRecHitMatcher::nLayersWithRecHitsInSuperChamber | ( | unsigned int | detid | ) | const |
Definition at line 132 of file GEMRecHitMatcher.cc.
References ztail::d, and hgcalTopologyTester_cfi::layers.
std::set< int > GEMRecHitMatcher::partitionNumbers | ( | ) | const |
Definition at line 151 of file GEMRecHitMatcher.cc.
References mps_fire::result, and GEMDetId::roll().
bool GEMRecHitMatcher::recHitInContainer | ( | const GEMRecHit & | rh, |
const GEMRecHitContainer & | c | ||
) | const |
GlobalPoint GEMRecHitMatcher::recHitMeanPosition | ( | const GEMRecHitContainer & | rechits | ) | const |
Definition at line 167 of file GEMRecHitMatcher.cc.
References ztail::d, runTauDisplay::gp, and dqmiodumpmetadata::n.
GlobalPoint GEMRecHitMatcher::recHitPosition | ( | const GEMRecHit & | rechit | ) | const |
Definition at line 161 of file GEMRecHitMatcher.cc.
References GEMRecHit::gemId(), and GEMRecHit::localPosition().
|
inline |
const GEMRecHitContainer & GEMRecHitMatcher::recHitsInChamber | ( | unsigned int | detid | ) | const |
Definition at line 120 of file GEMRecHitMatcher.cc.
const GEMRecHitContainer & GEMRecHitMatcher::recHitsInDetId | ( | unsigned int | detid | ) | const |
Definition at line 114 of file GEMRecHitMatcher.cc.
const GEMRecHitContainer & GEMRecHitMatcher::recHitsInSuperChamber | ( | unsigned int | detid | ) | const |
Definition at line 126 of file GEMRecHitMatcher.cc.
std::set< int > GEMRecHitMatcher::stripNumbersInDetId | ( | unsigned int | detid | ) | const |
Definition at line 140 of file GEMRecHitMatcher.cc.
References ztail::d, and mps_fire::result.
std::set< unsigned int > GEMRecHitMatcher::superChamberIds | ( | ) | const |
Definition at line 107 of file GEMRecHitMatcher.cc.
References AlCaHLTBitMon_ParallelJobs::p, and mps_fire::result.
|
inline |
|
private |
Definition at line 101 of file GEMRecHitMatcher.h.
|
private |
Definition at line 100 of file GEMRecHitMatcher.h.
|
private |
Definition at line 94 of file GEMRecHitMatcher.h.
|
private |
Definition at line 107 of file GEMRecHitMatcher.h.
Referenced by gemDigiMatcher().
|
private |
Definition at line 95 of file GEMRecHitMatcher.h.
|
private |
Definition at line 92 of file GEMRecHitMatcher.h.
|
private |
Definition at line 91 of file GEMRecHitMatcher.h.
|
private |
Definition at line 97 of file GEMRecHitMatcher.h.
|
private |
Definition at line 97 of file GEMRecHitMatcher.h.
|
private |
Definition at line 104 of file GEMRecHitMatcher.h.
|
private |
Definition at line 105 of file GEMRecHitMatcher.h.
Referenced by recHits().
|
private |
Definition at line 102 of file GEMRecHitMatcher.h.
|
private |
Definition at line 98 of file GEMRecHitMatcher.h.
Referenced by verbose().