#include <VertexFitterResult.h>
Public Types | |
typedef std::vector < reco::TransientTrack > | TTrackCont |
Public Member Functions | |
const float * | chi2Information () const |
void | fill (const TransientVertex &recv, const TrackingVertex *simv=0, reco::RecoToSimCollection *recSimColl=0, const float &time=0) |
void | fill (const TransientVertex &recVertex, const TTrackCont &recTrackV, const TrackingVertex *simv=0, reco::RecoToSimCollection *recSimColl=0, const float &time=0) |
const int * | numberRecTracks () |
const int * | numberSimTracks () |
const float * | recErrors (const int i) const |
const float * | recParameters (const int i) const |
const int * | recTrack_simIndex () |
const float * | recTrackWeight () |
const float * | recVertexErr () const |
const float * | recVertexPos () const |
const float * | refErrors (const int i) const |
const float * | refParameters (const int i) const |
void | reset () |
const float * | simParameters (const int i) const |
const int * | simTrack_recIndex () |
const float * | simVertexPos () const |
const float * | time () const |
const int * | trackInformation () const |
VertexFitterResult (const int maxTracks=100, const MagneticField *=0) | |
const int * | vertexPresent () const |
~VertexFitterResult () | |
Private Member Functions | |
void | fillErrors (const PerigeeTrajectoryError &pte, float *errors[5], int trackNumber) |
void | fillParameters (const reco::TrackBase::ParameterVector &perigee, float *params[5], int trackNumber) |
void | fillParameters (const PerigeeTrajectoryParameters &ptp, float *params[5], int trackNumber) |
Private Attributes | |
float | chi [3] |
float | fitTime |
int | numberOfRecTracks |
int | numberOfSimTracks |
float | recErr [3] |
float * | recErrs [5] |
int * | recIndex |
float * | recPars [5] |
float | recPos [3] |
float * | refErrs [5] |
float * | refPars [5] |
int * | simIndex |
float * | simPars [5] |
float | simPos [3] |
const MagneticField * | theMagField |
int | theMaxTracks |
int | tracks [3] |
float * | trackWeight |
int | vertex |
Very basic class containing only the positions of the simulated and reconstructed vertices, total chi**2, chi**2 probability and number of degrees of freedom. The only thing to be done is to call the method fill for each vertex.
Definition at line 25 of file VertexFitterResult.h.
typedef std::vector<reco::TransientTrack> VertexFitterResult::TTrackCont |
Definition at line 29 of file VertexFitterResult.h.
VertexFitterResult::VertexFitterResult | ( | const int | maxTracks = 100 , |
const MagneticField * | magField = 0 |
||
) |
Definition at line 10 of file VertexFitterResult.cc.
References i, numberOfRecTracks, numberOfSimTracks, recErrs, recIndex, recPars, refErrs, refPars, reset(), simIndex, simPars, theMagField, theMaxTracks, and trackWeight.
VertexFitterResult::~VertexFitterResult | ( | ) |
|
inline |
Definition at line 47 of file VertexFitterResult.h.
References chi.
Referenced by SimpleVertexTree::SimpleVertexTree().
void VertexFitterResult::fill | ( | const TransientVertex & | recv, |
const TrackingVertex * | simv = 0 , |
||
reco::RecoToSimCollection * | recSimColl = 0 , |
||
const float & | time = 0 |
||
) |
Definition at line 56 of file VertexFitterResult.cc.
References TransientVertex::isValid(), and TransientVertex::originalTracks().
Referenced by SimpleVertexTree::fill().
void VertexFitterResult::fill | ( | const TransientVertex & | recVertex, |
const TTrackCont & | recTrackV, | ||
const TrackingVertex * | simv = 0 , |
||
reco::RecoToSimCollection * | recSimColl = 0 , |
||
const float & | time = 0 |
||
) |
Definition at line 65 of file VertexFitterResult.cc.
References edm::RefVector< C, T, F >::begin(), chi, ChiSquaredProbability(), GlobalErrorBase< T, ErrorWeightType >::cxx(), GlobalErrorBase< T, ErrorWeightType >::cyy(), GlobalErrorBase< T, ErrorWeightType >::czz(), TrackingVertex::daughterTracks(), TrackingVertex::daughterTracks_begin(), TrackingVertex::daughterTracks_end(), TransientVertex::degreesOfFreedom(), alignCSCRings::e, edm::RefVector< C, T, F >::end(), fillErrors(), fillParameters(), spr::find(), fitTime, TransientVertex::isValid(), numberOfRecTracks, numberOfSimTracks, TransientVertex::originalTracks(), TrajectoryStateClosestToPoint::perigeeError(), TrackingVertex::position(), TransientVertex::position(), TransientVertex::positionError(), recErr, recErrs, recIndex, recPars, recPos, simIndex, simPars, simPos, mathSSE::sqrt(), theMagField, theMaxTracks, time(), TransientVertex::totalChiSquared(), reco::TrackTransientTrack::trackBaseRef(), reco::trackingParametersAtClosestApproachToBeamSpot(), tracks, vertex, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 206 of file VertexFitterResult.cc.
References PerigeeTrajectoryError::longitudinalImpactParameterError(), PerigeeTrajectoryError::phiError(), PerigeeTrajectoryError::thetaError(), PerigeeTrajectoryError::transverseCurvatureError(), and PerigeeTrajectoryError::transverseImpactParameterError().
Referenced by fill().
|
private |
Definition at line 185 of file VertexFitterResult.cc.
Referenced by fill().
|
private |
Definition at line 195 of file VertexFitterResult.cc.
References PerigeeTrajectoryParameters::vector().
|
inline |
Definition at line 52 of file VertexFitterResult.h.
References numberOfRecTracks.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 51 of file VertexFitterResult.h.
References numberOfSimTracks.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 73 of file VertexFitterResult.h.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 58 of file VertexFitterResult.h.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 56 of file VertexFitterResult.h.
References simIndex.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 57 of file VertexFitterResult.h.
References trackWeight.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 45 of file VertexFitterResult.h.
References recErr.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 44 of file VertexFitterResult.h.
References recPos.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 78 of file VertexFitterResult.h.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 63 of file VertexFitterResult.h.
Referenced by SimpleVertexTree::SimpleVertexTree().
void VertexFitterResult::reset | ( | void | ) |
Definition at line 216 of file VertexFitterResult.cc.
References chi, fitTime, i, j, numberOfRecTracks, numberOfSimTracks, recErr, recErrs, recIndex, recPars, recPos, refErrs, refPars, simIndex, simPars, simPos, tracks, trackWeight, and vertex.
Referenced by SimpleVertexTree::fill(), and VertexFitterResult().
|
inline |
Definition at line 68 of file VertexFitterResult.h.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 54 of file VertexFitterResult.h.
References recIndex.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 43 of file VertexFitterResult.h.
References simPos.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 49 of file VertexFitterResult.h.
References fitTime.
Referenced by fill(), and SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 46 of file VertexFitterResult.h.
References tracks.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 48 of file VertexFitterResult.h.
References vertex.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
private |
Definition at line 120 of file VertexFitterResult.h.
Referenced by chi2Information(), fill(), and reset().
|
private |
Definition at line 123 of file VertexFitterResult.h.
|
private |
Definition at line 131 of file VertexFitterResult.h.
Referenced by fill(), numberRecTracks(), reset(), and VertexFitterResult().
|
private |
Definition at line 131 of file VertexFitterResult.h.
Referenced by fill(), numberSimTracks(), reset(), and VertexFitterResult().
|
private |
Definition at line 119 of file VertexFitterResult.h.
Referenced by fill(), recVertexErr(), and reset().
|
private |
Definition at line 129 of file VertexFitterResult.h.
Referenced by fill(), recErrors(), reset(), VertexFitterResult(), and ~VertexFitterResult().
|
private |
Definition at line 133 of file VertexFitterResult.h.
Referenced by fill(), reset(), simTrack_recIndex(), VertexFitterResult(), and ~VertexFitterResult().
|
private |
Definition at line 127 of file VertexFitterResult.h.
Referenced by fill(), recParameters(), reset(), VertexFitterResult(), and ~VertexFitterResult().
|
private |
Definition at line 118 of file VertexFitterResult.h.
Referenced by fill(), recVertexPos(), and reset().
|
private |
Definition at line 130 of file VertexFitterResult.h.
Referenced by refErrors(), reset(), VertexFitterResult(), and ~VertexFitterResult().
|
private |
Definition at line 128 of file VertexFitterResult.h.
Referenced by refParameters(), reset(), VertexFitterResult(), and ~VertexFitterResult().
|
private |
Definition at line 133 of file VertexFitterResult.h.
Referenced by fill(), recTrack_simIndex(), reset(), VertexFitterResult(), and ~VertexFitterResult().
|
private |
Definition at line 126 of file VertexFitterResult.h.
Referenced by fill(), reset(), simParameters(), VertexFitterResult(), and ~VertexFitterResult().
|
private |
Definition at line 117 of file VertexFitterResult.h.
Referenced by fill(), reset(), and simVertexPos().
|
private |
Definition at line 115 of file VertexFitterResult.h.
Referenced by fill(), and VertexFitterResult().
|
private |
Definition at line 125 of file VertexFitterResult.h.
Referenced by fill(), and VertexFitterResult().
|
private |
Definition at line 121 of file VertexFitterResult.h.
Referenced by fill(), reset(), and trackInformation().
|
private |
Definition at line 132 of file VertexFitterResult.h.
Referenced by recTrackWeight(), reset(), VertexFitterResult(), and ~VertexFitterResult().
|
private |
Definition at line 122 of file VertexFitterResult.h.
Referenced by Tau.Tau::dxy(), fill(), reset(), and vertexPresent().