#include <HitPattern.h>
Public Types | |
enum | { MONO = 1, STEREO = 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 | 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 | 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 | 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 | trackerHitFilter (uint16_t pattern) |
static bool | validHitFilter (uint16_t pattern) |
Static Public Attributes | |
static const unsigned short | ARRAY_LENGTH = 50 |
static const uint16_t | EMPTY_PATTERN = 0x0 |
static const unsigned short | HIT_LENGTH = 11 |
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 | |
bool | appendHit (const uint16_t pattern, TrackingRecHit::Type hitType) |
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) |
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 | 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 = 0x1 |
static const unsigned short | SubDetectorOffset = 10 |
static const unsigned short | SubstrMask = 0x7 |
static const unsigned short | SubstrOffset = 7 |
Friends | |
template<int N> | |
struct | PatternSet |
int | test::TestHitPattern::test () |
Definition at line 144 of file HitPattern.h.
|
private |
Definition at line 441 of file HitPattern.h.
anonymous enum |
Enumerator | |
---|---|
MONO | |
STEREO |
Definition at line 148 of file HitPattern.h.
Enumerator | |
---|---|
VALID | |
MISSING | |
INACTIVE | |
BAD |
Definition at line 153 of file HitPattern.h.
Enumerator | |
---|---|
TRACK_HITS | |
MISSING_INNER_HITS | |
MISSING_OUTER_HITS |
Definition at line 160 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 178 of file HitPattern.cc.
References TrackingRecHit::geographicalId(), and TrackingRecHit::getType().
Referenced by FixTrackHitPattern::analyze(), appendHit(), reco::TrackBase::appendHitPattern(), appendHits(), 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 183 of file HitPattern.cc.
References appendHit(), encode(), hitCount, MaxHits, chain::pattern, and unlikely.
|
private |
Definition at line 195 of file HitPattern.cc.
References TrackingRecHit::bad, beginInner, beginOuter, beginTrackHits, endInner, endOuter, endTrackHits, Exception, hitCount, TrackingRecHit::inactive, 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 492 of file HitPattern.h.
References appendHit(), 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 258 of file HitPattern.cc.
References appendHit(), encode(), Exception, hitCount, MaxHits, DetId::Muon, 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 254 of file HitPattern.cc.
References appendHit(), encode(), and DetId::Tracker.
Referenced by reco::TrackBase::appendTrackerHitPattern().
|
inlinestatic |
Definition at line 780 of file HitPattern.h.
References BAD, and getHitType().
Referenced by numberOfBadHits().
|
private |
Definition at line 526 of file HitPattern.h.
References f, getCategoryIndexRange(), getHitPatternByAbsoluteIndex(), i, and chain::pattern.
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 512 of file HitPattern.h.
References prof2calltree::count, alcazmumu_cfi::filter, getCategoryIndexRange(), getHitPatternByAbsoluteIndex(), and i.
Referenced by numberOfBadHits(), numberOfInactiveHits(), numberOfLostHits(), numberOfMuonHits(), numberOfTrackerHits(), and numberOfValidHits().
|
inlineprivate |
Definition at line 538 of file HitPattern.h.
References prof2calltree::count, alcazmumu_cfi::filter, getCategoryIndexRange(), getHitPatternByAbsoluteIndex(), i, and chain::pattern.
Referenced by numberOfBadMuonCSCHits(), numberOfBadMuonDTHits(), numberOfBadMuonGEMHits(), numberOfBadMuonHits(), numberOfBadMuonRPCHits(), numberOfInactiveTrackerHits(), numberOfLostMuonCSCHits(), numberOfLostMuonDTHits(), numberOfLostMuonGEMHits(), numberOfLostMuonHits(), numberOfLostMuonRPCHits(), numberOfLostPixelBarrelHits(), numberOfLostPixelEndcapHits(), numberOfLostPixelHits(), numberOfLostStripHits(), numberOfLostStripTECHits(), numberOfLostStripTIBHits(), numberOfLostStripTIDHits(), numberOfLostStripTOBHits(), numberOfLostTrackerHits(), numberOfValidMuonCSCHits(), numberOfValidMuonDTHits(), numberOfValidMuonGEMHits(), numberOfValidMuonHits(), numberOfValidMuonRPCHits(), numberOfValidPixelBarrelHits(), numberOfValidPixelEndcapHits(), numberOfValidPixelHits(), numberOfValidStripHits(), numberOfValidStripTECHits(), numberOfValidStripTIBHits(), numberOfValidStripTIDHits(), numberOfValidStripTOBHits(), and numberOfValidTrackerHits().
|
inline |
Definition at line 1107 of file HitPattern.h.
References muonStations().
|
inline |
Definition at line 1102 of file HitPattern.h.
References muonStations().
|
inline |
Definition at line 1097 of file HitPattern.h.
References muonStations().
|
inline |
Definition at line 1092 of file HitPattern.h.
References muonStations().
|
inline |
Definition at line 1087 of file HitPattern.h.
References muonStations().
|
inline |
Definition at line 1082 of file HitPattern.h.
References muonStations().
|
staticprivate |
Definition at line 89 of file HitPattern.cc.
References TrackingRecHit::geographicalId(), and TrackingRecHit::getType().
Referenced by appendHit(), appendMuonHit(), appendTrackerHit(), and encode().
|
staticprivate |
Definition at line 131 of file HitPattern.cc.
References encode(), isStereo(), TrackerTopology::layer(), DetId::Muon, and DetId::Tracker.
|
staticprivate |
Definition at line 155 of file HitPattern.cc.
References EMPTY_PATTERN, HitTypeMask, HitTypeOffset, LayerMask, LayerOffset, TrackingRecHit::missing, TrackingRecHit::missing_inner, TrackingRecHit::missing_outer, chain::pattern, SideMask, SideOffset, SubDetectorMask, SubDetectorOffset, SubstrMask, and SubstrOffset.
|
inline |
Definition at line 1137 of file HitPattern.h.
References muonStations().
|
inline |
Definition at line 1132 of file HitPattern.h.
References muonStations().
|
inline |
Definition at line 1127 of file HitPattern.h.
References muonStations().
|
inlineprivate |
Definition at line 475 of file HitPattern.h.
References beginInner, beginOuter, beginTrackHits, endInner, endOuter, endTrackHits, MISSING_INNER_HITS, MISSING_OUTER_HITS, and TRACK_HITS.
Referenced by call(), countHits(), countTypedHits(), getHitPattern(), getTrackerLayerCase(), getTrackerMonoStereo(), numberOfHits(), numberOfValidStripLayersWithMonoAndStereo(), pixelLayersWithMeasurement(), trackerLayersWithMeasurement(), and trackerLayersWithoutMeasurement().
|
inlinestatic |
CSC ring (1-4). Only valid for muon CSC patterns, of course.
Definition at line 732 of file HitPattern.h.
References getSubSubStructure().
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 727 of file HitPattern.h.
References getSubSubStructure().
Referenced by numberOfDTStationsWithBothViews(), numberOfDTStationsWithRPhiView(), numberOfDTStationsWithRZView(), and printHitPattern().
|
inlinestatic |
GEM layer: 1,2. Only valid for muon GEM patterns, of course.
Definition at line 760 of file HitPattern.h.
References getSubSubStructure().
Referenced by printHitPattern().
|
inlinestatic |
GEM station: 1,2. Only valid for muon GEM patterns, of course.
Definition at line 755 of file HitPattern.h.
References getSubSubStructure().
Referenced by printHitPattern().
|
inline |
Definition at line 502 of file HitPattern.h.
References EMPTY_PATTERN, getCategoryIndexRange(), getHitPatternByAbsoluteIndex(), and unlikely.
Referenced by CheckHitPattern::analyze(), PFCheckHitPattern::analyze(), FixTrackHitPattern::analyze(), GetTrackTrajInfo::analyze(), GsfElectronAlgo::ElectronData::checkCtfTrack(), OniaPhotonConversionProducer::foundCompatibleInnerHits(), GsfElectronCoreBaseProducer::getCtfTrackRef(), index_to_hitpattern(), PFElecTkProducer::isInnerMost(), FWTrackResidualDetailView::prepareData(), reco::TrackResiduals::print(), CheckHitPattern::print(), PFCheckHitPattern::print(), print(), printHitPattern(), FWConvTrackHitsDetailView::setTextInfo(), EgAmbiguityTools::sharedDets(), EgAmbiguityTools::sharedHits(), and QcdUeDQM::trackSelection().
|
private |
Definition at line 273 of file HitPattern.cc.
References EMPTY_PATTERN, HIT_LENGTH, hitCount, hitPattern, and unlikely.
Referenced by call(), countHits(), countTypedHits(), getHitPattern(), getTrackerLayerCase(), getTrackerMonoStereo(), hasValidHitInFirstPixelBarrel(), hasValidHitInFirstPixelEndcap(), innermostMuonStationWithHits(), muonStations(), numberOfDTStationsWithBothViews(), numberOfDTStationsWithRPhiView(), numberOfDTStationsWithRZView(), numberOfValidStripLayersWithMonoAndStereo(), outermostMuonStationWithHits(), pixelLayersWithMeasurement(), trackerLayersWithMeasurement(), and trackerLayersWithoutMeasurement().
|
inlinestatic |
Definition at line 713 of file HitPattern.h.
References EMPTY_PATTERN, HitTypeMask, HitTypeOffset, NULL_RETURN, and unlikely.
Referenced by FixTrackHitPattern::analyze(), badHitFilter(), inactiveHitFilter(), innermostMuonStationWithHits(), missingHitFilter(), muonStations(), outermostMuonStationWithHits(), CheckHitPattern::print(), PFCheckHitPattern::print(), printHitPattern(), and validHitFilter().
|
inlinestatic |
Definition at line 680 of file HitPattern.h.
References getSubSubStructure().
Referenced by CheckHitPattern::analyze(), PFCheckHitPattern::analyze(), FixTrackHitPattern::analyze(), GetTrackTrajInfo::analyze(), OniaPhotonConversionProducer::foundCompatibleInnerHits(), hasValidHitInFirstPixelBarrel(), hasValidHitInFirstPixelEndcap(), PFElecTkProducer::isInnerMost(), numberOfValidStripLayersWithMonoAndStereo(), CheckHitPattern::print(), PFCheckHitPattern::print(), printHitPattern(), and QcdUeDQM::trackSelection().
|
inlinestatic |
Muon station (1-4). Only valid for muon patterns, of course. only for patterns from muon, of course.
Definition at line 722 of file HitPattern.h.
References getSubSubStructure().
Referenced by 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 737 of file HitPattern.h.
References getSubSubStructure(), and likely.
Referenced by printHitPattern().
|
inlinestatic |
RPC region: 0 = barrel, 1 = endcap. Only valid for muon RPC patterns, of course.
Definition at line 749 of file HitPattern.h.
References getSubSubStructure().
Referenced by printHitPattern().
|
inlinestatic |
Definition at line 704 of file HitPattern.h.
References EMPTY_PATTERN, NULL_RETURN, SideMask, SideOffset, and unlikely.
Referenced by getTrackerMonoStereo(), and numberOfValidStripLayersWithMonoAndStereo().
|
inlinestatic |
Definition at line 694 of file HitPattern.h.
References EMPTY_PATTERN, NULL_RETURN, SubDetectorMask, SubDetectorOffset, and unlikely.
|
inlinestatic |
Definition at line 671 of file HitPattern.h.
References EMPTY_PATTERN, NULL_RETURN, SubstrMask, SubstrOffset, and unlikely.
Referenced by CheckHitPattern::analyze(), PFCheckHitPattern::analyze(), FixTrackHitPattern::analyze(), GetTrackTrajInfo::analyze(), OniaPhotonConversionProducer::foundCompatibleInnerHits(), PFElecTkProducer::isInnerMost(), muonCSCHitFilter(), muonDTHitFilter(), muonGEMHitFilter(), muonRPCHitFilter(), muonStations(), numberOfValidStripLayersWithMonoAndStereo(), pixelBarrelHitFilter(), pixelEndcapHitFilter(), pixelHitFilter(), CheckHitPattern::print(), PFCheckHitPattern::print(), printHitPattern(), and stripSubdetectorHitFilter().
|
inlinestatic |
Definition at line 685 of file HitPattern.h.
References EMPTY_PATTERN, LayerMask, LayerOffset, NULL_RETURN, and unlikely.
Referenced by getCSCRing(), getDTSuperLayer(), getGEMLayer(), getGEMStation(), getLayer(), getMuonStation(), getRPCLayer(), getRPCregion(), and numberOfValidStripLayersWithMonoAndStereo().
uint32_t HitPattern::getTrackerLayerCase | ( | HitCategory | category, |
uint16_t | substr, | ||
uint16_t | layer | ||
) | const |
Definition at line 426 of file HitPattern.cc.
References pat::BAD, getCategoryIndexRange(), getHitPatternByAbsoluteIndex(), HitTypeMask, HitTypeOffset, i, LayerMask, LayerOffset, NULL_RETURN, chain::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 458 of file HitPattern.cc.
References getCategoryIndexRange(), getHitPatternByAbsoluteIndex(), getSide(), HitTypeMask, HitTypeOffset, i, LayerMask, LayerOffset, MONO, chain::pattern, STEREO, SubDetectorMask, SubDetectorOffset, SubstrMask, and SubstrOffset.
Referenced by OniaPhotonConversionProducer::foundCompatibleInnerHits().
bool HitPattern::hasValidHitInFirstPixelBarrel | ( | ) | const |
Definition at line 315 of file HitPattern.cc.
References beginTrackHits, endTrackHits, getHitPatternByAbsoluteIndex(), getLayer(), i, chain::pattern, pixelBarrelHitFilter(), and validHitFilter().
Referenced by PackedCandidateTrackValidator::analyze(), TrackClassFilter::operator()(), and pat::PATPackedCandidateProducer::produce().
bool HitPattern::hasValidHitInFirstPixelEndcap | ( | ) | const |
Definition at line 327 of file HitPattern.cc.
References beginTrackHits, endTrackHits, getHitPatternByAbsoluteIndex(), getLayer(), i, chain::pattern, pixelEndcapHitFilter(), and validHitFilter().
|
inlinestatic |
Definition at line 775 of file HitPattern.h.
References getHitType(), and INACTIVE.
Referenced by numberOfBadMuonCSCHits(), numberOfBadMuonDTHits(), numberOfBadMuonGEMHits(), numberOfBadMuonHits(), numberOfBadMuonRPCHits(), numberOfInactiveHits(), and numberOfInactiveTrackerHits().
|
inline |
Definition at line 1152 of file HitPattern.h.
References innermostMuonStationWithHits().
|
inline |
Definition at line 1147 of file HitPattern.h.
References innermostMuonStationWithHits().
int HitPattern::innermostMuonStationWithHits | ( | int | hitType | ) | const |
hitType=-1(all), 0=valid, 3=bad; 0 = no stations at all
Definition at line 919 of file HitPattern.cc.
References beginTrackHits, endTrackHits, getHitPatternByAbsoluteIndex(), getHitType(), getMuonStation(), i, muonHitFilter(), chain::pattern, and run_regression::ret.
Referenced by innermostMuonStationWithAnyHits(), innermostMuonStationWithBadHits(), and innermostMuonStationWithValidHits().
|
inline |
Definition at line 1142 of file HitPattern.h.
References innermostMuonStationWithHits().
|
private |
Definition at line 1026 of file HitPattern.cc.
References beginInner, endInner, hitCount, insertHit(), and unlikely.
Referenced by appendHit().
|
private |
Definition at line 1039 of file HitPattern.cc.
References beginOuter, endOuter, hitCount, insertHit(), and unlikely.
Referenced by appendHit().
|
private |
Definition at line 995 of file HitPattern.cc.
References HIT_LENGTH, hitCount, hitPattern, i, and hltrates_dqm_sourceclient-live_cfg::offset.
Referenced by insertExpectedInnerHit(), insertExpectedOuterHit(), and insertTrackHit().
|
private |
Definition at line 1007 of file HitPattern.cc.
References beginTrackHits, endTrackHits, hitCount, insertHit(), and unlikely.
Referenced by appendHit().
|
staticprivate |
Definition at line 881 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().
|
inlinestatic |
Definition at line 770 of file HitPattern.h.
References getHitType(), and MISSING.
Referenced by CheckHitPattern::analyze(), numberOfLostHits(), numberOfLostMuonCSCHits(), numberOfLostMuonDTHits(), numberOfLostMuonGEMHits(), numberOfLostMuonHits(), numberOfLostMuonRPCHits(), numberOfLostPixelBarrelHits(), numberOfLostPixelEndcapHits(), numberOfLostPixelHits(), numberOfLostStripHits(), numberOfLostStripTECHits(), numberOfLostStripTIBHits(), numberOfLostStripTIDHits(), numberOfLostStripTOBHits(), and numberOfLostTrackerHits().
|
inlinestatic |
Definition at line 627 of file HitPattern.h.
References MuonSubdetId::CSC, getSubStructure(), muonHitFilter(), and unlikely.
Referenced by numberOfBadMuonCSCHits(), numberOfLostMuonCSCHits(), numberOfValidMuonCSCHits(), and printHitPattern().
|
inlinestatic |
Definition at line 617 of file HitPattern.h.
References MuonSubdetId::DT, getSubStructure(), muonHitFilter(), and unlikely.
Referenced by numberOfBadMuonDTHits(), numberOfDTStationsWithBothViews(), numberOfDTStationsWithRPhiView(), numberOfDTStationsWithRZView(), numberOfLostMuonDTHits(), numberOfValidMuonDTHits(), and printHitPattern().
|
inlinestatic |
Definition at line 647 of file HitPattern.h.
References MuonSubdetId::GEM, getSubStructure(), muonHitFilter(), and unlikely.
Referenced by numberOfBadMuonGEMHits(), numberOfLostMuonGEMHits(), numberOfValidMuonGEMHits(), and printHitPattern().
|
inlinestatic |
Definition at line 662 of file HitPattern.h.
References EMPTY_PATTERN, SubDetectorMask, SubDetectorOffset, and unlikely.
Referenced by innermostMuonStationWithHits(), muonCSCHitFilter(), muonDTHitFilter(), muonGEMHitFilter(), muonRPCHitFilter(), muonStations(), numberOfBadMuonHits(), numberOfLostMuonHits(), numberOfMuonHits(), numberOfValidMuonHits(), outermostMuonStationWithHits(), and printHitPattern().
|
inlinestatic |
Definition at line 637 of file HitPattern.h.
References getSubStructure(), muonHitFilter(), MuonSubdetId::RPC, and unlikely.
Referenced by numberOfBadMuonRPCHits(), numberOfLostMuonRPCHits(), numberOfValidMuonRPCHits(), 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 904 of file HitPattern.cc.
References beginTrackHits, endTrackHits, getHitPatternByAbsoluteIndex(), getHitType(), getMuonStation(), getSubStructure(), i, muonHitFilter(), chain::pattern, and mergeVDriftHistosByStation::stations.
Referenced by cscStationsWithAnyHits(), cscStationsWithBadHits(), cscStationsWithValidHits(), dtStationsWithAnyHits(), dtStationsWithBadHits(), dtStationsWithValidHits(), gemStationsWithAnyHits(), gemStationsWithBadHits(), gemStationsWithValidHits(), muonStationsWithAnyHits(), muonStationsWithBadHits(), muonStationsWithValidHits(), rpcStationsWithAnyHits(), rpcStationsWithBadHits(), and rpcStationsWithValidHits().
|
inline |
Definition at line 1077 of file HitPattern.h.
References muonStations().
|
inline |
Definition at line 1072 of file HitPattern.h.
References muonStations().
|
inline |
Definition at line 1067 of file HitPattern.h.
References muonStations().
|
inline |
Definition at line 951 of file HitPattern.h.
References badHitFilter(), countHits(), and TRACK_HITS.
|
inline |
Definition at line 966 of file HitPattern.h.
References countTypedHits(), inactiveHitFilter(), muonCSCHitFilter(), and TRACK_HITS.
|
inline |
Definition at line 961 of file HitPattern.h.
References countTypedHits(), inactiveHitFilter(), muonDTHitFilter(), and TRACK_HITS.
|
inline |
Definition at line 976 of file HitPattern.h.
References countTypedHits(), inactiveHitFilter(), muonGEMHitFilter(), and TRACK_HITS.
|
inline |
Definition at line 956 of file HitPattern.h.
References countTypedHits(), inactiveHitFilter(), muonHitFilter(), and TRACK_HITS.
|
inline |
Definition at line 971 of file HitPattern.h.
References countTypedHits(), inactiveHitFilter(), muonRPCHitFilter(), and TRACK_HITS.
int HitPattern::numberOfDTStationsWithBothViews | ( | ) | const |
Definition at line 979 of file HitPattern.cc.
References beginTrackHits, endTrackHits, getDTSuperLayer(), getHitPatternByAbsoluteIndex(), getMuonStation(), i, muonDTHitFilter(), chain::pattern, mergeVDriftHistosByStation::stations, and validHitFilter().
int HitPattern::numberOfDTStationsWithRPhiView | ( | ) | const |
Definition at line 952 of file HitPattern.cc.
References beginTrackHits, endTrackHits, getDTSuperLayer(), getHitPatternByAbsoluteIndex(), getMuonStation(), i, muonDTHitFilter(), chain::pattern, mergeVDriftHistosByStation::stations, and validHitFilter().
int HitPattern::numberOfDTStationsWithRZView | ( | ) | const |
Definition at line 966 of file HitPattern.cc.
References beginTrackHits, endTrackHits, getDTSuperLayer(), getHitPatternByAbsoluteIndex(), getMuonStation(), i, muonDTHitFilter(), chain::pattern, mergeVDriftHistosByStation::stations, and validHitFilter().
|
inline |
Definition at line 785 of file HitPattern.h.
References getCategoryIndexRange().
Referenced by TrackAnalyzer::analyze(), CheckHitPattern::analyze(), PFCheckHitPattern::analyze(), TkConvValidator::analyze(), FixTrackHitPattern::analyze(), GetTrackTrajInfo::analyze(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), TrackAnalyzer::fillHistosForState(), OniaPhotonConversionProducer::foundCompatibleInnerHits(), spr::goodTrack(), index_to_hitpattern(), PFDisplacedVertexHelper::isTrackSelected(), FWTrackResidualDetailView::prepareData(), reco::TrackResiduals::print(), CheckHitPattern::print(), PFCheckHitPattern::print(), print(), IsolatedTracksCone::printTrack(), IsolatedTracksNxN::printTrack(), FWConvTrackHitsDetailView::setTextInfo(), and QcdUeDQM::trackSelection().
|
inline |
Definition at line 981 of file HitPattern.h.
References countHits(), inactiveHitFilter(), and TRACK_HITS.
|
inline |
Definition at line 986 of file HitPattern.h.
References countTypedHits(), inactiveHitFilter(), TRACK_HITS, and trackerHitFilter().
|
inline |
Definition at line 876 of file HitPattern.h.
References countHits(), and missingHitFilter().
Referenced by PackedCandidateTrackValidator::analyze(), reco::TransientTrack::numberOfLostHits(), reco::TrackBase::numberOfLostHits(), pat::PATPackedCandidateProducer::produce(), and DuplicateTrackMerger::produce().
|
inline |
Definition at line 936 of file HitPattern.h.
References countTypedHits(), missingHitFilter(), muonCSCHitFilter(), and TRACK_HITS.
|
inline |
Definition at line 931 of file HitPattern.h.
References countTypedHits(), missingHitFilter(), muonDTHitFilter(), and TRACK_HITS.
|
inline |
Definition at line 946 of file HitPattern.h.
References countTypedHits(), missingHitFilter(), muonGEMHitFilter(), and TRACK_HITS.
|
inline |
Definition at line 886 of file HitPattern.h.
References countTypedHits(), missingHitFilter(), muonHitFilter(), and TRACK_HITS.
|
inline |
Definition at line 941 of file HitPattern.h.
References countTypedHits(), missingHitFilter(), muonRPCHitFilter(), and TRACK_HITS.
|
inline |
Definition at line 896 of file HitPattern.h.
References countTypedHits(), missingHitFilter(), and pixelBarrelHitFilter().
|
inline |
Definition at line 901 of file HitPattern.h.
References countTypedHits(), missingHitFilter(), and pixelEndcapHitFilter().
|
inline |
Definition at line 891 of file HitPattern.h.
References countTypedHits(), missingHitFilter(), and pixelHitFilter().
|
inline |
Definition at line 906 of file HitPattern.h.
References countTypedHits(), missingHitFilter(), and stripHitFilter().
|
inline |
Definition at line 926 of file HitPattern.h.
References countTypedHits(), missingHitFilter(), and stripTECHitFilter().
|
inline |
Definition at line 911 of file HitPattern.h.
References countTypedHits(), missingHitFilter(), and stripTIBHitFilter().
|
inline |
Definition at line 916 of file HitPattern.h.
References countTypedHits(), missingHitFilter(), and stripTIDHitFilter().
|
inline |
Definition at line 921 of file HitPattern.h.
References countTypedHits(), missingHitFilter(), and stripTOBHitFilter().
|
inline |
Definition at line 881 of file HitPattern.h.
References countTypedHits(), missingHitFilter(), and trackerHitFilter().
Referenced by TrackAnalyzer::analyze(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), and reco::TrackBase::validFraction().
|
inline |
Definition at line 796 of file HitPattern.h.
References countHits(), muonHitFilter(), and TRACK_HITS.
|
inline |
Definition at line 791 of file HitPattern.h.
References countHits(), and trackerHitFilter().
|
inline |
Definition at line 801 of file HitPattern.h.
References countHits(), TRACK_HITS, and validHitFilter().
Referenced by PackedCandidateTrackValidator::analyze(), reco::tau::RecoTauQualityCuts::filterTrack_(), reco::TransientTrack::numberOfValidHits(), reco::TrackBase::numberOfValidHits(), reco::TrackSelector::operator()(), RecoTrackSelectorBase::operator()(), IPProducer< Container, Base, Helper >::produce(), pat::PackedCandidate::setTrackProperties(), TemplatedInclusiveVertexFinder< InputContainer, VTX >::trackFilter(), and reco::tau::qcuts::trkTrackerHits().
|
inline |
Definition at line 861 of file HitPattern.h.
References countTypedHits(), muonCSCHitFilter(), TRACK_HITS, and validHitFilter().
Referenced by MuonTrackValidator::analyze().
|
inline |
Definition at line 856 of file HitPattern.h.
References countTypedHits(), muonDTHitFilter(), TRACK_HITS, and validHitFilter().
Referenced by MuonTrackValidator::analyze().
|
inline |
Definition at line 871 of file HitPattern.h.
References countTypedHits(), muonGEMHitFilter(), TRACK_HITS, and validHitFilter().
|
inline |
Definition at line 811 of file HitPattern.h.
References countTypedHits(), muonHitFilter(), TRACK_HITS, and validHitFilter().
Referenced by HLTMuonL3PreFilter::hltFilter(), BPhysicsOniaDQM::selGlobalMuon(), MuScleFitMuonSelector::selGlobalMuon(), and MuScleFit::selGlobalMuon().
|
inline |
Definition at line 866 of file HitPattern.h.
References countTypedHits(), muonRPCHitFilter(), TRACK_HITS, and validHitFilter().
Referenced by MuonTrackValidator::analyze().
|
inline |
Definition at line 821 of file HitPattern.h.
References countTypedHits(), pixelBarrelHitFilter(), TRACK_HITS, and validHitFilter().
Referenced by PatTrackAnalyzer::analyze(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), TrackAnalyzer::fillHistosForTrackerSpecific(), HLTTrackWithHits::hltFilter(), and HIPAlignmentAlgorithm::run().
|
inline |
Definition at line 826 of file HitPattern.h.
References countTypedHits(), pixelEndcapHitFilter(), TRACK_HITS, and validHitFilter().
Referenced by PatTrackAnalyzer::analyze(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), TrackAnalyzer::fillHistosForTrackerSpecific(), HLTTrackWithHits::hltFilter(), and HIPAlignmentAlgorithm::run().
|
inline |
Definition at line 816 of file HitPattern.h.
References countTypedHits(), pixelHitFilter(), TRACK_HITS, and validHitFilter().
Referenced by PackedCandidateTrackValidator::analyze(), TrackTypeMonitor::analyze(), StandaloneTrackMonitor::analyze(), CheckHitPattern::analyze(), IPTagPlotter< Container, Base >::analyzeTag(), PFRecoTauDiscriminationByHPSSelection::discriminate(), ZtoMMEventSelector::filter(), ZtoEEEventSelector::filter(), WtoLNuSelector::filter(), reco::tau::RecoTauQualityCuts::filterTrack_(), HLTTrackWithHits::hltFilter(), reco::TrackSelector::operator()(), TrackClassFilter::operator()(), RecoTrackSelectorBase::operator()(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), pat::PATLostTracks::produce(), TrackListMerger::produce(), IPProducer< Container, Base, Helper >::produce(), pat::PackedCandidate::setTrackProperties(), TrackWithVertexSelector::testTrack(), TrackVertexArbitration< VTX >::trackFilterArbitrator(), and reco::tau::qcuts::trkPixelHits().
|
inline |
Definition at line 831 of file HitPattern.h.
References countTypedHits(), stripHitFilter(), TRACK_HITS, and validHitFilter().
Referenced by TrackTypeMonitor::analyze(), StandaloneTrackMonitor::analyze(), ZtoMMEventSelector::filter(), ZtoEEEventSelector::filter(), and WtoLNuSelector::filter().
int HitPattern::numberOfValidStripLayersWithMonoAndStereo | ( | uint16_t | stripdet, |
uint16_t | layer | ||
) | const |
Definition at line 339 of file HitPattern.cc.
References beginTrackHits, prof2calltree::count, endTrackHits, getHitPatternByAbsoluteIndex(), getLayer(), getSide(), getSubStructure(), getSubSubStructure(), i, j, LayerMask, chain::pattern, stripHitFilter(), SubstrMask, and validHitFilter().
Referenced by TrackAnalyzer::analyze(), MTVHistoProducerAlgoForTracker::fill_generic_recoTrack_histos(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), RecoTrackSelectorBase::operator()(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), CosmicTrackSelector::select(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), and QcdUeDQM::trackSelection().
int HitPattern::numberOfValidStripLayersWithMonoAndStereo | ( | ) | const |
Definition at line 386 of file HitPattern.cc.
References python.rootplot.argparse::category, getCategoryIndexRange(), getHitPatternByAbsoluteIndex(), getSide(), HitTypeMask, HitTypeOffset, i, LayerOffset, minStripWord, minTrackerWord, chain::pattern, and TRACK_HITS.
Referenced by numberOfValidTECLayersWithMonoAndStereo(), numberOfValidTIBLayersWithMonoAndStereo(), numberOfValidTIDLayersWithMonoAndStereo(), and numberOfValidTOBLayersWithMonoAndStereo().
|
inline |
Definition at line 851 of file HitPattern.h.
References countTypedHits(), stripTECHitFilter(), TRACK_HITS, and validHitFilter().
Referenced by PatTrackAnalyzer::analyze(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), TrackAnalyzer::fillHistosForTrackerSpecific(), and HIPAlignmentAlgorithm::run().
|
inline |
Definition at line 836 of file HitPattern.h.
References countTypedHits(), stripTIBHitFilter(), TRACK_HITS, and validHitFilter().
Referenced by PatTrackAnalyzer::analyze(), CheckHitPattern::analyze(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), TrackAnalyzer::fillHistosForTrackerSpecific(), and HIPAlignmentAlgorithm::run().
|
inline |
Definition at line 841 of file HitPattern.h.
References countTypedHits(), stripTIDHitFilter(), TRACK_HITS, and validHitFilter().
Referenced by PatTrackAnalyzer::analyze(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), TrackAnalyzer::fillHistosForTrackerSpecific(), and HIPAlignmentAlgorithm::run().
|
inline |
Definition at line 846 of file HitPattern.h.
References countTypedHits(), stripTOBHitFilter(), TRACK_HITS, and validHitFilter().
Referenced by PatTrackAnalyzer::analyze(), CheckHitPattern::analyze(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), TrackAnalyzer::fillHistosForTrackerSpecific(), and HIPAlignmentAlgorithm::run().
int HitPattern::numberOfValidTECLayersWithMonoAndStereo | ( | uint32_t | layer = 0 | ) | const |
Definition at line 421 of file HitPattern.cc.
References numberOfValidStripLayersWithMonoAndStereo(), and StripSubdetector::TEC.
int HitPattern::numberOfValidTIBLayersWithMonoAndStereo | ( | uint32_t | layer = 0 | ) | const |
Definition at line 411 of file HitPattern.cc.
References numberOfValidStripLayersWithMonoAndStereo(), and StripSubdetector::TIB.
int HitPattern::numberOfValidTIDLayersWithMonoAndStereo | ( | uint32_t | layer = 0 | ) | const |
Definition at line 416 of file HitPattern.cc.
References numberOfValidStripLayersWithMonoAndStereo(), and StripSubdetector::TID.
int HitPattern::numberOfValidTOBLayersWithMonoAndStereo | ( | uint32_t | layer = 0 | ) | const |
Definition at line 406 of file HitPattern.cc.
References numberOfValidStripLayersWithMonoAndStereo(), and StripSubdetector::TOB.
|
inline |
Definition at line 806 of file HitPattern.h.
References countTypedHits(), TRACK_HITS, trackerHitFilter(), and validHitFilter().
Referenced by StandaloneTrackMonitor::analyze(), CSCSkim::doBFieldStudySelection(), PFMuonAlgo::isTrackerTightMuon(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), PFMuonAlgo::printMuonProperties(), 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 1167 of file HitPattern.h.
References outermostMuonStationWithHits().
|
inline |
Definition at line 1162 of file HitPattern.h.
References outermostMuonStationWithHits().
int HitPattern::outermostMuonStationWithHits | ( | int | hitType | ) | const |
hitType=-1(all), 0=valid, 3=bad; 0 = no stations at all
Definition at line 936 of file HitPattern.cc.
References beginTrackHits, endTrackHits, getHitPatternByAbsoluteIndex(), getHitType(), getMuonStation(), i, muonHitFilter(), chain::pattern, and run_regression::ret.
Referenced by outermostMuonStationWithAnyHits(), outermostMuonStationWithBadHits(), and outermostMuonStationWithValidHits().
|
inline |
Definition at line 1157 of file HitPattern.h.
References outermostMuonStationWithHits().
|
inlinestatic |
Definition at line 562 of file HitPattern.h.
References getSubStructure(), PixelSubdetector::PixelBarrel, trackerHitFilter(), and unlikely.
Referenced by hasValidHitInFirstPixelBarrel(), numberOfLostPixelBarrelHits(), and numberOfValidPixelBarrelHits().
int HitPattern::pixelBarrelLayersNull | ( | ) | const |
Definition at line 762 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), NULL_RETURN, PixelSubdetector::PixelBarrel, and TRACK_HITS.
Referenced by pixelLayersNull().
int HitPattern::pixelBarrelLayersTotallyOffOrBad | ( | ) | const |
Definition at line 693 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), PixelSubdetector::PixelBarrel, and TRACK_HITS.
Referenced by pixelLayersTotallyOffOrBad().
int HitPattern::pixelBarrelLayersWithMeasurement | ( | ) | const |
Definition at line 556 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), PixelSubdetector::PixelBarrel, and TRACK_HITS.
Referenced by TrackAnalyzer::fillHistosForTrackerSpecific(), pixelLayersWithMeasurementOld(), IsolatedTracksNxN::printTrack(), and BeamFitter::readEvent().
int HitPattern::pixelBarrelLayersWithoutMeasurement | ( | HitCategory | category | ) | const |
Definition at line 624 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), and PixelSubdetector::PixelBarrel.
Referenced by pixelLayersWithoutMeasurement().
|
inlinestatic |
Definition at line 572 of file HitPattern.h.
References getSubStructure(), PixelSubdetector::PixelEndcap, trackerHitFilter(), and unlikely.
Referenced by hasValidHitInFirstPixelEndcap(), numberOfLostPixelEndcapHits(), and numberOfValidPixelEndcapHits().
int HitPattern::pixelEndcapLayersNull | ( | ) | const |
Definition at line 774 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), NULL_RETURN, PixelSubdetector::PixelEndcap, and TRACK_HITS.
Referenced by pixelLayersNull().
int HitPattern::pixelEndcapLayersTotallyOffOrBad | ( | ) | const |
Definition at line 705 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), PixelSubdetector::PixelEndcap, and TRACK_HITS.
Referenced by pixelLayersTotallyOffOrBad().
int HitPattern::pixelEndcapLayersWithMeasurement | ( | ) | const |
Definition at line 568 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), PixelSubdetector::PixelEndcap, and TRACK_HITS.
Referenced by TrackAnalyzer::fillHistosForTrackerSpecific(), pixelLayersWithMeasurementOld(), IsolatedTracksNxN::printTrack(), and BeamFitter::readEvent().
int HitPattern::pixelEndcapLayersWithoutMeasurement | ( | HitCategory | category | ) | const |
Definition at line 636 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), and PixelSubdetector::PixelEndcap.
Referenced by pixelLayersWithoutMeasurement().
|
inlinestatic |
Definition at line 551 of file HitPattern.h.
References getSubStructure(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, trackerHitFilter(), and unlikely.
Referenced by GsfElectronCoreBaseProducer::getCtfTrackRef(), numberOfLostPixelHits(), numberOfValidPixelHits(), FWConvTrackHitsDetailView::setTextInfo(), and QcdUeDQM::trackSelection().
|
inline |
Definition at line 1053 of file HitPattern.h.
References pixelBarrelLayersNull(), and pixelEndcapLayersNull().
Referenced by trackerLayersNull().
|
inline |
Definition at line 1033 of file HitPattern.h.
References pixelBarrelLayersTotallyOffOrBad(), and pixelEndcapLayersTotallyOffOrBad().
Referenced by trackerLayersTotallyOffOrBad().
int HitPattern::pixelLayersWithMeasurement | ( | ) | const |
Definition at line 497 of file HitPattern.cc.
References python.rootplot.argparse::category, getCategoryIndexRange(), getHitPatternByAbsoluteIndex(), HitTypeMask, HitTypeOffset, i, LayerOffset, minStripWord, minTrackerWord, chain::pattern, TRACK_HITS, trackerHitFilter(), and unlikely.
Referenced by StandaloneTrackMonitor::analyze(), TrackAnalyzer::analyze(), MTVHistoProducerAlgoForTracker::fill_generic_recoTrack_histos(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), 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(), trackerLayersWithMeasurementOld(), and QcdUeDQM::trackSelection().
|
inline |
Definition at line 996 of file HitPattern.h.
References pixelBarrelLayersWithMeasurement(), and pixelEndcapLayersWithMeasurement().
|
inline |
Definition at line 1013 of file HitPattern.h.
References pixelBarrelLayersWithoutMeasurement(), and pixelEndcapLayersWithoutMeasurement().
Referenced by trackerLayersWithoutMeasurementOld().
void HitPattern::print | ( | HitCategory | category, |
std::ostream & | stream = std::cout |
||
) | const |
Definition at line 864 of file HitPattern.cc.
References flags, getHitPattern(), i, numberOfHits(), and printHitPattern().
void HitPattern::printHitPattern | ( | HitCategory | category, |
int | position, | ||
std::ostream & | stream | ||
) | const |
Definition at line 830 of file HitPattern.cc.
References getCSCRing(), getDTSuperLayer(), getGEMLayer(), getGEMStation(), getHitPattern(), getHitType(), getLayer(), getMuonStation(), getRPCLayer(), getRPCregion(), getSubStructure(), muonCSCHitFilter(), muonDTHitFilter(), muonGEMHitFilter(), muonHitFilter(), muonRPCHitFilter(), chain::pattern, and trackerHitFilter().
Referenced by spr::goodTrack(), print(), IsolatedTracksCone::printTrack(), and IsolatedTracksNxN::printTrack().
|
inline |
Definition at line 1122 of file HitPattern.h.
References muonStations().
|
inline |
Definition at line 1117 of file HitPattern.h.
References muonStations().
|
inline |
Definition at line 1112 of file HitPattern.h.
References muonStations().
|
inlinestatic |
Definition at line 582 of file HitPattern.h.
References minStripWord.
Referenced by numberOfLostStripHits(), numberOfValidStripHits(), numberOfValidStripLayersWithMonoAndStereo(), and FWConvTrackHitsDetailView::setTextInfo().
|
inline |
Definition at line 1059 of file HitPattern.h.
References stripTECLayersNull(), stripTIBLayersNull(), stripTIDLayersNull(), and stripTOBLayersNull().
Referenced by trackerLayersNull().
|
inline |
Definition at line 1039 of file HitPattern.h.
References stripTECLayersTotallyOffOrBad(), stripTIBLayersTotallyOffOrBad(), stripTIDLayersTotallyOffOrBad(), and stripTOBLayersTotallyOffOrBad().
Referenced by trackerLayersTotallyOffOrBad().
|
inline |
Definition at line 1001 of file HitPattern.h.
References stripTECLayersWithMeasurement(), stripTIBLayersWithMeasurement(), stripTIDLayersWithMeasurement(), and stripTOBLayersWithMeasurement().
Referenced by StandaloneTrackMonitor::analyze(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), IsolatedTracksNxN::printTrack(), BeamFitter::readEvent(), and trackerLayersWithMeasurementOld().
|
inline |
Definition at line 1019 of file HitPattern.h.
References stripTECLayersWithoutMeasurement(), stripTIBLayersWithoutMeasurement(), stripTIDLayersWithoutMeasurement(), and stripTOBLayersWithoutMeasurement().
Referenced by trackerLayersWithoutMeasurementOld().
|
inlinestaticprivate |
Definition at line 588 of file HitPattern.h.
References getSubStructure(), trackerHitFilter(), and unlikely.
Referenced by stripTECHitFilter(), stripTIBHitFilter(), stripTIDHitFilter(), and stripTOBHitFilter().
|
inlinestatic |
Definition at line 612 of file HitPattern.h.
References stripSubdetectorHitFilter(), and StripSubdetector::TEC.
Referenced by numberOfLostStripTECHits(), and numberOfValidStripTECHits().
int HitPattern::stripTECLayersNull | ( | ) | const |
Definition at line 819 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), NULL_RETURN, StripSubdetector::TEC, and TRACK_HITS.
Referenced by stripLayersNull().
int HitPattern::stripTECLayersTotallyOffOrBad | ( | ) | const |
Definition at line 751 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), StripSubdetector::TEC, and TRACK_HITS.
Referenced by stripLayersTotallyOffOrBad().
int HitPattern::stripTECLayersWithMeasurement | ( | ) | const |
Definition at line 613 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), StripSubdetector::TEC, and TRACK_HITS.
Referenced by IsolatedTracksNxN::analyze(), TrackAnalyzer::fillHistosForTrackerSpecific(), spr::goodTrack(), IsolatedTracksNxN::printTrack(), BeamFitter::readEvent(), and stripLayersWithMeasurement().
int HitPattern::stripTECLayersWithoutMeasurement | ( | HitCategory | category | ) | const |
Definition at line 681 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), and StripSubdetector::TEC.
Referenced by IsolatedTracksNxN::analyze(), and stripLayersWithoutMeasurement().
|
inlinestatic |
Definition at line 597 of file HitPattern.h.
References stripSubdetectorHitFilter(), and StripSubdetector::TIB.
Referenced by GsfElectronCoreBaseProducer::getCtfTrackRef(), numberOfLostStripTIBHits(), and numberOfValidStripTIBHits().
int HitPattern::stripTIBLayersNull | ( | ) | const |
Definition at line 786 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), NULL_RETURN, StripSubdetector::TIB, and TRACK_HITS.
Referenced by stripLayersNull().
int HitPattern::stripTIBLayersTotallyOffOrBad | ( | ) | const |
Definition at line 717 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), StripSubdetector::TIB, and TRACK_HITS.
Referenced by stripLayersTotallyOffOrBad().
int HitPattern::stripTIBLayersWithMeasurement | ( | ) | const |
Definition at line 580 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), StripSubdetector::TIB, and TRACK_HITS.
Referenced by IsolatedTracksNxN::analyze(), TrackAnalyzer::fillHistosForTrackerSpecific(), IsolatedTracksNxN::printTrack(), BeamFitter::readEvent(), and stripLayersWithMeasurement().
int HitPattern::stripTIBLayersWithoutMeasurement | ( | HitCategory | category | ) | const |
Definition at line 648 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), and StripSubdetector::TIB.
Referenced by IsolatedTracksNxN::analyze(), and stripLayersWithoutMeasurement().
|
inlinestatic |
Definition at line 602 of file HitPattern.h.
References stripSubdetectorHitFilter(), and StripSubdetector::TID.
Referenced by GsfElectronCoreBaseProducer::getCtfTrackRef(), numberOfLostStripTIDHits(), and numberOfValidStripTIDHits().
int HitPattern::stripTIDLayersNull | ( | ) | const |
Definition at line 797 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), NULL_RETURN, StripSubdetector::TID, and TRACK_HITS.
Referenced by stripLayersNull().
int HitPattern::stripTIDLayersTotallyOffOrBad | ( | ) | const |
Definition at line 728 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), StripSubdetector::TID, and TRACK_HITS.
Referenced by stripLayersTotallyOffOrBad().
int HitPattern::stripTIDLayersWithMeasurement | ( | ) | const |
Definition at line 591 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), StripSubdetector::TID, and TRACK_HITS.
Referenced by IsolatedTracksNxN::analyze(), TrackAnalyzer::fillHistosForTrackerSpecific(), IsolatedTracksNxN::printTrack(), BeamFitter::readEvent(), and stripLayersWithMeasurement().
int HitPattern::stripTIDLayersWithoutMeasurement | ( | HitCategory | category | ) | const |
Definition at line 659 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), and StripSubdetector::TID.
Referenced by IsolatedTracksNxN::analyze(), and stripLayersWithoutMeasurement().
|
inlinestatic |
Definition at line 607 of file HitPattern.h.
References stripSubdetectorHitFilter(), and StripSubdetector::TOB.
Referenced by numberOfLostStripTOBHits(), and numberOfValidStripTOBHits().
int HitPattern::stripTOBLayersNull | ( | ) | const |
Definition at line 808 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), NULL_RETURN, StripSubdetector::TOB, and TRACK_HITS.
Referenced by stripLayersNull().
int HitPattern::stripTOBLayersTotallyOffOrBad | ( | ) | const |
Definition at line 739 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), StripSubdetector::TOB, and TRACK_HITS.
Referenced by stripLayersTotallyOffOrBad().
int HitPattern::stripTOBLayersWithMeasurement | ( | ) | const |
Definition at line 602 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), StripSubdetector::TOB, and TRACK_HITS.
Referenced by IsolatedTracksNxN::analyze(), TrackAnalyzer::fillHistosForTrackerSpecific(), spr::goodTrack(), IsolatedTracksNxN::printTrack(), BeamFitter::readEvent(), and stripLayersWithMeasurement().
int HitPattern::stripTOBLayersWithoutMeasurement | ( | HitCategory | category | ) | const |
Definition at line 670 of file HitPattern.cc.
References prof2calltree::count, getTrackerLayerCase(), and StripSubdetector::TOB.
Referenced by IsolatedTracksNxN::analyze(), and stripLayersWithoutMeasurement().
|
inlinestatic |
Definition at line 657 of file HitPattern.h.
References minTrackerWord.
Referenced by CheckHitPattern::analyze(), PFCheckHitPattern::analyze(), GetTrackTrajInfo::analyze(), OniaPhotonConversionProducer::foundCompatibleInnerHits(), numberOfInactiveTrackerHits(), numberOfLostTrackerHits(), numberOfTrackerHits(), numberOfValidTrackerHits(), pixelBarrelHitFilter(), pixelEndcapHitFilter(), pixelHitFilter(), pixelLayersWithMeasurement(), CheckHitPattern::print(), PFCheckHitPattern::print(), printHitPattern(), stripSubdetectorHitFilter(), trackerLayersWithMeasurement(), and trackerLayersWithoutMeasurement().
|
inline |
|
inline |
Definition at line 1027 of file HitPattern.h.
References pixelLayersTotallyOffOrBad(), and stripLayersTotallyOffOrBad().
Referenced by TrackAnalyzer::analyze().
int HitPattern::trackerLayersWithMeasurement | ( | ) | const |
Definition at line 516 of file HitPattern.cc.
References python.rootplot.argparse::category, getCategoryIndexRange(), getHitPatternByAbsoluteIndex(), HitTypeMask, HitTypeOffset, i, LayerOffset, minTrackerWord, chain::pattern, TRACK_HITS, trackerHitFilter(), and unlikely.
Referenced by StandaloneTrackMonitor::analyze(), TrackAnalyzer::analyze(), IsolatedTracksCone::analyze(), IsolatedTracksNxN::analyze(), spr::coneChargeIsolation(), MTVHistoProducerAlgoForTracker::fill_generic_recoTrack_histos(), MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos(), TrackAnalyzer::fillHistosForState(), spr::goodTrack(), cms::MuonTCMETValueMapProducer::nLayers(), TrackFilterForPVFinding::operator()(), GhostTrackComputer::operator()(), RecoTrackSelectorBase::operator()(), IsolatedTracksNxN::printTrack(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), FastTrackerRecHitMaskProducer::produce(), HITrackClusterRemover::produce(), BeamFitter::readEvent(), CosmicTrackSelector::select(), TrackMultiSelector::select(), MultiTrackSelector::select(), HIMultiTrackSelector::select(), TrackVertexArbitration< VTX >::trackFilterArbitrator(), and QcdUeDQM::trackSelection().
|
inline |
Definition at line 991 of file HitPattern.h.
References pixelLayersWithMeasurement(), and stripLayersWithMeasurement().
int HitPattern::trackerLayersWithoutMeasurement | ( | HitCategory | category | ) | const |
Definition at line 533 of file HitPattern.cc.
References getCategoryIndexRange(), getHitPatternByAbsoluteIndex(), HitTypeMask, HitTypeOffset, i, LayerOffset, minTrackerWord, chain::pattern, trackerHitFilter(), and unlikely.
Referenced by TrackAnalyzer::analyze(), spr::goodTrack(), MultiTrackSelector::processMVA(), HIMultiTrackSelector::processMVA(), CosmicTrackSelector::select(), MultiTrackSelector::select(), and HIMultiTrackSelector::select().
|
inline |
Definition at line 1007 of file HitPattern.h.
References pixelLayersWithoutMeasurement(), and stripLayersWithoutMeasurement().
|
inlinestatic |
Definition at line 765 of file HitPattern.h.
References getHitType(), and VALID.
Referenced by CheckHitPattern::analyze(), PFCheckHitPattern::analyze(), GetTrackTrajInfo::analyze(), OniaPhotonConversionProducer::foundCompatibleInnerHits(), hasValidHitInFirstPixelBarrel(), hasValidHitInFirstPixelEndcap(), index_to_hitpattern(), numberOfDTStationsWithBothViews(), numberOfDTStationsWithRPhiView(), numberOfDTStationsWithRZView(), numberOfValidHits(), numberOfValidMuonCSCHits(), numberOfValidMuonDTHits(), numberOfValidMuonGEMHits(), numberOfValidMuonHits(), numberOfValidMuonRPCHits(), numberOfValidPixelBarrelHits(), numberOfValidPixelEndcapHits(), numberOfValidPixelHits(), numberOfValidStripHits(), numberOfValidStripLayersWithMonoAndStereo(), numberOfValidStripTECHits(), numberOfValidStripTIBHits(), numberOfValidStripTIDHits(), numberOfValidStripTOBHits(), numberOfValidTrackerHits(), reco::TrackResiduals::print(), FWConvTrackHitsDetailView::setTextInfo(), and QcdUeDQM::trackSelection().
|
friend |
Definition at line 472 of file HitPattern.h.
|
friend |
|
static |
Definition at line 165 of file HitPattern.h.
Referenced by clear(), HitPattern(), and operator=().
|
private |
Definition at line 464 of file HitPattern.h.
Referenced by appendHit(), clear(), getCategoryIndexRange(), insertExpectedInnerHit(), and operator=().
|
private |
Definition at line 466 of file HitPattern.h.
Referenced by appendHit(), clear(), getCategoryIndexRange(), insertExpectedOuterHit(), and operator=().
|
private |
Definition at line 462 of file HitPattern.h.
Referenced by appendHit(), clear(), getCategoryIndexRange(), hasValidHitInFirstPixelBarrel(), hasValidHitInFirstPixelEndcap(), innermostMuonStationWithHits(), insertTrackHit(), muonStations(), numberOfDTStationsWithBothViews(), numberOfDTStationsWithRPhiView(), numberOfDTStationsWithRZView(), numberOfValidStripLayersWithMonoAndStereo(), operator=(), and outermostMuonStationWithHits().
|
static |
Definition at line 170 of file HitPattern.h.
Referenced by clear(), encode(), getHitPattern(), getHitPatternByAbsoluteIndex(), getHitType(), getSide(), getSubDetector(), getSubStructure(), getSubSubStructure(), HitPattern(), and muonHitFilter().
|
private |
Definition at line 465 of file HitPattern.h.
Referenced by appendHit(), clear(), getCategoryIndexRange(), insertExpectedInnerHit(), and operator=().
|
private |
Definition at line 467 of file HitPattern.h.
Referenced by appendHit(), clear(), getCategoryIndexRange(), insertExpectedOuterHit(), and operator=().
|
private |
Definition at line 463 of file HitPattern.h.
Referenced by appendHit(), clear(), getCategoryIndexRange(), hasValidHitInFirstPixelBarrel(), hasValidHitInFirstPixelEndcap(), innermostMuonStationWithHits(), insertTrackHit(), muonStations(), numberOfDTStationsWithBothViews(), numberOfDTStationsWithRPhiView(), numberOfDTStationsWithRZView(), numberOfValidStripLayersWithMonoAndStereo(), operator=(), and outermostMuonStationWithHits().
|
static |
Definition at line 166 of file HitPattern.h.
Referenced by getHitPatternByAbsoluteIndex(), and insertHit().
|
private |
Definition at line 460 of file HitPattern.h.
Referenced by appendHit(), appendMuonHit(), clear(), getHitPatternByAbsoluteIndex(), insertExpectedInnerHit(), insertExpectedOuterHit(), insertHit(), insertTrackHit(), and operator=().
|
private |
Definition at line 459 of file HitPattern.h.
Referenced by StandaloneTrackMonitor::analyze(), GsfElectronAlgo::ElectronData::checkCtfTrack(), clear(), GsfElectronCoreBaseProducer::getCtfTrackRef(), getHitPatternByAbsoluteIndex(), HitPattern(), insertHit(), operator=(), and BeamFitter::readEvent().
|
staticprivate |
Definition at line 409 of file HitPattern.h.
Referenced by encode(), getHitType(), getTrackerLayerCase(), getTrackerMonoStereo(), numberOfValidStripLayersWithMonoAndStereo(), pixelLayersWithMeasurement(), trackerLayersWithMeasurement(), and trackerLayersWithoutMeasurement().
|
staticprivate |
Definition at line 408 of file HitPattern.h.
Referenced by encode(), getHitType(), getTrackerLayerCase(), getTrackerMonoStereo(), numberOfValidStripLayersWithMonoAndStereo(), pixelLayersWithMeasurement(), trackerLayersWithMeasurement(), and trackerLayersWithoutMeasurement().
|
staticprivate |
Definition at line 417 of file HitPattern.h.
Referenced by encode(), getSubSubStructure(), getTrackerLayerCase(), getTrackerMonoStereo(), and numberOfValidStripLayersWithMonoAndStereo().
|
staticprivate |
Definition at line 416 of file HitPattern.h.
Referenced by encode(), getSubSubStructure(), getTrackerLayerCase(), getTrackerMonoStereo(), numberOfValidStripLayersWithMonoAndStereo(), pixelLayersWithMeasurement(), trackerLayersWithMeasurement(), and trackerLayersWithoutMeasurement().
|
static |
Definition at line 167 of file HitPattern.h.
Referenced by appendHit(), and appendMuonHit().
|
staticprivate |
Definition at line 428 of file HitPattern.h.
|
staticprivate |
Definition at line 429 of file HitPattern.h.
Referenced by numberOfValidStripLayersWithMonoAndStereo(), pixelLayersWithMeasurement(), and stripHitFilter().
|
staticprivate |
Definition at line 427 of file HitPattern.h.
Referenced by numberOfValidStripLayersWithMonoAndStereo(), pixelLayersWithMeasurement(), trackerHitFilter(), trackerLayersWithMeasurement(), and trackerLayersWithoutMeasurement().
|
static |
Definition at line 169 of file HitPattern.h.
Referenced by getHitType(), getSide(), getSubDetector(), getSubStructure(), getSubSubStructure(), getTrackerLayerCase(), pixelBarrelLayersNull(), pixelEndcapLayersNull(), stripTECLayersNull(), stripTIBLayersNull(), stripTIDLayersNull(), and stripTOBLayersNull().
|
staticprivate |
Definition at line 413 of file HitPattern.h.
|
staticprivate |
Definition at line 412 of file HitPattern.h.
|
staticprivate |
Definition at line 425 of file HitPattern.h.
Referenced by encode(), getSubDetector(), getTrackerLayerCase(), getTrackerMonoStereo(), and muonHitFilter().
|
staticprivate |
Definition at line 424 of file HitPattern.h.
Referenced by encode(), getSubDetector(), getTrackerLayerCase(), getTrackerMonoStereo(), and muonHitFilter().
|
staticprivate |
Definition at line 421 of file HitPattern.h.
Referenced by encode(), getSubStructure(), getTrackerLayerCase(), getTrackerMonoStereo(), and numberOfValidStripLayersWithMonoAndStereo().
|
staticprivate |
Definition at line 420 of file HitPattern.h.
Referenced by encode(), getSubStructure(), getTrackerLayerCase(), and getTrackerMonoStereo().