#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, TrackAssociatorByChi2 *associator=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 | |
TrackAssociatorByChi2 * | associatorForParamAtPca |
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] |
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 24 of file VertexFitterResult.h.
typedef std::vector<reco::TransientTrack> VertexFitterResult::TTrackCont |
Definition at line 28 of file VertexFitterResult.h.
VertexFitterResult::VertexFitterResult | ( | const int | maxTracks = 100 , |
TrackAssociatorByChi2 * | associator = 0 |
||
) |
Definition at line 9 of file VertexFitterResult.cc.
References associatorForParamAtPca, i, numberOfRecTracks, numberOfSimTracks, recErrs, recIndex, recPars, refErrs, refPars, reset(), simIndex, simPars, theMaxTracks, and trackWeight.
VertexFitterResult::~VertexFitterResult | ( | ) |
|
inline |
Definition at line 46 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 55 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 64 of file VertexFitterResult.cc.
References associatorForParamAtPca, 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(), TrackAssociatorByChi2::parametersAtClosestApproach(), TrajectoryStateClosestToPoint::perigeeError(), TrackingVertex::position(), TransientVertex::position(), TransientVertex::positionError(), recErr, recErrs, recIndex, recPars, recPos, simIndex, simPars, simPos, mathSSE::sqrt(), theMaxTracks, time(), TransientVertex::totalChiSquared(), reco::TrackTransientTrack::trackBaseRef(), tracks, vertex, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 203 of file VertexFitterResult.cc.
References PerigeeTrajectoryError::longitudinalImpactParameterError(), PerigeeTrajectoryError::phiError(), PerigeeTrajectoryError::thetaError(), PerigeeTrajectoryError::transverseCurvatureError(), and PerigeeTrajectoryError::transverseImpactParameterError().
Referenced by fill().
|
private |
Definition at line 182 of file VertexFitterResult.cc.
Referenced by fill().
|
private |
Definition at line 192 of file VertexFitterResult.cc.
References PerigeeTrajectoryParameters::vector().
|
inline |
Definition at line 51 of file VertexFitterResult.h.
References numberOfRecTracks.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 50 of file VertexFitterResult.h.
References numberOfSimTracks.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 72 of file VertexFitterResult.h.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 57 of file VertexFitterResult.h.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 55 of file VertexFitterResult.h.
References simIndex.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 56 of file VertexFitterResult.h.
References trackWeight.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 44 of file VertexFitterResult.h.
References recErr.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 43 of file VertexFitterResult.h.
References recPos.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 77 of file VertexFitterResult.h.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 62 of file VertexFitterResult.h.
Referenced by SimpleVertexTree::SimpleVertexTree().
void VertexFitterResult::reset | ( | void | ) |
Definition at line 213 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 67 of file VertexFitterResult.h.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 53 of file VertexFitterResult.h.
References recIndex.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 42 of file VertexFitterResult.h.
References simPos.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 48 of file VertexFitterResult.h.
References fitTime.
Referenced by fill(), and SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 45 of file VertexFitterResult.h.
References tracks.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
inline |
Definition at line 47 of file VertexFitterResult.h.
References vertex.
Referenced by SimpleVertexTree::SimpleVertexTree().
|
private |
Definition at line 114 of file VertexFitterResult.h.
Referenced by fill(), and VertexFitterResult().
|
private |
Definition at line 119 of file VertexFitterResult.h.
Referenced by chi2Information(), fill(), and reset().
|
private |
Definition at line 122 of file VertexFitterResult.h.
|
private |
Definition at line 130 of file VertexFitterResult.h.
Referenced by fill(), numberRecTracks(), reset(), and VertexFitterResult().
|
private |
Definition at line 130 of file VertexFitterResult.h.
Referenced by fill(), numberSimTracks(), reset(), and VertexFitterResult().
|
private |
Definition at line 118 of file VertexFitterResult.h.
Referenced by fill(), recVertexErr(), and reset().
|
private |
Definition at line 128 of file VertexFitterResult.h.
Referenced by fill(), recErrors(), reset(), VertexFitterResult(), and ~VertexFitterResult().
|
private |
Definition at line 132 of file VertexFitterResult.h.
Referenced by fill(), reset(), simTrack_recIndex(), VertexFitterResult(), and ~VertexFitterResult().
|
private |
Definition at line 126 of file VertexFitterResult.h.
Referenced by fill(), recParameters(), reset(), VertexFitterResult(), and ~VertexFitterResult().
|
private |
Definition at line 117 of file VertexFitterResult.h.
Referenced by fill(), recVertexPos(), and reset().
|
private |
Definition at line 129 of file VertexFitterResult.h.
Referenced by refErrors(), reset(), VertexFitterResult(), and ~VertexFitterResult().
|
private |
Definition at line 127 of file VertexFitterResult.h.
Referenced by refParameters(), reset(), VertexFitterResult(), and ~VertexFitterResult().
|
private |
Definition at line 132 of file VertexFitterResult.h.
Referenced by fill(), recTrack_simIndex(), reset(), VertexFitterResult(), and ~VertexFitterResult().
|
private |
Definition at line 125 of file VertexFitterResult.h.
Referenced by fill(), reset(), simParameters(), VertexFitterResult(), and ~VertexFitterResult().
|
private |
Definition at line 116 of file VertexFitterResult.h.
Referenced by fill(), reset(), and simVertexPos().
|
private |
Definition at line 124 of file VertexFitterResult.h.
Referenced by fill(), and VertexFitterResult().
|
private |
Definition at line 120 of file VertexFitterResult.h.
Referenced by fill(), reset(), and trackInformation().
|
private |
Definition at line 131 of file VertexFitterResult.h.
Referenced by recTrackWeight(), reset(), VertexFitterResult(), and ~VertexFitterResult().
|
private |
Definition at line 121 of file VertexFitterResult.h.
Referenced by fill(), reset(), and vertexPresent().