CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GsfTrackProducerBase.cc
Go to the documentation of this file.
2 // system include files
3 #include <memory>
4 // user include files
20 
22 
24 
27 
28 void
30  const Propagator* prop,
31  const MeasurementTracker* measTk,
32  std::auto_ptr<TrackingRecHitCollection>& selHits,
33  std::auto_ptr<reco::GsfTrackCollection>& selTracks,
34  std::auto_ptr<reco::TrackExtraCollection>& selTrackExtras,
35  std::auto_ptr<reco::GsfTrackExtraCollection>& selGsfTrackExtras,
36  std::auto_ptr<std::vector<Trajectory> >& selTrajectories,
37  AlgoProductCollection& algoResults, TransientTrackingRecHitBuilder const * hitBuilder,
38  const reco::BeamSpot& bs)
39 {
40 
45 
50  edm::Ref< std::vector<Trajectory> >::key_type iTjRef = 0;
51  std::map<unsigned int, unsigned int> tjTkMap;
52 
53  TSCBLBuilderNoMaterial tscblBuilder;
54 
55  for(AlgoProductCollection::iterator i=algoResults.begin(); i!=algoResults.end();i++){
56  Trajectory * theTraj = (*i).first;
57  if(trajectoryInEvent_) {
58  selTrajectories->push_back(*theTraj);
59  iTjRef++;
60  }
61 
62  reco::GsfTrack * theTrack = (*i).second.first;
63  PropagationDirection seedDir = (*i).second.second;
64 
65  LogDebug("TrackProducer") << "In GsfTrackProducerBase::putInEvt - seedDir=" << seedDir;
66 
67  reco::GsfTrack t = * theTrack;
68  selTracks->push_back( t );
69  iTkRef++;
70 
71  // Store indices in local map (starts at 0)
72  if(trajectoryInEvent_) tjTkMap[iTjRef-1] = iTkRef-1;
73 
74  //sets the outermost and innermost TSOSs
75  TrajectoryStateOnSurface outertsos;
76  TrajectoryStateOnSurface innertsos;
77  unsigned int innerId, outerId;
78 
79  // --- NOTA BENE: the convention is to sort hits and measurements "along the momentum".
80  // This is consistent with innermost and outermost labels only for tracks from LHC collision
81  if (theTraj->direction() == alongMomentum) {
82  outertsos = theTraj->lastMeasurement().updatedState();
83  innertsos = theTraj->firstMeasurement().updatedState();
84  outerId = theTraj->lastMeasurement().recHit()->geographicalId().rawId();
85  innerId = theTraj->firstMeasurement().recHit()->geographicalId().rawId();
86  } else {
87  outertsos = theTraj->firstMeasurement().updatedState();
88  innertsos = theTraj->lastMeasurement().updatedState();
89  outerId = theTraj->firstMeasurement().recHit()->geographicalId().rawId();
90  innerId = theTraj->lastMeasurement().recHit()->geographicalId().rawId();
91  }
92  //build the TrackExtra
93  GlobalPoint v = outertsos.globalParameters().position();
94  GlobalVector p = outertsos.globalParameters().momentum();
95  math::XYZVector outmom( p.x(), p.y(), p.z() );
96  math::XYZPoint outpos( v.x(), v.y(), v.z() );
97  v = innertsos.globalParameters().position();
98  p = innertsos.globalParameters().momentum();
99  math::XYZVector inmom( p.x(), p.y(), p.z() );
100  math::XYZPoint inpos( v.x(), v.y(), v.z() );
101 
102  reco::TrackExtraRef teref= reco::TrackExtraRef ( rTrackExtras, idx ++ );
103  reco::GsfTrack & track = selTracks->back();
104  track.setExtra( teref );
105 
106  //======= I want to set the second hitPattern here =============
107  if (theSchool.isValid())
108  {
110  evt.getByToken(mteSrc_, mte);
111  // NavigationSetter setter( *theSchool );
112  setSecondHitPattern(theTraj,track,prop,&*mte);
113  }
114  //==============================================================
115 
116  selTrackExtras->push_back( reco::TrackExtra (outpos, outmom, true, inpos, inmom, true,
117  outertsos.curvilinearError(), outerId,
118  innertsos.curvilinearError(), innerId,
119  seedDir, theTraj->seedRef()));
120 
121 
122  reco::TrackExtra & tx = selTrackExtras->back();
123 
124  // --- NOTA BENE: the convention is to sort hits and measurements "along the momentum".
125  // This is consistent with innermost and outermost labels only for tracks from LHC collisions
126  Traj2TrackHits t2t(hitBuilder,false);
127  auto ih = selHits->size();
128  assert(ih==hidx);
129  t2t(*theTraj,*selHits,useSplitting);
130  auto ie = selHits->size();
131  size_t il = 0;
132  for (;ih<ie; ++ih) {
133  auto const & hit = (*selHits)[ih];
134  track.setHitPattern( hit, il ++ );
135  tx.add( TrackingRecHitRef( rHits, hidx ++ ) );
136  }
137 
138 
139  /*
140  TrajectoryFitter::RecHitContainer transHits; theTraj->recHitsV(transHits,useSplitting);
141  // --- NOTA BENE: the convention is to sort hits and measurements "along the momentum".
142  // This is consistent with innermost and outermost labels only for tracks from LHC collisions
143  if (theTraj->direction() == alongMomentum) {
144  for( TrajectoryFitter::RecHitContainer::const_iterator j = transHits.begin();
145  j != transHits.end(); j ++ ) {
146  if ((**j).hit()!=0){
147  TrackingRecHit * hit = (**j).hit()->clone();
148  track.setHitPattern( * hit, ih ++ );
149  selHits->push_back( hit );
150  tx.add( TrackingRecHitRef( rHits, hidx ++ ) );
151  }
152  }
153  }else{
154  for( TrajectoryFitter::RecHitContainer::const_iterator j = transHits.end()-1;
155  j != transHits.begin()-1; --j ) {
156  if ((**j).hit()!=0){
157  TrackingRecHit * hit = (**j).hit()->clone();
158  track.setHitPattern( * hit, ih ++ );
159  selHits->push_back( hit );
160  tx.add( TrackingRecHitRef( rHits, hidx ++ ) );
161  }
162  }
163  }
164  */
165  // ----
166 
167  std::vector<reco::GsfTangent> tangents;
168  const Trajectory::DataContainer& measurements = theTraj->measurements();
169  if ( measurements.size()>2 ) {
170  tangents.reserve(measurements.size()-2);
171  Trajectory::DataContainer::const_iterator ibegin,iend;
172  int increment(0);
173  if (theTraj->direction() == alongMomentum) {
174  ibegin = measurements.begin() + 1;
175  iend = measurements.end() - 1;
176  increment = 1;
177  }
178  else {
179  ibegin = measurements.end() - 2;
180  iend = measurements.begin();
181  increment = -1;
182  }
184  math::XYZVector momentum;
185  Measurement1D deltaP;
186  // only measurements on "mono" detectors
187  for ( Trajectory::DataContainer::const_iterator i=ibegin;
188  i!=iend; i+=increment ) {
189  if ( i->recHit().get() ) {
190  DetId detId(i->recHit()->geographicalId());
191  if ( detId.det()==DetId::Tracker ) {
192  int subdetId = detId.subdetId();
193  if ( subdetId==SiStripDetId::TIB || subdetId==SiStripDetId::TID ||
194  subdetId==SiStripDetId::TOB || subdetId==SiStripDetId::TEC ) {
195  if ( SiStripDetId(detId).stereo() ) continue;
196  }
197  }
198  }
199  bool valid = computeModeAtTM(*i,position,momentum,deltaP);
200  if ( valid ) {
201  tangents.push_back(reco::GsfTangent(position,momentum,deltaP));
202  }
203  }
204  }
205 
206 
207  //build the GsfTrackExtra
208  std::vector<reco::GsfComponent5D> outerStates;
209  outerStates.reserve(outertsos.components().size());
210  fillStates(outertsos,outerStates);
211  std::vector<reco::GsfComponent5D> innerStates;
212  innerStates.reserve(innertsos.components().size());
213  fillStates(innertsos,innerStates);
214 
215 
216  reco::GsfTrackExtraRef terefGsf = reco::GsfTrackExtraRef ( rGsfTrackExtras, idxGsf ++ );
217  track.setGsfExtra( terefGsf );
218  selGsfTrackExtras->push_back( reco::GsfTrackExtra (outerStates, outertsos.localParameters().pzSign(),
219  innerStates, innertsos.localParameters().pzSign(),
220  tangents));
221 
222  if ( innertsos.isValid() ) {
224  TransverseImpactPointExtrapolator tipExtrapolator(gsfProp);
225  fillMode(track,innertsos,gsfProp,tipExtrapolator,tscblBuilder,bs);
226  }
227 
228  delete theTrack;
229  delete theTraj;
230  }
231 
232  LogTrace("TrackingRegressionTest") << "========== TrackProducer Info ===================";
233  LogTrace("TrackingRegressionTest") << "number of finalGsfTracks: " << selTracks->size();
234  for (reco::GsfTrackCollection::const_iterator it = selTracks->begin(); it != selTracks->end(); it++) {
235  LogTrace("TrackingRegressionTest") << "track's n valid and invalid hit, chi2, pt : "
236  << it->found() << " , "
237  << it->lost() <<" , "
238  << it->normalizedChi2() << " , "
239  << it->pt() << " , "
240  << it->eta() ;
241  }
242  LogTrace("TrackingRegressionTest") << "=================================================";
243 
244 
245  rTracks_ = evt.put( selTracks );
246  evt.put( selTrackExtras );
247  evt.put( selGsfTrackExtras );
248  evt.put( selHits );
249 
250  if(trajectoryInEvent_) {
251  edm::OrphanHandle<std::vector<Trajectory> > rTrajs = evt.put(selTrajectories);
252 
253  // Now Create traj<->tracks association map
254  std::auto_ptr<TrajGsfTrackAssociationCollection> trajTrackMap( new TrajGsfTrackAssociationCollection() );
255  for ( std::map<unsigned int, unsigned int>::iterator i = tjTkMap.begin();
256  i != tjTkMap.end(); i++ ) {
257  edm::Ref<std::vector<Trajectory> > trajRef( rTrajs, (*i).first );
258  edm::Ref<reco::GsfTrackCollection> tkRef( rTracks_, (*i).second );
259  trajTrackMap->insert( edm::Ref<std::vector<Trajectory> >( rTrajs, (*i).first ),
261  }
262  evt.put( trajTrackMap );
263  }
264 }
265 
266 void
268  std::vector<reco::GsfComponent5D>& states) const
269 {
272  std::vector<TrajectoryStateOnSurface> components(tsos.components());
273  for ( std::vector<TrajectoryStateOnSurface>::const_iterator i=components.begin();
274  i!=components.end(); ++i ) {
275  states.push_back(reco::GsfComponent5D(i->weight(),i->localParameters().vector(),i->localError().matrix()));
276  }
277 }
278 
279 void
281  const Propagator& gsfProp,
282  const TransverseImpactPointExtrapolator& tipExtrapolator,
284  const reco::BeamSpot& bs) const
285 {
286  // Get transverse impact parameter plane (from mean). This is a first approximation;
287  // the mode is then extrapolated to the
288  // final position closest to the beamline.
289  GlobalPoint bsPos(bs.position().x()+(track.vz()-bs.position().z())*bs.dxdz(),
290  bs.position().y()+(track.vz()-bs.position().z())*bs.dydz(),
291  track.vz());
292  TrajectoryStateOnSurface vtxTsos = tipExtrapolator.extrapolate(innertsos,bsPos);
293  if ( !vtxTsos.isValid() ) vtxTsos = innertsos;
294  // extrapolate mixture
295  vtxTsos = gsfProp.propagate(innertsos,vtxTsos.surface());
296  if ( !vtxTsos.isValid() ) return; // failed (GsfTrack keeps mode = mean)
297  // extract mode
298  // build perigee parameters (for covariance to be stored)
299  AlgebraicVector5 modeParameters;
300  AlgebraicSymMatrix55 modeCovariance;
301  // set parameters and variances for "mode" state (local parameters)
302  for ( unsigned int iv=0; iv<5; ++iv ) {
304  GaussianSumUtilities1D utils(state1D);
305  modeParameters(iv) = utils.mode().mean();
306  modeCovariance(iv,iv) = utils.mode().variance();
307  if ( !utils.modeIsValid() ) {
308  // if mode calculation fails: use mean
309  modeParameters(iv) = utils.mean();
310  modeCovariance(iv,iv) = utils.variance();
311  }
312  }
313  // complete covariance matrix
314  // approximation: use correlations from mean
315  const AlgebraicSymMatrix55& meanCovariance(vtxTsos.localError().matrix());
316  for ( unsigned int iv1=0; iv1<5; ++iv1 ) {
317  for ( unsigned int iv2=0; iv2<iv1; ++iv2 ) {
318  double cov12 = meanCovariance(iv1,iv2) *
319  sqrt(modeCovariance(iv1,iv1)/meanCovariance(iv1,iv1)*
320  modeCovariance(iv2,iv2)/meanCovariance(iv2,iv2));
321  modeCovariance(iv1,iv2) = modeCovariance(iv2,iv1) = cov12;
322  }
323  }
324  TrajectoryStateOnSurface modeTsos(LocalTrajectoryParameters(modeParameters,
325  vtxTsos.localParameters().pzSign()),
326  LocalTrajectoryError(modeCovariance),
327  vtxTsos.surface(),
328  vtxTsos.magneticField(),
329  vtxTsos.surfaceSide());
330  TrajectoryStateClosestToBeamLine tscbl = tscblBuilder(*modeTsos.freeState(),bs);
331  if ( !tscbl.isValid() ) return; // failed (GsfTrack keeps mode = mean)
332  //
333  // extract state at PCA and create momentum vector and covariance matrix
334  //
335  FreeTrajectoryState fts = tscbl.trackStateAtPCA();
336  GlobalVector tscblMom = fts.momentum();
337  reco::GsfTrack::Vector mom(tscblMom.x(),tscblMom.y(),tscblMom.z());
339  const AlgebraicSymMatrix55& tscblCov = fts.curvilinearError().matrix();
340  for ( unsigned int iv1=0; iv1<reco::GsfTrack::dimensionMode; ++iv1 ) {
341  for ( unsigned int iv2=0; iv2<reco::GsfTrack::dimensionMode; ++iv2 ) {
342  cov(iv1,iv2) = tscblCov(iv1,iv2);
343  }
344  }
345  track.setMode(fts.charge(),mom,cov);
346 }
347 
348 void
351  AlgebraicSymMatrix55& covariance) const
352 {
353  //
354  // parameters and errors from combined state
355  //
356  parameters = tsos.localParameters().vector();
357  covariance = tsos.localError().matrix();
358  //
359  // mode for parameter 0 (q/p)
360  //
362  GaussianSumUtilities1D qpGS(qpState);
363  if ( !qpGS.modeIsValid() ) return;
364  double qp = qpGS.mode().mean();
365  double varQp = qpGS.mode().variance();
366  //
367  // replace q/p value and variance, rescale correlation terms
368  // (heuristic procedure - alternative would be mode in 5D ...)
369  //
370  double VarQpRatio = sqrt(varQp/covariance(0,0));
371  parameters(0) = qp;
372  covariance(0,0) = varQp;
373  for ( int i=1; i<5; ++i ) covariance(i,0) *= VarQpRatio;
374 }
375 
376 bool
379  reco::GsfTrackExtra::Vector& momentum,
380  Measurement1D& deltaP) const
381 {
382  //
383  // states
384  //
387  TrajectoryStateOnSurface upState = tm.updatedState();
388 
389 
390  if ( !fwdState.isValid() || !bwdState.isValid() || !upState.isValid() ) {
391  return false;
392  }
393  //
394  // position from mean, momentum from mode (in cartesian coordinates)
395  // following PF code
396  //
397  GlobalPoint pos = upState.globalPosition();
398  position = reco::GsfTrackExtra::Point(pos.x(),pos.y(),pos.z());
400  GlobalVector mom;
401  bool result = mts.momentumFromModeCartesian(upState,mom);
402  if ( !result ) {
403 // std::cout << "momentumFromModeCartesian failed" << std::endl;
404  return false;
405  }
406  momentum = reco::GsfTrackExtra::Vector(mom.x(),mom.y(),mom.z());
407  //
408  // calculation from deltaP from fit to forward & backward predictions
409  // (momentum from mode) and hit
410  //
411  // prepare input parameter vectors and covariance matrices
412  AlgebraicVector5 fwdPars = fwdState.localParameters().vector();
413  AlgebraicSymMatrix55 fwdCov = fwdState.localError().matrix();
414  localParametersFromQpMode(fwdState,fwdPars,fwdCov);
415  AlgebraicVector5 bwdPars = bwdState.localParameters().vector();
416  AlgebraicSymMatrix55 bwdCov = bwdState.localError().matrix();
417  localParametersFromQpMode(bwdState,bwdPars,bwdCov);
418  LocalPoint hitPos(0.,0.,0.);
419  LocalError hitErr(-1.,-1.,-1.);
420  if ( tm.recHit()->isValid() ) {
421  hitPos = tm.recHit()->localPosition();
422  hitErr = tm.recHit()->localPositionError();
423  }
424  CollinearFitAtTM2 collinearFit(fwdPars,fwdCov,bwdPars,bwdCov,hitPos,hitErr);
425  deltaP = collinearFit.deltaP();
426 
427  return true;
428 }
#define LogDebug(id)
math::Error< dimension >::type CovarianceMatrix
virtual FreeTrajectoryState propagate(const FreeTrajectoryState &ftsStart, const GlobalPoint &pDest) const final
Definition: Propagator.h:119
int i
Definition: DBlmapReader.cc:9
dictionary parameters
Definition: Parameters.py:2
double pzSign() const
Sign of the z-component of the momentum in the local frame.
math::Error< dimensionMode >::type CovarianceMatrixMode
3 parameter covariance matrix (momentum part) from mode
Definition: GsfTrack.h:21
ConstRecHitPointer const & recHit() const
const LocalTrajectoryParameters & localParameters() const
void setGsfExtra(const GsfTrackExtraRef &ref)
set reference to GSF &quot;extra&quot; object
Definition: GsfTrack.h:30
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:434
const CurvilinearTrajectoryError & curvilinearError() const
T y() const
Definition: PV3DBase.h:63
std::vector< GsfTrackExtra > GsfTrackExtraCollection
collection of GsfTrackExtra objects
GlobalPoint globalPosition() const
edm::Ref< TrackExtraCollection > TrackExtraRef
persistent reference to a TrackExtra
Definition: TrackExtraFwd.h:13
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
PropagationDirection
TrackCharge charge() const
void fillMode(reco::GsfTrack &track, const TrajectoryStateOnSurface innertsos, const Propagator &gsfProp, const TransverseImpactPointExtrapolator &tipExtrapolator, TrajectoryStateClosestToBeamLineBuilder &tscblBuilder, const reco::BeamSpot &bs) const
const MagneticField * magneticField() const
const CurvilinearTrajectoryError & curvilinearError() const
void fillStates(TrajectoryStateOnSurface tsos, std::vector< reco::GsfComponent5D > &states) const
PropagationDirection const & direction() const
Definition: Trajectory.cc:118
double dydz() const
dydz slope
Definition: BeamSpot.h:84
DataContainer const & measurements() const
Definition: Trajectory.h:203
AlgebraicVector5 vector() const
void setMode(int chargeMode, const Vector &momentumMode, const CovarianceMatrixMode &covarianceMode)
set mode parameters
Definition: GsfTrack.cc:27
const SurfaceType & surface() const
std::vector< TrajectoryMeasurement > DataContainer
Definition: Trajectory.h:42
MultiGaussianState1D multiState1D(const std::vector< MultiGaussianState< N >::Vector > &, const std::vector< MultiGaussianState< N >::Matrix > &, const std::vector< double > &, unsigned int)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Event.h:116
double mean() const
parameter vector
edm::Ref< TrackingRecHitCollection > TrackingRecHitRef
persistent reference to a TrackingRecHit
T sqrt(T t)
Definition: SSEVec.h:48
Measurement1D deltaP() const
estimated deltaP (out-in) from fit parameters
TrajectoryMeasurement const & lastMeasurement() const
Definition: Trajectory.h:181
void setSecondHitPattern(Trajectory *traj, reco::GsfTrack &track, const Propagator *prop, const MeasurementTrackerEvent *measTk)
T z() const
Definition: PV3DBase.h:64
std::vector< GsfTrack > GsfTrackCollection
collection of GsfTracks
Definition: GsfTrackFwd.h:9
tuple result
Definition: query.py:137
double variance() const
variance
const SingleGaussianState1D & mode() const
const AlgebraicSymMatrix55 & matrix() const
const LocalTrajectoryError & localError() const
edm::RefToBase< TrajectorySeed > seedRef(void) const
Definition: Trajectory.h:306
std::vector< AlgoProduct > AlgoProductCollection
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:37
void localParametersFromQpMode(const TrajectoryStateOnSurface tsos, AlgebraicVector5 &parameters, AlgebraicSymMatrix55 &covariance) const
local parameters rescaled with q/p from mode
GlobalVector momentum() const
#define LogTrace(id)
double dxdz() const
dxdz slope
Definition: BeamSpot.h:82
RefProd< PROD > getRefBeforePut()
Definition: Event.h:128
TrajectoryStateOnSurface const & forwardPredictedState() const
Access to forward predicted state (from fitter or builder)
edm::Ref< GsfTrackExtraCollection > GsfTrackExtraRef
persistent reference to a GsfTrackExtra
edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > > TrajGsfTrackAssociationCollection
edm::EDGetTokenT< MeasurementTrackerEvent > mteSrc_
Detector identifier class for the strip tracker.
Definition: SiStripDetId.h:17
double vz() const
z coordinate of the reference point on track
Definition: TrackBase.h:145
bool computeModeAtTM(const TrajectoryMeasurement &tm, reco::GsfTrackExtra::Point &position, reco::GsfTrackExtra::Vector &momentum, Measurement1D &deltaP) const
position, momentum and estimated deltaP at an intermediate measurement (true if successful) ...
Definition: DetId.h:18
void setHitPattern(const C &c)
set hit patterns from vector of hit references
Definition: TrackBase.h:244
std::vector< TrackExtra > TrackExtraCollection
collection of TrackExtra objects
Definition: TrackExtraFwd.h:9
void setExtra(const TrackExtraRef &ref)
set reference to &quot;extra&quot; object
Definition: Track.h:95
TrajectoryMeasurement const & firstMeasurement() const
Definition: Trajectory.h:194
ROOT::Math::SVector< double, 5 > AlgebraicVector5
const GlobalTrajectoryParameters & globalParameters() const
double mean(unsigned int i) const
mean value of a component
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:30
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
tuple idx
DEBUGGING if hasattr(process,&quot;trackMonIterativeTracking2012&quot;): print &quot;trackMonIterativeTracking2012 D...
math::XYZPoint Point
point in the space
Definition: GsfTrackExtra.h:25
void add(const TrackingRecHitRef &r)
add a reference to a RecHit
double variance(unsigned int i) const
variance of a component
TrajectoryStateOnSurface extrapolate(const FreeTrajectoryState &fts, const GlobalPoint &vtx) const
extrapolation with default (=geometrical) propagator
const AlgebraicSymMatrix55 & matrix() const
static int position[264][3]
Definition: ReadPGInfo.cc:509
edm::ESHandle< NavigationSchool > theSchool
virtual void putInEvt(edm::Event &, const Propagator *prop, const MeasurementTracker *measTk, std::auto_ptr< TrackingRecHitCollection > &, std::auto_ptr< reco::GsfTrackCollection > &, std::auto_ptr< reco::TrackExtraCollection > &, std::auto_ptr< reco::GsfTrackExtraCollection > &, std::auto_ptr< std::vector< Trajectory > > &, AlgoProductCollection &, TransientTrackingRecHitBuilder const *, const reco::BeamSpot &)
Put produced collections in the event.
const Point & position() const
position
Definition: BeamSpot.h:62
TrajectoryStateOnSurface const & updatedState() const
math::XYZVector Vector
spatial vector
Definition: GsfTrackExtra.h:27
boost::remove_cv< typename boost::remove_reference< argument_type >::type >::type key_type
Definition: Ref.h:170
bool isValid() const
Definition: ESHandle.h:37
edm::OrphanHandle< TrackCollection > rTracks_
std::vector< TrajectoryStateOnSurface > components() const
T x() const
Definition: PV3DBase.h:62
math::XYZVector Vector
spatial vector
Definition: TrackBase.h:72
bool modeIsValid() const
mode status
TrajectoryStateOnSurface const & backwardPredictedState() const
Access to backward predicted state (from smoother)
math::Vector< dimension >::type ParameterVector