#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 |
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 179 of file CSCDigiMatcher.cc.
std::set< unsigned int > CSCDigiMatcher::chamberIdsStrip | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 183 of file CSCDigiMatcher.cc.
std::set< unsigned int > CSCDigiMatcher::chamberIdsWire | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 187 of file CSCDigiMatcher.cc.
|
private |
Definition at line 379 of file CSCDigiMatcher.cc.
const CSCComparatorDigiContainer & CSCDigiMatcher::comparatorDigisInChamber | ( | unsigned int | detid | ) | const |
Definition at line 197 of file CSCDigiMatcher.cc.
const CSCComparatorDigiContainer & CSCDigiMatcher::comparatorDigisInDetId | ( | unsigned int | detid | ) | const |
Definition at line 191 of file CSCDigiMatcher.cc.
std::set< int > CSCDigiMatcher::comparatorsInChamber | ( | unsigned int | detid, |
int | max_gap_to_fill = 0 |
||
) | const |
Definition at line 320 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 293 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 167 of file CSCDigiMatcher.cc.
std::set< unsigned int > CSCDigiMatcher::detIdsStrip | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 171 of file CSCDigiMatcher.cc.
std::set< unsigned int > CSCDigiMatcher::detIdsWire | ( | int | csc_type = MuonHitHelper::CSC_ALL | ) | const |
Definition at line 175 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 clear(), DigiDM_cff::strips, submitPVValidationJobs::t, findQualityFiles::v, and DigiDM_cff::wires.
|
private |
Definition at line 59 of file CSCDigiMatcher.cc.
References c, CSCDetId::chamberId(), filterCSVwithJSON::copy, gather_cfg::cout, triggerObjects_cff::id, and DetId::rawId().
|
private |
Definition at line 93 of file CSCDigiMatcher.cc.
References c, CSCDetId::chamberId(), filterCSVwithJSON::copy, gather_cfg::cout, triggerObjects_cff::id, or, FastTimerService_cff::range, DetId::rawId(), relativeConstraints::ring, relativeConstraints::station, digitizers_cfi::strip, and DigiDM_cff::strips.
|
private |
Definition at line 133 of file CSCDigiMatcher.cc.
References CSCDetId::chamberId(), filterCSVwithJSON::copy, gather_cfg::cout, triggerObjects_cff::id, DetId::rawId(), w(), and DigiDM_cff::wires.
|
inline |
Definition at line 83 of file CSCDigiMatcher.h.
References muonSimHitMatcher_.
int CSCDigiMatcher::nCoincidenceComparatorChambers | ( | int | min_n_layers = 4 | ) | const |
Definition at line 263 of file CSCDigiMatcher.cc.
References mps_fire::result.
int CSCDigiMatcher::nCoincidenceStripChambers | ( | int | min_n_layers = 4 | ) | const |
Definition at line 273 of file CSCDigiMatcher.cc.
References mps_fire::result.
int CSCDigiMatcher::nCoincidenceWireChambers | ( | int | min_n_layers = 4 | ) | const |
Definition at line 283 of file CSCDigiMatcher.cc.
References mps_fire::result.
int CSCDigiMatcher::nLayersWithComparatorInChamber | ( | unsigned int | detid | ) | const |
Definition at line 227 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 239 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 251 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 133 of file CSCDigiMatcher.h.
References AlCaHLTBitMon_ParallelJobs::p, mps_fire::result, CSCDetId::ring(), CSCDetId::station(), and MuonHitHelper::toCSCType().
const CSCStripDigiContainer & CSCDigiMatcher::stripDigisInChamber | ( | unsigned int | detid | ) | const |
Definition at line 209 of file CSCDigiMatcher.cc.
const CSCStripDigiContainer & CSCDigiMatcher::stripDigisInDetId | ( | unsigned int | detid | ) | const |
Definition at line 203 of file CSCDigiMatcher.cc.
std::set< int > CSCDigiMatcher::stripsInChamber | ( | unsigned int | detid, |
int | max_gap_to_fill = 0 |
||
) | const |
Definition at line 340 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 302 of file CSCDigiMatcher.cc.
References ztail::d, and mps_fire::result.
const CSCWireDigiContainer & CSCDigiMatcher::wireDigisInChamber | ( | unsigned int | detid | ) | const |
Definition at line 221 of file CSCDigiMatcher.cc.
const CSCWireDigiContainer & CSCDigiMatcher::wireDigisInDetId | ( | unsigned int | detid | ) | const |
Definition at line 215 of file CSCDigiMatcher.cc.
std::set< int > CSCDigiMatcher::wiregroupsInChamber | ( | unsigned int | detid, |
int | max_gap_to_fill = 0 |
||
) | const |
Definition at line 360 of file CSCDigiMatcher.cc.
References ztail::d, mps_fire::result, and w().
std::set< int > CSCDigiMatcher::wiregroupsInDetId | ( | unsigned int | detid | ) | const |
Definition at line 311 of file CSCDigiMatcher.cc.
References ztail::d, and mps_fire::result.
|
private |
Definition at line 119 of file CSCDigiMatcher.h.
|
private |
Definition at line 122 of file CSCDigiMatcher.h.
|
private |
Definition at line 125 of file CSCDigiMatcher.h.
|
private |
Definition at line 96 of file CSCDigiMatcher.h.
|
private |
Definition at line 100 of file CSCDigiMatcher.h.
|
private |
Definition at line 118 of file CSCDigiMatcher.h.
|
private |
Definition at line 121 of file CSCDigiMatcher.h.
|
private |
Definition at line 124 of file CSCDigiMatcher.h.
|
private |
Definition at line 110 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 106 of file CSCDigiMatcher.h.
|
private |
Definition at line 107 of file CSCDigiMatcher.h.
|
private |
Definition at line 108 of file CSCDigiMatcher.h.
|
private |
Definition at line 106 of file CSCDigiMatcher.h.
|
private |
Definition at line 107 of file CSCDigiMatcher.h.
|
private |
Definition at line 108 of file CSCDigiMatcher.h.
|
private |
Definition at line 104 of file CSCDigiMatcher.h.
Referenced by muonSimHitMatcher().
|
private |
Definition at line 127 of file CSCDigiMatcher.h.
|
private |
Definition at line 128 of file CSCDigiMatcher.h.
|
private |
Definition at line 129 of file CSCDigiMatcher.h.
|
private |
Definition at line 97 of file CSCDigiMatcher.h.
|
private |
Definition at line 101 of file CSCDigiMatcher.h.
|
private |
Definition at line 114 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 98 of file CSCDigiMatcher.h.
|
private |
Definition at line 102 of file CSCDigiMatcher.h.