#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 684 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 485 of file CSCStubMatcher.cc.
const CSCALCTDigiContainer & CSCStubMatcher::allALCTsInChamber | ( | unsigned int | detid | ) | const |
Definition at line 461 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 455 of file CSCStubMatcher.cc.
const CSCCorrelatedLCTDigiContainer & CSCStubMatcher::allLCTsInChamber | ( | unsigned int | detid | ) | const |
Definition at line 467 of file CSCStubMatcher.cc.
const CSCCorrelatedLCTDigiContainer & CSCStubMatcher::allMPLCTsInChamber | ( | unsigned int | detid | ) | const |
Definition at line 473 of file CSCStubMatcher.cc.
CSCALCTDigi CSCStubMatcher::bestAlctInChamber | ( | unsigned int | detid | ) | const |
Definition at line 520 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 503 of file CSCStubMatcher.cc.
References mps_fire::i, input, and quality.
CSCCorrelatedLCTDigi CSCStubMatcher::bestLctInChamber | ( | unsigned int | detid | ) | const |
Definition at line 537 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 443 of file CSCStubMatcher.cc.
std::set< unsigned int > CSCStubMatcher::chamberIdsAllALCT | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 427 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 423 of file CSCStubMatcher.cc.
std::set< unsigned int > CSCStubMatcher::chamberIdsAllLCT | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 431 of file CSCStubMatcher.cc.
std::set< unsigned int > CSCStubMatcher::chamberIdsAllMPLCT | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 435 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 439 of file CSCStubMatcher.cc.
std::set< unsigned int > CSCStubMatcher::chamberIdsLCT | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 447 of file CSCStubMatcher.cc.
std::set< unsigned int > CSCStubMatcher::chamberIdsMPLCT | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 451 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 479 of file CSCStubMatcher.cc.
|
private |
Definition at line 672 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 648 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 53 of file CSCStubMatcher.cc.
References edm::EventSetup::getData(), and iEvent.
bool CSCStubMatcher::lctInChamber | ( | const CSCDetId & | id, |
const CSCCorrelatedLCTDigi & | lct | ||
) | const |
Definition at line 640 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 491 of file CSCStubMatcher.cc.
do the matching
Definition at line 67 of file CSCStubMatcher.cc.
References l1ct::clear(), submitPVValidationJobs::t, and findQualityFiles::v.
|
private |
Definition at line 208 of file CSCStubMatcher.cc.
References a, CSCDetId::chamber(), filterCSVwithJSON::copy, gather_cfg::cout, CSCDetId::endcap(), spr::find(), globals_cff::id2, CSCDetId::ring(), relativeConstraints::ring, findQualityFiles::size, and CSCDetId::station().
|
private |
Definition at line 106 of file CSCStubMatcher.cc.
References c, CSCDetId::chamber(), CSCDetId::endcap(), spr::find(), globals_cff::id2, CSCDetId::maxLayerId(), CSCDetId::minLayerId(), or, AlCaHLTBitMon_ParallelJobs::p, submitPVResolutionJobs::q, relativeConstraints::ring, CSCDetId::ring(), findQualityFiles::size, and CSCDetId::station().
|
private |
Definition at line 268 of file CSCStubMatcher.cc.
References simKBmtfDigis_cfi::bx, CSCDetId::chamber(), 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 394 of file CSCStubMatcher.cc.
References spr::find(), and l1ctLayer2EG_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 497 of file CSCStubMatcher.cc.
int CSCStubMatcher::nChambersWithALCT | ( | int | min_quality = 0 | ) | const |
Definition at line 580 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 560 of file CSCStubMatcher.cc.
References mps_fire::result.
int CSCStubMatcher::nChambersWithLCT | ( | int | min_quality = 0 | ) | const |
Definition at line 600 of file CSCStubMatcher.cc.
References mps_fire::result.
int CSCStubMatcher::nChambersWithMPLCT | ( | int | min_quality = 0 | ) | const |
Definition at line 620 of file CSCStubMatcher.cc.
References mps_fire::result.
|
private |
Definition at line 164 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 554 of file CSCStubMatcher.cc.
References relativeConstraints::chamber.
|
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 139 of file CSCStubMatcher.h.
|
private |
Definition at line 153 of file CSCStubMatcher.h.
|
private |
Definition at line 152 of file CSCStubMatcher.h.
|
private |
Definition at line 154 of file CSCStubMatcher.h.
|
private |
Definition at line 155 of file CSCStubMatcher.h.
|
private |
Definition at line 153 of file CSCStubMatcher.h.
|
private |
Definition at line 152 of file CSCStubMatcher.h.
|
private |
Definition at line 154 of file CSCStubMatcher.h.
|
private |
Definition at line 155 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 144 of file CSCStubMatcher.h.
|
private |
Definition at line 145 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 158 of file CSCStubMatcher.h.
|
private |
Definition at line 157 of file CSCStubMatcher.h.
|
private |
Definition at line 159 of file CSCStubMatcher.h.
|
private |
Definition at line 160 of file CSCStubMatcher.h.
|
private |
Definition at line 137 of file CSCStubMatcher.h.
|
private |
Definition at line 147 of file CSCStubMatcher.h.
|
private |
Definition at line 148 of file CSCStubMatcher.h.
|
private |
Definition at line 149 of file CSCStubMatcher.h.
|
private |
Definition at line 150 of file CSCStubMatcher.h.