CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes
FastTSGFromPropagation Class Reference

#include <FastTSGFromPropagation.h>

Inheritance diagram for FastTSGFromPropagation:
TrackerSeedGenerator

Classes

struct  increasingEstimate
 
struct  isInvalid
 

Public Member Functions

 FastTSGFromPropagation (const edm::ParameterSet &pset)
 constructor More...
 
 FastTSGFromPropagation (const edm::ParameterSet &par, const MuonServiceProxy *)
 
void init (const MuonServiceProxy *)
 initialize More...
 
void setEvent (const edm::Event &)
 set an event More...
 
void trackerSeeds (const TrackCand &, const TrackingRegion &, const TrackerTopology *tTopo, std::vector< TrajectorySeed > &)
 generate seed(s) for a track More...
 
virtual ~FastTSGFromPropagation ()
 destructor More...
 
- Public Member Functions inherited from TrackerSeedGenerator
const edm::EventgetEvent () const
 
 TrackerSeedGenerator ()
 
virtual void trackerSeeds (const TrackCand &, const TrackingRegion &, const TrackerTopology *, BTSeedCollection &)
 
virtual ~TrackerSeedGenerator ()
 destructor More...
 

Private Member Functions

void adjust (FreeTrajectoryState &) const
 adjust the error matrix of the FTS More...
 
void adjust (TrajectoryStateOnSurface &) const
 adjust the error matrix of the TSOS More...
 
TrajectorySeed createSeed (const TrajectoryStateOnSurface &, const DetId &) const
 create a hitless seed from a trajectory state More...
 
TrajectorySeed createSeed (const TrajectoryStateOnSurface &tsos, const edm::OwnVector< TrackingRecHit > &container, const DetId &id) const
 create a seed from a trajectory state More...
 
double dxyDis (const TrajectoryStateOnSurface &tsos) const
 
const Chi2MeasurementEstimatorestimator () const
 
std::vector
< TrajectoryMeasurement
findMeasurements (const DetLayer *, const TrajectoryStateOnSurface &) const
 look for measurements on the first compatible layer More...
 
std::vector
< TrajectoryMeasurement
findMeasurements_new (const DetLayer *, const TrajectoryStateOnSurface &) const
 look for measurements on the first compatible layer (faster way) More...
 
void getRescalingFactor (const TrackCand &staMuon)
 
TrajectoryStateOnSurface innerState (const TrackCand &) const
 
TrajectoryStateOnSurface outerTkState (const TrackCand &) const
 
bool passSelection (const TrajectoryStateOnSurface &) const
 check some quantity and beam-spot compatibility and decide to continue More...
 
edm::ESHandle< Propagatorpropagator () const
 
void stateOnDet (const TrajectoryStateOnSurface &ts, unsigned int detid, PTrajectoryStateOnDet &pts) const
 A mere copy (without memory leak) of an existing tracking method. More...
 
const LayerMeasurementstkLayerMeasurements () const
 
const TrajectoryStateUpdatorupdator () const
 
void validMeasurements (std::vector< TrajectoryMeasurement > &) const
 select valid measurements More...
 
double zDis (const TrajectoryStateOnSurface &tsos) const
 

Private Attributes

edm::InputTag beamSpot_
 
bool theAdjustAtIp
 
edm::Handle< reco::BeamSpottheBeamSpot
 
unsigned long long theCacheId_MT
 
unsigned long long theCacheId_TG
 
std::string theCategory
 
edm::ParameterSet theConfig
 
MuonErrorMatrixtheErrorMatrixAdjuster
 
const Chi2MeasurementEstimatortheEstimator
 
double theFixedErrorRescaling
 
double theFlexErrorRescaling
 
const TrackerGeometrytheGeometry
 
edm::Handle
< SiTrackerGSMatchedRecHit2DCollection
theGSRecHits
 
edm::InputTag theHitProducer
 
double theMaxChi2
 
edm::ESHandle< MeasurementTrackertheMeasTracker
 
const DirectTrackerNavigationtheNavigation
 
std::string thePropagatorName
 
std::string theResetMethod
 
bool theSelectStateFlag
 
const MuonServiceProxytheService
 
double theSigmaZ
 
edm::InputTag theSimTrackCollectionLabel
 
edm::Handle
< edm::SimTrackContainer
theSimTracks
 
const LayerMeasurementstheTkLayerMeasurements
 
edm::ESHandle
< GeometricSearchTracker
theTracker
 
TrajectoryStateTransformtheTSTransformer
 
edm::ESHandle
< TransientTrackingRecHitBuilder
theTTRHBuilder
 
bool theUpdateStateFlag
 
const TrajectoryStateUpdatortheUpdator
 
bool theUseVertexStateFlag
 

Additional Inherited Members

- Public Types inherited from TrackerSeedGenerator
typedef std::vector
< TrajectorySeed
BTSeedCollection
 
typedef std::pair< const
Trajectory *, reco::TrackRef
TrackCand
 
- Protected Attributes inherited from TrackerSeedGenerator
const edm::EventtheEvent
 
const MuonServiceProxytheProxyService
 

Detailed Description

Emulate TSGFromPropagation in RecoMuon

Author
Hwidong Yoo - Purdue University

Tracker Seed Generator by propagating and updating a standAlone muon to the first 2 (or 1) rechits it meets in tracker system

Emulate TSGFromPropagation in RecoMuon

Author
Hwidong Yoo - Purdue University

Definition at line 44 of file FastTSGFromPropagation.h.

Constructor & Destructor Documentation

FastTSGFromPropagation::FastTSGFromPropagation ( const edm::ParameterSet pset)

constructor

Definition at line 47 of file FastTSGFromPropagation.cc.

References theCategory.

48  beamSpot_(iConfig.getParameter<edm::InputTag>("beamSpot"))
49 {
50  theCategory = "FastSimulation|Muons||FastTSGFromPropagation";
51 
52 }
const Chi2MeasurementEstimator * theEstimator
const DirectTrackerNavigation * theNavigation
edm::ESHandle< GeometricSearchTracker > theTracker
const MuonServiceProxy * theService
const LayerMeasurements * theTkLayerMeasurements
FastTSGFromPropagation::FastTSGFromPropagation ( const edm::ParameterSet par,
const MuonServiceProxy service 
)

Definition at line 54 of file FastTSGFromPropagation.cc.

References theCategory.

55  beamSpot_(iConfig.getParameter<edm::InputTag>("beamSpot"))
56 {
57  theCategory = "FastSimulation|Muons|FastTSGFromPropagation";
58 }
const Chi2MeasurementEstimator * theEstimator
const DirectTrackerNavigation * theNavigation
edm::ESHandle< GeometricSearchTracker > theTracker
const MuonServiceProxy * theService
const TrajectoryStateUpdator * theUpdator
const LayerMeasurements * theTkLayerMeasurements
FastTSGFromPropagation::~FastTSGFromPropagation ( )
virtual

destructor

Definition at line 60 of file FastTSGFromPropagation.cc.

References LogTrace, theCategory, theErrorMatrixAdjuster, theEstimator, theNavigation, theTkLayerMeasurements, and theUpdator.

61 {
62 
63  LogTrace(theCategory) << " FastTSGFromPropagation dtor called ";
64  if ( theNavigation ) delete theNavigation;
65  if ( theUpdator ) delete theUpdator;
66  if ( theEstimator ) delete theEstimator;
69 
70 }
const Chi2MeasurementEstimator * theEstimator
const DirectTrackerNavigation * theNavigation
const TrajectoryStateUpdator * theUpdator
#define LogTrace(id)
MuonErrorMatrix * theErrorMatrixAdjuster
const LayerMeasurements * theTkLayerMeasurements

Member Function Documentation

void FastTSGFromPropagation::adjust ( FreeTrajectoryState state) const
private

adjust the error matrix of the FTS

Definition at line 524 of file FastTSGFromPropagation.cc.

References FreeTrajectoryState::curvilinearError(), MuonErrorMatrix::get(), FreeTrajectoryState::momentum(), MuonErrorMatrix::multiply(), FreeTrajectoryState::parameters(), FreeTrajectoryState::rescaleError(), theErrorMatrixAdjuster, theFixedErrorRescaling, theFlexErrorRescaling, and theResetMethod.

Referenced by innerState(), and outerTkState().

524  {
525 
526  //rescale the error
527  if ( theResetMethod == "discreate" ) {
529  return;
530  }
531 
532  //rescale the error
533  if ( theResetMethod == "fixed" || !theErrorMatrixAdjuster) {
535  return;
536  }
537 
539  CurvilinearTrajectoryError sfMat = theErrorMatrixAdjuster->get(state.momentum());//FIXME with position
540  MuonErrorMatrix::multiply(oMat, sfMat);
541 
542  state = FreeTrajectoryState(state.parameters(),
543  oMat);
544 }
const GlobalTrajectoryParameters & parameters() const
CurvilinearTrajectoryError get(GlobalVector momentum, bool convolute=true)
main method to be used. Retrieve a 5x5 symetrical matrix according to parametrization of error or sca...
const CurvilinearTrajectoryError & curvilinearError() const
static void multiply(CurvilinearTrajectoryError &initial_error, const CurvilinearTrajectoryError &scale_error)
multiply term by term the two matrix
GlobalVector momentum() const
MuonErrorMatrix * theErrorMatrixAdjuster
void rescaleError(double factor)
void FastTSGFromPropagation::adjust ( TrajectoryStateOnSurface state) const
private

adjust the error matrix of the TSOS

Definition at line 546 of file FastTSGFromPropagation.cc.

References TrajectoryStateOnSurface::curvilinearError(), MuonErrorMatrix::get(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalParameters(), MuonErrorMatrix::multiply(), TrajectoryStateOnSurface::rescaleError(), TrajectoryStateOnSurface::surface(), TrajectoryStateOnSurface::surfaceSide(), theErrorMatrixAdjuster, theFixedErrorRescaling, theFlexErrorRescaling, theResetMethod, and TrajectoryStateOnSurface::weight().

546  {
547 
548  //rescale the error
549  if ( theResetMethod == "discreate" ) {
551  return;
552  }
553 
554  if ( theResetMethod == "fixed" || !theErrorMatrixAdjuster) {
556  return;
557  }
558 
560  CurvilinearTrajectoryError sfMat = theErrorMatrixAdjuster->get(state.globalMomentum());//FIXME with position
561  MuonErrorMatrix::multiply(oMat, sfMat);
562 
564  oMat,
565  state.surface(),
566  state.surfaceSide(),
567  state.weight());
568 }
const CurvilinearTrajectoryError & curvilinearError() const
CurvilinearTrajectoryError get(GlobalVector momentum, bool convolute=true)
main method to be used. Retrieve a 5x5 symetrical matrix according to parametrization of error or sca...
const SurfaceType & surface() const
SurfaceSide surfaceSide() const
Position relative to material, defined relative to momentum vector.
static void multiply(CurvilinearTrajectoryError &initial_error, const CurvilinearTrajectoryError &scale_error)
multiply term by term the two matrix
MuonErrorMatrix * theErrorMatrixAdjuster
const GlobalTrajectoryParameters & globalParameters() const
GlobalVector globalMomentum() const
TrajectorySeed FastTSGFromPropagation::createSeed ( const TrajectoryStateOnSurface tsos,
const DetId id 
) const
private

create a hitless seed from a trajectory state

Definition at line 437 of file FastTSGFromPropagation.cc.

Referenced by trackerSeeds().

437  {
438 
440  return createSeed(tsos, container, id);
441 
442 }
TrajectorySeed createSeed(const TrajectoryStateOnSurface &, const DetId &) const
create a hitless seed from a trajectory state
TrajectorySeed FastTSGFromPropagation::createSeed ( const TrajectoryStateOnSurface tsos,
const edm::OwnVector< TrackingRecHit > &  container,
const DetId id 
) const
private

create a seed from a trajectory state

Definition at line 444 of file FastTSGFromPropagation.cc.

References oppositeToMomentum, and trajectoryStateTransform::persistentState().

444  {
445 
447  return TrajectorySeed(seedTSOS,container,oppositeToMomentum);
448 
449 }
PTrajectoryStateOnDet persistentState(const TrajectoryStateOnSurface &ts, unsigned int detid)
double FastTSGFromPropagation::dxyDis ( const TrajectoryStateOnSurface tsos) const
private
const Chi2MeasurementEstimator* FastTSGFromPropagation::estimator ( void  ) const
inlineprivate

Definition at line 79 of file FastTSGFromPropagation.h.

References theEstimator.

Referenced by findMeasurements(), findMeasurements_new(), and trackerSeeds().

79 { return theEstimator; }
const Chi2MeasurementEstimator * theEstimator
std::vector< TrajectoryMeasurement > FastTSGFromPropagation::findMeasurements ( const DetLayer nl,
const TrajectoryStateOnSurface staState 
) const
private

look for measurements on the first compatible layer

Definition at line 485 of file FastTSGFromPropagation.cc.

References estimator(), LayerMeasurements::measurements(), propagator(), query::result, tkLayerMeasurements(), and validMeasurements().

485  {
486 
487  std::vector<TrajectoryMeasurement> result = tkLayerMeasurements()->measurements((*nl), staState, *propagator(), *estimator());
488  validMeasurements(result);
489  return result;
490 }
std::vector< TrajectoryMeasurement > measurements(const DetLayer &layer, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
const LayerMeasurements * tkLayerMeasurements() const
void validMeasurements(std::vector< TrajectoryMeasurement > &) const
select valid measurements
const Chi2MeasurementEstimator * estimator() const
tuple result
Definition: query.py:137
edm::ESHandle< Propagator > propagator() const
std::vector< TrajectoryMeasurement > FastTSGFromPropagation::findMeasurements_new ( const DetLayer nl,
const TrajectoryStateOnSurface staState 
) const
private

look for measurements on the first compatible layer (faster way)

Definition at line 460 of file FastTSGFromPropagation.cc.

References GeometricSearchDet::compatibleDets(), estimator(), propagator(), query::result, and theMeasTracker.

Referenced by trackerSeeds().

460  {
461 
462  std::vector<TrajectoryMeasurement> result;
463 
464  std::vector<DetLayer::DetWithState> compatDets = nl->compatibleDets(staState, *propagator(), *estimator());
465  if ( compatDets.empty() ) return result;
466 
467  for (std::vector<DetLayer::DetWithState>::const_iterator idws = compatDets.begin(); idws != compatDets.end(); ++idws) {
468  if ( idws->second.isValid() && (idws->first) ) {
469  std::vector<TrajectoryMeasurement> tmptm =
470  theMeasTracker->idToDet(idws->first->geographicalId())->fastMeasurements(idws->second, idws->second, *propagator(), *estimator());
471  //validMeasurements(tmptm);
472 // if ( tmptm.size() > 2 ) {
473 // std::stable_sort(tmptm.begin(),tmptm.end(),increasingEstimate());
474 // result.insert(result.end(),tmptm.begin(), tmptm.begin()+2);
475 // } else {
476  result.insert(result.end(),tmptm.begin(), tmptm.end());
477 // }
478  }
479  }
480 
481  return result;
482 
483 }
edm::ESHandle< MeasurementTracker > theMeasTracker
virtual std::vector< DetWithState > compatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
const Chi2MeasurementEstimator * estimator() const
tuple result
Definition: query.py:137
edm::ESHandle< Propagator > propagator() const
void FastTSGFromPropagation::getRescalingFactor ( const TrackCand staMuon)
private

Definition at line 515 of file FastTSGFromPropagation.cc.

References theFlexErrorRescaling.

Referenced by trackerSeeds().

515  {
516  float pt = (staMuon.second)->pt();
517  if ( pt < 13.0 ) theFlexErrorRescaling = 3;
518  else if ( pt < 30.0 ) theFlexErrorRescaling = 5;
519  else theFlexErrorRescaling = 10;
520  return;
521 }
void FastTSGFromPropagation::init ( const MuonServiceProxy service)
virtual

initialize

Reimplemented from TrackerSeedGenerator.

Definition at line 293 of file FastTSGFromPropagation.cc.

References Chi2MeasurementEstimatorESProducer_cfi::Chi2MeasurementEstimator, geometry, MuonErrorMatrix::get(), edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, theAdjustAtIp, theCacheId_MT, theCacheId_TG, theConfig, theErrorMatrixAdjuster, theEstimator, theFixedErrorRescaling, theFlexErrorRescaling, theGeometry, theHitProducer, theMaxChi2, theNavigation, thePropagatorName, theResetMethod, theSelectStateFlag, theService, theSigmaZ, theSimTrackCollectionLabel, theTracker, theTTRHBuilder, theUpdateStateFlag, theUpdator, and theUseVertexStateFlag.

293  {
294 
295  theMaxChi2 = theConfig.getParameter<double>("MaxChi2");
296 
297  theFixedErrorRescaling = theConfig.getParameter<double>("ErrorRescaling");
298 
299  theFlexErrorRescaling = 1.0;
300 
302 
303  if (theResetMethod != "discrete" && theResetMethod != "fixed" && theResetMethod != "matrix" ) {
304  edm::LogError("FastTSGFromPropagation")
305  <<"Wrong error rescaling method: "<<theResetMethod <<"\n"
306  <<"Possible choices are: discrete, fixed, matrix.\n"
307  <<"Use discrete method" <<std::endl;
308  theResetMethod = "discrete";
309  }
310 
312 
313  theCacheId_MT = 0;
314 
315  theCacheId_TG = 0;
316 
318 
319  theService = service;
320 
321  theUseVertexStateFlag = theConfig.getParameter<bool>("UseVertexState");
322 
323  theUpdateStateFlag = theConfig.getParameter<bool>("UpdateState");
324 
325  theSelectStateFlag = theConfig.getParameter<bool>("SelectState");
326 
327  theSimTrackCollectionLabel = theConfig.getParameter<edm::InputTag>("SimTrackCollectionLabel");
329 
330  theUpdator = new KFUpdator();
331 
332  theSigmaZ = theConfig.getParameter<double>("SigmaZ");
333 
334  edm::ParameterSet errorMatrixPset = theConfig.getParameter<edm::ParameterSet>("errorMatrixPset");
335  if ( theResetMethod == "matrix" && !errorMatrixPset.empty()){
336  theAdjustAtIp = errorMatrixPset.getParameter<bool>("atIP");
337  theErrorMatrixAdjuster = new MuonErrorMatrix(errorMatrixPset);
338  } else {
339  theAdjustAtIp =false;
341  }
342 
343  theService->eventSetup().get<TrackerRecoGeometryRecord>().get(theTracker);
345 
347  theService->eventSetup().get<TrackerDigiGeometryRecord>().get(geometry);
348  theGeometry = &(*geometry);
349 
350  theService->eventSetup().get<TransientRecHitRecord>().get("WithTrackAngle", theTTRHBuilder);
351 
352 }
T getParameter(std::string const &) const
const Chi2MeasurementEstimator * theEstimator
unsigned long long theCacheId_MT
const DirectTrackerNavigation * theNavigation
edm::ESHandle< GeometricSearchTracker > theTracker
CurvilinearTrajectoryError get(GlobalVector momentum, bool convolute=true)
main method to be used. Retrieve a 5x5 symetrical matrix according to parametrization of error or sca...
const MuonServiceProxy * theService
const TrajectoryStateUpdator * theUpdator
MuonErrorMatrix * theErrorMatrixAdjuster
const TrackerGeometry * theGeometry
edm::InputTag theSimTrackCollectionLabel
ESHandle< TrackerGeometry > geometry
edm::ESHandle< TransientTrackingRecHitBuilder > theTTRHBuilder
unsigned long long theCacheId_TG
TrajectoryStateOnSurface FastTSGFromPropagation::innerState ( const TrackCand staMuon) const
private

Definition at line 398 of file FastTSGFromPropagation.cc.

References adjust(), alongMomentum, trajectoryStateTransform::innerStateOnSurface(), oppositeToMomentum, and theService.

Referenced by outerTkState().

398  {
399 
400  TrajectoryStateOnSurface innerTS;
401 
402  if ( staMuon.first && staMuon.first->isValid() ) {
403  if (staMuon.first->direction() == alongMomentum) {
404  innerTS = staMuon.first->firstMeasurement().updatedState();
405  }
406  else if (staMuon.first->direction() == oppositeToMomentum) {
407  innerTS = staMuon.first->lastMeasurement().updatedState();
408  }
409  } else {
410  innerTS = trajectoryStateTransform::innerStateOnSurface(*(staMuon.second),*theService->trackingGeometry(), &*theService->magneticField());
411  }
412  //rescale the error
413  adjust(innerTS);
414 
415  return innerTS;
416 
417 }
void adjust(FreeTrajectoryState &) const
adjust the error matrix of the FTS
TrajectoryStateOnSurface innerStateOnSurface(const reco::Track &tk, const TrackingGeometry &geom, const MagneticField *field)
const MuonServiceProxy * theService
TrajectoryStateOnSurface FastTSGFromPropagation::outerTkState ( const TrackCand staMuon) const
private

Definition at line 419 of file FastTSGFromPropagation.cc.

References adjust(), trajectoryStateTransform::initialFreeState(), innerState(), propagator(), query::result, theService, and theUseVertexStateFlag.

Referenced by trackerSeeds().

419  {
420 
422 
423  if ( theUseVertexStateFlag && staMuon.second->pt() > 1.0 ) {
424  FreeTrajectoryState iniState = trajectoryStateTransform::initialFreeState(*(staMuon.second), &*theService->magneticField());
425  //rescale the error at IP
426  adjust(iniState);
427 
428  StateOnTrackerBound fromInside(&*(theService->propagator("PropagatorWithMaterial")));
429  result = fromInside(iniState);
430  } else {
431  StateOnTrackerBound fromOutside(&*propagator());
432  result = fromOutside(innerState(staMuon));
433  }
434  return result;
435 }
void adjust(FreeTrajectoryState &) const
adjust the error matrix of the FTS
const MuonServiceProxy * theService
tuple result
Definition: query.py:137
TrajectoryStateOnSurface innerState(const TrackCand &) const
FreeTrajectoryState initialFreeState(const reco::Track &tk, const MagneticField *field)
edm::ESHandle< Propagator > propagator() const
bool FastTSGFromPropagation::passSelection ( const TrajectoryStateOnSurface tsos) const
private

check some quantity and beam-spot compatibility and decide to continue

Definition at line 492 of file FastTSGFromPropagation.cc.

References edm::HandleBase::isValid(), theBeamSpot, theSelectStateFlag, theSigmaZ, and zDis().

Referenced by trackerSeeds().

492  {
493  if ( !theSelectStateFlag ) return true;
494  else {
495  if ( theBeamSpot.isValid() ) {
496  return ( ( fabs(zDis(tsos) - theBeamSpot->z0() ) < theSigmaZ) );
497 
498  } else {
499  return ( ( fabs(zDis(tsos)) < theSigmaZ) );
500 // double theDxyCut = 100;
501 // return ( (zDis(tsos) < theSigmaZ) && (dxyDis(tsos) < theDxyCut) );
502  }
503  }
504 
505 }
edm::Handle< reco::BeamSpot > theBeamSpot
bool isValid() const
Definition: HandleBase.h:76
double zDis(const TrajectoryStateOnSurface &tsos) const
edm::ESHandle<Propagator> FastTSGFromPropagation::propagator ( void  ) const
inlineprivate

Definition at line 81 of file FastTSGFromPropagation.h.

References MuonServiceProxy::propagator(), thePropagatorName, and theService.

Referenced by findMeasurements(), findMeasurements_new(), outerTkState(), and trackerSeeds().

const MuonServiceProxy * theService
edm::ESHandle< Propagator > propagator(std::string propagatorName) const
get the propagator
void FastTSGFromPropagation::setEvent ( const edm::Event iEvent)
virtual

set an event

Reimplemented from TrackerSeedGenerator.

Definition at line 354 of file FastTSGFromPropagation.cc.

References beamSpot_, edm::Event::getByLabel(), LogTrace, theBeamSpot, theCacheId_MT, theCacheId_TG, theCategory, theGSRecHits, theHitProducer, theMeasTracker, theNavigation, theService, theSimTrackCollectionLabel, theSimTracks, theTkLayerMeasurements, theTracker, and theUpdateStateFlag.

354  {
355 
356  bool measTrackerChanged = false;
357 
359 
360  // retrieve the MC truth (SimTracks)
363 
364 
365  unsigned long long newCacheId_MT = theService->eventSetup().get<CkfComponentsRecord>().cacheIdentifier();
366 
367  if ( theUpdateStateFlag && newCacheId_MT != theCacheId_MT ) {
368  LogTrace(theCategory) << "Measurment Tracker Geometry changed!";
369  theCacheId_MT = newCacheId_MT;
370  theService->eventSetup().get<CkfComponentsRecord>().get(theMeasTracker);
371  measTrackerChanged = true;
372  }
373 
374  //if ( theUpdateStateFlag ) theMeasTracker->update(iEvent);
375 
376  if ( measTrackerChanged && (&*theMeasTracker) ) {
379  }
380 
381  bool trackerGeomChanged = false;
382 
383  unsigned long long newCacheId_TG = theService->eventSetup().get<TrackerRecoGeometryRecord>().cacheIdentifier();
384 
385  if ( newCacheId_TG != theCacheId_TG ) {
386  LogTrace(theCategory) << "Tracker Reco Geometry changed!";
387  theCacheId_TG = newCacheId_TG;
388  theService->eventSetup().get<TrackerRecoGeometryRecord>().get(theTracker);
389  trackerGeomChanged = true;
390  }
391 
392  if ( trackerGeomChanged && (&*theTracker) ) {
393  if ( theNavigation ) delete theNavigation;
395  }
396 }
edm::ESHandle< MeasurementTracker > theMeasTracker
edm::Handle< reco::BeamSpot > theBeamSpot
unsigned long long theCacheId_MT
edm::Handle< edm::SimTrackContainer > theSimTracks
const DirectTrackerNavigation * theNavigation
edm::ESHandle< GeometricSearchTracker > theTracker
const MuonServiceProxy * theService
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:361
#define LogTrace(id)
edm::Handle< SiTrackerGSMatchedRecHit2DCollection > theGSRecHits
edm::InputTag theSimTrackCollectionLabel
const LayerMeasurements * theTkLayerMeasurements
unsigned long long theCacheId_TG
void FastTSGFromPropagation::stateOnDet ( const TrajectoryStateOnSurface ts,
unsigned int  detid,
PTrajectoryStateOnDet pts 
) const
private

A mere copy (without memory leak) of an existing tracking method.

should check if corresponds to m

Definition at line 570 of file FastTSGFromPropagation.cc.

References cond::rpcobgas::detid, i, j, gen::k, TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), m, LocalTrajectoryError::matrix(), and TrajectoryStateOnSurface::surfaceSide().

573 {
574  const AlgebraicSymMatrix55& m = ts.localError().matrix();
575  int dim = 5;
576  float localErrors[15];
577  int k = 0;
578  for (int i=0; i<dim; ++i) {
579  for (int j=0; j<=i; ++j) {
580  localErrors[k++] = m(i,j);
581  }
582  }
583  int surfaceSide = static_cast<int>(ts.surfaceSide());
585  localErrors, detid,
586  surfaceSide);
587 }
int i
Definition: DBlmapReader.cc:9
const LocalTrajectoryParameters & localParameters() const
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
SurfaceSide surfaceSide() const
Position relative to material, defined relative to momentum vector.
int j
Definition: DBlmapReader.cc:9
const AlgebraicSymMatrix55 & matrix() const
const LocalTrajectoryError & localError() const
int k[5][pyjets_maxn]
const LayerMeasurements* FastTSGFromPropagation::tkLayerMeasurements ( ) const
inlineprivate

Definition at line 75 of file FastTSGFromPropagation.h.

References theTkLayerMeasurements.

Referenced by findMeasurements().

75 { return theTkLayerMeasurements; }
const LayerMeasurements * theTkLayerMeasurements
void FastTSGFromPropagation::trackerSeeds ( const TrackCand staMuon,
const TrackingRegion region,
const TrackerTopology tTopo,
std::vector< TrajectorySeed > &  result 
)

generate seed(s) for a track

Definition at line 72 of file FastTSGFromPropagation.cc.

References PV3DBase< T, PVType, FrameType >::basicVector(), DeDxDiscriminatorTools::charge(), CoreSimTrack::charge(), RecHit2DLocalPos::clone(), DirectTrackerNavigation::compatibleLayers(), createSeed(), PTrajectoryStateOnDet::detId(), estimator(), PV3DBase< T, PVType, FrameType >::eta(), findMeasurements_new(), TrajectoryStateOnSurface::freeState(), g, TrackingRecHit::geographicalId(), getRescalingFactor(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), TrackerRecHit::hit(), TrackerGeometry::idToDet(), TrajectoryStateOnSurface::isValid(), LogTrace, oppositeToMomentum, outerTkState(), passSelection(), PV3DBase< T, PVType, FrameType >::perp(), position, propagator(), edm::OwnVector< T, P >::push_back(), DetId::rawId(), GeomDet::surface(), theCategory, theGeometry, theGSRecHits, theNavigation, theResetMethod, theService, theTTRHBuilder, theUpdateStateFlag, SimTrack::trackerSurfaceMomentum(), SimTrack::trackerSurfacePosition(), trajectoryStateTransform::transientState(), TrajectoryStateUpdator::update(), updator(), and PV3DBase< T, PVType, FrameType >::y().

73  {
74 
75  if ( theResetMethod == "discrete" ) getRescalingFactor(staMuon);
76 
77  TrajectoryStateOnSurface staState = outerTkState(staMuon);
78 
79  if ( !staState.isValid() ) {
80  LogTrace(theCategory) << "Error: initial state from L2 muon is invalid.";
81  return;
82  }
83 
84  LogTrace(theCategory) << "begin of trackerSeed:\n staState pos: "<<staState.globalPosition()
85  << " mom: "<<staState.globalMomentum()
86  <<"pos eta: "<<staState.globalPosition().eta()
87  <<"mom eta: "<<staState.globalMomentum().eta();
88 
89 
90  std::vector<const DetLayer*> nls = theNavigation->compatibleLayers(*(staState.freeState()), oppositeToMomentum);
91 
92  LogTrace(theCategory) << " compatible layers: "<<nls.size();
93 
94  if ( nls.empty() ) return;
95 
96  int ndesLayer = 0;
97 
98  bool usePredictedState = false;
99 
100  if ( theUpdateStateFlag ) { //use updated states
101  std::vector<TrajectoryMeasurement> alltm;
102 
103  for (std::vector<const DetLayer*>::const_iterator inl = nls.begin();
104  inl != nls.end(); inl++, ndesLayer++ ) {
105  if ( (*inl == 0) ) break;
106 // if ( (inl != nls.end()-1 ) && ( (*inl)->subDetector() == GeomDetEnumerators::TEC ) && ( (*(inl+1))->subDetector() == GeomDetEnumerators::TOB ) ) continue;
107  alltm = findMeasurements_new(*inl, staState);
108  if ( (!alltm.empty()) ) {
109  LogTrace(theCategory) << "final compatible layer: "<<ndesLayer;
110  break;
111  }
112  }
113 
114  if ( alltm.empty() ) {
115  LogTrace(theCategory) << " NO Measurements Found: eta: "<<staState.globalPosition().eta() <<"pt "<<staState.globalMomentum().perp();
116  usePredictedState = true;
117  } else {
118  LogTrace(theCategory) << " Measurements for seeds: "<<alltm.size();
119  std::stable_sort(alltm.begin(),alltm.end(),increasingEstimate());
120  if ( alltm.size() > 5 ) alltm.erase(alltm.begin() + 5, alltm.end());
121 
122  const edm::SimTrackContainer* simTracks = &(*theSimTracks);
123  const std::vector<unsigned> theSimTrackIds = theGSRecHits->ids();
124  TrackerRecHit theSeedHits;
125  std::vector<TrackerRecHit> outerHits;
126 
127  //std::vector<TrajectorySeed> tmpTS;
128  bool isMatch = false;
129  for (std::vector<TrajectoryMeasurement>::const_iterator itm = alltm.begin(); itm != alltm.end(); itm++) {
130  const TrajectoryStateOnSurface seedState = itm->predictedState();
131  double preY = seedState.globalPosition().y();
132 
133  // Check SimTrack
134  TrackingRecHit* aTrackingRecHit;
135  FreeTrajectoryState simtrack_trackerstate;
136  for( unsigned tkId=0; tkId != theSimTrackIds.size(); ++tkId ) {
137  const SimTrack & simtrack = (*simTracks)[theSimTrackIds[tkId]];
138  SiTrackerGSMatchedRecHit2DCollection::range theRecHitRange = theGSRecHits->get(theSimTrackIds[tkId]);
139  SiTrackerGSMatchedRecHit2DCollection::const_iterator theRecHitRangeIteratorBegin = theRecHitRange.first;
140  SiTrackerGSMatchedRecHit2DCollection::const_iterator theRecHitRangeIteratorEnd = theRecHitRange.second;
142 
144  simtrack.trackerSurfacePosition().y(),
145  simtrack.trackerSurfacePosition().z());
146  GlobalVector momentum(simtrack.trackerSurfaceMomentum().x(),
147  simtrack.trackerSurfaceMomentum().y(),
148  simtrack.trackerSurfaceMomentum().z());
149  int charge = (int)simtrack.charge();
150  GlobalTrajectoryParameters glb_parameters(position, momentum, charge, &*theService->magneticField().product());
151  simtrack_trackerstate = FreeTrajectoryState(glb_parameters);
152 
153  unsigned int outerId = 0;
154  for( iterRecHit = theRecHitRangeIteratorBegin; iterRecHit != theRecHitRangeIteratorEnd; ++iterRecHit) {
155  theSeedHits = TrackerRecHit(&(*iterRecHit), theGeometry, tTopo);
156  unsigned int id = theSeedHits.hit()->geographicalId().rawId();
157  if( preY < 0 ) {
158  if( id > outerId ) outerId = id;
159  }
160  else {
161  if( id > outerId ) outerId = id;
162  }
163  }
164  for( iterRecHit = theRecHitRangeIteratorBegin; iterRecHit != theRecHitRangeIteratorEnd; ++iterRecHit) {
165  theSeedHits = TrackerRecHit(&(*iterRecHit), theGeometry, tTopo);
166  if( itm->recHit()->hit()->geographicalId().rawId() == theSeedHits.hit()->geographicalId().rawId() ) {
167  aTrackingRecHit = theSeedHits.hit()->clone();
168  TransientTrackingRecHit::ConstRecHitPointer recHit = theTTRHBuilder->build(aTrackingRecHit);
169  if( !recHit ) continue;
170  TrajectoryStateOnSurface updatedTSOS = updator()->update(seedState, *(recHit));
171  if( updatedTSOS.isValid() && passSelection(updatedTSOS) ) {
173  container.push_back(recHit->hit()->clone());
174  TrajectorySeed ts = createSeed(updatedTSOS, container, recHit->geographicalId());
175  // check direction
176  const BasicTrajectorySeed* aSeed = &ts;
177  PTrajectoryStateOnDet PTSOD = aSeed->startingState();
178 
179  const GeomDet *g = theGeometry->idToDet(PTSOD.detId());
180  TrajectoryStateOnSurface tsos = trajectoryStateTransform::transientState(PTSOD, &(g->surface()), &*theService->magneticField().product());
181  if( tsos.globalMomentum().basicVector()*seedState.globalMomentum().basicVector() < 0. ) continue;
182  result.push_back(ts);
183  isMatch = true;
184  }
185  }
186  }
187  }
188  }
189  if( !isMatch ) {
190  // if there is no hits w.r.t. TM, find outermost hit
191  for (std::vector<TrajectoryMeasurement>::const_iterator itm = alltm.begin(); itm != alltm.end(); itm++) {
192  const TrajectoryStateOnSurface seedState = itm->predictedState();
193  double preY = seedState.globalPosition().y();
194 
195  // Check SimTrack
196  TrackingRecHit* aTrackingRecHit;
197  FreeTrajectoryState simtrack_trackerstate;
198  for( unsigned tkId=0; tkId != theSimTrackIds.size(); ++tkId ) {
199  const SimTrack & simtrack = (*simTracks)[theSimTrackIds[tkId]];
200  SiTrackerGSMatchedRecHit2DCollection::range theRecHitRange = theGSRecHits->get(theSimTrackIds[tkId]);
201  SiTrackerGSMatchedRecHit2DCollection::const_iterator theRecHitRangeIteratorBegin = theRecHitRange.first;
202  SiTrackerGSMatchedRecHit2DCollection::const_iterator theRecHitRangeIteratorEnd = theRecHitRange.second;
204 
206  simtrack.trackerSurfacePosition().y(),
207  simtrack.trackerSurfacePosition().z());
208  GlobalVector momentum(simtrack.trackerSurfaceMomentum().x(),
209  simtrack.trackerSurfaceMomentum().y(),
210  simtrack.trackerSurfaceMomentum().z());
211  int charge = (int)simtrack.charge();
212  GlobalTrajectoryParameters glb_parameters(position, momentum, charge, &*theService->magneticField().product());
213  simtrack_trackerstate = FreeTrajectoryState(glb_parameters);
214 
215  unsigned int outerId = 0;
216  for( iterRecHit = theRecHitRangeIteratorBegin; iterRecHit != theRecHitRangeIteratorEnd; ++iterRecHit) {
217  theSeedHits = TrackerRecHit(&(*iterRecHit), theGeometry, tTopo);
218  unsigned int id = theSeedHits.hit()->geographicalId().rawId();
219  if( preY < 0 ) {
220  if( id > outerId ) outerId = id;
221  }
222  else {
223  if( id > outerId ) outerId = id;
224  }
225  }
226  for( iterRecHit = theRecHitRangeIteratorBegin; iterRecHit != theRecHitRangeIteratorEnd; ++iterRecHit) {
227  theSeedHits = TrackerRecHit(&(*iterRecHit), theGeometry, tTopo);
228  if( outerId == theSeedHits.hit()->geographicalId().rawId() ) {
229  aTrackingRecHit = theSeedHits.hit()->clone();
230  TransientTrackingRecHit::ConstRecHitPointer recHit = theTTRHBuilder->build(aTrackingRecHit);
231  if( !recHit ) continue;
232  TrajectoryStateOnSurface updatedTSOS = updator()->update(seedState, *(recHit));
233  if( updatedTSOS.isValid() && passSelection(updatedTSOS) ) {
235  container.push_back(recHit->hit()->clone());
236  TrajectorySeed ts = createSeed(updatedTSOS, container, recHit->geographicalId());
237  // check direction
238  const BasicTrajectorySeed* aSeed = &ts;
239  PTrajectoryStateOnDet PTSOD = aSeed->startingState();
240 
241  const GeomDet *g = theGeometry->idToDet(PTSOD.detId());
242  TrajectoryStateOnSurface tsos = trajectoryStateTransform::transientState(PTSOD, &(g->surface()), &*theService->magneticField().product());
243  if( tsos.globalMomentum().basicVector()*seedState.globalMomentum().basicVector() < 0. ) continue;
244  result.push_back(ts);
245  }
246  }
247  }
248  }
249  }
250  }
251 
252  /*
253  for( unsigned ir = 0; ir < tmpTS.size(); ir++ ) {
254  const BasicTrajectorySeed* aSeed = &((tmpTS)[ir]);
255  PTrajectoryStateOnDet PTSOD = aSeed->startingState();
256 
257  DetId seedDetId(PTSOD.detId());
258  const GeomDet * g = theGeometry->idToDet(seedDetId);
259  TrajectoryStateOnSurface tsos = trajectoryStateTransform::transientState(PTSOD, &(g->surface()), &*theService->magneticField().product());
260  cout << "tsos3 = " << tsos.globalMomentum() << endl;
261  if( _index == ir ) {
262  cout << "tsos4 = " << tsos.globalMomentum() << endl;
263  result.push_back(tmpTS[ir]);
264  }
265  }
266  */
267  LogTrace(theCategory) << "result: "<<result.size();
268  return;
269  }
270  }
271 
272  if ( !theUpdateStateFlag || usePredictedState ) { //use predicted states
273  LogTrace(theCategory) << "use predicted state: ";
274  for (std::vector<const DetLayer*>::const_iterator inl = nls.begin();
275  inl != nls.end(); inl++ ) {
276 
277  if ( !result.empty() || *inl == 0 ) {
278  break;
279  }
280  std::vector<DetLayer::DetWithState> compatDets = (*inl)->compatibleDets(staState, *propagator(), *estimator());
281  LogTrace(theCategory) << " compatDets "<<compatDets.size();
282  if ( compatDets.empty() ) continue;
283  TrajectorySeed ts = createSeed(compatDets.front().second, compatDets.front().first->geographicalId());
284  result.push_back(ts);
285 
286  }
287  LogTrace(theCategory) << "result: "<<result.size();
288  return;
289  }
290  return;
291 }
const math::XYZVectorD & trackerSurfacePosition() const
Definition: SimTrack.h:36
std::pair< const_iterator, const_iterator > range
iterator range
Definition: RangeMap.h:52
T perp() const
Definition: PV3DBase.h:72
const DirectTrackerNavigation * theNavigation
virtual TrajectoryStateOnSurface update(const TrajectoryStateOnSurface &, const TransientTrackingRecHit &) const =0
virtual RecHit2DLocalPos * clone() const =0
T y() const
Definition: PV3DBase.h:63
GlobalPoint globalPosition() const
const MuonServiceProxy * theService
float charge() const
charge
Definition: CoreSimTrack.cc:3
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:35
double charge(const std::vector< uint8_t > &Ampls)
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
Definition: Activities.doc:4
static int position[TOTALCHAMBERS][3]
Definition: ReadPGInfo.cc:509
const Chi2MeasurementEstimator * estimator() const
uint32_t rawId() const
get the raw id
Definition: DetId.h:45
void getRescalingFactor(const TrackCand &staMuon)
C::const_iterator const_iterator
constant access iterator type
Definition: RangeMap.h:45
void push_back(D *&d)
Definition: OwnVector.h:273
bool passSelection(const TrajectoryStateOnSurface &) const
check some quantity and beam-spot compatibility and decide to continue
FreeTrajectoryState * freeState(bool withErrors=true) const
tuple result
Definition: query.py:137
std::vector< TrajectoryMeasurement > findMeasurements_new(const DetLayer *, const TrajectoryStateOnSurface &) const
look for measurements on the first compatible layer (faster way)
unsigned int detId() const
TrajectoryStateOnSurface outerTkState(const TrackCand &) const
virtual const GeomDet * idToDet(DetId) const
#define LogTrace(id)
edm::Handle< SiTrackerGSMatchedRecHit2DCollection > theGSRecHits
const TrackerGeometry * theGeometry
TrajectoryStateOnSurface transientState(const PTrajectoryStateOnDet &ts, const Surface *surface, const MagneticField *field)
const TrajectoryStateUpdator * updator() const
const math::XYZTLorentzVectorD & trackerSurfaceMomentum() const
Definition: SimTrack.h:38
edm::ESHandle< Propagator > propagator() const
TrajectorySeed createSeed(const TrajectoryStateOnSurface &, const DetId &) const
create a hitless seed from a trajectory state
T eta() const
Definition: PV3DBase.h:76
const GSSiTrackerRecHit2DLocalPos * hit() const
Definition: TrackerRecHit.h:74
GlobalVector globalMomentum() const
std::vector< const DetLayer * > compatibleLayers(const FreeTrajectoryState &fts, PropagationDirection timeDirection) const
find compatible layers for a given trajectory state
DetId geographicalId() const
const BasicVectorType & basicVector() const
Definition: PV3DBase.h:56
edm::ESHandle< TransientTrackingRecHitBuilder > theTTRHBuilder
std::vector< SimTrack > SimTrackContainer
const TrajectoryStateUpdator* FastTSGFromPropagation::updator ( ) const
inlineprivate

Definition at line 77 of file FastTSGFromPropagation.h.

References theUpdator.

Referenced by trackerSeeds().

77 {return theUpdator;}
const TrajectoryStateUpdator * theUpdator
void FastTSGFromPropagation::validMeasurements ( std::vector< TrajectoryMeasurement > &  tms) const
private

select valid measurements

Definition at line 452 of file FastTSGFromPropagation.cc.

Referenced by findMeasurements().

452  {
453 
454  std::vector<TrajectoryMeasurement>::iterator tmsend = std::remove_if(tms.begin(), tms.end(), isInvalid());
455  tms.erase(tmsend, tms.end());
456  return;
457 
458 }
double FastTSGFromPropagation::zDis ( const TrajectoryStateOnSurface tsos) const
private

Member Data Documentation

edm::InputTag FastTSGFromPropagation::beamSpot_
private

Definition at line 174 of file FastTSGFromPropagation.h.

Referenced by setEvent().

bool FastTSGFromPropagation::theAdjustAtIp
private

Definition at line 169 of file FastTSGFromPropagation.h.

Referenced by init().

edm::Handle<reco::BeamSpot> FastTSGFromPropagation::theBeamSpot
private

Definition at line 176 of file FastTSGFromPropagation.h.

Referenced by passSelection(), and setEvent().

unsigned long long FastTSGFromPropagation::theCacheId_MT
private

Definition at line 126 of file FastTSGFromPropagation.h.

Referenced by init(), and setEvent().

unsigned long long FastTSGFromPropagation::theCacheId_TG
private

Definition at line 127 of file FastTSGFromPropagation.h.

Referenced by init(), and setEvent().

std::string FastTSGFromPropagation::theCategory
private
edm::ParameterSet FastTSGFromPropagation::theConfig
private

Definition at line 173 of file FastTSGFromPropagation.h.

Referenced by init().

MuonErrorMatrix* FastTSGFromPropagation::theErrorMatrixAdjuster
private

Definition at line 167 of file FastTSGFromPropagation.h.

Referenced by adjust(), init(), and ~FastTSGFromPropagation().

const Chi2MeasurementEstimator* FastTSGFromPropagation::theEstimator
private

Definition at line 144 of file FastTSGFromPropagation.h.

Referenced by estimator(), init(), and ~FastTSGFromPropagation().

double FastTSGFromPropagation::theFixedErrorRescaling
private

Definition at line 152 of file FastTSGFromPropagation.h.

Referenced by adjust(), and init().

double FastTSGFromPropagation::theFlexErrorRescaling
private

Definition at line 150 of file FastTSGFromPropagation.h.

Referenced by adjust(), getRescalingFactor(), and init().

const TrackerGeometry* FastTSGFromPropagation::theGeometry
private

Definition at line 138 of file FastTSGFromPropagation.h.

Referenced by init(), and trackerSeeds().

edm::Handle<SiTrackerGSMatchedRecHit2DCollection> FastTSGFromPropagation::theGSRecHits
private

Definition at line 178 of file FastTSGFromPropagation.h.

Referenced by setEvent(), and trackerSeeds().

edm::InputTag FastTSGFromPropagation::theHitProducer
private

Definition at line 159 of file FastTSGFromPropagation.h.

Referenced by init(), and setEvent().

double FastTSGFromPropagation::theMaxChi2
private

Definition at line 148 of file FastTSGFromPropagation.h.

Referenced by init().

edm::ESHandle<MeasurementTracker> FastTSGFromPropagation::theMeasTracker
private

Definition at line 135 of file FastTSGFromPropagation.h.

Referenced by findMeasurements_new(), and setEvent().

const DirectTrackerNavigation* FastTSGFromPropagation::theNavigation
private

Definition at line 137 of file FastTSGFromPropagation.h.

Referenced by init(), setEvent(), trackerSeeds(), and ~FastTSGFromPropagation().

std::string FastTSGFromPropagation::thePropagatorName
private

Definition at line 165 of file FastTSGFromPropagation.h.

Referenced by init(), and propagator().

std::string FastTSGFromPropagation::theResetMethod
private

Definition at line 161 of file FastTSGFromPropagation.h.

Referenced by adjust(), init(), and trackerSeeds().

bool FastTSGFromPropagation::theSelectStateFlag
private

Definition at line 163 of file FastTSGFromPropagation.h.

Referenced by init(), and passSelection().

const MuonServiceProxy* FastTSGFromPropagation::theService
private
double FastTSGFromPropagation::theSigmaZ
private

Definition at line 171 of file FastTSGFromPropagation.h.

Referenced by init(), and passSelection().

edm::InputTag FastTSGFromPropagation::theSimTrackCollectionLabel
private

Definition at line 158 of file FastTSGFromPropagation.h.

Referenced by init(), and setEvent().

edm::Handle<edm::SimTrackContainer> FastTSGFromPropagation::theSimTracks
private

Definition at line 177 of file FastTSGFromPropagation.h.

Referenced by setEvent().

const LayerMeasurements* FastTSGFromPropagation::theTkLayerMeasurements
private
edm::ESHandle<GeometricSearchTracker> FastTSGFromPropagation::theTracker
private

Definition at line 133 of file FastTSGFromPropagation.h.

Referenced by init(), and setEvent().

TrajectoryStateTransform* FastTSGFromPropagation::theTSTransformer
private

Definition at line 146 of file FastTSGFromPropagation.h.

edm::ESHandle<TransientTrackingRecHitBuilder> FastTSGFromPropagation::theTTRHBuilder
private

Definition at line 179 of file FastTSGFromPropagation.h.

Referenced by init(), and trackerSeeds().

bool FastTSGFromPropagation::theUpdateStateFlag
private

Definition at line 156 of file FastTSGFromPropagation.h.

Referenced by init(), setEvent(), and trackerSeeds().

const TrajectoryStateUpdator* FastTSGFromPropagation::theUpdator
private

Definition at line 142 of file FastTSGFromPropagation.h.

Referenced by init(), updator(), and ~FastTSGFromPropagation().

bool FastTSGFromPropagation::theUseVertexStateFlag
private

Definition at line 154 of file FastTSGFromPropagation.h.

Referenced by init(), and outerTkState().