#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_ |
std::shared_ptr< GEMDigiMatcher > | gemDigiMatcher_ |
const GEMGeometry * | gemGeometry_ |
edm::Handle< GEMRecHitCollection > | gemRecHitH_ |
edm::EDGetTokenT < GEMRecHitCollection > | gemRecHitToken_ |
edm::ESGetToken< GEMGeometry, MuonGeometryRecord > | geomToken_ |
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 30 of file GEMRecHitMatcher.h.
GEMRecHitMatcher::GEMRecHitMatcher | ( | edm::ParameterSet const & | iPS, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 7 of file GEMRecHitMatcher.cc.
References muonGEMRecHitPSet::gemRecHit, edm::ParameterSet::getParameterSet(), and eostools::move().
|
inline |
Definition at line 36 of file GEMRecHitMatcher.h.
Definition at line 198 of file GEMRecHitMatcher.cc.
References GEMRecHit::BunchX(), and GEMRecHit::localPosition().
std::set< unsigned int > GEMRecHitMatcher::chamberIds | ( | ) | const |
Definition at line 96 of file GEMRecHitMatcher.cc.
References AlCaHLTBitMon_ParallelJobs::p, and mps_fire::result.
std::set< unsigned int > GEMRecHitMatcher::detIds | ( | void | ) | const |
Definition at line 89 of file GEMRecHitMatcher.cc.
References AlCaHLTBitMon_ParallelJobs::p, and mps_fire::result.
|
inline |
Definition at line 79 of file GEMRecHitMatcher.h.
References gemDigiMatcher_.
void GEMRecHitMatcher::init | ( | const edm::Event & | e, |
const edm::EventSetup & | eventSetup | ||
) |
Definition at line 20 of file GEMRecHitMatcher.cc.
References edm::Event::getByToken(), and edm::EventSetup::getData().
bool GEMRecHitMatcher::isGEMRecHitMatched | ( | const GEMRecHit & | thisRh | ) | const |
Definition at line 194 of file GEMRecHitMatcher.cc.
References HLT_FULL_cff::recHits.
do the matching
Definition at line 29 of file GEMRecHitMatcher.cc.
References gemRecHits_cfi::gemRecHits.
|
private |
Definition at line 40 of file GEMRecHitMatcher.cc.
References GEMDetId::chamberId(), filterCSVwithJSON::copy, gather_cfg::cout, ztail::d, mps_fire::i, gpuClustering::id, DetId::rawId(), 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 128 of file GEMRecHitMatcher.cc.
References ztail::d, and LayerTriplets::layers().
std::set< int > GEMRecHitMatcher::partitionNumbers | ( | ) | const |
Definition at line 147 of file GEMRecHitMatcher.cc.
References mps_fire::result, and GEMDetId::roll().
bool GEMRecHitMatcher::recHitInContainer | ( | const GEMRecHit & | rh, |
const GEMRecHitContainer & | c | ||
) | const |
Definition at line 186 of file GEMRecHitMatcher.cc.
GlobalPoint GEMRecHitMatcher::recHitMeanPosition | ( | const GEMRecHitContainer & | rechits | ) | const |
Definition at line 163 of file GEMRecHitMatcher.cc.
References ztail::d, runTauDisplay::gp, dqmiodumpmetadata::n, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
GlobalPoint GEMRecHitMatcher::recHitPosition | ( | const GEMRecHit & | rechit | ) | const |
Definition at line 157 of file GEMRecHitMatcher.cc.
References GEMRecHit::gemId(), and GEMRecHit::localPosition().
|
inline |
const GEMRecHitContainer & GEMRecHitMatcher::recHitsInChamber | ( | unsigned int | detid | ) | const |
Definition at line 116 of file GEMRecHitMatcher.cc.
const GEMRecHitContainer & GEMRecHitMatcher::recHitsInDetId | ( | unsigned int | detid | ) | const |
Definition at line 110 of file GEMRecHitMatcher.cc.
const GEMRecHitContainer & GEMRecHitMatcher::recHitsInSuperChamber | ( | unsigned int | detid | ) | const |
Definition at line 122 of file GEMRecHitMatcher.cc.
std::set< int > GEMRecHitMatcher::stripNumbersInDetId | ( | unsigned int | detid | ) | const |
Definition at line 136 of file GEMRecHitMatcher.cc.
References ztail::d, and mps_fire::result.
std::set< unsigned int > GEMRecHitMatcher::superChamberIds | ( | ) | const |
Definition at line 103 of file GEMRecHitMatcher.cc.
References AlCaHLTBitMon_ParallelJobs::p, and mps_fire::result.
|
inline |
|
private |
Definition at line 100 of file GEMRecHitMatcher.h.
|
private |
Definition at line 99 of file GEMRecHitMatcher.h.
|
private |
Definition at line 106 of file GEMRecHitMatcher.h.
Referenced by gemDigiMatcher().
|
private |
Definition at line 94 of file GEMRecHitMatcher.h.
|
private |
Definition at line 91 of file GEMRecHitMatcher.h.
|
private |
Definition at line 90 of file GEMRecHitMatcher.h.
|
private |
Definition at line 93 of file GEMRecHitMatcher.h.
|
private |
Definition at line 96 of file GEMRecHitMatcher.h.
|
private |
Definition at line 96 of file GEMRecHitMatcher.h.
|
private |
Definition at line 103 of file GEMRecHitMatcher.h.
|
private |
Definition at line 104 of file GEMRecHitMatcher.h.
Referenced by recHits().
|
private |
Definition at line 101 of file GEMRecHitMatcher.h.
|
private |
Definition at line 97 of file GEMRecHitMatcher.h.
Referenced by verbose().