#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 677 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 478 of file CSCStubMatcher.cc.
const CSCALCTDigiContainer & CSCStubMatcher::allALCTsInChamber | ( | unsigned int | detid | ) | const |
Definition at line 454 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 448 of file CSCStubMatcher.cc.
const CSCCorrelatedLCTDigiContainer & CSCStubMatcher::allLCTsInChamber | ( | unsigned int | detid | ) | const |
Definition at line 460 of file CSCStubMatcher.cc.
const CSCCorrelatedLCTDigiContainer & CSCStubMatcher::allMPLCTsInChamber | ( | unsigned int | detid | ) | const |
Definition at line 466 of file CSCStubMatcher.cc.
CSCALCTDigi CSCStubMatcher::bestAlctInChamber | ( | unsigned int | detid | ) | const |
Definition at line 513 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 496 of file CSCStubMatcher.cc.
References mps_fire::i, input, and quality.
CSCCorrelatedLCTDigi CSCStubMatcher::bestLctInChamber | ( | unsigned int | detid | ) | const |
Definition at line 530 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 436 of file CSCStubMatcher.cc.
std::set< unsigned int > CSCStubMatcher::chamberIdsAllALCT | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 420 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 416 of file CSCStubMatcher.cc.
std::set< unsigned int > CSCStubMatcher::chamberIdsAllLCT | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 424 of file CSCStubMatcher.cc.
std::set< unsigned int > CSCStubMatcher::chamberIdsAllMPLCT | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 428 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 432 of file CSCStubMatcher.cc.
std::set< unsigned int > CSCStubMatcher::chamberIdsLCT | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 440 of file CSCStubMatcher.cc.
std::set< unsigned int > CSCStubMatcher::chamberIdsMPLCT | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 444 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 472 of file CSCStubMatcher.cc.
|
private |
Definition at line 665 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 641 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, nano_mu_digi_cff::rawId, CSCDetId::ring(), relativeConstraints::ring, CSCDetId::station(), and nano_mu_digi_cff::wire.
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 633 of file CSCStubMatcher.cc.
References nano_mu_digi_cff::rawId.
|
inline |
Definition at line 62 of file CSCStubMatcher.h.
References chamber_to_lcts_.
const CSCCorrelatedLCTDigiContainer & CSCStubMatcher::lctsInChamber | ( | unsigned int | detid | ) | const |
Definition at line 484 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, relativeConstraints::ring, CSCDetId::ring(), and CSCDetId::station().
|
private |
Definition at line 106 of file CSCStubMatcher.cc.
References DummyCfis::c, CSCDetId::chamber(), CSCDetId::endcap(), spr::find(), globals_cff::id2, CSCDetId::maxLayerId(), CSCDetId::minLayerId(), or, AlCaHLTBitMon_ParallelJobs::p, submitPVResolutionJobs::q, CSCDetId::ring(), relativeConstraints::ring, and CSCDetId::station().
|
private |
Definition at line 265 of file CSCStubMatcher.cc.
References nano_mu_digi_cff::bx, CSCDetId::chamber(), CSCDetId::endcap(), spr::find(), globals_cff::id2, or, AlCaHLTBitMon_ParallelJobs::p, CSCDetId::ring(), relativeConstraints::ring, CSCDetId::station(), and CSCDetId::zendcap().
|
private |
Definition at line 387 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 490 of file CSCStubMatcher.cc.
int CSCStubMatcher::nChambersWithALCT | ( | int | min_quality = 0 | ) | const |
Definition at line 573 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 553 of file CSCStubMatcher.cc.
References mps_fire::result.
int CSCStubMatcher::nChambersWithLCT | ( | int | min_quality = 0 | ) | const |
Definition at line 593 of file CSCStubMatcher.cc.
References mps_fire::result.
int CSCStubMatcher::nChambersWithMPLCT | ( | int | min_quality = 0 | ) | const |
Definition at line 613 of file CSCStubMatcher.cc.
References mps_fire::result.
|
private |
Definition at line 164 of file CSCStubMatcher.h.
References hcalRecHitTable_cff::detId, AlCaHLTBitMon_ParallelJobs::p, mps_fire::result, and MuonHitHelper::toCSCType().
float CSCStubMatcher::zpositionOfLayer | ( | unsigned int | detid, |
int | layer | ||
) | const |
Definition at line 547 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.