12 const Surface& referenceSurface)
13 : theComponents(prtsComp), ftsAvailable(
false), refSurface(&referenceSurface), surf(
true) {}
17 : theComponents(prtsComp), ftsAvailable(
false), refPosition(referencePosition), surf(
false) {}
33 double maxWeight = -1.;
34 RTSvector::const_iterator maxIt;
36 if ((**it).weight() > maxWeight) {
37 maxWeight = (**it).weight();
57 throw VertexException(
"MultiRefittedTS::freeTrajectoryState(): Don't know how to do that yet...");
65 throw VertexException(
"MultiRefittedTS::freeTrajectoryState(): Don't know how to do that yet...");
73 throw VertexException(
"MultiRefittedTS::freeTrajectoryState(): Don't know how to do that yet...");
82 throw VertexException(
"MultiRefittedTS::freeTrajectoryState(): Don't know how to do that yet...");
89 cout <<
"Asking for weight of empty MultiRefittedTS, returning zero!" << endl;
101 "MultiRefittedTS::stateWithNewWeight(): Can not reweight multi-state with total weight < DBL_MIN");
109 reWeightedRTSC.push_back((**it).stateWithNewWeight((**it).weight() *
factor));
122 vector<TrajectoryStateOnSurface> tsosComponents;
125 tsosComponents.push_back((**it).trajectoryStateOnSurface(surface));
132 vector<TrajectoryStateOnSurface> tsosComponents;
135 tsosComponents.push_back((**it).trajectoryStateOnSurface(surface,
propagator));