#include <MuonSeedOrcaPatternRecognition.h>
Public Member Functions | |
MuonSeedOrcaPatternRecognition (const edm::ParameterSet &pset, edm::ConsumesCollector &iC) | |
void | produce (const edm::Event &event, const edm::EventSetup &eSetup, std::vector< MuonRecHitContainer > &result) override |
Public Member Functions inherited from MuonSeedVPatternRecognition | |
MuonSeedVPatternRecognition (const edm::ParameterSet &pset) | |
virtual | ~MuonSeedVPatternRecognition () |
Private Member Functions | |
MuonRecHitPointer | bestMatch (const ConstMuonRecHitPointer &first, MuonRecHitContainer &good_rhit) const |
bool | check (const MuonRecHitContainer &segments) |
void | complete (MuonRecHitContainer &seedSegments, const MuonRecHitContainer &recHits, bool *used=nullptr) const |
int | countHits (const MuonRecHitPointer &segment) const |
double | discriminator (const ConstMuonRecHitPointer &first, MuonRecHitPointer &other) const |
void | dumpLayer (const char *name, const MuonRecHitContainer &segments) const |
void | endcapPatterns (const MuonRecHitContainer &me11, const MuonRecHitContainer &me12, const MuonRecHitContainer &me2, const MuonRecHitContainer &me3, const MuonRecHitContainer &me4, const MuonRecHitContainer &me0, const MuonRecHitContainer &mb1, const MuonRecHitContainer &mb2, const MuonRecHitContainer &mb3, bool *MB1, bool *MB2, bool *MB3, std::vector< MuonRecHitContainer > &result) |
void | filterOverlappingChambers (MuonRecHitContainer &segments) const |
MuonRecHitContainer | filterSegments (const MuonRecHitContainer &segments, double dThetaCut) const |
apply some cuts to segments before using them More... | |
bool | isCrack (const ConstMuonRecHitPointer &segment) const |
bool | isME1A (const ConstMuonRecHitPointer &segment) const |
void | markAsUsed (int nr, const MuonRecHitContainer &recHits, bool *used) const |
void | rememberCrackSegments (const MuonRecHitContainer &segments, MuonRecHitContainer &crackSegments) const |
bool * | zero (unsigned listSize) |
Private Attributes | |
edm::ESGetToken< MuonDetLayerGeometry, MuonRecoGeometryRecord > | muonLayersToken |
MuonDetLayerMeasurements * | muonMeasurements |
std::vector< double > | theCrackEtas |
double | theCrackWindow |
double | theDeltaCrackWindow |
double | theDeltaEtaWindow |
double | theDeltaPhiWindow |
Additional Inherited Members | |
Public Types inherited from MuonSeedVPatternRecognition | |
typedef MuonTransientTrackingRecHit::ConstMuonRecHitPointer | ConstMuonRecHitPointer |
typedef MuonTransientTrackingRecHit::MuonRecHitContainer | MuonRecHitContainer |
typedef MuonTransientTrackingRecHit::MuonRecHitPointer | MuonRecHitPointer |
Protected Attributes inherited from MuonSeedVPatternRecognition | |
bool | enableCSCMeasurement |
Enable the CSC measurement. More... | |
bool | enableDTMeasurement |
Enable the DT measurement. More... | |
bool | enableME0Measurement |
Enable the ME0 measurement. More... | |
edm::InputTag | theCSCRecSegmentLabel |
the name of the CSC rec hits collection More... | |
edm::InputTag | theDTRecSegmentLabel |
the name of the DT rec hits collection More... | |
edm::InputTag | theME0RecSegmentLabel |
the name of the ME0 rec hits collection More... | |
Definition at line 11 of file MuonSeedOrcaPatternRecognition.h.
|
explicit |
Definition at line 43 of file MuonSeedOrcaPatternRecognition.cc.
References MuonSeedVPatternRecognition::enableCSCMeasurement, MuonSeedVPatternRecognition::enableDTMeasurement, MuonSeedVPatternRecognition::enableME0Measurement, ProducerED_cfi::InputTag, edm::InputTag::label(), muonMeasurements, MuonSeedVPatternRecognition::theCSCRecSegmentLabel, MuonSeedVPatternRecognition::theDTRecSegmentLabel, and MuonSeedVPatternRecognition::theME0RecSegmentLabel.
|
private |
Definition at line 553 of file MuonSeedOrcaPatternRecognition.cc.
References discriminator(), and dqmdumpme::first.
Referenced by complete().
|
private |
Definition at line 601 of file MuonSeedOrcaPatternRecognition.cc.
Referenced by endcapPatterns(), and produce().
|
private |
Definition at line 520 of file MuonSeedOrcaPatternRecognition.cc.
References PV3DBase< T, PVType, FrameType >::barePhi(), bestMatch(), SiPixelRawToDigiRegional_cfi::deltaPhi, PV3DBase< T, PVType, FrameType >::eta(), dqmdumpme::first, isCrack(), markAsUsed(), EgHLTOffHistBins_cfi::nr, rpcPointValidation_cfi::recHit, FastTrackerRecHitMaskProducer_cfi::recHits, theDeltaCrackWindow, theDeltaEtaWindow, and theDeltaPhiWindow.
Referenced by endcapPatterns(), and produce().
|
private |
Definition at line 754 of file MuonSeedOrcaPatternRecognition.cc.
References makeMuonMisalignmentScenario::components, and submitPVResolutionJobs::count.
Referenced by filterOverlappingChambers().
|
private |
Definition at line 569 of file MuonSeedOrcaPatternRecognition.cc.
References PV3DBase< T, PVType, FrameType >::barePhi(), SiPixelRawToDigiRegional_cfi::deltaPhi, dqmdumpme::first, isME1A(), M_PI, SiStripPI::max, nhits, trackingPlots::other, and PV3DBase< T, PVType, FrameType >::theta().
Referenced by bestMatch().
|
private |
Definition at line 649 of file MuonSeedOrcaPatternRecognition.cc.
References MuonPatternRecoDumper::dumpMuonId(), LogTrace, metname, and Skims_PA_cff::name.
Referenced by endcapPatterns(), and produce().
|
private |
Definition at line 312 of file MuonSeedOrcaPatternRecognition.cc.
References check(), complete(), filterCSVwithJSON::copy, counter, dumpLayer(), MuonStationSelectors_cff::mb1, MuonStationSelectors_cff::mb2, MuonStationSelectors_cff::mb3, mixOne_premix_on_sim_cfi::me0, hlt_dqm_clientPB-live_cfg::me2, rememberCrackSegments(), mps_fire::result, and zero().
Referenced by produce().
|
private |
Definition at line 693 of file MuonSeedOrcaPatternRecognition.cc.
References PV3DBase< T, PVType, FrameType >::barePhi(), countHits(), SiPixelRawToDigiRegional_cfi::deltaPhi, hcalRecHitTable_cff::detId, MuonPatternRecoDumper::dumpMuonId(), PV3DBase< T, PVType, FrameType >::eta(), spr::find(), mps_fire::i, isME1A(), dqmiolumiharvest::j, LogTrace, metname, nano_mu_digi_cff::rawId, and mps_fire::result.
Referenced by filterSegments().
|
private |
apply some cuts to segments before using them
Definition at line 658 of file MuonSeedOrcaPatternRecognition.cc.
References MuonPatternRecoDumper::dumpMuonId(), filterOverlappingChambers(), LogTrace, metname, and mps_fire::result.
Referenced by produce().
|
private |
Definition at line 624 of file MuonSeedOrcaPatternRecognition.cc.
References mps_fire::result, theCrackEtas, and theCrackWindow.
Referenced by complete(), and rememberCrackSegments().
|
private |
Definition at line 750 of file MuonSeedOrcaPatternRecognition.cc.
References relativeConstraints::ring.
Referenced by discriminator(), and filterOverlappingChambers().
|
private |
Definition at line 603 of file MuonSeedOrcaPatternRecognition.cc.
References hcalRecHitTable_cff::detId, mps_fire::i, GeomDetEnumerators::isCSC(), EgHLTOffHistBins_cfi::nr, nano_mu_digi_cff::rawId, and FastTrackerRecHitMaskProducer_cfi::recHits.
Referenced by complete().
|
overridevirtual |
Implements MuonSeedVPatternRecognition.
Definition at line 70 of file MuonSeedOrcaPatternRecognition.cc.
References python.cmstools::all(), MuonDetLayerGeometry::allDTLayers(), MuonDetLayerGeometry::backwardCSCLayers(), MuonDetLayerGeometry::backwardME0Layers(), check(), complete(), filterCSVwithJSON::copy, dumpLayer(), endcapPatterns(), filterSegments(), MuonDetLayerGeometry::forwardCSCLayers(), MuonDetLayerGeometry::forwardME0Layers(), edm::EventSetup::getHandle(), LogTrace, metname, muonLayersToken, muonMeasurements, MuonDetLayerMeasurements::recHits(), mps_fire::result, createJobs::tmp, and zero().
|
private |
Definition at line 636 of file MuonSeedOrcaPatternRecognition.cc.
References funct::abs(), and isCrack().
Referenced by endcapPatterns().
|
private |
Definition at line 302 of file MuonSeedOrcaPatternRecognition.cc.
References mps_fire::i, and mps_fire::result.
Referenced by endcapPatterns(), and produce().
|
private |
Definition at line 62 of file MuonSeedOrcaPatternRecognition.h.
Referenced by produce().
|
private |
Definition at line 58 of file MuonSeedOrcaPatternRecognition.h.
Referenced by MuonSeedOrcaPatternRecognition(), and produce().
|
private |
Definition at line 56 of file MuonSeedOrcaPatternRecognition.h.
Referenced by isCrack().
|
private |
Definition at line 57 of file MuonSeedOrcaPatternRecognition.h.
Referenced by isCrack().
|
private |
Definition at line 61 of file MuonSeedOrcaPatternRecognition.h.
Referenced by complete().
|
private |
Definition at line 60 of file MuonSeedOrcaPatternRecognition.h.
Referenced by complete().
|
private |
Definition at line 59 of file MuonSeedOrcaPatternRecognition.h.
Referenced by complete().