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 65 of file PFCheckHitPattern.h.
typedef std::pair<PFTrackHitInfo, PFTrackHitInfo> PFCheckHitPattern::PFTrackHitFullInfo |
Definition at line 43 of file PFCheckHitPattern.h.
typedef std::pair<unsigned int, unsigned int> PFCheckHitPattern::PFTrackHitInfo |
Definition at line 42 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 78 of file PFCheckHitPattern.h.
|
inline |
Definition at line 38 of file PFCheckHitPattern.h.
|
inline |
Definition at line 40 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 79 of file PFCheckHitPattern.cc.
References Reference_intrackfit_cff::barrel, edm::RefToBase< T >::get(), reco::HitPattern::getHitPattern(), reco::HitPattern::getLayer(), reco::HitPattern::getSubStructure(), reco::TrackBase::hitPattern(), AnalysisDataFormats_SUSYBSMObjects::hp, mps_fire::i, StGenEvtProducer_cfi::init, reco::HitPattern::MISSING_INNER_HITS, reco::HitPattern::numberOfHits(), PV3DBase< T, PVType, FrameType >::perp(), TransientVertex::position(), reco::HitPattern::TRACK_HITS, reco::HitPattern::trackerHitFilter(), reco::HitPattern::validHitFilter(), 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, edmIntegrityCheck::d, TrackerGeometry::dets(), mps_fire::i, TrackerTopology::layer(), and position.
void PFCheckHitPattern::print | ( | const reco::TrackBaseRef | track | ) | const |
Print hit pattern on track.
Definition at line 150 of file PFCheckHitPattern.cc.
References gather_cfg::cout, edm::RefToBase< T >::get(), reco::TrackBase::hitPattern(), AnalysisDataFormats_SUSYBSMObjects::hp, reco::HitPattern::MISSING_INNER_HITS, reco::print(), and reco::HitPattern::TRACK_HITS.
|
private |
Definition at line 160 of file PFCheckHitPattern.cc.
References gather_cfg::cout, reco::HitPattern::getHitPattern(), reco::HitPattern::getHitType(), reco::HitPattern::getLayer(), reco::HitPattern::getSubStructure(), mps_fire::i, reco::HitPattern::numberOfHits(), and reco::HitPattern::trackerHitFilter().
|
private |
Note if geometry info is already initialized.
Definition at line 74 of file PFCheckHitPattern.h.
|
private |
Definition at line 79 of file PFCheckHitPattern.h.