PFCheckHitPatter. More...
#include <PFCheckHitPattern.h>
Public Types | |
typedef std::pair< PFTrackHitInfo, PFTrackHitInfo > | PFTrackHitFullInfo |
typedef std::pair< unsigned int, unsigned int > | PFTrackHitInfo |
Public Member Functions | |
PFTrackHitFullInfo | analyze (const TrackerTopology *tkerTopo, const TrackerGeometry *tkerGeom, const reco::TrackBaseRef track, const TransientVertex &vert) |
PFCheckHitPattern () | |
void | print (const reco::TrackBaseRef track) const |
Print hit pattern on track. More... | |
~PFCheckHitPattern () | |
Private Types | |
typedef std::pair< uint32_t, uint32_t > | DetInfo |
typedef std::map< DetInfo, std::pair< double, double > > | RZrangeMap |
Private Member Functions | |
void | init (const TrackerTopology *, const TrackerGeometry *) |
Create map indicating r/z values of all layers/disks. More... | |
void | print (const reco::HitPattern::HitCategory, const reco::HitPattern &hp) const |
Static Private Member Functions | |
static bool | barrel (uint32_t subDet) |
Return a bool indicating if a given subdetector is in the barrel. More... | |
Private Attributes | |
bool | geomInitDone_ |
Note if geometry info is already initialized. More... | |
RZrangeMap | rangeRorZ_ |
|
private |
a pair<uint32, uint32> consisting of the numbers used by HitPattern to identify subdetector and layer number respectively.
Definition at line 62 of file PFCheckHitPattern.h.
typedef std::pair<PFTrackHitInfo, PFTrackHitInfo> PFCheckHitPattern::PFTrackHitFullInfo |
Definition at line 41 of file PFCheckHitPattern.h.
typedef std::pair<unsigned int, unsigned int> PFCheckHitPattern::PFTrackHitInfo |
Definition at line 40 of file PFCheckHitPattern.h.
|
private |
For a given subdetector & layer number, this stores the minimum and maximum r (or z) values if it is barrel (or endcap) respectively.
Definition at line 75 of file PFCheckHitPattern.h.
|
inline |
Definition at line 36 of file PFCheckHitPattern.h.
|
inline |
Definition at line 38 of file PFCheckHitPattern.h.
pair< PFCheckHitPattern::PFTrackHitInfo, PFCheckHitPattern::PFTrackHitInfo > PFCheckHitPattern::analyze | ( | const TrackerTopology * | tkerTopo, |
const TrackerGeometry * | tkerGeom, | ||
const reco::TrackBaseRef | track, | ||
const TransientVertex & | vert | ||
) |
PFCheck if hit pattern of this track is consistent with it being produced at given vertex. Pair.first gives number of hits on track in front of vertex. Pair.second gives number of missing hits between vertex and innermost hit on track.
Definition at line 77 of file PFCheckHitPattern.cc.
References Reference_intrackfit_cff::barrel, reco::HitPattern::getLayer(), reco::HitPattern::getSubStructure(), trackingPlots::hp, mps_fire::i, init, reco::HitPattern::MISSING_INNER_HITS, reco::HitPattern::missingHitFilter(), PV3DBase< T, PVType, FrameType >::perp(), TransientVertex::position(), HLT_2018_cff::track, reco::HitPattern::TRACK_HITS, reco::HitPattern::trackerHitFilter(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by PFDisplacedVertexFinder::fitVertexFromSeed().
|
staticprivate |
Return a bool indicating if a given subdetector is in the barrel.
Definition at line 71 of file PFCheckHitPattern.cc.
References PixelSubdetector::PixelBarrel, StripSubdetector::TIB, and StripSubdetector::TOB.
|
private |
Create map indicating r/z values of all layers/disks.
Definition at line 20 of file PFCheckHitPattern.cc.
References Reference_intrackfit_cff::barrel, ztail::d, TrackerGeometry::dets(), mps_fire::i, TrackerTopology::layer(), and position.
|
private |
Definition at line 166 of file PFCheckHitPattern.cc.
References taus_updatedMVAIds_cff::category, gather_cfg::cout, trackingPlots::hp, and mps_fire::i.
void PFCheckHitPattern::print | ( | const reco::TrackBaseRef | track | ) | const |
Print hit pattern on track.
Definition at line 156 of file PFCheckHitPattern.cc.
References gather_cfg::cout, trackingPlots::hp, reco::HitPattern::MISSING_INNER_HITS, edm::print(), HLT_2018_cff::track, and reco::HitPattern::TRACK_HITS.
|
private |
Note if geometry info is already initialized.
Definition at line 71 of file PFCheckHitPattern.h.
|
private |
Definition at line 76 of file PFCheckHitPattern.h.