#include <HitPattern.h>
Public Types | |
enum | { MONO = 1, STEREO = 2 } |
enum | HIT_DETECTOR_TYPE { MUON_HIT = 0, TRACKER_HIT = 1, MTD_HIT = 2 } |
enum | HIT_TYPE { VALID = 0, MISSING = 1, INACTIVE = 2, BAD = 3 } |
enum | HitCategory { TRACK_HITS = 0, MISSING_INNER_HITS = 1, MISSING_OUTER_HITS = 2 } |
Static Public Member Functions | |
static bool | badHitFilter (uint16_t pattern) |
static uint16_t | getBTLModType (uint16_t pattern) |
BTL Module type: 1,2,3. Only valid for BTL patterns of course. More... | |
static uint16_t | getCSCRing (uint16_t pattern) |
CSC ring (1-4). Only valid for muon CSC patterns, of course. More... | |
static uint16_t | getDTSuperLayer (uint16_t pattern) |
DT superlayer (1-3). Where the "hit" was a DT segment, superlayer is 0. Only valid for muon DT patterns, of course. More... | |
static uint16_t | getETLRing (uint16_t pattern) |
ETL Ring: 1-12. Only valid for ETL patterns of course. More... | |
static uint16_t | getGEMLayer (uint16_t pattern) |
GEM layer: 1,2. Only valid for muon GEM patterns, of course. More... | |
static uint16_t | getGEMStation (uint16_t pattern) |
GEM station: 1,2. Only valid for muon GEM patterns, of course. More... | |
static uint32_t | getHitType (uint16_t pattern) |
static uint32_t | getLayer (uint16_t pattern) |
static uint16_t | getMuonStation (uint16_t pattern) |
Muon station (1-4). Only valid for muon patterns, of course. only for patterns from muon, of course. More... | |
static uint16_t | getRPCLayer (uint16_t pattern) |
RPC layer: for station 1 and 2, layer = 1(inner) or 2(outer); for station 3, 4 layer is always 0. Only valid for muon RPC patterns, of course. More... | |
static uint16_t | getRPCregion (uint16_t pattern) |
RPC region: 0 = barrel, 1 = endcap. Only valid for muon RPC patterns, of course. More... | |
static uint32_t | getSide (uint16_t pattern) |
static uint32_t | getSubDetector (uint16_t pattern) |
static uint32_t | getSubStructure (uint16_t pattern) |
static uint32_t | getSubSubStructure (uint16_t pattern) |
static bool | inactiveHitFilter (uint16_t pattern) |
static bool | missingHitFilter (uint16_t pattern) |
static bool | muonCSCHitFilter (uint16_t pattern) |
static bool | muonDTHitFilter (uint16_t pattern) |
static bool | muonGEMHitFilter (uint16_t pattern) |
static bool | muonHitFilter (uint16_t pattern) |
static bool | muonME0HitFilter (uint16_t pattern) |
static bool | muonRPCHitFilter (uint16_t pattern) |
static bool | pixelBarrelHitFilter (uint16_t pattern) |
static bool | pixelEndcapHitFilter (uint16_t pattern) |
static bool | pixelHitFilter (uint16_t pattern) |
static bool | stripHitFilter (uint16_t pattern) |
static bool | stripTECHitFilter (uint16_t pattern) |
static bool | stripTIBHitFilter (uint16_t pattern) |
static bool | stripTIDHitFilter (uint16_t pattern) |
static bool | stripTOBHitFilter (uint16_t pattern) |
static bool | timingBTLHitFilter (uint16_t pattern) |
static bool | timingETLHitFilter (uint16_t pattern) |
static bool | timingHitFilter (uint16_t pattern) |
static bool | trackerHitFilter (uint16_t pattern) |
static bool | validHitFilter (uint16_t pattern) |
Static Public Attributes | |
static const unsigned short | ARRAY_LENGTH = 57 |
static const uint16_t | EMPTY_PATTERN = 0x0 |
static const unsigned short | HIT_LENGTH = 12 |
static const unsigned short | MaxHits = (8 * sizeof(uint16_t) * ARRAY_LENGTH) / HIT_LENGTH |
static const uint32_t | NULL_RETURN = 999999 |
Private Types | |
typedef bool | filterType(uint16_t) |
Private Member Functions | |
template<typename F > | |
void | call (HitCategory category, filterType typeFilter, F f) const |
int | countHits (HitCategory category, filterType filter) const |
int | countTypedHits (HitCategory category, filterType typeFilter, filterType filter) const |
std::pair< uint8_t, uint8_t > | getCategoryIndexRange (HitCategory category) const |
uint16_t | getHitPatternByAbsoluteIndex (int position) const |
bool | insertExpectedInnerHit (const uint16_t pattern) |
bool | insertExpectedOuterHit (const uint16_t pattern) |
void | insertHit (const uint16_t pattern) |
bool | insertTrackHit (const uint16_t pattern) |
friend | int::test::TestHitPattern::test () |
Static Private Member Functions | |
static uint16_t | encode (const TrackingRecHit &hit, const TrackerTopology &ttopo) |
static uint16_t | encode (const DetId &id, TrackingRecHit::Type hitType, const TrackerTopology &ttopo) |
static uint16_t | encode (uint16_t det, uint16_t subdet, uint16_t layer, uint16_t side, TrackingRecHit::Type hitType) |
static uint16_t | isStereo (DetId i, const TrackerTopology &ttopo) |
static bool | stripSubdetectorHitFilter (uint16_t pattern, StripSubdetector::SubDetector substructure) |
Private Attributes | |
uint8_t | beginInner |
uint8_t | beginOuter |
uint8_t | beginTrackHits |
uint8_t | endInner |
uint8_t | endOuter |
uint8_t | endTrackHits |
uint8_t | hitCount |
uint16_t | hitPattern [ARRAY_LENGTH] |
Static Private Attributes | |
static const unsigned short | HitTypeMask = 0x3 |
static const unsigned short | HitTypeOffset = 0 |
static const unsigned short | LayerMask = 0xF |
static const unsigned short | LayerOffset = 3 |
static const unsigned short | maxTrackerWord = (2 << SubDetectorOffset) - 1 |
static const unsigned short | minPixelWord = minTrackerWord | (1<<SubstrOffset) |
static const unsigned short | minStripWord = minTrackerWord | (3<<SubstrOffset) |
static const unsigned short | minTrackerWord = 1 << SubDetectorOffset |
static const unsigned short | SideMask = 0x1 |
static const unsigned short | SideOffset = 2 |
static const unsigned short | SubDetectorMask = 0x3 |
static const unsigned short | SubDetectorOffset = 10 |
static const unsigned short | SubstrMask = 0x7 |
static const unsigned short | SubstrOffset = 7 |
Friends | |
template<int N> | |
struct | PatternSet |
Definition at line 149 of file HitPattern.h.
|
private |
Definition at line 485 of file HitPattern.h.
anonymous enum |
Enumerator | |
---|---|
MONO | |
STEREO |
Definition at line 153 of file HitPattern.h.
Enumerator | |
---|---|
MUON_HIT | |
TRACKER_HIT | |
MTD_HIT |
Definition at line 158 of file HitPattern.h.
Enumerator | |
---|---|
VALID | |
MISSING | |
INACTIVE | |
BAD |
Definition at line 164 of file HitPattern.h.
Enumerator | |
---|---|
TRACK_HITS | |
MISSING_INNER_HITS | |
MISSING_OUTER_HITS |
Definition at line 171 of file HitPattern.h.
HitPattern::HitPattern | ( | ) |
Definition at line 20 of file HitPattern.cc.
References ARRAY_LENGTH, EMPTY_PATTERN, and hitPattern.
HitPattern::~HitPattern | ( | ) |
Definition at line 44 of file HitPattern.cc.
HitPattern::HitPattern | ( | const HitPattern & | other | ) |
bool HitPattern::appendHit | ( | const TrackingRecHit & | hit, |
const TrackerTopology & | ttopo | ||
) |
Definition at line 226 of file HitPattern.cc.
References TrackingRecHit::geographicalId(), and TrackingRecHit::getType().
Referenced by appendHit(), reco::TrackBase::appendHitPattern(), appendMuonHit(), and appendTrackerHit().
bool HitPattern::appendHit | ( | const TrackingRecHitRef & | ref, |
const TrackerTopology & | ttopo | ||
) |
Definition at line 84 of file HitPattern.cc.
References appendHit().
bool HitPattern::appendHit | ( | const DetId & | id, |
TrackingRecHit::Type | hitType, | ||
const TrackerTopology & | ttopo | ||
) |
Definition at line 231 of file HitPattern.cc.
References appendHit(), encode(), hitCount, MaxHits, listBenchmarks::pattern, and UNLIKELY.
bool HitPattern::appendHit | ( | const uint16_t | pattern, |
TrackingRecHit::Type | hitType | ||
) |
Definition at line 243 of file HitPattern.cc.
References TrackingRecHit::bad, beginInner, beginOuter, beginTrackHits, endInner, endOuter, endTrackHits, Exception, hitCount, TrackingRecHit::inactive, TrackingRecHit::inactive_inner, TrackingRecHit::inactive_outer, insertExpectedInnerHit(), insertExpectedOuterHit(), insertTrackHit(), MaxHits, TrackingRecHit::missing, TrackingRecHit::missing_inner, TrackingRecHit::missing_outer, UNLIKELY, and TrackingRecHit::valid.
bool reco::HitPattern::appendHits | ( | const I & | begin, |
const I & | end, | ||
const TrackerTopology & | ttopo | ||
) |
Definition at line 535 of file HitPattern.h.
References end, Exhume::I, and UNLIKELY.
Referenced by reco::TrackBase::appendHits().
bool HitPattern::appendMuonHit | ( | const DetId & | id, |
TrackingRecHit::Type | hitType | ||
) |
This is meant to be used only in cases where the an already-packed hit information is re-interpreted in terms of HitPattern (i.e. the IO rule for reading old versions of HitPattern)
Definition at line 308 of file HitPattern.cc.
References appendHit(), encode(), Exception, hitCount, MaxHits, DetId::Muon, MUON_HIT, and UNLIKELY.
Referenced by reco::TrackBase::appendMuonHitPattern().
bool HitPattern::appendTrackerHit | ( | uint16_t | subdet, |
uint16_t | layer, | ||
uint16_t | stereo, | ||
TrackingRecHit::Type | hitType | ||
) |
This is meant to be used only in cases where the an already-packed hit information is re-interpreted in terms of HitPattern (i.e. MiniAOD PackedCandidate, and the IO rule for reading old versions of HitPattern)
Definition at line 304 of file HitPattern.cc.
References appendHit(), encode(), and TRACKER_HIT.
Referenced by reco::TrackBase::appendTrackerHitPattern().
|
inlinestatic |
Definition at line 862 of file HitPattern.h.
References hcaldqm::constants::BAD.
|
private |
Definition at line 569 of file HitPattern.h.
References f, mps_fire::i, and listBenchmarks::pattern.
Referenced by reco::PatternSet< N >::fill().
void HitPattern::clear | ( | void | ) |
Definition at line 71 of file HitPattern.cc.
References ARRAY_LENGTH, beginInner, beginOuter, beginTrackHits, EMPTY_PATTERN, endInner, endOuter, endTrackHits, hitCount, and hitPattern.
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), reco::TrackBase::resetHitPattern(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), BeautifulSoup.Tag::setString(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
|
inlineprivate |
Definition at line 555 of file HitPattern.h.
References KineDebug3::count(), ALCARECOTkAlBeamHalo_cff::filter, and mps_fire::i.
|
inlineprivate |
Definition at line 581 of file HitPattern.h.
References KineDebug3::count(), ALCARECOTkAlBeamHalo_cff::filter, mps_fire::i, and listBenchmarks::pattern.
|
inline |
Definition at line 1236 of file HitPattern.h.
|
inline |
Definition at line 1231 of file HitPattern.h.
|
inline |
Definition at line 1226 of file HitPattern.h.
|
inline |
Definition at line 1221 of file HitPattern.h.
|
inline |
Definition at line 1216 of file HitPattern.h.
|
inline |
Definition at line 1211 of file HitPattern.h.
|
staticprivate |
Definition at line 89 of file HitPattern.cc.
References funct::abs(), MTDDetId::BTL, MuonSubdetId::CSC, MuonSubdetId::DT, MTDDetId::ETL, Exception, FastTime, DetId::Forward, MuonSubdetId::GEM, TrackingRecHit::geographicalId(), TrackingRecHit::getType(), GEMDetId::layer(), RPCDetId::layer(), MuonSubdetId::ME0, BTLDetId::modType(), MTDDetId::mtdRR(), MTDDetId::mtdSubDetector(), DetId::Muon, RPCDetId::region(), CSCDetId::ring(), ME0DetId::roll(), MuonSubdetId::RPC, DTChamberId::station(), GEMDetId::station(), CSCDetId::station(), RPCDetId::station(), and DTSuperLayerId::superLayer().
Referenced by appendHit(), appendMuonHit(), appendTrackerHit(), and encode().
|
staticprivate |
Definition at line 163 of file HitPattern.cc.
References encode(), FastTime, DetId::Forward, isStereo(), TrackerTopology::layer(), MTD_HIT, DetId::Muon, MUON_HIT, DetId::Tracker, and TRACKER_HIT.
|
staticprivate |
Definition at line 199 of file HitPattern.cc.
References EMPTY_PATTERN, HitTypeMask, HitTypeOffset, TrackingRecHit::inactive, TrackingRecHit::inactive_inner, TrackingRecHit::inactive_outer, LayerMask, LayerOffset, TrackingRecHit::missing, TrackingRecHit::missing_inner, TrackingRecHit::missing_outer, listBenchmarks::pattern, SideMask, SideOffset, SubDetectorMask, SubDetectorOffset, SubstrMask, and SubstrOffset.
|
inline |
Definition at line 1266 of file HitPattern.h.
|
inline |
Definition at line 1261 of file HitPattern.h.
|
inline |
Definition at line 1256 of file HitPattern.h.
|
inlinestatic |
BTL Module type: 1,2,3. Only valid for BTL patterns of course.
MTD.
Definition at line 834 of file HitPattern.h.
|
inlineprivate |
Definition at line 518 of file HitPattern.h.
Referenced by getTrackerLayerCase(), getTrackerMonoStereo(), numberOfValidStripLayersWithMonoAndStereo(), pixelLayersWithMeasurement(), trackerLayersWithMeasurement(), and trackerLayersWithoutMeasurement().
|
inlinestatic |
CSC ring (1-4). Only valid for muon CSC patterns, of course.
Definition at line 803 of file HitPattern.h.
Referenced by printHitPattern().
|
inlinestatic |
DT superlayer (1-3). Where the "hit" was a DT segment, superlayer is 0. Only valid for muon DT patterns, of course.
Definition at line 798 of file HitPattern.h.
Referenced by numberOfDTStationsWithBothViews(), numberOfDTStationsWithRPhiView(), numberOfDTStationsWithRZView(), and printHitPattern().
|
inlinestatic |
ETL Ring: 1-12. Only valid for ETL patterns of course.
Definition at line 838 of file HitPattern.h.
|
inlinestatic |
GEM layer: 1,2. Only valid for muon GEM patterns, of course.
Definition at line 842 of file HitPattern.h.
Referenced by printHitPattern().
|
inlinestatic |
GEM station: 1,2. Only valid for muon GEM patterns, of course.
Definition at line 826 of file HitPattern.h.
Referenced by printHitPattern().
|
inline |
Definition at line 545 of file HitPattern.h.
References UNLIKELY.
Referenced by PFCheckHitPattern::analyze(), GsfElectronAlgo::ElectronData::checkCtfTrack(), pat::SoftMuonMvaEstimator::computeMva(), OniaPhotonConversionProducer::foundCompatibleInnerHits(), GsfElectronCoreBaseProducer::getCtfTrackRef(), PrimaryVertexValidation::hasFirstLayerPixelHits(), SoftPFElectronTagInfoProducer::isElecClean(), PFElecTkProducer::isInnerMost(), CheckHitPattern::operator()(), FWTrackResidualDetailView::prepareData(), CheckHitPattern::print(), PFCheckHitPattern::print(), print(), printHitPattern(), pat::PATPackedCandidateProducer::produce(), FWConvTrackHitsDetailView::setTextInfo(), EgAmbiguityTools::sharedDets(), EgAmbiguityTools::sharedHits(), and QcdUeDQM::trackSelection().
|
private |
Definition at line 322 of file HitPattern.cc.
References EMPTY_PATTERN, HIT_LENGTH, hitCount, hitPattern, and UNLIKELY.
Referenced by getTrackerLayerCase(), getTrackerMonoStereo(), hasValidHitInPixelLayer(), innermostMuonStationWithHits(), muonStations(), numberOfDTStationsWithBothViews(), numberOfDTStationsWithRPhiView(), numberOfDTStationsWithRZView(), numberOfValidStripLayersWithMonoAndStereo(), outermostMuonStationWithHits(), pixelLayersWithMeasurement(), trackerLayersWithMeasurement(), and trackerLayersWithoutMeasurement().
|
inlinestatic |
Definition at line 784 of file HitPattern.h.
References UNLIKELY.
Referenced by innermostMuonStationWithHits(), muonStations(), outermostMuonStationWithHits(), CheckHitPattern::print(), PFCheckHitPattern::print(), and printHitPattern().
|
inlinestatic |
Definition at line 751 of file HitPattern.h.
Referenced by PFCheckHitPattern::analyze(), OniaPhotonConversionProducer::foundCompatibleInnerHits(), PrimaryVertexValidation::hasFirstLayerPixelHits(), hasValidHitInPixelLayer(), PFElecTkProducer::isInnerMost(), numberOfValidStripLayersWithMonoAndStereo(), CheckHitPattern::operator()(), CheckHitPattern::print(), PFCheckHitPattern::print(), printHitPattern(), QcdUeDQM::trackSelection(), and pat::PackedCandidate::unpackTrk().
|
inlinestatic |
Muon station (1-4). Only valid for muon patterns, of course. only for patterns from muon, of course.
Definition at line 793 of file HitPattern.h.
Referenced by pat::SoftMuonMvaEstimator::computeMva(), innermostMuonStationWithHits(), muonStations(), numberOfDTStationsWithBothViews(), numberOfDTStationsWithRPhiView(), numberOfDTStationsWithRZView(), outermostMuonStationWithHits(), and printHitPattern().
|
inlinestatic |
RPC layer: for station 1 and 2, layer = 1(inner) or 2(outer); for station 3, 4 layer is always 0. Only valid for muon RPC patterns, of course.
Definition at line 808 of file HitPattern.h.
References LIKELY.
Referenced by printHitPattern().
|
inlinestatic |
RPC region: 0 = barrel, 1 = endcap. Only valid for muon RPC patterns, of course.
Definition at line 820 of file HitPattern.h.
Referenced by printHitPattern().
|
inlinestatic |
Definition at line 775 of file HitPattern.h.
References UNLIKELY.
Referenced by getTrackerMonoStereo(), and numberOfValidStripLayersWithMonoAndStereo().
|
inlinestatic |
Definition at line 765 of file HitPattern.h.
References UNLIKELY.
|
inlinestatic |
Definition at line 742 of file HitPattern.h.
References UNLIKELY.
Referenced by PFCheckHitPattern::analyze(), OniaPhotonConversionProducer::foundCompatibleInnerHits(), PFElecTkProducer::isInnerMost(), muonStations(), numberOfValidStripLayersWithMonoAndStereo(), CheckHitPattern::operator()(), CheckHitPattern::print(), PFCheckHitPattern::print(), printHitPattern(), and pat::PackedCandidate::unpackTrk().
|
inlinestatic |
Definition at line 756 of file HitPattern.h.
References UNLIKELY.
Referenced by numberOfValidStripLayersWithMonoAndStereo().
uint32_t HitPattern::getTrackerLayerCase | ( | HitCategory | category, |
uint16_t | substr, | ||
uint16_t | layer | ||
) | const |
Definition at line 467 of file HitPattern.cc.
References hcaldqm::constants::BAD, getCategoryIndexRange(), getHitPatternByAbsoluteIndex(), HitTypeMask, HitTypeOffset, mps_fire::i, LayerMask, LayerOffset, RecoTauDiscriminantConfiguration::mask, NULL_RETURN, listBenchmarks::pattern, SubDetectorMask, SubDetectorOffset, SubstrMask, and SubstrOffset.
Referenced by pixelBarrelLayersNull(), pixelBarrelLayersTotallyOffOrBad(), pixelBarrelLayersWithMeasurement(), pixelBarrelLayersWithoutMeasurement(), pixelEndcapLayersNull(), pixelEndcapLayersTotallyOffOrBad(), pixelEndcapLayersWithMeasurement(), pixelEndcapLayersWithoutMeasurement(), stripTECLayersNull(), stripTECLayersTotallyOffOrBad(), stripTECLayersWithMeasurement(), stripTECLayersWithoutMeasurement(), stripTIBLayersNull(), stripTIBLayersTotallyOffOrBad(), stripTIBLayersWithMeasurement(), stripTIBLayersWithoutMeasurement(), stripTIDLayersNull(), stripTIDLayersTotallyOffOrBad(), stripTIDLayersWithMeasurement(), stripTIDLayersWithoutMeasurement(), stripTOBLayersNull(), stripTOBLayersTotallyOffOrBad(), stripTOBLayersWithMeasurement(), and stripTOBLayersWithoutMeasurement().
uint16_t HitPattern::getTrackerMonoStereo | ( | HitCategory | category, |
uint16_t | substr, | ||
uint16_t | layer | ||
) | const |
Definition at line 499 of file HitPattern.cc.
References getCategoryIndexRange(), getHitPatternByAbsoluteIndex(), getSide(), HitTypeMask, HitTypeOffset, mps_fire::i, LayerMask, LayerOffset, RecoTauDiscriminantConfiguration::mask, MONO, listBenchmarks::pattern, STEREO, SubDetectorMask, SubDetectorOffset, SubstrMask, and SubstrOffset.
Referenced by OniaPhotonConversionProducer::foundCompatibleInnerHits().
bool HitPattern::hasValidHitInPixelLayer | ( | enum PixelSubdetector::SubDetector | det, |
uint16_t | layer | ||
) | const |
Definition at line 365 of file HitPattern.cc.
References beginTrackHits, endTrackHits, getHitPatternByAbsoluteIndex(), getLayer(), mps_fire::i, listBenchmarks::pattern, pixelBarrelHitFilter(), pixelEndcapHitFilter(), pixelHitFilter(), and validHitFilter().
Referenced by PackedCandidateTrackValidator::analyze(), TrackClassFilter::operator()(), and pat::PATPackedCandidateProducer::produce().
|
inlinestatic |
Definition at line 857 of file HitPattern.h.
|
inline |
Definition at line 1296 of file HitPattern.h.
|
inline |
Definition at line 1291 of file HitPattern.h.
int HitPattern::innermostMuonStationWithHits | ( | int | hitType | ) | const |
hitType=-1(all), 0=valid, 3=bad; 0 = no stations at all
Definition at line 966 of file HitPattern.cc.
References beginTrackHits, endTrackHits, getHitPatternByAbsoluteIndex(), getHitType(), getMuonStation(), mps_fire::i, muonHitFilter(), listBenchmarks::pattern, and trackingPlots::stat.
|
inline |
Definition at line 1286 of file HitPattern.h.
|
private |
Definition at line 1073 of file HitPattern.cc.
References beginInner, endInner, hitCount, insertHit(), and UNLIKELY.
Referenced by appendHit().
|
private |
Definition at line 1086 of file HitPattern.cc.
References beginOuter, endOuter, hitCount, insertHit(), and UNLIKELY.
Referenced by appendHit().
|
private |
Definition at line 1042 of file HitPattern.cc.
References HIT_LENGTH, hitCount, hitPattern, mps_fire::i, PFRecoTauDiscriminationByIsolation_cfi::offset, and globals_cff::x1.
Referenced by insertExpectedInnerHit(), insertExpectedOuterHit(), and insertTrackHit().
|
private |
Definition at line 1054 of file HitPattern.cc.
References beginTrackHits, endTrackHits, hitCount, insertHit(), and UNLIKELY.
Referenced by appendHit().
|
private |
|
staticprivate |
Definition at line 928 of file HitPattern.cc.
References DetId::det(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, DetId::subdetId(), StripSubdetector::TEC, TrackerTopology::tecIsStereo(), StripSubdetector::TIB, TrackerTopology::tibIsStereo(), StripSubdetector::TID, TrackerTopology::tidIsStereo(), StripSubdetector::TOB, TrackerTopology::tobIsStereo(), and DetId::Tracker.
Referenced by encode().
|
inline |
Definition at line 1281 of file HitPattern.h.
|
inline |
Definition at line 1276 of file HitPattern.h.
|
inline |
Definition at line 1271 of file HitPattern.h.
|
inlinestatic |
Definition at line 852 of file HitPattern.h.
Referenced by PFCheckHitPattern::analyze(), and CheckHitPattern::operator()().
|
inlinestatic |
Definition at line 670 of file HitPattern.h.
References MuonSubdetId::CSC, and UNLIKELY.
Referenced by pat::SoftMuonMvaEstimator::computeMva(), and printHitPattern().
|
inlinestatic |
Definition at line 660 of file HitPattern.h.
References MuonSubdetId::DT, and UNLIKELY.
Referenced by pat::SoftMuonMvaEstimator::computeMva(), numberOfDTStationsWithBothViews(), numberOfDTStationsWithRPhiView(), numberOfDTStationsWithRZView(), and printHitPattern().
|
inlinestatic |
Definition at line 690 of file HitPattern.h.
References MuonSubdetId::GEM, and UNLIKELY.
Referenced by printHitPattern().
|
inlinestatic |
Definition at line 712 of file HitPattern.h.
References UNLIKELY.
Referenced by innermostMuonStationWithHits(), muonStations(), outermostMuonStationWithHits(), and printHitPattern().
|
inlinestatic |
Definition at line 700 of file HitPattern.h.
References MuonSubdetId::ME0, and UNLIKELY.
Referenced by printHitPattern().
|
inlinestatic |
Definition at line 680 of file HitPattern.h.
References MuonSubdetId::RPC, and UNLIKELY.
Referenced by pat::SoftMuonMvaEstimator::computeMva(), and printHitPattern().
int HitPattern::muonStations | ( | int | subdet, |
int | hitType | ||
) | const |
subdet = 0(all), 1(DT), 2(CSC), 3(RPC) 4(GEM); hitType=-1(all), 0=valid, 3=bad
Definition at line 951 of file HitPattern.cc.
References beginTrackHits, endTrackHits, getHitPatternByAbsoluteIndex(), getHitType(), getMuonStation(), getSubStructure(), mps_fire::i, muonHitFilter(), and listBenchmarks::pattern.
|
inline |
Definition at line 1206 of file HitPattern.h.
|
inline |
Definition at line 1201 of file HitPattern.h.
|
inline |
Definition at line 1196 of file HitPattern.h.
|
inline |
Definition at line 867 of file HitPattern.h.
Referenced by dqm::TrackAnalyzer::analyze(), PFCheckHitPattern::analyze(), pat::SoftMuonMvaEstimator::computeMva(), dqm::TrackAnalyzer::fillHistosForState(), OniaPhotonConversionProducer::foundCompatibleInnerHits(), spr::goodTrack(), PrimaryVertexValidation::hasFirstLayerPixelHits(), CheckHitPattern::operator()(), FWTrackResidualDetailView::prepareData(), CheckHitPattern::print(), PFCheckHitPattern::print(), print(), IsolatedTracksCone::printTrack(), IsolatedTracksNxN::printTrack(), FWConvTrackHitsDetailView::setTextInfo(), and QcdUeDQM::trackSelection().
|
inline |
Definition at line 873 of file HitPattern.h.
|
inline |
Definition at line 1076 of file HitPattern.h.
|
inline |
Definition at line 1091 of file HitPattern.h.
|
inline |
Definition at line 1086 of file HitPattern.h.
|
inline |
Definition at line 1101 of file HitPattern.h.
|
inline |
Definition at line 1081 of file HitPattern.h.
|
inline |
Definition at line 1106 of file HitPattern.h.
|
inline |
Definition at line 1096 of file HitPattern.h.
int HitPattern::numberOfDTStationsWithBothViews | ( | ) | const |
Definition at line 1026 of file HitPattern.cc.
References beginTrackHits, endTrackHits, getDTSuperLayer(), getHitPatternByAbsoluteIndex(), getMuonStation(), mps_fire::i, muonDTHitFilter(), listBenchmarks::pattern, and validHitFilter().
int HitPattern::numberOfDTStationsWithRPhiView | ( | ) | const |
Definition at line 999 of file HitPattern.cc.
References beginTrackHits, endTrackHits, getDTSuperLayer(), getHitPatternByAbsoluteIndex(), getMuonStation(), mps_fire::i, muonDTHitFilter(), listBenchmarks::pattern, and validHitFilter().
int HitPattern::numberOfDTStationsWithRZView | ( | ) | const |
Definition at line 1013 of file HitPattern.cc.
References beginTrackHits, endTrackHits, getDTSuperLayer(), getHitPatternByAbsoluteIndex(), getMuonStation(), mps_fire::i, muonDTHitFilter(), listBenchmarks::pattern, and validHitFilter().
|
inline |
Definition at line 1110 of file HitPattern.h.
int reco::HitPattern::numberOfInactiveTimingHits | ( | ) | const |
|
inline |
Definition at line 1115 of file HitPattern.h.
|
inline |
Definition at line 982 of file HitPattern.h.
Referenced by TkConvValidator::analyze(), MuonTrackValidator::analyze(), PackedCandidateTrackValidator::analyze(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), PrimaryVertexValidation::fillTrackHistos(), TrackingNtuple::fillTracks(), ConversionFinder::getConversionInfo(), PFDisplacedVertexHelper::isTrackSelected(), reco::TransientTrack::numberOfLostHits(), reco::TrackBase::numberOfLostHits(), and pat::PATPackedCandidateProducer::produce().
|
inline |
Definition at line 1057 of file HitPattern.h.
Referenced by MuonBadTrackFilter::trackInfo().
|
inline |
Definition at line 1052 of file HitPattern.h.
Referenced by MuonBadTrackFilter::trackInfo().
|
inline |
Definition at line 1067 of file HitPattern.h.
|
inline |
Definition at line 992 of file HitPattern.h.
Referenced by MuonBadTrackFilter::trackInfo().
|
inline |
Definition at line 1072 of file HitPattern.h.
|
inline |
Definition at line 1062 of file HitPattern.h.
Referenced by MuonBadTrackFilter::trackInfo().
|
inline |
Definition at line 1017 of file HitPattern.h.
|
inline |
Definition at line 1022 of file HitPattern.h.
|
inline |
Definition at line 1012 of file HitPattern.h.
|
inline |
Definition at line 1027 of file HitPattern.h.
|
inline |
Definition at line 1047 of file HitPattern.h.
|
inline |
Definition at line 1032 of file HitPattern.h.
|
inline |
Definition at line 1037 of file HitPattern.h.
|
inline |
Definition at line 1042 of file HitPattern.h.
|
inline |
Definition at line 1002 of file HitPattern.h.
|
inline |
Definition at line 1007 of file HitPattern.h.
|
inline |
Definition at line 997 of file HitPattern.h.
|
inline |
Definition at line 987 of file HitPattern.h.
Referenced by TrackingRecoMaterialAnalyser::analyze(), dqm::TrackAnalyzer::analyze(), TrackingNtuple::fillTracks(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), and reco::TrackBase::validFraction().
|
inline |
Definition at line 878 of file HitPattern.h.
|
inline |
Definition at line 883 of file HitPattern.h.
|
inline |
Definition at line 888 of file HitPattern.h.
Referenced by PackedCandidateTrackValidator::analyze(), TrackingNtuple::fillTracks(), reco::tau::RecoTauQualityCuts::filterTrack_(), reco::TransientTrack::numberOfValidHits(), reco::TrackBase::numberOfValidHits(), RecoTrackSelectorBase::operator()(), EleTkIsolFromCands::passTrkSel(), IPProducer< Container, Base, Helper >::produce(), pat::PackedCandidate::setHits(), reco::IPTagInfo< Container, Base >::taggingVariables(), TemplatedInclusiveVertexFinder< InputContainer, VTX >::trackFilter(), reco::TrackSelector::trackSelection(), reco::tau::qcuts::trkTrackerHits(), and QuickTrackAssociatorByHitsImpl::weightedNumberOfTrackClusters().
|
inline |
Definition at line 953 of file HitPattern.h.
Referenced by MuonRecoAnalyzer::analyze(), MuonTrackValidator::analyze(), and MuonBadTrackFilter::trackInfo().
|
inline |
Definition at line 948 of file HitPattern.h.
Referenced by MuonRecoAnalyzer::analyze(), MuonTrackValidator::analyze(), and MuonBadTrackFilter::trackInfo().
|
inline |
Definition at line 963 of file HitPattern.h.
Referenced by MuonTrackValidator::analyze().
|
inline |
Definition at line 898 of file HitPattern.h.
Referenced by MuonRecoAnalyzer::analyze(), HLTMuonL3PreFilter::applySelection(), HLTMuonL3SimplePreFilter::hltFilter(), HLTMuonL2SelectorForL3IO::produce(), BPhysicsOniaDQM::selGlobalMuon(), MuScleFitMuonSelector::selGlobalMuon(), MuScleFit::selGlobalMuon(), and MuonBadTrackFilter::trackInfo().
|
inline |
Definition at line 968 of file HitPattern.h.
Referenced by MuonTrackValidator::analyze().
|
inline |
Definition at line 958 of file HitPattern.h.
Referenced by MuonRecoAnalyzer::analyze(), MuonTrackValidator::analyze(), and MuonBadTrackFilter::trackInfo().
|
inline |
Definition at line 913 of file HitPattern.h.
Referenced by PatTrackAnalyzer::analyze(), PrimaryVertexValidation::analyze(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), dqm::TrackAnalyzer::fillHistosForTrackerSpecific(), HLTTrackWithHits::hltFilter(), PrimaryVertexValidation::pixelHitsCheck(), and HIPAlignmentAlgorithm::run().
|
inline |
Definition at line 918 of file HitPattern.h.
Referenced by PatTrackAnalyzer::analyze(), PrimaryVertexValidation::analyze(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), dqm::TrackAnalyzer::fillHistosForTrackerSpecific(), HLTTrackWithHits::hltFilter(), PrimaryVertexValidation::pixelHitsCheck(), and HIPAlignmentAlgorithm::run().
|
inline |
Definition at line 908 of file HitPattern.h.
Referenced by TrackTypeMonitor::analyze(), StandaloneTrackMonitor::analyze(), MuonRecoAnalyzer::analyze(), BDHadronTrackMonitoringAnalyzer::analyze(), PackedCandidateTrackValidator::analyze(), IPTagPlotter< Container, Base >::analyzeTag(), PFRecoTauDiscriminationByHPSSelection::discriminate(), TrackingNtuple::fillTracks(), ZtoMMEventSelector::filter(), ZtoEEEventSelector::filter(), WtoLNuSelector::filter(), reco::tau::RecoTauQualityCuts::filterTrack_(), HLTTrackWithHits::hltFilter(), TrackClassFilter::operator()(), CheckHitPattern::operator()(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), RecoTrackSelectorBase::operator()(), pat::PATLostTracks::passTrkCuts(), EleTkIsolFromCands::passTrkSel(), TrackListMerger::produce(), pat::PATPackedCandidateProducer::produce(), IPProducer< Container, Base, Helper >::produce(), pat::PackedCandidate::setHits(), reco::IPTagInfo< Container, Base >::taggingVariables(), TrackWithVertexSelector::testTrack(), TrackVertexArbitration< VTX >::trackFilterArbitrator(), MuonBadTrackFilter::trackInfo(), reco::TrackSelector::trackSelection(), reco::tau::qcuts::trkPixelHits(), and QuickTrackAssociatorByHitsImpl::weightedNumberOfTrackClusters().
|
inline |
Definition at line 923 of file HitPattern.h.
Referenced by TrackTypeMonitor::analyze(), StandaloneTrackMonitor::analyze(), BDHadronTrackMonitoringAnalyzer::analyze(), PackedCandidateTrackValidator::analyze(), TrackingNtuple::fillTracks(), ZtoMMEventSelector::filter(), ZtoEEEventSelector::filter(), and WtoLNuSelector::filter().
int HitPattern::numberOfValidStripLayersWithMonoAndStereo | ( | uint16_t | stripdet, |
uint16_t | layer | ||
) | const |
Definition at line 379 of file HitPattern.cc.
References beginTrackHits, KineDebug3::count(), endTrackHits, getHitPatternByAbsoluteIndex(), getLayer(), getSide(), getSubStructure(), getSubSubStructure(), mps_fire::i, LayerMask, listBenchmarks::pattern, stripHitFilter(), SubstrMask, and validHitFilter().
Referenced by dqm::TrackAnalyzer::analyze(), MTVHistoProducerAlgoForTracker::fill_generic_recoTrack_histos(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), TrackingNtuple::fillTracks(), RecoTrackSelectorBase::operator()(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), CosmicTrackSelector::select(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), and QcdUeDQM::trackSelection().
int HitPattern::numberOfValidStripLayersWithMonoAndStereo | ( | ) | const |
Definition at line 426 of file HitPattern.cc.
References taus_updatedMVAIds_cff::category, getCategoryIndexRange(), getHitPatternByAbsoluteIndex(), getSide(), HitTypeMask, HitTypeOffset, mps_fire::i, LayerOffset, maxTrackerWord, minStripWord, minTrackerWord, listBenchmarks::pattern, and TRACK_HITS.
Referenced by numberOfValidTECLayersWithMonoAndStereo(), numberOfValidTIBLayersWithMonoAndStereo(), numberOfValidTIDLayersWithMonoAndStereo(), and numberOfValidTOBLayersWithMonoAndStereo().
|
inline |
Definition at line 943 of file HitPattern.h.
Referenced by PatTrackAnalyzer::analyze(), PrimaryVertexValidation::analyze(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), dqm::TrackAnalyzer::fillHistosForTrackerSpecific(), and HIPAlignmentAlgorithm::run().
|
inline |
Definition at line 928 of file HitPattern.h.
Referenced by PatTrackAnalyzer::analyze(), PrimaryVertexValidation::analyze(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), dqm::TrackAnalyzer::fillHistosForTrackerSpecific(), CheckHitPattern::operator()(), and HIPAlignmentAlgorithm::run().
|
inline |
Definition at line 933 of file HitPattern.h.
Referenced by PatTrackAnalyzer::analyze(), PrimaryVertexValidation::analyze(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), dqm::TrackAnalyzer::fillHistosForTrackerSpecific(), and HIPAlignmentAlgorithm::run().
|
inline |
Definition at line 938 of file HitPattern.h.
Referenced by PatTrackAnalyzer::analyze(), PrimaryVertexValidation::analyze(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), dqm::TrackAnalyzer::fillHistosForTrackerSpecific(), CheckHitPattern::operator()(), and HIPAlignmentAlgorithm::run().
int HitPattern::numberOfValidTECLayersWithMonoAndStereo | ( | uint32_t | layer = 0 | ) | const |
Definition at line 462 of file HitPattern.cc.
References numberOfValidStripLayersWithMonoAndStereo(), and StripSubdetector::TEC.
int HitPattern::numberOfValidTIBLayersWithMonoAndStereo | ( | uint32_t | layer = 0 | ) | const |
Definition at line 452 of file HitPattern.cc.
References numberOfValidStripLayersWithMonoAndStereo(), and StripSubdetector::TIB.
int HitPattern::numberOfValidTIDLayersWithMonoAndStereo | ( | uint32_t | layer = 0 | ) | const |
Definition at line 457 of file HitPattern.cc.
References numberOfValidStripLayersWithMonoAndStereo(), and StripSubdetector::TID.
|
inline |
Definition at line 972 of file HitPattern.h.
|
inline |
Definition at line 977 of file HitPattern.h.
|
inline |
Definition at line 903 of file HitPattern.h.
int HitPattern::numberOfValidTOBLayersWithMonoAndStereo | ( | uint32_t | layer = 0 | ) | const |
Definition at line 447 of file HitPattern.cc.
References numberOfValidStripLayersWithMonoAndStereo(), and StripSubdetector::TOB.
|
inline |
Definition at line 893 of file HitPattern.h.
Referenced by StandaloneTrackMonitor::analyze(), MuonRecoAnalyzer::analyze(), CSCSkim::doBFieldStudySelection(), PFMuonAlgo::isTrackerTightMuon(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), PFMuonAlgo::printMuonProperties(), SiStripMonitorTrack::trackFilter(), MuonBadTrackFilter::trackInfo(), and reco::TrackBase::validFraction().
HitPattern & HitPattern::operator= | ( | const HitPattern & | other | ) |
Definition at line 49 of file HitPattern.cc.
References ARRAY_LENGTH, beginInner, beginOuter, beginTrackHits, endInner, endOuter, endTrackHits, hitCount, and hitPattern.
|
inline |
Definition at line 1311 of file HitPattern.h.
|
inline |
Definition at line 1306 of file HitPattern.h.
int HitPattern::outermostMuonStationWithHits | ( | int | hitType | ) | const |
hitType=-1(all), 0=valid, 3=bad; 0 = no stations at all
Definition at line 983 of file HitPattern.cc.
References beginTrackHits, endTrackHits, getHitPatternByAbsoluteIndex(), getHitType(), getMuonStation(), mps_fire::i, muonHitFilter(), listBenchmarks::pattern, and trackingPlots::stat.
|
inline |
Definition at line 1301 of file HitPattern.h.
|
inlinestatic |
Definition at line 605 of file HitPattern.h.
References PixelSubdetector::PixelBarrel, and UNLIKELY.
Referenced by PrimaryVertexValidation::hasFirstLayerPixelHits(), and hasValidHitInPixelLayer().
int HitPattern::pixelBarrelLayersNull | ( | ) | const |
Definition at line 803 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), NULL_RETURN, PixelSubdetector::PixelBarrel, and TRACK_HITS.
int HitPattern::pixelBarrelLayersTotallyOffOrBad | ( | HitCategory | category = TRACK_HITS | ) | const |
Definition at line 734 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), and PixelSubdetector::PixelBarrel.
int HitPattern::pixelBarrelLayersWithMeasurement | ( | ) | const |
Definition at line 597 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), PixelSubdetector::PixelBarrel, and TRACK_HITS.
Referenced by dqm::TrackAnalyzer::fillHistosForTrackerSpecific(), PrimaryVertexValidation::fillTrackHistos(), IsolatedTracksNxN::printTrack(), and BeamFitter::readEvent().
int HitPattern::pixelBarrelLayersWithoutMeasurement | ( | HitCategory | category | ) | const |
Definition at line 665 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), and PixelSubdetector::PixelBarrel.
|
inlinestatic |
Definition at line 615 of file HitPattern.h.
References PixelSubdetector::PixelEndcap, and UNLIKELY.
Referenced by PrimaryVertexValidation::hasFirstLayerPixelHits(), and hasValidHitInPixelLayer().
int HitPattern::pixelEndcapLayersNull | ( | ) | const |
Definition at line 815 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), NULL_RETURN, PixelSubdetector::PixelEndcap, and TRACK_HITS.
int HitPattern::pixelEndcapLayersTotallyOffOrBad | ( | HitCategory | category = TRACK_HITS | ) | const |
Definition at line 746 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), and PixelSubdetector::PixelEndcap.
int HitPattern::pixelEndcapLayersWithMeasurement | ( | ) | const |
Definition at line 609 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), PixelSubdetector::PixelEndcap, and TRACK_HITS.
Referenced by dqm::TrackAnalyzer::fillHistosForTrackerSpecific(), IsolatedTracksNxN::printTrack(), and BeamFitter::readEvent().
int HitPattern::pixelEndcapLayersWithoutMeasurement | ( | HitCategory | category | ) | const |
Definition at line 677 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), and PixelSubdetector::PixelEndcap.
|
inlinestatic |
Definition at line 594 of file HitPattern.h.
References PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, and UNLIKELY.
Referenced by GsfElectronCoreBaseProducer::getCtfTrackRef(), hasValidHitInPixelLayer(), FWConvTrackHitsDetailView::setTextInfo(), QcdUeDQM::trackSelection(), and pat::PackedCandidate::unpackTrk().
|
inline |
Definition at line 1182 of file HitPattern.h.
|
inline |
Definition at line 1162 of file HitPattern.h.
int HitPattern::pixelLayersWithMeasurement | ( | ) | const |
Definition at line 538 of file HitPattern.cc.
References taus_updatedMVAIds_cff::category, getCategoryIndexRange(), getHitPatternByAbsoluteIndex(), HitTypeMask, HitTypeOffset, mps_fire::i, LayerOffset, minStripWord, minTrackerWord, listBenchmarks::pattern, TRACK_HITS, trackerHitFilter(), and UNLIKELY.
Referenced by StandaloneTrackMonitor::analyze(), dqm::TrackAnalyzer::analyze(), MuonTrackValidator::analyze(), PackedCandidateTrackValidator::analyze(), MTVHistoProducerAlgoForTracker::fill_generic_recoTrack_histos(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), PrimaryVertexValidation::fillTrackHistos(), TrackingNtuple::fillTracks(), TrackFilterForPVFinding::operator()(), GhostTrackComputer::operator()(), RecoTrackSelectorBase::operator()(), IsolatedTracksNxN::printTrack(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), BeamFitter::readEvent(), CosmicTrackSelector::select(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), BPhysicsOniaDQM::selGlobalMuon(), MuScleFitMuonSelector::selGlobalMuon(), MuScleFit::selGlobalMuon(), BPhysicsOniaDQM::selTrackerMuon(), MuScleFitMuonSelector::selTrackerMuon(), MuScleFit::selTrackerMuon(), pat::PackedCandidate::setHits(), and QcdUeDQM::trackSelection().
|
inline |
Definition at line 1125 of file HitPattern.h.
|
inline |
Definition at line 1142 of file HitPattern.h.
void HitPattern::print | ( | HitCategory | category, |
std::ostream & | stream = std::cout |
||
) | const |
Definition at line 911 of file HitPattern.cc.
References flags, getHitPattern(), mps_fire::i, numberOfAllHits(), and printHitPattern().
void HitPattern::printHitPattern | ( | HitCategory | category, |
int | position, | ||
std::ostream & | stream | ||
) | const |
Definition at line 871 of file HitPattern.cc.
References getCSCRing(), getDTSuperLayer(), getGEMLayer(), getGEMStation(), getHitPattern(), getHitType(), getLayer(), getMuonStation(), getRPCLayer(), getRPCregion(), getSubStructure(), muonCSCHitFilter(), muonDTHitFilter(), muonGEMHitFilter(), muonHitFilter(), muonME0HitFilter(), muonRPCHitFilter(), listBenchmarks::pattern, timingHitFilter(), and trackerHitFilter().
Referenced by spr::goodTrack(), print(), IsolatedTracksCone::printTrack(), and IsolatedTracksNxN::printTrack().
|
inline |
Definition at line 1251 of file HitPattern.h.
|
inline |
Definition at line 1246 of file HitPattern.h.
|
inline |
Definition at line 1241 of file HitPattern.h.
|
inlinestatic |
Definition at line 625 of file HitPattern.h.
Referenced by numberOfValidStripLayersWithMonoAndStereo(), FWConvTrackHitsDetailView::setTextInfo(), and pat::PackedCandidate::unpackTrk().
|
inline |
Definition at line 1188 of file HitPattern.h.
|
inline |
Definition at line 1168 of file HitPattern.h.
|
inline |
Definition at line 1130 of file HitPattern.h.
Referenced by StandaloneTrackMonitor::analyze(), PackedCandidateTrackValidator::analyze(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), TrackingNtuple::fillTracks(), IsolatedTracksNxN::printTrack(), BeamFitter::readEvent(), and pat::PackedCandidate::setHits().
|
inline |
Definition at line 1148 of file HitPattern.h.
|
inlinestaticprivate |
Definition at line 631 of file HitPattern.h.
References UNLIKELY.
|
inlinestatic |
Definition at line 655 of file HitPattern.h.
References StripSubdetector::TEC.
int HitPattern::stripTECLayersNull | ( | ) | const |
Definition at line 860 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), NULL_RETURN, StripSubdetector::TEC, and TRACK_HITS.
int HitPattern::stripTECLayersTotallyOffOrBad | ( | HitCategory | category = TRACK_HITS | ) | const |
Definition at line 792 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), and StripSubdetector::TEC.
int HitPattern::stripTECLayersWithMeasurement | ( | ) | const |
Definition at line 654 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), StripSubdetector::TEC, and TRACK_HITS.
Referenced by IsolatedTracksNxN::analyze(), dqm::TrackAnalyzer::fillHistosForTrackerSpecific(), spr::goodTrack(), IsolatedTracksNxN::printTrack(), and BeamFitter::readEvent().
int HitPattern::stripTECLayersWithoutMeasurement | ( | HitCategory | category | ) | const |
Definition at line 722 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), and StripSubdetector::TEC.
Referenced by IsolatedTracksNxN::analyze().
|
inlinestatic |
Definition at line 640 of file HitPattern.h.
References StripSubdetector::TIB.
Referenced by GsfElectronCoreBaseProducer::getCtfTrackRef().
int HitPattern::stripTIBLayersNull | ( | ) | const |
Definition at line 827 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), NULL_RETURN, StripSubdetector::TIB, and TRACK_HITS.
int HitPattern::stripTIBLayersTotallyOffOrBad | ( | HitCategory | category = TRACK_HITS | ) | const |
Definition at line 758 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), and StripSubdetector::TIB.
int HitPattern::stripTIBLayersWithMeasurement | ( | ) | const |
Definition at line 621 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), StripSubdetector::TIB, and TRACK_HITS.
Referenced by IsolatedTracksNxN::analyze(), dqm::TrackAnalyzer::fillHistosForTrackerSpecific(), IsolatedTracksNxN::printTrack(), and BeamFitter::readEvent().
int HitPattern::stripTIBLayersWithoutMeasurement | ( | HitCategory | category | ) | const |
Definition at line 689 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), and StripSubdetector::TIB.
Referenced by IsolatedTracksNxN::analyze().
|
inlinestatic |
Definition at line 645 of file HitPattern.h.
References StripSubdetector::TID.
Referenced by GsfElectronCoreBaseProducer::getCtfTrackRef().
int HitPattern::stripTIDLayersNull | ( | ) | const |
Definition at line 838 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), NULL_RETURN, StripSubdetector::TID, and TRACK_HITS.
int HitPattern::stripTIDLayersTotallyOffOrBad | ( | HitCategory | category = TRACK_HITS | ) | const |
Definition at line 769 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), and StripSubdetector::TID.
int HitPattern::stripTIDLayersWithMeasurement | ( | ) | const |
Definition at line 632 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), StripSubdetector::TID, and TRACK_HITS.
Referenced by IsolatedTracksNxN::analyze(), dqm::TrackAnalyzer::fillHistosForTrackerSpecific(), IsolatedTracksNxN::printTrack(), and BeamFitter::readEvent().
int HitPattern::stripTIDLayersWithoutMeasurement | ( | HitCategory | category | ) | const |
Definition at line 700 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), and StripSubdetector::TID.
Referenced by IsolatedTracksNxN::analyze().
|
inlinestatic |
Definition at line 650 of file HitPattern.h.
References StripSubdetector::TOB.
int HitPattern::stripTOBLayersNull | ( | ) | const |
Definition at line 849 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), NULL_RETURN, StripSubdetector::TOB, and TRACK_HITS.
int HitPattern::stripTOBLayersTotallyOffOrBad | ( | HitCategory | category = TRACK_HITS | ) | const |
Definition at line 780 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), and StripSubdetector::TOB.
int HitPattern::stripTOBLayersWithMeasurement | ( | ) | const |
Definition at line 643 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), StripSubdetector::TOB, and TRACK_HITS.
Referenced by IsolatedTracksNxN::analyze(), dqm::TrackAnalyzer::fillHistosForTrackerSpecific(), spr::goodTrack(), IsolatedTracksNxN::printTrack(), and BeamFitter::readEvent().
int HitPattern::stripTOBLayersWithoutMeasurement | ( | HitCategory | category | ) | const |
Definition at line 711 of file HitPattern.cc.
References KineDebug3::count(), getTrackerLayerCase(), and StripSubdetector::TOB.
Referenced by IsolatedTracksNxN::analyze().
|
inlinestatic |
Definition at line 721 of file HitPattern.h.
References MTDDetId::BTL, and UNLIKELY.
|
inlinestatic |
Definition at line 727 of file HitPattern.h.
References MTDDetId::ETL, and UNLIKELY.
|
inlinestatic |
Definition at line 733 of file HitPattern.h.
References UNLIKELY.
Referenced by printHitPattern().
|
inlinestatic |
Definition at line 707 of file HitPattern.h.
Referenced by PFCheckHitPattern::analyze(), OniaPhotonConversionProducer::foundCompatibleInnerHits(), CheckHitPattern::operator()(), pixelLayersWithMeasurement(), CheckHitPattern::print(), PFCheckHitPattern::print(), printHitPattern(), trackerLayersWithMeasurement(), and trackerLayersWithoutMeasurement().
|
inline |
Definition at line 1176 of file HitPattern.h.
|
inline |
Definition at line 1156 of file HitPattern.h.
Referenced by dqm::TrackAnalyzer::analyze(), and TrackingNtuple::fillTracks().
int HitPattern::trackerLayersWithMeasurement | ( | ) | const |
Definition at line 557 of file HitPattern.cc.
References taus_updatedMVAIds_cff::category, getCategoryIndexRange(), getHitPatternByAbsoluteIndex(), HitTypeMask, HitTypeOffset, mps_fire::i, LayerOffset, minTrackerWord, listBenchmarks::pattern, TRACK_HITS, trackerHitFilter(), and UNLIKELY.
Referenced by StandaloneTrackMonitor::analyze(), dqm::TrackAnalyzer::analyze(), MuonRecoAnalyzer::analyze(), IsolatedTracksCone::analyze(), MuonTrackValidator::analyze(), IsolatedTracksNxN::analyze(), PackedCandidateTrackValidator::analyze(), spr::coneChargeIsolation(), MTVHistoProducerAlgoForTracker::fill_generic_recoTrack_histos(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), dqm::TrackAnalyzer::fillHistosForState(), PrimaryVertexValidation::fillTrackHistos(), spr::goodTrack(), cms::MuonTCMETValueMapProducer::nLayers(), TrackFilterForPVFinding::operator()(), GhostTrackComputer::operator()(), RecoTrackSelectorBase::operator()(), IsolatedTracksNxN::printTrack(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), FastTrackerRecHitMaskProducer::produce(), BeamFitter::readEvent(), CosmicTrackSelector::select(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), TrackVertexArbitration< VTX >::trackFilterArbitrator(), and QcdUeDQM::trackSelection().
|
inline |
Definition at line 1120 of file HitPattern.h.
int HitPattern::trackerLayersWithoutMeasurement | ( | HitCategory | category | ) | const |
Definition at line 574 of file HitPattern.cc.
References getCategoryIndexRange(), getHitPatternByAbsoluteIndex(), HitTypeMask, HitTypeOffset, mps_fire::i, LayerOffset, minTrackerWord, listBenchmarks::pattern, trackerHitFilter(), and UNLIKELY.
Referenced by dqm::TrackAnalyzer::analyze(), TrackingNtuple::fillTracks(), spr::goodTrack(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), CosmicTrackSelector::select(), MultiTrackSelector::select(), and HIMultiTrackSelector::select().
|
inline |
Definition at line 1136 of file HitPattern.h.
|
inlinestatic |
Definition at line 847 of file HitPattern.h.
Referenced by PFCheckHitPattern::analyze(), pat::SoftMuonMvaEstimator::computeMva(), OniaPhotonConversionProducer::foundCompatibleInnerHits(), PrimaryVertexValidation::hasFirstLayerPixelHits(), hasValidHitInPixelLayer(), numberOfDTStationsWithBothViews(), numberOfDTStationsWithRPhiView(), numberOfDTStationsWithRZView(), numberOfValidStripLayersWithMonoAndStereo(), CheckHitPattern::operator()(), FWConvTrackHitsDetailView::setTextInfo(), and QcdUeDQM::trackSelection().
|
friend |
Definition at line 515 of file HitPattern.h.
|
static |
Definition at line 176 of file HitPattern.h.
Referenced by clear(), HitPattern(), and operator=().
|
private |
Definition at line 507 of file HitPattern.h.
Referenced by appendHit(), clear(), insertExpectedInnerHit(), and operator=().
|
private |
Definition at line 509 of file HitPattern.h.
Referenced by appendHit(), clear(), insertExpectedOuterHit(), and operator=().
|
private |
Definition at line 505 of file HitPattern.h.
Referenced by appendHit(), clear(), hasValidHitInPixelLayer(), innermostMuonStationWithHits(), insertTrackHit(), muonStations(), numberOfDTStationsWithBothViews(), numberOfDTStationsWithRPhiView(), numberOfDTStationsWithRZView(), numberOfValidStripLayersWithMonoAndStereo(), operator=(), and outermostMuonStationWithHits().
|
static |
Definition at line 181 of file HitPattern.h.
Referenced by clear(), encode(), getHitPatternByAbsoluteIndex(), and HitPattern().
|
private |
Definition at line 508 of file HitPattern.h.
Referenced by appendHit(), clear(), insertExpectedInnerHit(), and operator=().
|
private |
Definition at line 510 of file HitPattern.h.
Referenced by appendHit(), clear(), insertExpectedOuterHit(), and operator=().
|
private |
Definition at line 506 of file HitPattern.h.
Referenced by appendHit(), clear(), hasValidHitInPixelLayer(), innermostMuonStationWithHits(), insertTrackHit(), muonStations(), numberOfDTStationsWithBothViews(), numberOfDTStationsWithRPhiView(), numberOfDTStationsWithRZView(), numberOfValidStripLayersWithMonoAndStereo(), operator=(), and outermostMuonStationWithHits().
|
static |
Definition at line 177 of file HitPattern.h.
Referenced by getHitPatternByAbsoluteIndex(), and insertHit().
|
private |
Definition at line 503 of file HitPattern.h.
Referenced by appendHit(), appendMuonHit(), clear(), getHitPatternByAbsoluteIndex(), insertExpectedInnerHit(), insertExpectedOuterHit(), insertHit(), insertTrackHit(), and operator=().
|
private |
Definition at line 502 of file HitPattern.h.
Referenced by GsfElectronAlgo::ElectronData::checkCtfTrack(), clear(), GsfElectronCoreBaseProducer::getCtfTrackRef(), getHitPatternByAbsoluteIndex(), HitPattern(), insertHit(), and operator=().
|
staticprivate |
Definition at line 452 of file HitPattern.h.
Referenced by encode(), getTrackerLayerCase(), getTrackerMonoStereo(), numberOfValidStripLayersWithMonoAndStereo(), pixelLayersWithMeasurement(), trackerLayersWithMeasurement(), and trackerLayersWithoutMeasurement().
|
staticprivate |
Definition at line 451 of file HitPattern.h.
Referenced by encode(), getTrackerLayerCase(), getTrackerMonoStereo(), numberOfValidStripLayersWithMonoAndStereo(), pixelLayersWithMeasurement(), trackerLayersWithMeasurement(), and trackerLayersWithoutMeasurement().
|
staticprivate |
Definition at line 460 of file HitPattern.h.
Referenced by encode(), getTrackerLayerCase(), getTrackerMonoStereo(), and numberOfValidStripLayersWithMonoAndStereo().
|
staticprivate |
Definition at line 459 of file HitPattern.h.
Referenced by encode(), getTrackerLayerCase(), getTrackerMonoStereo(), numberOfValidStripLayersWithMonoAndStereo(), pixelLayersWithMeasurement(), trackerLayersWithMeasurement(), and trackerLayersWithoutMeasurement().
|
static |
Definition at line 178 of file HitPattern.h.
Referenced by appendHit(), and appendMuonHit().
|
staticprivate |
Definition at line 471 of file HitPattern.h.
Referenced by numberOfValidStripLayersWithMonoAndStereo().
|
staticprivate |
Definition at line 472 of file HitPattern.h.
|
staticprivate |
Definition at line 473 of file HitPattern.h.
Referenced by numberOfValidStripLayersWithMonoAndStereo(), and pixelLayersWithMeasurement().
|
staticprivate |
Definition at line 470 of file HitPattern.h.
Referenced by numberOfValidStripLayersWithMonoAndStereo(), pixelLayersWithMeasurement(), trackerLayersWithMeasurement(), and trackerLayersWithoutMeasurement().
|
static |
Definition at line 180 of file HitPattern.h.
Referenced by getTrackerLayerCase(), pixelBarrelLayersNull(), pixelEndcapLayersNull(), stripTECLayersNull(), stripTIBLayersNull(), stripTIDLayersNull(), and stripTOBLayersNull().
|
staticprivate |
Definition at line 456 of file HitPattern.h.
Referenced by encode().
|
staticprivate |
Definition at line 455 of file HitPattern.h.
Referenced by encode().
|
staticprivate |
Definition at line 468 of file HitPattern.h.
Referenced by encode(), getTrackerLayerCase(), and getTrackerMonoStereo().
|
staticprivate |
Definition at line 467 of file HitPattern.h.
Referenced by encode(), getTrackerLayerCase(), and getTrackerMonoStereo().
|
staticprivate |
Definition at line 464 of file HitPattern.h.
Referenced by encode(), getTrackerLayerCase(), getTrackerMonoStereo(), and numberOfValidStripLayersWithMonoAndStereo().
|
staticprivate |
Definition at line 463 of file HitPattern.h.
Referenced by encode(), getTrackerLayerCase(), and getTrackerMonoStereo().