#include <GEMDigiMatcher.h>
Public Member Functions | |
std::set< unsigned int > | chamberIds () const |
std::set< unsigned int > | chamberIdsWithPads () const |
std::set< int > | coPadNumbersInDetId (unsigned int) const |
const DigiContainer & | coPadsInDetId (unsigned int) const |
const DigiContainer & | coPadsInSuperChamber (unsigned int) const |
std::set< unsigned int > | detIds () const |
std::set< unsigned int > | detIdsWithCoPads () const |
const DigiContainer & | digisInChamber (unsigned int) const |
const DigiContainer & | digisInDetId (unsigned int) const |
const DigiContainer & | digisInSuperChamber (unsigned int) const |
GEMDigiMatcher (const SimHitMatcher &sh, const edm::Event &, const GEMGeometry &geom, const edm::ParameterSet &cfg, edm::EDGetToken &, edm::EDGetToken &, edm::EDGetToken &) | |
int | nCoPads () const |
How many coincidence pads in GEM did this simtrack get in total? More... | |
int | nLayersWithDigisInSuperChamber (unsigned int) const |
int | nLayersWithPadsInSuperChamber (unsigned int) const |
int | nPads () const |
How many pads in GEM did this simtrack get in total? More... | |
std::set< int > | padNumbersInDetId (unsigned int) const |
const DigiContainer & | padsInChamber (unsigned int) const |
const DigiContainer & | padsInDetId (unsigned int) const |
const DigiContainer & | padsInSuperChamber (unsigned int) const |
std::set< int > | partitionNumbers () const |
std::set< int > | partitionNumbersWithCoPads () const |
std::set< int > | stripNumbersInDetId (unsigned int) const |
std::set< unsigned int > | superChamberIds () const |
std::set< unsigned int > | superChamberIdsWithCoPads () const |
std::set< unsigned int > | superChamberIdsWithPads () const |
~GEMDigiMatcher () | |
Private Types | |
using | DigiContainer = matching::DigiContainer |
Private Member Functions | |
void | init (const edm::Event &) |
void | matchCoPadsToSimTrack (const GEMCoPadDigiCollection &co_pads) |
void | matchDigisToSimTrack (const GEMDigiCollection &digis) |
void | matchPadsToSimTrack (const GEMPadDigiCollection &pads) |
Private Attributes | |
std::map< unsigned int, DigiContainer > | chamber_to_copads_ |
std::map< unsigned int, DigiContainer > | chamber_to_digis_ |
std::map< unsigned int, DigiContainer > | chamber_to_pads_ |
std::map< unsigned int, DigiContainer > | detid_to_copads_ |
std::map< unsigned int, DigiContainer > | detid_to_digis_ |
std::map< unsigned int, DigiContainer > | detid_to_pads_ |
edm::Handle< GEMCoPadDigiCollection > | gem_co_pads_ |
edm::Handle< GEMDigiCollection > | gem_digis_ |
const GEMGeometry & | gem_geo_ |
edm::Handle< GEMPadDigiCollection > | gem_pads_ |
int | matchDeltaStrip_ |
int | maxBXGEM_ |
int | minBXGEM_ |
const DigiContainer | no_digis_ |
const SimHitMatcher & | simhit_matcher_ |
std::map< unsigned int, DigiContainer > | superchamber_to_copads_ |
std::map< unsigned int, DigiContainer > | superchamber_to_digis_ |
std::map< unsigned int, DigiContainer > | superchamber_to_pads_ |
bool | verbose_ |
Definition at line 34 of file GEMDigiMatcher.h.
|
private |
Definition at line 36 of file GEMDigiMatcher.h.
GEMDigiMatcher::GEMDigiMatcher | ( | const SimHitMatcher & | sh, |
const edm::Event & | e, | ||
const GEMGeometry & | geom, | ||
const edm::ParameterSet & | cfg, | ||
edm::EDGetToken & | gem_digiToken, | ||
edm::EDGetToken & | gem_padToken, | ||
edm::EDGetToken & | gem_copadToken | ||
) |
Definition at line 10 of file GEMDigiMatcher.cc.
References gem_co_pads_, gem_digis_, gem_pads_, edm::Event::getByToken(), edm::ParameterSet::getUntrackedParameter(), init(), edm::HandleBase::isValid(), matchDeltaStrip_, maxBXGEM_, minBXGEM_, and verbose_.
GEMDigiMatcher::~GEMDigiMatcher | ( | ) |
Definition at line 31 of file GEMDigiMatcher.cc.
std::set< unsigned int > GEMDigiMatcher::chamberIds | ( | ) | const |
Definition at line 161 of file GEMDigiMatcher.cc.
References chamber_to_digis_, AlCaHLTBitMon_ParallelJobs::p, and mps_fire::result.
Referenced by GEMDigiTrackMatch::analyze().
std::set< unsigned int > GEMDigiMatcher::chamberIdsWithPads | ( | ) | const |
Definition at line 168 of file GEMDigiMatcher.cc.
References chamber_to_pads_, AlCaHLTBitMon_ParallelJobs::p, and mps_fire::result.
Referenced by GEMDigiTrackMatch::analyze().
std::set< int > GEMDigiMatcher::coPadNumbersInDetId | ( | unsigned int | detid | ) | const |
Definition at line 343 of file GEMDigiMatcher.cc.
References coPadsInDetId(), edmIntegrityCheck::d, matching::digi_channel(), and mps_fire::result.
const matching::DigiContainer & GEMDigiMatcher::coPadsInDetId | ( | unsigned int | detid | ) | const |
Definition at line 250 of file GEMDigiMatcher.cc.
References detid_to_copads_, and no_digis_.
Referenced by coPadNumbersInDetId().
const matching::DigiContainer & GEMDigiMatcher::coPadsInSuperChamber | ( | unsigned int | detid | ) | const |
Definition at line 257 of file GEMDigiMatcher.cc.
References no_digis_, and superchamber_to_copads_.
Referenced by nCoPads().
std::set< unsigned int > GEMDigiMatcher::detIds | ( | void | ) | const |
Definition at line 152 of file GEMDigiMatcher.cc.
References detid_to_digis_, AlCaHLTBitMon_ParallelJobs::p, and mps_fire::result.
Referenced by partitionNumbers().
std::set< unsigned int > GEMDigiMatcher::detIdsWithCoPads | ( | ) | const |
Definition at line 196 of file GEMDigiMatcher.cc.
References detid_to_copads_, AlCaHLTBitMon_ParallelJobs::p, and mps_fire::result.
Referenced by partitionNumbersWithCoPads().
const matching::DigiContainer & GEMDigiMatcher::digisInChamber | ( | unsigned int | detid | ) | const |
Definition at line 214 of file GEMDigiMatcher.cc.
References chamber_to_digis_, and no_digis_.
const matching::DigiContainer & GEMDigiMatcher::digisInDetId | ( | unsigned int | detid | ) | const |
Definition at line 207 of file GEMDigiMatcher.cc.
References detid_to_digis_, and no_digis_.
Referenced by stripNumbersInDetId().
const matching::DigiContainer & GEMDigiMatcher::digisInSuperChamber | ( | unsigned int | detid | ) | const |
Definition at line 221 of file GEMDigiMatcher.cc.
References no_digis_, and superchamber_to_digis_.
Referenced by nLayersWithDigisInSuperChamber().
|
private |
Definition at line 35 of file GEMDigiMatcher.cc.
References gem_co_pads_, gem_digis_, gem_pads_, edm::HandleBase::isValid(), matchCoPadsToSimTrack(), matchDigisToSimTrack(), matchPadsToSimTrack(), and edm::Handle< T >::product().
Referenced by GEMDigiMatcher().
|
private |
Definition at line 122 of file GEMDigiMatcher.cc.
References GEMDetId::chamber(), detid_to_copads_, SimHitMatcher::detIdsGEMCoincidences(), matching::GEM_COPAD, SimHitMatcher::hitCoPadsInDetId(), triggerObjects_cff::id, matching::make_digi(), maxBXGEM_, minBXGEM_, GEMDetId::region(), GEMDetId::ring(), simhit_matcher_, GEMDetId::station(), and superchamber_to_copads_.
Referenced by init().
|
private |
Definition at line 44 of file GEMDigiMatcher.cc.
References GEMDetId::chamber(), chamber_to_digis_, GEMDetId::chamberId(), popcon2dropbox::copy(), gather_cfg::cout, edmIntegrityCheck::d, detid_to_digis_, SimHitMatcher::detIdsGEM(), matching::GEM_STRIP, SimHitMatcher::hitStripsInDetId(), triggerObjects_cff::id, matching::make_digi(), matchDeltaStrip_, maxBXGEM_, minBXGEM_, DetId::rawId(), GEMDetId::region(), GEMDetId::ring(), simhit_matcher_, GEMDetId::station(), superchamber_to_digis_, and verbose_.
Referenced by init().
|
private |
Definition at line 84 of file GEMDigiMatcher.cc.
References GEMDetId::chamber(), chamber_to_pads_, GEMDetId::chamberId(), popcon2dropbox::copy(), gather_cfg::cout, detid_to_pads_, SimHitMatcher::detIdsGEM(), SoftLeptonByDistance_cfi::distance, matching::GEM_PAD, SimHitMatcher::hitPadsInDetId(), triggerObjects_cff::id, matching::make_digi(), maxBXGEM_, minBXGEM_, DetId::rawId(), GEMDetId::region(), GEMDetId::ring(), simhit_matcher_, GEMDetId::station(), superchamber_to_pads_, and verbose_.
Referenced by init().
int GEMDigiMatcher::nCoPads | ( | ) | const |
How many coincidence pads in GEM did this simtrack get in total?
Definition at line 293 of file GEMDigiMatcher.cc.
References coPadsInSuperChamber(), electrons_cff::ids, gen::n, and superChamberIdsWithCoPads().
int GEMDigiMatcher::nLayersWithDigisInSuperChamber | ( | unsigned int | detid | ) | const |
Definition at line 265 of file GEMDigiMatcher.cc.
References edmIntegrityCheck::d, matching::digi_id(), digisInSuperChamber(), GEMDetId::layer(), and LayerTriplets::layers().
int GEMDigiMatcher::nLayersWithPadsInSuperChamber | ( | unsigned int | detid | ) | const |
Definition at line 279 of file GEMDigiMatcher.cc.
References edmIntegrityCheck::d, matching::digi_id(), GEMDetId::layer(), LayerTriplets::layers(), and padsInSuperChamber().
int GEMDigiMatcher::nPads | ( | ) | const |
How many pads in GEM did this simtrack get in total?
Definition at line 306 of file GEMDigiMatcher.cc.
References electrons_cff::ids, gen::n, padsInSuperChamber(), and superChamberIdsWithPads().
std::set< int > GEMDigiMatcher::padNumbersInDetId | ( | unsigned int | detid | ) | const |
Definition at line 331 of file GEMDigiMatcher.cc.
References edmIntegrityCheck::d, matching::digi_channel(), padsInDetId(), and mps_fire::result.
const matching::DigiContainer & GEMDigiMatcher::padsInChamber | ( | unsigned int | detid | ) | const |
Definition at line 235 of file GEMDigiMatcher.cc.
References chamber_to_pads_, and no_digis_.
const matching::DigiContainer & GEMDigiMatcher::padsInDetId | ( | unsigned int | detid | ) | const |
Definition at line 228 of file GEMDigiMatcher.cc.
References detid_to_pads_, and no_digis_.
Referenced by padNumbersInDetId().
const matching::DigiContainer & GEMDigiMatcher::padsInSuperChamber | ( | unsigned int | detid | ) | const |
Definition at line 242 of file GEMDigiMatcher.cc.
References no_digis_, and superchamber_to_pads_.
Referenced by nLayersWithPadsInSuperChamber(), and nPads().
std::set< int > GEMDigiMatcher::partitionNumbers | ( | ) | const |
Definition at line 355 of file GEMDigiMatcher.cc.
References detIds(), mps_fire::result, and GEMDetId::roll().
std::set< int > GEMDigiMatcher::partitionNumbersWithCoPads | ( | ) | const |
Definition at line 369 of file GEMDigiMatcher.cc.
References detIdsWithCoPads(), mps_fire::result, and GEMDetId::roll().
std::set< int > GEMDigiMatcher::stripNumbersInDetId | ( | unsigned int | detid | ) | const |
Definition at line 319 of file GEMDigiMatcher.cc.
References edmIntegrityCheck::d, matching::digi_channel(), digisInDetId(), and mps_fire::result.
std::set< unsigned int > GEMDigiMatcher::superChamberIds | ( | ) | const |
Definition at line 175 of file GEMDigiMatcher.cc.
References AlCaHLTBitMon_ParallelJobs::p, mps_fire::result, and superchamber_to_digis_.
std::set< unsigned int > GEMDigiMatcher::superChamberIdsWithCoPads | ( | ) | const |
Definition at line 189 of file GEMDigiMatcher.cc.
References AlCaHLTBitMon_ParallelJobs::p, mps_fire::result, and superchamber_to_copads_.
Referenced by nCoPads().
std::set< unsigned int > GEMDigiMatcher::superChamberIdsWithPads | ( | ) | const |
Definition at line 182 of file GEMDigiMatcher.cc.
References AlCaHLTBitMon_ParallelJobs::p, mps_fire::result, and superchamber_to_pads_.
Referenced by nPads().
|
private |
Definition at line 123 of file GEMDigiMatcher.h.
|
private |
Definition at line 115 of file GEMDigiMatcher.h.
Referenced by chamberIds(), digisInChamber(), and matchDigisToSimTrack().
|
private |
Definition at line 119 of file GEMDigiMatcher.h.
Referenced by chamberIdsWithPads(), matchPadsToSimTrack(), and padsInChamber().
|
private |
Definition at line 122 of file GEMDigiMatcher.h.
Referenced by coPadsInDetId(), detIdsWithCoPads(), and matchCoPadsToSimTrack().
|
private |
Definition at line 114 of file GEMDigiMatcher.h.
Referenced by detIds(), digisInDetId(), and matchDigisToSimTrack().
|
private |
Definition at line 118 of file GEMDigiMatcher.h.
Referenced by matchPadsToSimTrack(), and padsInDetId().
|
private |
Definition at line 104 of file GEMDigiMatcher.h.
Referenced by GEMDigiMatcher(), and init().
|
private |
Definition at line 102 of file GEMDigiMatcher.h.
Referenced by GEMDigiMatcher(), and init().
|
private |
Definition at line 107 of file GEMDigiMatcher.h.
|
private |
Definition at line 103 of file GEMDigiMatcher.h.
Referenced by GEMDigiMatcher(), and init().
|
private |
Definition at line 112 of file GEMDigiMatcher.h.
Referenced by GEMDigiMatcher(), and matchDigisToSimTrack().
|
private |
Definition at line 109 of file GEMDigiMatcher.h.
Referenced by GEMDigiMatcher(), matchCoPadsToSimTrack(), matchDigisToSimTrack(), and matchPadsToSimTrack().
|
private |
Definition at line 109 of file GEMDigiMatcher.h.
Referenced by GEMDigiMatcher(), matchCoPadsToSimTrack(), matchDigisToSimTrack(), and matchPadsToSimTrack().
|
private |
Definition at line 126 of file GEMDigiMatcher.h.
Referenced by coPadsInDetId(), coPadsInSuperChamber(), digisInChamber(), digisInDetId(), digisInSuperChamber(), padsInChamber(), padsInDetId(), and padsInSuperChamber().
|
private |
Definition at line 106 of file GEMDigiMatcher.h.
Referenced by matchCoPadsToSimTrack(), matchDigisToSimTrack(), and matchPadsToSimTrack().
|
private |
Definition at line 124 of file GEMDigiMatcher.h.
Referenced by coPadsInSuperChamber(), matchCoPadsToSimTrack(), and superChamberIdsWithCoPads().
|
private |
Definition at line 116 of file GEMDigiMatcher.h.
Referenced by digisInSuperChamber(), matchDigisToSimTrack(), and superChamberIds().
|
private |
Definition at line 120 of file GEMDigiMatcher.h.
Referenced by matchPadsToSimTrack(), padsInSuperChamber(), and superChamberIdsWithPads().
|
private |
Definition at line 110 of file GEMDigiMatcher.h.
Referenced by GEMDigiMatcher(), matchDigisToSimTrack(), and matchPadsToSimTrack().