#include <CSCDigiMatcher.h>
Public Member Functions | |
std::set< unsigned int > | chamberIdsComparator (int csc_type=MuonHitHelper::CSC_ALL) const |
std::set< unsigned int > | chamberIdsStrip (int csc_type=MuonHitHelper::CSC_ALL) const |
std::set< unsigned int > | chamberIdsWire (int csc_type=MuonHitHelper::CSC_ALL) const |
const CSCComparatorDigiContainer & | comparatorDigisInChamber (unsigned int) const |
const CSCComparatorDigiContainer & | comparatorDigisInDetId (unsigned int) const |
std::set< int > | comparatorsInChamber (unsigned int, int max_gap_to_fill=0) const |
std::set< int > | comparatorsInDetId (unsigned int) const |
CSCDigiMatcher (edm::ParameterSet const &iPS, edm::ConsumesCollector &&iC) | |
std::set< unsigned int > | detIdsComparator (int csc_type=MuonHitHelper::CSC_ALL) const |
std::set< unsigned int > | detIdsStrip (int csc_type=MuonHitHelper::CSC_ALL) const |
std::set< unsigned int > | detIdsWire (int csc_type=MuonHitHelper::CSC_ALL) 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< CSCSimHitMatcher > | muonSimHitMatcher () const |
int | nCoincidenceComparatorChambers (int min_n_layers=4) const |
int | nCoincidenceStripChambers (int min_n_layers=4) const |
int | nCoincidenceWireChambers (int min_n_layers=4) const |
int | nLayersWithComparatorInChamber (unsigned int) const |
int | nLayersWithStripInChamber (unsigned int) const |
int | nLayersWithWireInChamber (unsigned int) const |
const CSCStripDigiContainer & | stripDigisInChamber (unsigned int) const |
const CSCStripDigiContainer & | stripDigisInDetId (unsigned int) const |
std::set< int > | stripsInChamber (unsigned int, int max_gap_to_fill=0) const |
std::set< int > | stripsInDetId (unsigned int) const |
int | totalComparators (unsigned int) const |
int | totalStrips (unsigned int) const |
int | totalWires (unsigned int) const |
const CSCWireDigiContainer & | wireDigisInChamber (unsigned int) const |
const CSCWireDigiContainer & | wireDigisInDetId (unsigned int) const |
std::set< int > | wiregroupsInChamber (unsigned int, int max_gap_to_fill=0) const |
std::set< int > | wiregroupsInDetId (unsigned int) const |
~CSCDigiMatcher () | |
Private Member Functions | |
void | clear () |
void | matchComparatorsToSimTrack (const CSCComparatorDigiCollection &comparators) |
void | matchStripsToSimTrack (const CSCStripDigiCollection &strips) |
void | matchWiresToSimTrack (const CSCWireDigiCollection &wires) |
template<class T > | |
std::set< unsigned int > | selectDetIds (const T &digis, int csc_type) const |
Description: Matching of Digis to SimTrack in CSC
Author: Sven Dildick (TAMU), Tao Huang (TAMU)
Definition at line 25 of file CSCDigiMatcher.h.
CSCDigiMatcher::CSCDigiMatcher | ( | edm::ParameterSet const & | iPS, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 5 of file CSCDigiMatcher.cc.
References eostools::move(), and muonDTDigis_cfi::pset.
|
inline |
Definition at line 31 of file CSCDigiMatcher.h.
std::set< unsigned int > CSCDigiMatcher::chamberIdsComparator | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 195 of file CSCDigiMatcher.cc.
std::set< unsigned int > CSCDigiMatcher::chamberIdsStrip | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 199 of file CSCDigiMatcher.cc.
std::set< unsigned int > CSCDigiMatcher::chamberIdsWire | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 203 of file CSCDigiMatcher.cc.
|
private |
Definition at line 413 of file CSCDigiMatcher.cc.
const CSCComparatorDigiContainer & CSCDigiMatcher::comparatorDigisInChamber | ( | unsigned int | detid | ) | const |
Definition at line 213 of file CSCDigiMatcher.cc.
const CSCComparatorDigiContainer & CSCDigiMatcher::comparatorDigisInDetId | ( | unsigned int | detid | ) | const |
Definition at line 207 of file CSCDigiMatcher.cc.
std::set< int > CSCDigiMatcher::comparatorsInChamber | ( | unsigned int | detid, |
int | max_gap_to_fill = 0 |
||
) | const |
Definition at line 336 of file CSCDigiMatcher.cc.
References ztail::d, mps_fire::result, and alignCSCRings::s.
std::set< int > CSCDigiMatcher::comparatorsInDetId | ( | unsigned int | detid | ) | const |
Definition at line 309 of file CSCDigiMatcher.cc.
References ztail::d, and mps_fire::result.
std::set< unsigned int > CSCDigiMatcher::detIdsComparator | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 183 of file CSCDigiMatcher.cc.
std::set< unsigned int > CSCDigiMatcher::detIdsStrip | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 187 of file CSCDigiMatcher.cc.
std::set< unsigned int > CSCDigiMatcher::detIdsWire | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 191 of file CSCDigiMatcher.cc.
void CSCDigiMatcher::init | ( | const edm::Event & | e, |
const edm::EventSetup & | eventSetup | ||
) |
Definition at line 33 of file CSCDigiMatcher.cc.
References iEvent.
do the matching
Definition at line 42 of file CSCDigiMatcher.cc.
References l1ct::clear(), DigiDM_cff::strips, submitPVValidationJobs::t, findQualityFiles::v, and DigiDM_cff::wires.
|
private |
Definition at line 59 of file CSCDigiMatcher.cc.
References DummyCfis::c, CSCDetId::chamberId(), filterCSVwithJSON::copy, gather_cfg::cout, l1ctLayer2EG_cff::id, and DetId::rawId().
|
private |
Definition at line 97 of file CSCDigiMatcher.cc.
References DummyCfis::c, CSCDetId::chamberId(), filterCSVwithJSON::copy, gather_cfg::cout, l1ctLayer2EG_cff::id, or, FastTimerService_cff::range, DetId::rawId(), relativeConstraints::ring, relativeConstraints::station, nano_mu_digi_cff::strip, and DigiDM_cff::strips.
|
private |
Definition at line 144 of file CSCDigiMatcher.cc.
References CSCDetId::chamberId(), filterCSVwithJSON::copy, gather_cfg::cout, l1ctLayer2EG_cff::id, DetId::rawId(), w(), and DigiDM_cff::wires.
|
inline |
Definition at line 88 of file CSCDigiMatcher.h.
References muonSimHitMatcher_.
int CSCDigiMatcher::nCoincidenceComparatorChambers | ( | int | min_n_layers = 4 | ) | const |
Definition at line 279 of file CSCDigiMatcher.cc.
References mps_fire::result.
int CSCDigiMatcher::nCoincidenceStripChambers | ( | int | min_n_layers = 4 | ) | const |
Definition at line 289 of file CSCDigiMatcher.cc.
References mps_fire::result.
int CSCDigiMatcher::nCoincidenceWireChambers | ( | int | min_n_layers = 4 | ) | const |
Definition at line 299 of file CSCDigiMatcher.cc.
References mps_fire::result.
int CSCDigiMatcher::nLayersWithComparatorInChamber | ( | unsigned int | detid | ) | const |
Definition at line 243 of file CSCDigiMatcher.cc.
References CSCDetId::chamber(), relativeConstraints::empty, CSCDetId::endcap(), mps_fire::i, MuonTCMETValueMapProducer_cff::nLayers, CSCDetId::ring(), and CSCDetId::station().
int CSCDigiMatcher::nLayersWithStripInChamber | ( | unsigned int | detid | ) | const |
Definition at line 255 of file CSCDigiMatcher.cc.
References CSCDetId::chamber(), relativeConstraints::empty, CSCDetId::endcap(), mps_fire::i, MuonTCMETValueMapProducer_cff::nLayers, CSCDetId::ring(), and CSCDetId::station().
int CSCDigiMatcher::nLayersWithWireInChamber | ( | unsigned int | detid | ) | const |
Definition at line 267 of file CSCDigiMatcher.cc.
References CSCDetId::chamber(), relativeConstraints::empty, CSCDetId::endcap(), mps_fire::i, MuonTCMETValueMapProducer_cff::nLayers, CSCDetId::ring(), and CSCDetId::station().
|
private |
Definition at line 141 of file CSCDigiMatcher.h.
References hcalRecHitTable_cff::detId, AlCaHLTBitMon_ParallelJobs::p, mps_fire::result, and MuonHitHelper::toCSCType().
const CSCStripDigiContainer & CSCDigiMatcher::stripDigisInChamber | ( | unsigned int | detid | ) | const |
Definition at line 225 of file CSCDigiMatcher.cc.
const CSCStripDigiContainer & CSCDigiMatcher::stripDigisInDetId | ( | unsigned int | detid | ) | const |
Definition at line 219 of file CSCDigiMatcher.cc.
std::set< int > CSCDigiMatcher::stripsInChamber | ( | unsigned int | detid, |
int | max_gap_to_fill = 0 |
||
) | const |
Definition at line 356 of file CSCDigiMatcher.cc.
References ztail::d, mps_fire::result, and alignCSCRings::s.
std::set< int > CSCDigiMatcher::stripsInDetId | ( | unsigned int | detid | ) | const |
Definition at line 318 of file CSCDigiMatcher.cc.
References ztail::d, and mps_fire::result.
int CSCDigiMatcher::totalComparators | ( | unsigned int | detid | ) | const |
Definition at line 395 of file CSCDigiMatcher.cc.
int CSCDigiMatcher::totalStrips | ( | unsigned int | detid | ) | const |
Definition at line 401 of file CSCDigiMatcher.cc.
int CSCDigiMatcher::totalWires | ( | unsigned int | detid | ) | const |
Definition at line 407 of file CSCDigiMatcher.cc.
const CSCWireDigiContainer & CSCDigiMatcher::wireDigisInChamber | ( | unsigned int | detid | ) | const |
Definition at line 237 of file CSCDigiMatcher.cc.
const CSCWireDigiContainer & CSCDigiMatcher::wireDigisInDetId | ( | unsigned int | detid | ) | const |
Definition at line 231 of file CSCDigiMatcher.cc.
std::set< int > CSCDigiMatcher::wiregroupsInChamber | ( | unsigned int | detid, |
int | max_gap_to_fill = 0 |
||
) | const |
Definition at line 376 of file CSCDigiMatcher.cc.
References ztail::d, mps_fire::result, and w().
std::set< int > CSCDigiMatcher::wiregroupsInDetId | ( | unsigned int | detid | ) | const |
Definition at line 327 of file CSCDigiMatcher.cc.
References ztail::d, and mps_fire::result.
|
private |
Definition at line 124 of file CSCDigiMatcher.h.
|
private |
Definition at line 128 of file CSCDigiMatcher.h.
|
private |
Definition at line 132 of file CSCDigiMatcher.h.
|
private |
Definition at line 101 of file CSCDigiMatcher.h.
|
private |
Definition at line 105 of file CSCDigiMatcher.h.
|
private |
Definition at line 123 of file CSCDigiMatcher.h.
|
private |
Definition at line 127 of file CSCDigiMatcher.h.
|
private |
Definition at line 125 of file CSCDigiMatcher.h.
|
private |
Definition at line 129 of file CSCDigiMatcher.h.
|
private |
Definition at line 133 of file CSCDigiMatcher.h.
|
private |
Definition at line 131 of file CSCDigiMatcher.h.
|
private |
Definition at line 115 of file CSCDigiMatcher.h.
|
private |
Definition at line 116 of file CSCDigiMatcher.h.
|
private |
Definition at line 117 of file CSCDigiMatcher.h.
|
private |
Definition at line 111 of file CSCDigiMatcher.h.
|
private |
Definition at line 112 of file CSCDigiMatcher.h.
|
private |
Definition at line 113 of file CSCDigiMatcher.h.
|
private |
Definition at line 111 of file CSCDigiMatcher.h.
|
private |
Definition at line 112 of file CSCDigiMatcher.h.
|
private |
Definition at line 113 of file CSCDigiMatcher.h.
|
private |
Definition at line 109 of file CSCDigiMatcher.h.
Referenced by muonSimHitMatcher().
|
private |
Definition at line 135 of file CSCDigiMatcher.h.
|
private |
Definition at line 136 of file CSCDigiMatcher.h.
|
private |
Definition at line 137 of file CSCDigiMatcher.h.
|
private |
Definition at line 102 of file CSCDigiMatcher.h.
|
private |
Definition at line 106 of file CSCDigiMatcher.h.
|
private |
Definition at line 119 of file CSCDigiMatcher.h.
|
private |
Definition at line 120 of file CSCDigiMatcher.h.
|
private |
Definition at line 121 of file CSCDigiMatcher.h.
|
private |
Definition at line 103 of file CSCDigiMatcher.h.
|
private |
Definition at line 107 of file CSCDigiMatcher.h.