CMS 3D CMS Logo

TSGFromPropagation.cc
Go to the documentation of this file.
2 
13 
17 
22 
26 
28 
30  : TSGFromPropagation(iConfig, iC, nullptr) {}
31 
35  : theTracker(nullptr),
36  theMeasTracker(nullptr),
37  theNavigation(nullptr),
38  theService(service),
39  theUpdator(nullptr),
40  theEstimator(nullptr),
41  theTSTransformer(nullptr),
42  theSigmaZ(0),
43  theConfig(iConfig) {
44  theCategory = "Muon|RecoMuon|TSGFromPropagation";
45  theMeasTrackerName = iConfig.getParameter<std::string>("MeasurementTrackerName");
46  theMeasurementTrackerEventTag = iConfig.getParameter<edm::InputTag>("MeasurementTrackerEvent");
50 }
51 
53  LogTrace(theCategory) << " TSGFromPropagation dtor called ";
54  if (theNavigation)
55  delete theNavigation;
56  if (theUpdator)
57  delete theUpdator;
58  if (theEstimator)
59  delete theEstimator;
62 }
63 
65  const TrackingRegion& region,
66  const TrackerTopology* tTopo,
67  std::vector<TrajectorySeed>& result) {
68  if (theResetMethod == "discrete")
69  getRescalingFactor(staMuon);
70 
71  TrajectoryStateOnSurface staState = outerTkState(staMuon);
72 
73  if (!staState.isValid()) {
74  LogTrace(theCategory) << "Error: initial state from L2 muon is invalid.";
75  return;
76  }
77 
78  LogTrace(theCategory) << "begin of trackerSeed:\n staState pos: " << staState.globalPosition()
79  << " mom: " << staState.globalMomentum() << "pos eta: " << staState.globalPosition().eta()
80  << "mom eta: " << staState.globalMomentum().eta();
81 
82  std::vector<const DetLayer*> nls = theNavigation->compatibleLayers(*(staState.freeState()), oppositeToMomentum);
83 
84  LogTrace(theCategory) << " compatible layers: " << nls.size();
85 
86  if (nls.empty())
87  return;
88 
89  int ndesLayer = 0;
90 
91  bool usePredictedState = false;
92 
93  if (theUpdateStateFlag) { //use updated states
94  std::vector<TrajectoryMeasurement> alltm;
95 
96  for (std::vector<const DetLayer*>::const_iterator inl = nls.begin(); inl != nls.end(); inl++, ndesLayer++) {
97  if ((*inl == nullptr))
98  break;
99  // if ( (inl != nls.end()-1 ) && ( (*inl)->subDetector() == GeomDetEnumerators::TEC ) && ( (*(inl+1))->subDetector() == GeomDetEnumerators::TOB ) ) continue;
100  alltm = findMeasurements(*inl, staState);
101  if ((!alltm.empty())) {
102  LogTrace(theCategory) << "final compatible layer: " << ndesLayer;
103  break;
104  }
105  }
106 
107  if (alltm.empty()) {
108  LogTrace(theCategory) << " NO Measurements Found: eta: " << staState.globalPosition().eta() << "pt "
109  << staState.globalMomentum().perp();
110  usePredictedState = true;
111  } else {
112  LogTrace(theCategory) << " Measurements for seeds: " << alltm.size();
113  std::stable_sort(alltm.begin(), alltm.end(), increasingEstimate());
114  if (alltm.size() > 5)
115  alltm.erase(alltm.begin() + 5, alltm.end());
116 
117  int i = 0;
118  for (std::vector<TrajectoryMeasurement>::const_iterator itm = alltm.begin(); itm != alltm.end(); itm++, i++) {
119  TrajectoryStateOnSurface updatedTSOS = updator()->update(itm->predictedState(), *(itm->recHit()));
120  if (updatedTSOS.isValid() && passSelection(updatedTSOS)) {
122  container.push_back(itm->recHit()->hit()->clone());
123  TrajectorySeed ts = createSeed(updatedTSOS, container, itm->recHit()->geographicalId());
124  result.push_back(ts);
125  }
126  }
127  LogTrace(theCategory) << "result: " << result.size();
128  return;
129  }
130  }
131 
132  if (!theUpdateStateFlag || usePredictedState) { //use predicted states
133  LogTrace(theCategory) << "use predicted state: ";
134  for (std::vector<const DetLayer*>::const_iterator inl = nls.begin(); inl != nls.end(); inl++) {
135  if (!result.empty() || *inl == nullptr) {
136  break;
137  }
138  std::vector<DetLayer::DetWithState> compatDets = (*inl)->compatibleDets(staState, *propagator(), *estimator());
139  LogTrace(theCategory) << " compatDets " << compatDets.size();
140  if (compatDets.empty())
141  continue;
142  TrajectorySeed ts = createSeed(compatDets.front().second, compatDets.front().first->geographicalId());
143  result.push_back(ts);
144  }
145  LogTrace(theCategory) << "result: " << result.size();
146  return;
147  }
148  return;
149 }
150 
152  theMaxChi2 = theConfig.getParameter<double>("MaxChi2");
153 
154  theFixedErrorRescaling = theConfig.getParameter<double>("ErrorRescaling");
155 
156  theFlexErrorRescaling = 1.0;
157 
159 
160  if (theResetMethod != "discrete" && theResetMethod != "fixed" && theResetMethod != "matrix") {
161  edm::LogError("TSGFromPropagation") << "Wrong error rescaling method: " << theResetMethod << "\n"
162  << "Possible choices are: discrete, fixed, matrix.\n"
163  << "Use discrete method" << std::endl;
164  theResetMethod = "discrete";
165  }
166 
168 
169  theCacheId_MT = 0;
170 
171  theCacheId_TG = 0;
172 
174 
176 
177  theUseVertexStateFlag = theConfig.getParameter<bool>("UseVertexState");
178 
179  theUpdateStateFlag = theConfig.getParameter<bool>("UpdateState");
180 
181  theSelectStateFlag = theConfig.getParameter<bool>("SelectState");
182 
183  theUpdator = new KFUpdator();
184 
185  theSigmaZ = theConfig.getParameter<double>("SigmaZ");
186 
187  //theBeamSpotInputTag = theConfig.getParameter<edm::InputTag>("beamSpot");
188 
190  if (theResetMethod == "matrix" && !errorMatrixPset.empty()) {
191  theAdjustAtIp = errorMatrixPset.getParameter<bool>("atIP");
193  } else {
194  theAdjustAtIp = false;
195  theErrorMatrixAdjuster = nullptr;
196  }
197 
200 }
201 
203  iEvent.getByToken(theBeamSpotToken, beamSpot);
204 
205  unsigned long long newCacheId_MT = theService->eventSetup().get<CkfComponentsRecord>().cacheIdentifier();
206 
207  if (theUpdateStateFlag && newCacheId_MT != theCacheId_MT) {
208  LogTrace(theCategory) << "Measurment Tracker Geometry changed!";
209  theCacheId_MT = newCacheId_MT;
211  }
212 
213  if (theUpdateStateFlag) {
215  }
216 
217  bool trackerGeomChanged = false;
218 
219  unsigned long long newCacheId_TG = theService->eventSetup().get<TrackerRecoGeometryRecord>().cacheIdentifier();
220 
221  if (newCacheId_TG != theCacheId_TG) {
222  LogTrace(theCategory) << "Tracker Reco Geometry changed!";
223  theCacheId_TG = newCacheId_TG;
225  trackerGeomChanged = true;
226  }
227 
228  if (trackerGeomChanged && (theTracker.product() != nullptr)) {
229  if (theNavigation)
230  delete theNavigation;
232  }
233 }
234 
236  TrajectoryStateOnSurface innerTS;
237 
238  if (staMuon.first && staMuon.first->isValid()) {
239  if (staMuon.first->direction() == alongMomentum) {
240  innerTS = staMuon.first->firstMeasurement().updatedState();
241  } else if (staMuon.first->direction() == oppositeToMomentum) {
242  innerTS = staMuon.first->lastMeasurement().updatedState();
243  }
244  } else {
246  *(staMuon.second), *theService->trackingGeometry(), &*theService->magneticField());
247  }
248  //rescale the error
249  adjust(innerTS);
250 
251  return innerTS;
252 
253  // return trajectoryStateTransform::innerStateOnSurface(*(staMuon.second),*theService->trackingGeometry(), &*theService->magneticField());
254 }
255 
258 
259  if (theUseVertexStateFlag && staMuon.second->pt() > 1.0) {
260  FreeTrajectoryState iniState =
262  //rescale the error at IP
263  adjust(iniState);
264 
265  StateOnTrackerBound fromInside(&*(theService->propagator("PropagatorWithMaterial")));
266  result = fromInside(iniState);
267  } else {
268  StateOnTrackerBound fromOutside(&*propagator());
269  result = fromOutside(innerState(staMuon));
270  }
271  return result;
272 }
273 
276  return createSeed(tsos, container, id);
277 }
278 
280  const edm::OwnVector<TrackingRecHit>& container,
281  const DetId& id) const {
282  PTrajectoryStateOnDet const& seedTSOS = trajectoryStateTransform::persistentState(tsos, id.rawId());
283  return TrajectorySeed(seedTSOS, container, oppositeToMomentum);
284 }
285 
286 void TSGFromPropagation::validMeasurements(std::vector<TrajectoryMeasurement>& tms) const {
287  std::vector<TrajectoryMeasurement>::iterator tmsend = std::remove_if(tms.begin(), tms.end(), isInvalid());
288  tms.erase(tmsend, tms.end());
289  return;
290 }
291 
292 std::vector<TrajectoryMeasurement> TSGFromPropagation::findMeasurements(
293  const DetLayer* nl, const TrajectoryStateOnSurface& staState) const {
294  std::vector<TrajectoryMeasurement> result;
295 
296  std::vector<DetLayer::DetWithState> compatDets = nl->compatibleDets(staState, *propagator(), *estimator());
297  if (compatDets.empty())
298  return result;
299 
300  for (std::vector<DetLayer::DetWithState>::const_iterator idws = compatDets.begin(); idws != compatDets.end();
301  ++idws) {
302  if (idws->second.isValid() && (idws->first)) {
303  std::vector<TrajectoryMeasurement> tmptm =
304  theMeasTrackerEvent->idToDet(idws->first->geographicalId())
305  .fastMeasurements(idws->second, idws->second, *propagator(), *estimator());
306  validMeasurements(tmptm);
307  // if ( tmptm.size() > 2 ) {
308  // std::stable_sort(tmptm.begin(),tmptm.end(),increasingEstimate());
309  // result.insert(result.end(),tmptm.begin(), tmptm.begin()+2);
310  // } else {
311  result.insert(result.end(), tmptm.begin(), tmptm.end());
312  // }
313  }
314  }
315 
316  return result;
317 }
318 
320  if (!theSelectStateFlag)
321  return true;
322  else {
323  if (beamSpot.isValid()) {
324  return ((fabs(zDis(tsos) - beamSpot->z0()) < theSigmaZ));
325 
326  } else {
327  return ((fabs(zDis(tsos)) < theSigmaZ));
328  // double theDxyCut = 100;
329  // return ( (zDis(tsos) < theSigmaZ) && (dxyDis(tsos) < theDxyCut) );
330  }
331  }
332 }
333 
335  return fabs(
336  (-tsos.globalPosition().x() * tsos.globalMomentum().y() + tsos.globalPosition().y() * tsos.globalMomentum().x()) /
337  tsos.globalMomentum().perp());
338 }
339 
341  return tsos.globalPosition().z() -
342  tsos.globalPosition().perp() * tsos.globalMomentum().z() / tsos.globalMomentum().perp();
343 }
344 
346  float pt = (staMuon.second)->pt();
347  if (pt < 13.0)
349  else if (pt < 30.0)
351  else
353  return;
354 }
355 
357  //rescale the error
358  if (theResetMethod == "discreate") {
360  return;
361  }
362 
363  //rescale the error
364  if (theResetMethod == "fixed" || !theErrorMatrixAdjuster) {
366  return;
367  }
368 
370  CurvilinearTrajectoryError sfMat = theErrorMatrixAdjuster->get(state.momentum()); //FIXME with position
371  MuonErrorMatrix::multiply(oMat, sfMat);
372 
373  state = FreeTrajectoryState(state.parameters(), oMat);
374 }
375 
377  //rescale the error
378  if (theResetMethod == "discreate") {
380  return;
381  }
382 
383  if (theResetMethod == "fixed" || !theErrorMatrixAdjuster) {
385  return;
386  }
387 
389  CurvilinearTrajectoryError sfMat = theErrorMatrixAdjuster->get(state.globalMomentum()); //FIXME with position
390  MuonErrorMatrix::multiply(oMat, sfMat);
391 
392  state =
393  TrajectoryStateOnSurface(state.weight(), state.globalParameters(), oMat, state.surface(), state.surfaceSide());
394 }
TSGFromPropagation::theBeamSpotInputTag
edm::InputTag theBeamSpotInputTag
Definition: TSGFromPropagation.h:153
Propagator.h
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
Chi2MeasurementEstimator.h
TSGFromPropagation::innerState
TrajectoryStateOnSurface innerState(const TrackCand &) const
Definition: TSGFromPropagation.cc:235
FreeTrajectoryState::momentum
GlobalVector momentum() const
Definition: FreeTrajectoryState.h:68
TrajectoryStateOnSurface.h
TrackerSeedGenerator::TrackCand
std::pair< const Trajectory *, reco::TrackRef > TrackCand
Definition: TrackerSeedGenerator.h:30
service
Definition: service.py:1
mps_fire.i
i
Definition: mps_fire.py:355
MessageLogger.h
TSGFromPropagation::theResetMethod
std::string theResetMethod
Definition: TSGFromPropagation.h:138
MuonErrorMatrix::multiply
static void multiply(CurvilinearTrajectoryError &initial_error, const CurvilinearTrajectoryError &scale_error)
multiply term by term the two matrix
Definition: MuonErrorMatrix.cc:449
trajectoryStateTransform::initialFreeState
FreeTrajectoryState initialFreeState(const reco::Track &tk, const MagneticField *field, bool withErr=true)
Definition: TrajectoryStateTransform.cc:58
TSGFromPropagation::findMeasurements
std::vector< TrajectoryMeasurement > findMeasurements(const DetLayer *, const TrajectoryStateOnSurface &) const
look for measurements on the first compatible layer
Definition: TSGFromPropagation.cc:292
TSGFromPropagation::theErrorMatrixAdjuster
MuonErrorMatrix * theErrorMatrixAdjuster
Definition: TSGFromPropagation.h:144
DetLayer
Definition: DetLayer.h:21
TSGFromPropagation::validMeasurements
void validMeasurements(std::vector< TrajectoryMeasurement > &) const
select valid measurements
Definition: TSGFromPropagation.cc:286
TSGFromPropagation::estimator
const Chi2MeasurementEstimator * estimator() const
Definition: TSGFromPropagation.h:60
PV3DBase::x
T x() const
Definition: PV3DBase.h:59
TSGFromPropagation::passSelection
bool passSelection(const TrajectoryStateOnSurface &) const
check some quantity and beam-spot compatibility and decide to continue
Definition: TSGFromPropagation.cc:319
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
reco::BeamSpot::z0
double z0() const
z coordinate
Definition: BeamSpot.h:65
DirectTrackerNavigation::compatibleLayers
std::vector< const DetLayer * > compatibleLayers(const FreeTrajectoryState &fts, PropagationDirection timeDirection) const
find compatible layers for a given trajectory state
Definition: DirectTrackerNavigation.cc:38
TSGFromPropagation::theConfig
edm::ParameterSet theConfig
Definition: TSGFromPropagation.h:150
TrackerTopology
Definition: TrackerTopology.h:16
trajectoryStateTransform::persistentState
PTrajectoryStateOnDet persistentState(const TrajectoryStateOnSurface &ts, unsigned int detid)
Definition: TrajectoryStateTransform.cc:14
TrajectoryStateOnSurface::globalPosition
GlobalPoint globalPosition() const
Definition: TrajectoryStateOnSurface.h:65
TrackerRecoGeometryRecord.h
TSGFromPropagation::theAdjustAtIp
bool theAdjustAtIp
Definition: TSGFromPropagation.h:146
oppositeToMomentum
Definition: PropagationDirection.h:4
TSGFromPropagation::theService
const MuonServiceProxy * theService
Definition: TSGFromPropagation.h:120
TSGFromPropagation
Definition: TSGFromPropagation.h:31
GeometricSearchDet::compatibleDets
virtual std::vector< DetWithState > compatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const
Definition: GeometricSearchDet.cc:35
TSGFromPropagation::theSelectStateFlag
bool theSelectStateFlag
Definition: TSGFromPropagation.h:140
TrackerRecoGeometryRecord
Definition: TrackerRecoGeometryRecord.h:11
TSGFromPropagation::trackerSeeds
void trackerSeeds(const TrackCand &, const TrackingRegion &, const TrackerTopology *, std::vector< TrajectorySeed > &) override
generate seed(s) for a track
Definition: TSGFromPropagation.cc:64
CkfComponentsRecord.h
TSGFromPropagation::getRescalingFactor
void getRescalingFactor(const TrackCand &staMuon)
Definition: TSGFromPropagation.cc:345
TSGFromPropagation::isInvalid
Definition: TSGFromPropagation.h:99
TSGFromPropagation::propagator
edm::ESHandle< Propagator > propagator() const
Definition: TSGFromPropagation.h:62
PV3DBase::z
T z() const
Definition: PV3DBase.h:61
DetId
Definition: DetId.h:17
GeometricSearchTracker.h
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
TrackerTopology.h
TrajectoryStateOnSurface::freeState
FreeTrajectoryState const * freeState(bool withErrors=true) const
Definition: TrajectoryStateOnSurface.h:58
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
CurvilinearTrajectoryError
Definition: CurvilinearTrajectoryError.h:27
CkfComponentsRecord
Definition: CkfComponentsRecord.h:22
LayerMeasurements.h
FreeTrajectoryState::curvilinearError
const CurvilinearTrajectoryError & curvilinearError() const
Definition: FreeTrajectoryState.h:89
TSGFromPropagation::TSGFromPropagation
TSGFromPropagation(const edm::ParameterSet &pset, edm::ConsumesCollector &iC)
constructor
Definition: TSGFromPropagation.cc:29
reco::BeamSpot
Definition: BeamSpot.h:21
Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator
Chi2MeasurementEstimator
Definition: Chi2MeasurementEstimator_cfi.py:5
DirectTrackerNavigation.h
TrajectoryStateOnSurface::weight
double weight() const
Definition: TrajectoryStateOnSurface.h:80
MeasurementTrackerEvent::idToDet
MeasurementDetWithData idToDet(const DetId &id) const
Previous MeasurementDetSystem interface.
Definition: MeasurementTrackerEvent.h:69
edm::ConsumesCollector::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: ConsumesCollector.h:49
TSGFromPropagation::theSigmaZ
double theSigmaZ
Definition: TSGFromPropagation.h:148
TSGFromPropagation::thePropagatorName
std::string thePropagatorName
Definition: TSGFromPropagation.h:142
TSGFromPropagation::theTracker
edm::ESHandle< GeometricSearchTracker > theTracker
Definition: TSGFromPropagation.h:111
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MuonServiceProxy::eventSetup
const edm::EventSetup & eventSetup() const
Definition: MuonServiceProxy.h:76
TrajectoryStateUpdator::update
virtual TrajectoryStateOnSurface update(const TrajectoryStateOnSurface &, const TrackingRecHit &) const =0
TSGFromPropagation::theUpdator
const TrajectoryStateUpdator * theUpdator
Definition: TSGFromPropagation.h:122
TSGFromPropagation::setEvent
void setEvent(const edm::Event &) override
set an event
Definition: TSGFromPropagation.cc:202
KFUpdator.h
MeasurementTrackerEvent
Definition: MeasurementTrackerEvent.h:15
edm::ParameterSet
Definition: ParameterSet.h:36
edm::LogError
Definition: MessageLogger.h:183
TSGFromPropagation::outerTkState
TrajectoryStateOnSurface outerTkState(const TrackCand &) const
Definition: TSGFromPropagation.cc:256
TSGFromPropagation.h
TSGFromPropagation::theMaxChi2
double theMaxChi2
Definition: TSGFromPropagation.h:128
TSGFromPropagation::theMeasTrackerName
std::string theMeasTrackerName
Definition: TSGFromPropagation.h:113
MuonErrorMatrix::get
CurvilinearTrajectoryError get(GlobalVector momentum, bool convolute=true)
main method to be used. Retrieve a 5x5 symetrical matrix according to parametrization of error or sca...
Definition: MuonErrorMatrix.cc:258
PV3DBase::eta
T eta() const
Definition: PV3DBase.h:73
PV3DBase::y
T y() const
Definition: PV3DBase.h:60
TSGFromPropagation::theMeasTracker
edm::ESHandle< MeasurementTracker > theMeasTracker
Definition: TSGFromPropagation.h:114
FreeTrajectoryState::parameters
const GlobalTrajectoryParameters & parameters() const
Definition: FreeTrajectoryState.h:79
MuonServiceProxy::propagator
edm::ESHandle< Propagator > propagator(std::string propagatorName) const
get the propagator
Definition: MuonServiceProxy.cc:177
iEvent
int iEvent
Definition: GenABIO.cc:224
DirectTrackerNavigation
Definition: DirectTrackerNavigation.h:26
TSGFromPropagation::theCategory
std::string theCategory
Definition: TSGFromPropagation.h:109
StateOnTrackerBound
Definition: StateOnTrackerBound.h:13
get
#define get
TSGFromPropagation::theMeasurementTrackerEventToken
edm::EDGetTokenT< MeasurementTrackerEvent > theMeasurementTrackerEventToken
Definition: TSGFromPropagation.h:155
TSGFromPropagation::theBeamSpotToken
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotToken
Definition: TSGFromPropagation.h:154
TrajectoryStateOnSurface::rescaleError
void rescaleError(double factor)
Definition: TrajectoryStateOnSurface.h:82
TSGFromPropagation::dxyDis
double dxyDis(const TrajectoryStateOnSurface &tsos) const
Definition: TSGFromPropagation.cc:334
TSGFromPropagation::theUseVertexStateFlag
bool theUseVertexStateFlag
Definition: TSGFromPropagation.h:134
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Trajectory.h
TSGFromPropagation::zDis
double zDis(const TrajectoryStateOnSurface &tsos) const
Definition: TSGFromPropagation.cc:340
TrajectoryStateOnSurface::globalMomentum
GlobalVector globalMomentum() const
Definition: TrajectoryStateOnSurface.h:66
TSGFromPropagation::beamSpot
edm::Handle< reco::BeamSpot > beamSpot
Definition: TSGFromPropagation.h:152
TSGFromPropagation::theEstimator
const Chi2MeasurementEstimator * theEstimator
Definition: TSGFromPropagation.h:124
TSGFromPropagation::theMeasurementTrackerEventTag
edm::InputTag theMeasurementTrackerEventTag
Definition: TSGFromPropagation.h:115
TSGFromPropagation::~TSGFromPropagation
~TSGFromPropagation() override
destructor
Definition: TSGFromPropagation.cc:52
FreeTrajectoryState
Definition: FreeTrajectoryState.h:27
TSGFromPropagation::adjust
void adjust(FreeTrajectoryState &) const
adjust the error matrix of the FTS
Definition: TSGFromPropagation.cc:356
MuonServiceProxy::trackingGeometry
edm::ESHandle< GlobalTrackingGeometry > trackingGeometry() const
get the tracking geometry
Definition: MuonServiceProxy.h:59
TSGFromPropagation::theMeasTrackerEvent
edm::Handle< MeasurementTrackerEvent > theMeasTrackerEvent
Definition: TSGFromPropagation.h:116
TrajectoryStateOnSurface::curvilinearError
const CurvilinearTrajectoryError & curvilinearError() const
Definition: TrajectoryStateOnSurface.h:72
HLT_2018_cff.region
region
Definition: HLT_2018_cff.py:81479
TSGFromPropagation::theUpdateStateFlag
bool theUpdateStateFlag
Definition: TSGFromPropagation.h:136
TrajectorySeed
Definition: TrajectorySeed.h:17
MuonServiceProxy::magneticField
edm::ESHandle< MagneticField > magneticField() const
get the magnetic field
Definition: MuonServiceProxy.h:56
MuonErrorMatrix
Definition: MuonErrorMatrix.h:24
TrajectoryStateTransform.h
edm::OwnVector::push_back
void push_back(D *&d)
Definition: OwnVector.h:326
TrajectoryStateOnSurface::surface
const SurfaceType & surface() const
Definition: TrajectoryStateOnSurface.h:78
TrackingRegion
Definition: TrackingRegion.h:38
TSGFromPropagation::createSeed
TrajectorySeed createSeed(const TrajectoryStateOnSurface &, const DetId &) const
create a hitless seed from a trajectory state
Definition: TSGFromPropagation.cc:274
TSGFromPropagation::increasingEstimate
Definition: TSGFromPropagation.h:93
mps_fire.result
result
Definition: mps_fire.py:303
LogTrace
#define LogTrace(id)
Definition: MessageLogger.h:671
TrajectoryStateOnSurface::globalParameters
const GlobalTrajectoryParameters & globalParameters() const
Definition: TrajectoryStateOnSurface.h:64
PTrajectoryStateOnDet
Definition: PTrajectoryStateOnDet.h:10
HLT_2018_cff.errorMatrixPset
errorMatrixPset
Definition: HLT_2018_cff.py:44406
MuonServiceProxy
Definition: MuonServiceProxy.h:38
StateOnTrackerBound.h
trajectoryStateTransform::innerStateOnSurface
TrajectoryStateOnSurface innerStateOnSurface(const reco::Track &tk, const TrackingGeometry &geom, const MagneticField *field, bool withErr=true)
Definition: TrajectoryStateTransform.cc:110
TSGFromPropagation::init
void init(const MuonServiceProxy *) override
initialize
Definition: TSGFromPropagation.cc:151
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
edm::Event
Definition: Event.h:73
TSGFromPropagation::theFixedErrorRescaling
double theFixedErrorRescaling
Definition: TSGFromPropagation.h:132
TrajectoryStateOnSurface::surfaceSide
SurfaceSide surfaceSide() const
Position relative to material, defined relative to momentum vector.
Definition: TrajectoryStateOnSurface.h:89
TSGFromPropagation::theFlexErrorRescaling
double theFlexErrorRescaling
Definition: TSGFromPropagation.h:130
PV3DBase::perp
T perp() const
Definition: PV3DBase.h:69
edm::InputTag
Definition: InputTag.h:15
edm::ConsumesCollector
Definition: ConsumesCollector.h:39
alongMomentum
Definition: PropagationDirection.h:4
TSGFromPropagation::updator
const TrajectoryStateUpdator * updator() const
Definition: TSGFromPropagation.h:58
KFUpdator
Definition: KFUpdator.h:32
TrajectoryStateOnSurface::isValid
bool isValid() const
Definition: TrajectoryStateOnSurface.h:54
FreeTrajectoryState::rescaleError
void rescaleError(double factor)
Definition: FreeTrajectoryState.cc:46
TSGFromPropagation::theNavigation
const DirectTrackerNavigation * theNavigation
Definition: TSGFromPropagation.h:118
TSGFromPropagation::theCacheId_TG
unsigned long long theCacheId_TG
Definition: TSGFromPropagation.h:107
edm::OwnVector< TrackingRecHit >
MeasurementDet.h
MeasurementTracker.h
TSGFromPropagation::theCacheId_MT
unsigned long long theCacheId_MT
Definition: TSGFromPropagation.h:106