#include <NuclearVertexBuilder.h>
Classes | |
class | cmpTracks |
Public Member Functions | |
void | addSecondaryTrack (const reco::TrackRef &secTrack) |
void | build (const reco::TrackRef &primaryTrack, std::vector< reco::TrackRef > &secondaryTrack) |
ClosestApproachInRPhi * | closestApproach (const reco::TrackRef &primTrack, const reco::TrackRef &secTrack) const |
reco::Vertex | getVertex () const |
bool | isCompatible (const reco::TrackRef &secTrack) const |
NuclearVertexBuilder (const MagneticField *mag, const TransientTrackBuilder *transientTkBuilder, const edm::ParameterSet &iConfig) | |
Private Member Functions | |
void | checkEnergy (const reco::TrackRef &primTrack, std::vector< reco::TrackRef > &tC) const |
void | cleanTrackCollection (const reco::TrackRef &primTrack, std::vector< reco::TrackRef > &tC) const |
bool | FillVertexWithAdaptVtxFitter (const reco::TrackRef &primTrack, const std::vector< reco::TrackRef > &secTracks) |
bool | FillVertexWithCrossingPoint (const reco::TrackRef &primTrack, const std::vector< reco::TrackRef > &secTracks) |
void | FillVertexWithLastPrimHit (const reco::TrackRef &primTrack, const std::vector< reco::TrackRef > &secTracks) |
FreeTrajectoryState | getTrajectory (const reco::TrackRef &track) const |
bool | isGoodSecondaryTrack (const reco::TrackRef &primTrack, const reco::TrackRef &secTrack) const |
bool | isGoodSecondaryTrack (const reco::TrackRef &secTrack, const reco::TrackRef &primTrack, const double &distOfClosestApp, const GlobalPoint &crossPoint) const |
Private Attributes | |
double | chi2Cut_ |
double | DPtovPtCut_ |
double | minDistFromPrim_ |
double | minDistFromVtx_ |
double | shareFrac_ |
reco::Vertex | the_vertex |
const MagneticField * | theMagField |
const TransientTrackBuilder * | theTransientTrackBuilder |
Definition at line 16 of file NuclearVertexBuilder.h.
|
inline |
Definition at line 19 of file NuclearVertexBuilder.h.
References build().
void NuclearVertexBuilder::addSecondaryTrack | ( | const reco::TrackRef & | secTrack | ) |
Definition at line 190 of file NuclearVertexBuilder.cc.
References build(), the_vertex, reco::Vertex::tracks_begin(), and reco::Vertex::tracks_end().
Referenced by getVertex().
void NuclearVertexBuilder::build | ( | const reco::TrackRef & | primaryTrack, |
std::vector< reco::TrackRef > & | secondaryTrack | ||
) |
Definition at line 10 of file NuclearVertexBuilder.cc.
References checkEnergy(), cleanTrackCollection(), FillVertexWithAdaptVtxFitter(), FillVertexWithCrossingPoint(), FillVertexWithLastPrimHit(), and jetUpdater_cfi::sort.
Referenced by addSecondaryTrack(), and NuclearVertexBuilder().
|
private |
Definition at line 266 of file NuclearVertexBuilder.cc.
References mps_fire::i.
Referenced by build(), and getVertex().
|
private |
Definition at line 199 of file NuclearVertexBuilder.cc.
References objects.autophobj::float, mps_fire::i, isGoodSecondaryTrack(), TrackingRecHit::isValid(), LogDebug, shareFrac_, TrackingRecHit::sharesInput(), TrackingRecHit::some, and HiIsolationCommonParameters_cff::track.
Referenced by build(), and getVertex().
ClosestApproachInRPhi * NuclearVertexBuilder::closestApproach | ( | const reco::TrackRef & | primTrack, |
const reco::TrackRef & | secTrack | ||
) | const |
Definition at line 119 of file NuclearVertexBuilder.cc.
References ClosestApproachInRPhi::calculate(), getTrajectory(), and mps_update::status.
Referenced by FillVertexWithCrossingPoint(), NuclearInteractionEDProducer::findAdditionalSecondaryTracks(), getVertex(), isCompatible(), and isGoodSecondaryTrack().
|
private |
Definition at line 57 of file NuclearVertexBuilder.cc.
References TransientTrackBuilder::build(), cppFunctionSkipper::exception, mps_fire::i, reco::Vertex::isValid(), LogDebug, the_vertex, theTransientTrackBuilder, reco::Vertex::tracksSize(), AdaptiveVertexFitter::vertex(), VertexException::what(), and cms::Exception::what().
Referenced by build(), and getVertex().
|
private |
Definition at line 88 of file NuclearVertexBuilder.cc.
References reco::Vertex::add(), closestApproach(), ClosestApproachInRPhi::crossingPoint(), mps_fire::i, NuclearSeed_cfi::maxHits, nhits, the_vertex, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by build(), and getVertex().
|
private |
Definition at line 45 of file NuclearVertexBuilder.cc.
References reco::Vertex::add(), mps_fire::i, LogDebug, and the_vertex.
Referenced by build(), and getVertex().
|
private |
Definition at line 27 of file NuclearVertexBuilder.cc.
References position, and theMagField.
Referenced by closestApproach(), and getVertex().
|
inline |
Definition at line 29 of file NuclearVertexBuilder.h.
References addSecondaryTrack(), checkEnergy(), cleanTrackCollection(), closestApproach(), FillVertexWithAdaptVtxFitter(), FillVertexWithCrossingPoint(), FillVertexWithLastPrimHit(), getTrajectory(), isCompatible(), isGoodSecondaryTrack(), the_vertex, and HiIsolationCommonParameters_cff::track.
bool NuclearVertexBuilder::isCompatible | ( | const reco::TrackRef & | secTrack | ) | const |
Definition at line 164 of file NuclearVertexBuilder.cc.
References closestApproach(), isGoodSecondaryTrack(), minDistFromVtx_, reco::Vertex::position(), mps_fire::result, mathSSE::sqrt(), the_vertex, reco::Vertex::tracks_begin(), extraflags_cff::vtx, PV3DBase< T, PVType, FrameType >::x(), reco::Vertex::xError(), PV3DBase< T, PVType, FrameType >::y(), reco::Vertex::yError(), PV3DBase< T, PVType, FrameType >::z(), and reco::Vertex::zError().
Referenced by getVertex().
|
private |
Definition at line 130 of file NuclearVertexBuilder.cc.
References closestApproach(), ClosestApproachInRPhi::crossingPoint(), ClosestApproachInRPhi::distance(), and mps_fire::result.
Referenced by cleanTrackCollection(), getVertex(), and isCompatible().
|
private |
Definition at line 139 of file NuclearVertexBuilder.cc.
References chi2Cut_, gather_cfg::cout, DPtovPtCut_, minDistFromPrim_, p1, p2, PV3DBase< T, PVType, FrameType >::perp(), and hiDetachedQuadStep_cff::pt2.
|
private |
Definition at line 56 of file NuclearVertexBuilder.h.
Referenced by isGoodSecondaryTrack().
|
private |
Definition at line 57 of file NuclearVertexBuilder.h.
Referenced by isGoodSecondaryTrack().
|
private |
Definition at line 55 of file NuclearVertexBuilder.h.
Referenced by isGoodSecondaryTrack().
|
private |
Definition at line 58 of file NuclearVertexBuilder.h.
Referenced by isCompatible().
|
private |
Definition at line 59 of file NuclearVertexBuilder.h.
Referenced by cleanTrackCollection().
|
private |
Definition at line 50 of file NuclearVertexBuilder.h.
Referenced by addSecondaryTrack(), FillVertexWithAdaptVtxFitter(), FillVertexWithCrossingPoint(), FillVertexWithLastPrimHit(), getVertex(), and isCompatible().
|
private |
Definition at line 53 of file NuclearVertexBuilder.h.
Referenced by getTrajectory().
|
private |
Definition at line 54 of file NuclearVertexBuilder.h.
Referenced by FillVertexWithAdaptVtxFitter().