17 std::vector<float>::const_iterator
weight = weights.begin();
18 for(std::vector<TransientTrack>::const_iterator iter = tracks.begin();
19 iter != tracks.end(); ++iter) {
22 if (weight != weights.end())
31 const std::vector<TransientTrack> &
tracks,
32 double ndof,
double chi2,
33 const std::vector<float> &
weights,
36 prediction_(prediction), prior_(prior),
37 ndof_(ndof), chi2_(chi2)
44 const std::vector<TransientTrack> &
tracks,
45 const std::vector<float> &
weights,
49 prediction_(ghostTrack), prior_(prior),
50 ndof_(ghostTrack.ndof()), chi2_(ghostTrack.chi2())
double lambda(const GlobalPoint &point) const
void setWeight(double weight)
void initStates(const std::vector< TransientTrack > &tracks, const std::vector< float > &weights, double offset)
std::vector< GhostTrackState > states_
GhostTrackPrediction prediction_
unsigned int offset(bool)
bool linearize(const GhostTrackPrediction &pred, bool initial=false, double lambda=0.)
ROOT::Math::PositionVector3D< ROOT::Math::Cartesian3D< float >, ROOT::Math::GlobalCoordinateSystemTag > GlobalPoint
point in global coordinate system
GhostTrack(const GhostTrackPrediction &prior, const GhostTrackPrediction &prediction, const std::vector< GhostTrackState > &states, double ndof, double chi2)