#include <CSCStubMatcher.h>
Public Member Functions | |
std::map< unsigned int, CSCALCTDigiContainer > | alcts () const |
const CSCALCTDigiContainer & | alctsInChamber (unsigned int) const |
const CSCALCTDigiContainer & | allALCTsInChamber (unsigned int) const |
const CSCCLCTDigiContainer & | allCLCTsInChamber (unsigned int) const |
all stubs (not necessarily matching) from a particular crossed chamber More... | |
const CSCCorrelatedLCTDigiContainer & | allLCTsInChamber (unsigned int) const |
const CSCCorrelatedLCTDigiContainer & | allMPLCTsInChamber (unsigned int) const |
CSCALCTDigi | bestAlctInChamber (unsigned int) const |
CSCCLCTDigi | bestClctInChamber (unsigned int) const |
best matching from a particular crossed chamber More... | |
CSCCorrelatedLCTDigi | bestLctInChamber (unsigned int) const |
CSCCorrelatedLCTDigi | bestMplctInChamber (unsigned int) const |
std::set< unsigned int > | chamberIdsALCT (int csc_type=MuonHitHelper::CSC_ALL) const |
std::set< unsigned int > | chamberIdsAllALCT (int csc_type=MuonHitHelper::CSC_ALL) const |
std::set< unsigned int > | chamberIdsAllCLCT (int csc_type=MuonHitHelper::CSC_ALL) const |
crossed chamber detIds with not necessarily matching stubs More... | |
std::set< unsigned int > | chamberIdsAllLCT (int csc_type=MuonHitHelper::CSC_ALL) const |
std::set< unsigned int > | chamberIdsAllMPLCT (int csc_type=MuonHitHelper::CSC_ALL) const |
std::set< unsigned int > | chamberIdsCLCT (int csc_type=MuonHitHelper::CSC_ALL) const |
chamber detIds with matching stubs More... | |
std::set< unsigned int > | chamberIdsLCT (int csc_type=MuonHitHelper::CSC_ALL) const |
std::set< unsigned int > | chamberIdsMPLCT (int csc_type=MuonHitHelper::CSC_ALL) const |
std::map< unsigned int, CSCCLCTDigiContainer > | clcts () const |
all matching lcts More... | |
const CSCCLCTDigiContainer & | clctsInChamber (unsigned int) const |
all matching from a particular crossed chamber More... | |
std::shared_ptr< CSCDigiMatcher > | cscDigiMatcher () |
CSCStubMatcher (edm::ParameterSet const &iPS, edm::ConsumesCollector &&iC) | |
std::shared_ptr< GEMDigiMatcher > | gemDigiMatcher () |
GlobalPoint | getGlobalPosition (unsigned int rawId, const CSCCorrelatedLCTDigi &lct) const |
void | init (const edm::Event &e, const edm::EventSetup &eventSetup) |
initialize the event More... | |
bool | lctInChamber (const CSCDetId &id, const CSCCorrelatedLCTDigi &lct) const |
std::map< unsigned int, CSCCorrelatedLCTDigiContainer > | lcts () const |
const CSCCorrelatedLCTDigiContainer & | lctsInChamber (unsigned int) const |
void | match (const SimTrack &t, const SimVertex &v) |
do the matching More... | |
std::map< unsigned int, CSCCorrelatedLCTDigiContainer > | mplcts () const |
const CSCCorrelatedLCTDigiContainer & | mplctsInChamber (unsigned int) const |
int | nChambersWithALCT (int min_quality=0) const |
int | nChambersWithCLCT (int min_quality=0) const |
How many CSC chambers with matching stubs of some minimal quality did this SimTrack hit? More... | |
int | nChambersWithLCT (int min_quality=0) const |
int | nChambersWithMPLCT (int min_quality=0) const |
float | zpositionOfLayer (unsigned int detid, int layer) const |
~CSCStubMatcher () | |
Private Member Functions | |
void | addGhostLCTs (const CSCCorrelatedLCTDigi &lct11, const CSCCorrelatedLCTDigi &lct22, CSCCorrelatedLCTDigiContainer &lctcontainer) const |
void | clear () |
void | matchALCTsToSimTrack (const CSCALCTDigiCollection &) |
void | matchCLCTsToSimTrack (const CSCCLCTDigiCollection &) |
void | matchLCTsToSimTrack (const CSCCorrelatedLCTDigiCollection &) |
void | matchMPLCTsToSimTrack (const CSCCorrelatedLCTDigiCollection &) |
template<class D > | |
std::set< unsigned int > | selectDetIds (D &, int) const |
Description: Matching of CSC L1 trigger stubs to SimTrack
Author: Sven Dildick (TAMU), Tao Huang (TAMU)
Definition at line 23 of file CSCStubMatcher.h.
CSCStubMatcher::CSCStubMatcher | ( | edm::ParameterSet const & | iPS, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 7 of file CSCStubMatcher.cc.
References muonCSCStubPSet::cscALCT, muonCSCStubPSet::cscCLCT, muonCSCStubPSet::cscLCT, muonCSCStubPSet::cscMPLCT, edm::ParameterSet::getParameter(), and eostools::move().
|
inline |
Definition at line 27 of file CSCStubMatcher.h.
|
private |
Definition at line 683 of file CSCStubMatcher.cc.
References CSCCorrelatedLCTDigi::getALCT(), CSCCorrelatedLCTDigi::getCLCT(), CSCCorrelatedLCTDigi::getKeyWG(), CSCCorrelatedLCTDigi::getStrip(), CSCCorrelatedLCTDigi::setALCT(), CSCCorrelatedLCTDigi::setCLCT(), and CSCCorrelatedLCTDigi::setWireGroup().
|
inline |
Definition at line 61 of file CSCStubMatcher.h.
References chamber_to_alcts_.
const CSCALCTDigiContainer & CSCStubMatcher::alctsInChamber | ( | unsigned int | detid | ) | const |
Definition at line 484 of file CSCStubMatcher.cc.
const CSCALCTDigiContainer & CSCStubMatcher::allALCTsInChamber | ( | unsigned int | detid | ) | const |
Definition at line 460 of file CSCStubMatcher.cc.
const CSCCLCTDigiContainer & CSCStubMatcher::allCLCTsInChamber | ( | unsigned int | detid | ) | const |
all stubs (not necessarily matching) from a particular crossed chamber
Definition at line 454 of file CSCStubMatcher.cc.
const CSCCorrelatedLCTDigiContainer & CSCStubMatcher::allLCTsInChamber | ( | unsigned int | detid | ) | const |
Definition at line 466 of file CSCStubMatcher.cc.
const CSCCorrelatedLCTDigiContainer & CSCStubMatcher::allMPLCTsInChamber | ( | unsigned int | detid | ) | const |
Definition at line 472 of file CSCStubMatcher.cc.
CSCALCTDigi CSCStubMatcher::bestAlctInChamber | ( | unsigned int | detid | ) | const |
Definition at line 519 of file CSCStubMatcher.cc.
References mps_fire::i, input, and quality.
CSCCLCTDigi CSCStubMatcher::bestClctInChamber | ( | unsigned int | detid | ) | const |
best matching from a particular crossed chamber
Definition at line 502 of file CSCStubMatcher.cc.
References mps_fire::i, input, and quality.
CSCCorrelatedLCTDigi CSCStubMatcher::bestLctInChamber | ( | unsigned int | detid | ) | const |
Definition at line 536 of file CSCStubMatcher.cc.
References mps_fire::i, input, and quality.
CSCCorrelatedLCTDigi CSCStubMatcher::bestMplctInChamber | ( | unsigned | int | ) | const |
std::set< unsigned int > CSCStubMatcher::chamberIdsALCT | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 442 of file CSCStubMatcher.cc.
std::set< unsigned int > CSCStubMatcher::chamberIdsAllALCT | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 426 of file CSCStubMatcher.cc.
std::set< unsigned int > CSCStubMatcher::chamberIdsAllCLCT | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
crossed chamber detIds with not necessarily matching stubs
Definition at line 422 of file CSCStubMatcher.cc.
std::set< unsigned int > CSCStubMatcher::chamberIdsAllLCT | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 430 of file CSCStubMatcher.cc.
std::set< unsigned int > CSCStubMatcher::chamberIdsAllMPLCT | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 434 of file CSCStubMatcher.cc.
std::set< unsigned int > CSCStubMatcher::chamberIdsCLCT | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
chamber detIds with matching stubs
Definition at line 438 of file CSCStubMatcher.cc.
std::set< unsigned int > CSCStubMatcher::chamberIdsLCT | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 446 of file CSCStubMatcher.cc.
std::set< unsigned int > CSCStubMatcher::chamberIdsMPLCT | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 450 of file CSCStubMatcher.cc.
|
inline |
all matching lcts
Definition at line 60 of file CSCStubMatcher.h.
References chamber_to_clcts_.
const CSCCLCTDigiContainer & CSCStubMatcher::clctsInChamber | ( | unsigned int | detid | ) | const |
all matching from a particular crossed chamber
Definition at line 478 of file CSCStubMatcher.cc.
|
private |
Definition at line 671 of file CSCStubMatcher.cc.
|
inline |
Definition at line 85 of file CSCStubMatcher.h.
References cscDigiMatcher_.
|
inline |
Definition at line 86 of file CSCStubMatcher.h.
References gemDigiMatcher_.
GlobalPoint CSCStubMatcher::getGlobalPosition | ( | unsigned int | rawId, |
const CSCCorrelatedLCTDigi & | lct | ||
) | const |
Definition at line 647 of file CSCStubMatcher.cc.
References relativeConstraints::chamber, CSCDetId::chamber(), CSCDetId::endcap(), CSCCorrelatedLCTDigi::getFractionalStrip(), CSCCorrelatedLCTDigi::getKeyWG(), CSCCorrelatedLCTDigi::getStrip(), CSCConstants::KEY_CLCT_LAYER, CSCDetId::layer(), CSCConstants::MAX_HALF_STRIP_ME1B, CSCConstants::NUM_STRIPS_ME1B, relativeConstraints::ring, CSCDetId::ring(), and CSCDetId::station().
void CSCStubMatcher::init | ( | const edm::Event & | e, |
const edm::EventSetup & | eventSetup | ||
) |
initialize the event
Definition at line 52 of file CSCStubMatcher.cc.
References edm::EventSetup::getData(), and iEvent.
bool CSCStubMatcher::lctInChamber | ( | const CSCDetId & | id, |
const CSCCorrelatedLCTDigi & | lct | ||
) | const |
Definition at line 639 of file CSCStubMatcher.cc.
|
inline |
Definition at line 62 of file CSCStubMatcher.h.
References chamber_to_lcts_.
const CSCCorrelatedLCTDigiContainer & CSCStubMatcher::lctsInChamber | ( | unsigned int | detid | ) | const |
Definition at line 490 of file CSCStubMatcher.cc.
do the matching
Definition at line 66 of file CSCStubMatcher.cc.
References clear(), submitPVValidationJobs::t, and findQualityFiles::v.
|
private |
Definition at line 207 of file CSCStubMatcher.cc.
References a, CSCDetId::chamber(), filterCSVwithJSON::copy, gather_cfg::cout, mps_fire::end, CSCDetId::endcap(), spr::find(), globals_cff::id2, relativeConstraints::ring, CSCDetId::ring(), findQualityFiles::size, and CSCDetId::station().
|
private |
Definition at line 105 of file CSCStubMatcher.cc.
References c, CSCDetId::chamber(), mps_fire::end, CSCDetId::endcap(), spr::find(), globals_cff::id2, phase1PixelTopology::layer, CSCDetId::maxLayerId(), CSCDetId::minLayerId(), or, AlCaHLTBitMon_ParallelJobs::p, submitPVResolutionJobs::q, CSCDetId::ring(), relativeConstraints::ring, findQualityFiles::size, and CSCDetId::station().
|
private |
Definition at line 267 of file CSCStubMatcher.cc.
References simKBmtfDigis_cfi::bx, CSCDetId::chamber(), mps_fire::end, CSCDetId::endcap(), spr::find(), globals_cff::id2, or, AlCaHLTBitMon_ParallelJobs::p, CSCDetId::ring(), relativeConstraints::ring, findQualityFiles::size, CSCDetId::station(), and CSCDetId::zendcap().
|
private |
Definition at line 393 of file CSCStubMatcher.cc.
References mps_fire::end, spr::find(), and triggerObjects_cff::id.
|
inline |
Definition at line 63 of file CSCStubMatcher.h.
References chamber_to_mplcts_.
const CSCCorrelatedLCTDigiContainer & CSCStubMatcher::mplctsInChamber | ( | unsigned int | detid | ) | const |
Definition at line 496 of file CSCStubMatcher.cc.
int CSCStubMatcher::nChambersWithALCT | ( | int | min_quality = 0 | ) | const |
Definition at line 579 of file CSCStubMatcher.cc.
References mps_fire::result.
int CSCStubMatcher::nChambersWithCLCT | ( | int | min_quality = 0 | ) | const |
How many CSC chambers with matching stubs of some minimal quality did this SimTrack hit?
Definition at line 559 of file CSCStubMatcher.cc.
References mps_fire::result.
int CSCStubMatcher::nChambersWithLCT | ( | int | min_quality = 0 | ) | const |
Definition at line 599 of file CSCStubMatcher.cc.
References mps_fire::result.
int CSCStubMatcher::nChambersWithMPLCT | ( | int | min_quality = 0 | ) | const |
Definition at line 619 of file CSCStubMatcher.cc.
References mps_fire::result.
|
private |
Definition at line 162 of file CSCStubMatcher.h.
References AlCaHLTBitMon_ParallelJobs::p, mps_fire::result, CSCDetId::ring(), CSCDetId::station(), and MuonHitHelper::toCSCType().
float CSCStubMatcher::zpositionOfLayer | ( | unsigned int | detid, |
int | layer | ||
) | const |
Definition at line 553 of file CSCStubMatcher.cc.
References relativeConstraints::chamber, and phase1PixelTopology::layer.
|
private |
Definition at line 136 of file CSCStubMatcher.h.
|
private |
Definition at line 101 of file CSCStubMatcher.h.
|
private |
Definition at line 111 of file CSCStubMatcher.h.
|
private |
Definition at line 106 of file CSCStubMatcher.h.
|
private |
Definition at line 129 of file CSCStubMatcher.h.
Referenced by alcts().
|
private |
Definition at line 123 of file CSCStubMatcher.h.
|
private |
Definition at line 128 of file CSCStubMatcher.h.
Referenced by clcts().
|
private |
Definition at line 122 of file CSCStubMatcher.h.
|
private |
Definition at line 130 of file CSCStubMatcher.h.
Referenced by lcts().
|
private |
Definition at line 124 of file CSCStubMatcher.h.
|
private |
Definition at line 131 of file CSCStubMatcher.h.
Referenced by mplcts().
|
private |
Definition at line 125 of file CSCStubMatcher.h.
|
private |
Definition at line 100 of file CSCStubMatcher.h.
|
private |
Definition at line 110 of file CSCStubMatcher.h.
|
private |
Definition at line 105 of file CSCStubMatcher.h.
|
private |
Definition at line 115 of file CSCStubMatcher.h.
Referenced by cscDigiMatcher().
|
private |
Definition at line 119 of file CSCStubMatcher.h.
|
private |
Definition at line 116 of file CSCStubMatcher.h.
Referenced by gemDigiMatcher().
|
private |
Definition at line 118 of file CSCStubMatcher.h.
|
private |
Definition at line 102 of file CSCStubMatcher.h.
|
private |
Definition at line 112 of file CSCStubMatcher.h.
|
private |
Definition at line 107 of file CSCStubMatcher.h.
|
private |
Definition at line 151 of file CSCStubMatcher.h.
|
private |
Definition at line 150 of file CSCStubMatcher.h.
|
private |
Definition at line 152 of file CSCStubMatcher.h.
|
private |
Definition at line 153 of file CSCStubMatcher.h.
|
private |
Definition at line 151 of file CSCStubMatcher.h.
|
private |
Definition at line 150 of file CSCStubMatcher.h.
|
private |
Definition at line 152 of file CSCStubMatcher.h.
|
private |
Definition at line 153 of file CSCStubMatcher.h.
|
private |
Definition at line 139 of file CSCStubMatcher.h.
|
private |
Definition at line 140 of file CSCStubMatcher.h.
|
private |
Definition at line 141 of file CSCStubMatcher.h.
|
private |
Definition at line 142 of file CSCStubMatcher.h.
|
private |
Definition at line 143 of file CSCStubMatcher.h.
|
private |
Definition at line 103 of file CSCStubMatcher.h.
|
private |
Definition at line 113 of file CSCStubMatcher.h.
|
private |
Definition at line 108 of file CSCStubMatcher.h.
|
private |
Definition at line 156 of file CSCStubMatcher.h.
|
private |
Definition at line 155 of file CSCStubMatcher.h.
|
private |
Definition at line 157 of file CSCStubMatcher.h.
|
private |
Definition at line 158 of file CSCStubMatcher.h.
|
private |
Definition at line 137 of file CSCStubMatcher.h.
|
private |
Definition at line 145 of file CSCStubMatcher.h.
|
private |
Definition at line 146 of file CSCStubMatcher.h.
|
private |
Definition at line 147 of file CSCStubMatcher.h.
|
private |
Definition at line 148 of file CSCStubMatcher.h.