#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) |
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=0) 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 &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 | |
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... | |
edm::InputTag | theCSCRecSegmentLabel |
the name of the CSC rec hits collection More... | |
edm::InputTag | theDTRecSegmentLabel |
the name of the DT rec hits collection More... | |
Definition at line 9 of file MuonSeedOrcaPatternRecognition.h.
|
explicit |
Definition at line 47 of file MuonSeedOrcaPatternRecognition.cc.
References MuonSeedVPatternRecognition::enableCSCMeasurement, MuonSeedVPatternRecognition::enableDTMeasurement, HLT_25ns14e33_v1_cff::InputTag, edm::InputTag::label(), muonMeasurements, MuonSeedVPatternRecognition::theCSCRecSegmentLabel, and MuonSeedVPatternRecognition::theDTRecSegmentLabel.
|
private |
Definition at line 496 of file MuonSeedOrcaPatternRecognition.cc.
References discriminator().
Referenced by complete().
|
private |
Definition at line 551 of file MuonSeedOrcaPatternRecognition.cc.
Referenced by endcapPatterns(), and produce().
|
private |
Definition at line 459 of file MuonSeedOrcaPatternRecognition.cc.
References bestMatch(), SiPixelRawToDigiRegional_cfi::deltaPhi, PV3DBase< T, PVType, FrameType >::eta(), plotBeamSpotDB::first, TValidTrackingRecHit::globalPosition(), isCrack(), TrackingRecHit::isValid(), markAsUsed(), PV3DBase< T, PVType, FrameType >::phi(), theDeltaCrackWindow, theDeltaEtaWindow, and theDeltaPhiWindow.
Referenced by endcapPatterns(), and produce().
|
private |
Definition at line 743 of file MuonSeedOrcaPatternRecognition.cc.
References makeMuonMisalignmentScenario::components, and prof2calltree::count.
Referenced by filterOverlappingChambers().
|
private |
Definition at line 516 of file MuonSeedOrcaPatternRecognition.cc.
References SiPixelRawToDigiRegional_cfi::deltaPhi, MuonTransientTrackingRecHit::globalDirection(), TValidTrackingRecHit::globalPosition(), MuonTransientTrackingRecHit::isDT(), isME1A(), M_PI, bookConverter::max, nhits, PV3DBase< T, PVType, FrameType >::phi(), GenericTransientTrackingRecHit::recHits(), and PV3DBase< T, PVType, FrameType >::theta().
Referenced by bestMatch().
|
private |
Definition at line 616 of file MuonSeedOrcaPatternRecognition.cc.
References MuonPatternRecoDumper::dumpMuonId(), LogTrace, and metname.
Referenced by endcapPatterns(), and produce().
|
private |
Definition at line 276 of file MuonSeedOrcaPatternRecognition.cc.
References check(), complete(), counter, dumpLayer(), rememberCrackSegments(), and zero().
Referenced by produce().
|
private |
Definition at line 668 of file MuonSeedOrcaPatternRecognition.cc.
References countHits(), SiPixelRawToDigiRegional_cfi::deltaPhi, MuonPatternRecoDumper::dumpMuonId(), PV3DBase< T, PVType, FrameType >::eta(), spr::find(), i, isME1A(), j, LogTrace, metname, PV3DBase< T, PVType, FrameType >::phi(), and query::result.
Referenced by filterSegments().
|
private |
apply some cuts to segments before using them
Definition at line 630 of file MuonSeedOrcaPatternRecognition.cc.
References MuonPatternRecoDumper::dumpMuonId(), filterOverlappingChambers(), LogTrace, metname, and query::result.
Referenced by produce().
|
private |
Definition at line 586 of file MuonSeedOrcaPatternRecognition.cc.
References query::result, theCrackEtas, and theCrackWindow.
Referenced by complete(), and rememberCrackSegments().
|
private |
Definition at line 737 of file MuonSeedOrcaPatternRecognition.cc.
References CSCDetId, and relativeConstraints::ring.
Referenced by discriminator(), and filterOverlappingChambers().
|
private |
Definition at line 557 of file MuonSeedOrcaPatternRecognition.cc.
References i, GeomDetEnumerators::isCSC(), DetId::rawId(), and CSCDetId::ring().
Referenced by complete().
|
virtual |
Implements MuonSeedVPatternRecognition.
Definition at line 62 of file MuonSeedOrcaPatternRecognition.cc.
References cond::ecalcond::all, check(), complete(), filterCSVwithJSON::copy, counter, dumpLayer(), endcapPatterns(), filterSegments(), edm::EventSetup::get(), LogTrace, metname, muonMeasurements, MuonDetLayerMeasurements::recHits(), tmp, and zero().
|
private |
Definition at line 601 of file MuonSeedOrcaPatternRecognition.cc.
References isCrack().
Referenced by endcapPatterns().
|
private |
Definition at line 265 of file MuonSeedOrcaPatternRecognition.cc.
References i, and query::result.
Referenced by endcapPatterns(), and produce().
|
private |
Definition at line 55 of file MuonSeedOrcaPatternRecognition.h.
Referenced by MuonSeedOrcaPatternRecognition(), and produce().
|
private |
Definition at line 53 of file MuonSeedOrcaPatternRecognition.h.
Referenced by isCrack().
|
private |
Definition at line 54 of file MuonSeedOrcaPatternRecognition.h.
Referenced by isCrack().
|
private |
Definition at line 58 of file MuonSeedOrcaPatternRecognition.h.
Referenced by complete().
|
private |
Definition at line 57 of file MuonSeedOrcaPatternRecognition.h.
Referenced by complete().
|
private |
Definition at line 56 of file MuonSeedOrcaPatternRecognition.h.
Referenced by complete().