#include <GEMDigiMatcher.h>
Public Member Functions | |
const std::map< unsigned int, GEMPadDigiContainer > | allPads () const |
std::set< unsigned int > | chamberIdsCluster (int gem_type=MuonHitHelper::GEM_ALL) const |
std::set< unsigned int > | chamberIdsDigi (int gem_type=MuonHitHelper::GEM_ALL) const |
std::set< unsigned int > | chamberIdsPad (int gem_type=MuonHitHelper::GEM_ALL) const |
const GEMPadDigiClusterContainer & | clustersInChamber (unsigned int) const |
const GEMPadDigiClusterContainer & | clustersInDetId (unsigned int) const |
const GEMPadDigiClusterContainer & | clustersInSuperChamber (unsigned int) const |
const GEMCoPadDigiContainer & | coPadsInSuperChamber (unsigned int) const |
std::set< unsigned int > | detIdsCluster (int gem_type=MuonHitHelper::GEM_ALL) const |
std::set< unsigned int > | detIdsDigi (int gem_type=MuonHitHelper::GEM_ALL) const |
std::set< unsigned int > | detIdsPad (int gem_type=MuonHitHelper::GEM_ALL) const |
std::set< unsigned int > | detIdsSimLink (int gem_type=MuonHitHelper::GEM_ALL) const |
const GEMDigiContainer & | digisInChamber (unsigned int) const |
const GEMDigiContainer & | digisInDetId (unsigned int) const |
const GEMDigiContainer & | digisInSuperChamber (unsigned int) const |
int | extrapolateHsfromGEMPad (unsigned int, int) const |
int | extrapolateHsfromGEMStrip (unsigned int, int) const |
GEMDigiMatcher (edm::ParameterSet const &iPS, edm::ConsumesCollector &&iC) | |
GlobalPoint | getGlobalPointDigi (unsigned int rawId, const GEMDigi &d) const |
GlobalPoint | getGlobalPointPad (unsigned int rawId, const GEMPadDigi &tp) const |
void | init (const edm::Event &e, const edm::EventSetup &eventSetup) |
void | match (const SimTrack &t, const SimVertex &v) |
do the matching More... | |
std::shared_ptr< GEMSimHitMatcher > | muonSimHitMatcher () |
int | nCoPads () const |
How many coincidence pads in GEM did this simtrack get in total? More... | |
int | nLayersWithClustersInSuperChamber (unsigned int) const |
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 GEMPadDigiContainer & | padsInChamber (unsigned int) const |
const GEMPadDigiContainer & | padsInDetId (unsigned int) const |
const GEMPadDigiContainer & | padsInSuperChamber (unsigned int) const |
std::set< int > | partitionNumbers () const |
std::set< int > | partitionNumbersWithCoPads () const |
const GEMDigiSimLinkContainer & | simLinksInDetId (unsigned int) const |
std::set< int > | stripNumbersInDetId (unsigned int) const |
std::set< unsigned int > | superChamberIdsCluster (int gem_type=MuonHitHelper::GEM_ALL) const |
std::set< unsigned int > | superChamberIdsCoPad (int gem_type=MuonHitHelper::GEM_ALL) const |
std::set< unsigned int > | superChamberIdsDigi (int gem_type=MuonHitHelper::GEM_ALL) const |
std::set< unsigned int > | superChamberIdsPad (int gem_type=MuonHitHelper::GEM_ALL) const |
~GEMDigiMatcher () | |
Private Member Functions | |
void | clear () |
void | matchClustersToSimTrack (const GEMPadDigiClusterCollection &) |
void | matchCoPadsToSimTrack (const GEMCoPadDigiCollection &) |
void | matchDigisSLToSimTrack (const edm::DetSetVector< GEMDigiSimLink > &) |
void | matchDigisToSimTrack (const GEMDigiCollection &) |
void | matchPadsInDetId (const GEMDetId &simhitId, const GEMPadDigiCollection &) |
void | matchPadsToSimTrack (const GEMPadDigiCollection &) |
template<class T > | |
std::set< unsigned int > | selectDetIds (const T &, int) const |
Definition at line 31 of file GEMDigiMatcher.h.
GEMDigiMatcher::GEMDigiMatcher | ( | edm::ParameterSet const & | iPS, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 5 of file GEMDigiMatcher.cc.
References edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), and eostools::move().
|
inline |
Definition at line 37 of file GEMDigiMatcher.h.
|
inline |
Definition at line 83 of file GEMDigiMatcher.h.
References detid_to_pads_.
std::set< unsigned int > GEMDigiMatcher::chamberIdsCluster | ( | int | gem_type = MuonHitHelper::GEM_ALL | ) | const |
Definition at line 341 of file GEMDigiMatcher.cc.
std::set< unsigned int > GEMDigiMatcher::chamberIdsDigi | ( | int | gem_type = MuonHitHelper::GEM_ALL | ) | const |
Definition at line 333 of file GEMDigiMatcher.cc.
std::set< unsigned int > GEMDigiMatcher::chamberIdsPad | ( | int | gem_type = MuonHitHelper::GEM_ALL | ) | const |
Definition at line 337 of file GEMDigiMatcher.cc.
|
private |
Definition at line 538 of file GEMDigiMatcher.cc.
const GEMPadDigiClusterContainer & GEMDigiMatcher::clustersInChamber | ( | unsigned int | detid | ) | const |
Definition at line 403 of file GEMDigiMatcher.cc.
const GEMPadDigiClusterContainer & GEMDigiMatcher::clustersInDetId | ( | unsigned int | detid | ) | const |
Definition at line 397 of file GEMDigiMatcher.cc.
const GEMPadDigiClusterContainer & GEMDigiMatcher::clustersInSuperChamber | ( | unsigned int | detid | ) | const |
Definition at line 409 of file GEMDigiMatcher.cc.
const GEMCoPadDigiContainer & GEMDigiMatcher::coPadsInSuperChamber | ( | unsigned int | detid | ) | const |
Definition at line 415 of file GEMDigiMatcher.cc.
std::set< unsigned int > GEMDigiMatcher::detIdsCluster | ( | int | gem_type = MuonHitHelper::GEM_ALL | ) | const |
Definition at line 329 of file GEMDigiMatcher.cc.
std::set< unsigned int > GEMDigiMatcher::detIdsDigi | ( | int | gem_type = MuonHitHelper::GEM_ALL | ) | const |
Definition at line 323 of file GEMDigiMatcher.cc.
std::set< unsigned int > GEMDigiMatcher::detIdsPad | ( | int | gem_type = MuonHitHelper::GEM_ALL | ) | const |
Definition at line 327 of file GEMDigiMatcher.cc.
std::set< unsigned int > GEMDigiMatcher::detIdsSimLink | ( | int | gem_type = MuonHitHelper::GEM_ALL | ) | const |
Definition at line 319 of file GEMDigiMatcher.cc.
const GEMDigiContainer & GEMDigiMatcher::digisInChamber | ( | unsigned int | detid | ) | const |
Definition at line 367 of file GEMDigiMatcher.cc.
const GEMDigiContainer & GEMDigiMatcher::digisInDetId | ( | unsigned int | detid | ) | const |
Definition at line 361 of file GEMDigiMatcher.cc.
const GEMDigiContainer & GEMDigiMatcher::digisInSuperChamber | ( | unsigned int | detid | ) | const |
Definition at line 373 of file GEMDigiMatcher.cc.
int GEMDigiMatcher::extrapolateHsfromGEMPad | ( | unsigned | int, |
int | |||
) | const |
int GEMDigiMatcher::extrapolateHsfromGEMStrip | ( | unsigned | int, |
int | |||
) | const |
GlobalPoint GEMDigiMatcher::getGlobalPointDigi | ( | unsigned int | rawId, |
const GEMDigi & | d | ||
) | const |
Definition at line 524 of file GEMDigiMatcher.cc.
References GEMDigi::strip().
GlobalPoint GEMDigiMatcher::getGlobalPointPad | ( | unsigned int | rawId, |
const GEMPadDigi & | tp | ||
) | const |
Definition at line 531 of file GEMDigiMatcher.cc.
References GEMPadDigi::pad().
void GEMDigiMatcher::init | ( | const edm::Event & | e, |
const edm::EventSetup & | eventSetup | ||
) |
Definition at line 47 of file GEMDigiMatcher.cc.
References edm::Event::getByToken(), and edm::EventSetup::getHandle().
do the matching
Definition at line 66 of file GEMDigiMatcher.cc.
References funct::abs(), clear(), and CoreSimTrack::momentum().
|
private |
Definition at line 245 of file GEMDigiMatcher.cc.
References GEMDetId::chamberId(), trackerHitRTTI::isMatched(), AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), and GEMDetId::superChamberId().
|
private |
Definition at line 278 of file GEMDigiMatcher.cc.
References ztail::d, gpuClustering::id, AlCaHLTBitMon_ParallelJobs::p, HLT_FULL_cff::region, and relativeConstraints::station.
|
private |
Definition at line 93 of file GEMDigiMatcher.cc.
References funct::abs(), edm::DetSetVector< T >::begin(), relativeConstraints::empty, edm::DetSetVector< T >::end(), and DetId::rawId().
|
private |
Definition at line 136 of file GEMDigiMatcher.cc.
References GEMDetId::chamberId(), ztail::d, trackerHitRTTI::isMatched(), DetId::rawId(), and GEMDetId::superChamberId().
|
private |
|
private |
Definition at line 181 of file GEMDigiMatcher.cc.
References GEMDetId::chamber(), GEMDetId::chamberId(), GEMPadDigi::GE21, GEMPadDigi::GE21SplitStrip, GEMDetId::isGE11(), GEMDetId::isGE21(), GEMDetId::isME0(), GEMDetId::layer(), or, DetId::rawId(), GEMDetId::region(), GEMDetId::ring(), GEMDetId::roll(), GEMDetId::station(), and GEMDetId::superChamberId().
|
inline |
Definition at line 110 of file GEMDigiMatcher.h.
References muonSimHitMatcher_.
int GEMDigiMatcher::nCoPads | ( | ) | const |
How many coincidence pads in GEM did this simtrack get in total?
Definition at line 475 of file GEMDigiMatcher.cc.
References dqmiodumpmetadata::n.
int GEMDigiMatcher::nLayersWithClustersInSuperChamber | ( | unsigned int | detid | ) | const |
Definition at line 451 of file GEMDigiMatcher.cc.
References GEMDetId::chamber(), HLT_FULL_cff::clusters, LayerTriplets::layers(), GEMDetId::region(), GEMDetId::ring(), and GEMDetId::station().
int GEMDigiMatcher::nLayersWithDigisInSuperChamber | ( | unsigned int | detid | ) | const |
Definition at line 421 of file GEMDigiMatcher.cc.
References GEMDetId::chamber(), LayerTriplets::layers(), GEMDetId::region(), GEMDetId::ring(), and GEMDetId::station().
int GEMDigiMatcher::nLayersWithPadsInSuperChamber | ( | unsigned int | detid | ) | const |
Definition at line 436 of file GEMDigiMatcher.cc.
References GEMDetId::chamber(), LayerTriplets::layers(), GEMDetId::region(), GEMDetId::ring(), and GEMDetId::station().
int GEMDigiMatcher::nPads | ( | ) | const |
How many pads in GEM did this simtrack get in total?
Definition at line 466 of file GEMDigiMatcher.cc.
References dqmiodumpmetadata::n.
std::set< int > GEMDigiMatcher::padNumbersInDetId | ( | unsigned int | detid | ) | const |
Definition at line 493 of file GEMDigiMatcher.cc.
References ztail::d, and mps_fire::result.
const GEMPadDigiContainer & GEMDigiMatcher::padsInChamber | ( | unsigned int | detid | ) | const |
Definition at line 385 of file GEMDigiMatcher.cc.
const GEMPadDigiContainer & GEMDigiMatcher::padsInDetId | ( | unsigned int | detid | ) | const |
Definition at line 379 of file GEMDigiMatcher.cc.
const GEMPadDigiContainer & GEMDigiMatcher::padsInSuperChamber | ( | unsigned int | detid | ) | const |
Definition at line 391 of file GEMDigiMatcher.cc.
std::set< int > GEMDigiMatcher::partitionNumbers | ( | ) | const |
Definition at line 502 of file GEMDigiMatcher.cc.
References mps_fire::result, and GEMDetId::roll().
std::set< int > GEMDigiMatcher::partitionNumbersWithCoPads | ( | ) | const |
Definition at line 513 of file GEMDigiMatcher.cc.
References mps_fire::result, and GEMDetId::roll().
|
private |
Definition at line 191 of file GEMDigiMatcher.h.
References AlCaHLTBitMon_ParallelJobs::p, mps_fire::result, GEMDetId::ring(), GEMDetId::station(), and MuonHitHelper::toGEMType().
const GEMDigiSimLinkContainer& GEMDigiMatcher::simLinksInDetId | ( | unsigned | int | ) | const |
std::set< int > GEMDigiMatcher::stripNumbersInDetId | ( | unsigned int | detid | ) | const |
Definition at line 484 of file GEMDigiMatcher.cc.
References ztail::d, and mps_fire::result.
std::set< unsigned int > GEMDigiMatcher::superChamberIdsCluster | ( | int | gem_type = MuonHitHelper::GEM_ALL | ) | const |
Definition at line 353 of file GEMDigiMatcher.cc.
std::set< unsigned int > GEMDigiMatcher::superChamberIdsCoPad | ( | int | gem_type = MuonHitHelper::GEM_ALL | ) | const |
Definition at line 357 of file GEMDigiMatcher.cc.
std::set< unsigned int > GEMDigiMatcher::superChamberIdsDigi | ( | int | gem_type = MuonHitHelper::GEM_ALL | ) | const |
Definition at line 345 of file GEMDigiMatcher.cc.
std::set< unsigned int > GEMDigiMatcher::superChamberIdsPad | ( | int | gem_type = MuonHitHelper::GEM_ALL | ) | const |
Definition at line 349 of file GEMDigiMatcher.cc.
|
private |
Definition at line 178 of file GEMDigiMatcher.h.
|
private |
Definition at line 170 of file GEMDigiMatcher.h.
|
private |
Definition at line 174 of file GEMDigiMatcher.h.
|
private |
Definition at line 177 of file GEMDigiMatcher.h.
|
private |
Definition at line 169 of file GEMDigiMatcher.h.
|
private |
Definition at line 173 of file GEMDigiMatcher.h.
Referenced by allPads().
|
private |
Definition at line 167 of file GEMDigiMatcher.h.
|
private |
Definition at line 149 of file GEMDigiMatcher.h.
|
private |
Definition at line 137 of file GEMDigiMatcher.h.
|
private |
Definition at line 131 of file GEMDigiMatcher.h.
|
private |
Definition at line 138 of file GEMDigiMatcher.h.
|
private |
Definition at line 132 of file GEMDigiMatcher.h.
|
private |
Definition at line 135 of file GEMDigiMatcher.h.
|
private |
Definition at line 134 of file GEMDigiMatcher.h.
|
private |
Definition at line 129 of file GEMDigiMatcher.h.
|
private |
Definition at line 143 of file GEMDigiMatcher.h.
|
private |
Definition at line 136 of file GEMDigiMatcher.h.
|
private |
Definition at line 130 of file GEMDigiMatcher.h.
|
private |
Definition at line 128 of file GEMDigiMatcher.h.
|
private |
Definition at line 142 of file GEMDigiMatcher.h.
|
private |
Definition at line 156 of file GEMDigiMatcher.h.
|
private |
Definition at line 164 of file GEMDigiMatcher.h.
|
private |
Definition at line 153 of file GEMDigiMatcher.h.
|
private |
Definition at line 154 of file GEMDigiMatcher.h.
|
private |
Definition at line 151 of file GEMDigiMatcher.h.
|
private |
Definition at line 152 of file GEMDigiMatcher.h.
|
private |
Definition at line 153 of file GEMDigiMatcher.h.
|
private |
Definition at line 154 of file GEMDigiMatcher.h.
|
private |
Definition at line 151 of file GEMDigiMatcher.h.
|
private |
Definition at line 152 of file GEMDigiMatcher.h.
|
private |
Definition at line 140 of file GEMDigiMatcher.h.
Referenced by muonSimHitMatcher().
|
private |
Definition at line 186 of file GEMDigiMatcher.h.
|
private |
Definition at line 187 of file GEMDigiMatcher.h.
|
private |
Definition at line 184 of file GEMDigiMatcher.h.
|
private |
Definition at line 185 of file GEMDigiMatcher.h.
|
private |
Definition at line 183 of file GEMDigiMatcher.h.
|
private |
Definition at line 148 of file GEMDigiMatcher.h.
|
private |
Definition at line 179 of file GEMDigiMatcher.h.
|
private |
Definition at line 181 of file GEMDigiMatcher.h.
|
private |
Definition at line 171 of file GEMDigiMatcher.h.
|
private |
Definition at line 175 of file GEMDigiMatcher.h.
|
private |
Definition at line 161 of file GEMDigiMatcher.h.
|
private |
Definition at line 162 of file GEMDigiMatcher.h.
|
private |
Definition at line 159 of file GEMDigiMatcher.h.
|
private |
Definition at line 160 of file GEMDigiMatcher.h.
|
private |
Definition at line 158 of file GEMDigiMatcher.h.