#include <StandAloneMuonFilter.h>
Public Member Functions | |
void | createDefaultTrajectory (const Trajectory &, Trajectory &) |
MeasurementEstimator * | estimator () const |
access at the estimator More... | |
NavigationDirection | fitDirection () const |
Return the fit direction. More... | |
int | getCSCChamberUsed () const |
int | getCSCCompatibleChambers () const |
int | getDTChamberUsed () const |
int | getDTCompatibleChambers () const |
int | getGEMChamberUsed () const |
int | getGEMCompatibleChambers () const |
int | getRPCChamberUsed () const |
int | getRPCCompatibleChambers () const |
int | getTotalChamberUsed () const |
int | getTotalCompatibleChambers () const |
bool | goodState () const |
bool | isCompatibilitySatisfied () const |
FreeTrajectoryState | lastButOneUpdatedFTS () const |
the last but one free trajectory state More... | |
TrajectoryStateOnSurface | lastButOneUpdatedTSOS () const |
the Trajectory state on the last surface of the fitting More... | |
TrajectoryStateOnSurface | lastCompatibleTSOS () const |
the Trajectory state on the last compatible surface More... | |
const DetLayer * | lastDetLayer () const |
return the last det layer More... | |
FreeTrajectoryState | lastUpdatedFTS () const |
the last free trajectory state More... | |
TrajectoryStateOnSurface | lastUpdatedTSOS () const |
the Trajectory state on the last surface of the fitting More... | |
std::vector< const DetLayer * > | layers () const |
return the layer used for the refit More... | |
bool | onlyRPC () const |
True if there are only the RPC measurements. More... | |
PropagationDirection | propagationDirection () const |
Return the propagation direction. More... | |
const Propagator * | propagator () const |
access at the propagator More... | |
void | refit (const TrajectoryStateOnSurface &initialState, const DetLayer *, Trajectory &trajectory) |
Perform the inner-outward fitting. More... | |
void | reset () |
virtual void | setEvent (const edm::Event &event) |
Pass the Event to the algo at each event. More... | |
StandAloneMuonFilter (const edm::ParameterSet &par, const MuonServiceProxy *service, edm::ConsumesCollector &iC) | |
Constructor. More... | |
MuonTrajectoryUpdator * | updator () const |
access at the muon updator More... | |
virtual | ~StandAloneMuonFilter () |
Destructor. More... | |
Private Member Functions | |
MuonBestMeasurementFinder * | bestMeasurementFinder () const |
Access to the best measurement finder. More... | |
std::vector< const DetLayer * > | compatibleLayers (const DetLayer *initialLayer, const FreeTrajectoryState &fts, PropagationDirection propDir) |
Set the rigth Navigation. More... | |
std::vector < TrajectoryMeasurement > | findBestMeasurements (const DetLayer *layer, const TrajectoryStateOnSurface &tsos) |
void | incrementChamberCounters (const DetLayer *layer) |
Increment the DT,CSC,RPC counters. More... | |
void | incrementCompatibleChamberCounters (const DetLayer *layer) |
void | setLastButOneUpdatedTSOS (TrajectoryStateOnSurface tsos) |
Set the last but one TSOS. More... | |
void | setLastCompatibleTSOS (TrajectoryStateOnSurface tsos) |
Set the last compatible TSOS. More... | |
void | setLastUpdatedTSOS (TrajectoryStateOnSurface tsos) |
Set the last TSOS. More... | |
bool | update (const DetLayer *layer, const TrajectoryMeasurement *meas, Trajectory &trajectory) |
The inward-outward fitter (starts from seed state).
Modified by C. Calabria & A. Sharma
The inward-outward fitter (starts from seed state).
Definition at line 31 of file StandAloneMuonFilter.h.
StandAloneMuonFilter::StandAloneMuonFilter | ( | const edm::ParameterSet & | par, |
const MuonServiceProxy * | service, | ||
edm::ConsumesCollector & | iC | ||
) |
Constructor.
Definition at line 41 of file StandAloneMuonFilter.cc.
References Chi2MeasurementEstimatorESProducer_cfi::Chi2MeasurementEstimator, Exception, fitDirection(), edm::ParameterSet::getParameter(), insideOut, outsideIn, theBestMeasurementFinder, theEstimator, theFitDirection, theMaxChi2, theMeasurementExtractor, theMuonUpdator, theNavigationType, theNSigma, thePropagatorName, and theRPCLoneliness.
|
virtual |
Destructor.
Definition at line 107 of file StandAloneMuonFilter.cc.
References LogTrace, theBestMeasurementFinder, theEstimator, theMeasurementExtractor, and theMuonUpdator.
|
inlineprivate |
Access to the best measurement finder.
Definition at line 162 of file StandAloneMuonFilter.h.
References theBestMeasurementFinder.
Referenced by findBestMeasurements().
|
private |
Set the rigth Navigation.
Definition at line 175 of file StandAloneMuonFilter.cc.
References DirectMuonNavigation::compatibleLayers(), theNavigationType, and theService.
Referenced by refit().
void StandAloneMuonFilter::createDefaultTrajectory | ( | const Trajectory & | oldTraj, |
Trajectory & | defTraj | ||
) |
Definition at line 366 of file StandAloneMuonFilter.cc.
References MuonTransientTrackingRecHit::invalidateHit(), Trajectory::measurements(), eostools::move(), Trajectory::push(), Trajectory::reserve(), and MuonTransientTrackingRecHit::specificBuild().
Referenced by StandAloneMuonTrajectoryBuilder::trajectories().
|
inline |
access at the estimator
Definition at line 101 of file StandAloneMuonFilter.h.
References theEstimator.
Referenced by findBestMeasurements().
|
private |
Definition at line 292 of file StandAloneMuonFilter.cc.
References bestMeasurementFinder(), estimator(), MuonBestMeasurementFinder::findBestMeasurement(), MuonDetLayerMeasurements::groupedMeasurements(), GeometricSearchDet::hasGroups(), LogTrace, MuonDetLayerMeasurements::measurements(), metname, outsideIn, propagator(), query::result, AlCaHLTBitMon_QueryRunRegistry::string, theFitDirection, theMeasurementExtractor, and theOverlappingChambersFlag.
Referenced by refit().
|
inline |
Return the fit direction.
Definition at line 95 of file StandAloneMuonFilter.h.
References theFitDirection.
Referenced by propagationDirection(), and StandAloneMuonFilter().
|
inline |
Definition at line 67 of file StandAloneMuonFilter.h.
References cscChambers.
Referenced by StandAloneMuonTrajectoryBuilder::trajectories().
|
inline |
Definition at line 73 of file StandAloneMuonFilter.h.
References cscCompatibleChambers.
Referenced by StandAloneMuonTrajectoryBuilder::trajectories().
|
inline |
Definition at line 66 of file StandAloneMuonFilter.h.
References dtChambers.
Referenced by StandAloneMuonTrajectoryBuilder::trajectories().
|
inline |
Definition at line 72 of file StandAloneMuonFilter.h.
References dtCompatibleChambers.
Referenced by StandAloneMuonTrajectoryBuilder::trajectories().
|
inline |
Definition at line 69 of file StandAloneMuonFilter.h.
References gemChambers.
Referenced by StandAloneMuonTrajectoryBuilder::trajectories().
|
inline |
Definition at line 75 of file StandAloneMuonFilter.h.
References gemCompatibleChambers.
Referenced by StandAloneMuonTrajectoryBuilder::trajectories().
|
inline |
Definition at line 68 of file StandAloneMuonFilter.h.
References rpcChambers.
Referenced by StandAloneMuonTrajectoryBuilder::trajectories().
|
inline |
Definition at line 74 of file StandAloneMuonFilter.h.
References rpcCompatibleChambers.
Referenced by StandAloneMuonTrajectoryBuilder::trajectories().
|
inline |
|
inline |
Definition at line 71 of file StandAloneMuonFilter.h.
References totalCompatibleChambers.
Referenced by StandAloneMuonTrajectoryBuilder::trajectories().
|
inline |
Definition at line 77 of file StandAloneMuonFilter.h.
References cscChambers, dtChambers, gemChambers, onlyRPC(), and totalChambers.
|
private |
Increment the DT,CSC,RPC counters.
Definition at line 146 of file StandAloneMuonFilter.cc.
References GeomDetEnumerators::CSC, cscChambers, GeomDetEnumerators::DT, dtChambers, GeomDetEnumerators::GEM, gemChambers, GeomDetEnumerators::RPCBarrel, rpcChambers, GeomDetEnumerators::RPCEndcap, DetLayer::subDetector(), and totalChambers.
Referenced by refit().
|
private |
Definition at line 161 of file StandAloneMuonFilter.cc.
References GeomDetEnumerators::CSC, cscCompatibleChambers, GeomDetEnumerators::DT, dtCompatibleChambers, GeomDetEnumerators::GEM, gemCompatibleChambers, GeomDetEnumerators::RPCBarrel, rpcCompatibleChambers, GeomDetEnumerators::RPCEndcap, DetLayer::subDetector(), and totalCompatibleChambers.
Referenced by refit().
|
inline |
Definition at line 81 of file StandAloneMuonFilter.h.
References cscCompatibleChambers, dtCompatibleChambers, gemCompatibleChambers, onlyRPC(), and totalCompatibleChambers.
|
inline |
the last but one free trajectory state
Definition at line 49 of file StandAloneMuonFilter.h.
References TrajectoryStateOnSurface::freeTrajectoryState(), and theLastButOneUpdatedTSOS.
|
inline |
the Trajectory state on the last surface of the fitting
Definition at line 58 of file StandAloneMuonFilter.h.
References theLastButOneUpdatedTSOS.
|
inline |
the Trajectory state on the last compatible surface
Definition at line 52 of file StandAloneMuonFilter.h.
References theLastCompatibleTSOS.
Referenced by StandAloneMuonTrajectoryBuilder::trajectories().
|
inline |
return the last det layer
Definition at line 89 of file StandAloneMuonFilter.h.
References theDetLayers.
|
inline |
the last free trajectory state
Definition at line 46 of file StandAloneMuonFilter.h.
References TrajectoryStateOnSurface::freeTrajectoryState(), and theLastUpdatedTSOS.
|
inline |
the Trajectory state on the last surface of the fitting
Definition at line 55 of file StandAloneMuonFilter.h.
References theLastUpdatedTSOS.
Referenced by StandAloneMuonTrajectoryBuilder::trajectories().
|
inline |
return the layer used for the refit
Definition at line 86 of file StandAloneMuonFilter.h.
References theDetLayers.
|
inline |
True if there are only the RPC measurements.
Definition at line 98 of file StandAloneMuonFilter.h.
References theRPCLoneliness.
Referenced by goodState(), and isCompatibilitySatisfied().
PropagationDirection StandAloneMuonFilter::propagationDirection | ( | void | ) | const |
Return the propagation direction.
Definition at line 123 of file StandAloneMuonFilter.cc.
References alongMomentum, anyDirection, fitDirection(), and oppositeToMomentum.
Referenced by refit().
const Propagator * StandAloneMuonFilter::propagator | ( | ) | const |
access at the propagator
Definition at line 118 of file StandAloneMuonFilter.cc.
References thePropagatorName, and theService.
Referenced by findBestMeasurements(), and update().
void StandAloneMuonFilter::refit | ( | const TrajectoryStateOnSurface & | initialState, |
const DetLayer * | initialLayer, | ||
Trajectory & | trajectory | ||
) |
Perform the inner-outward fitting.
Definition at line 198 of file StandAloneMuonFilter.cc.
References compatibleLayers(), debug, MuonPatternRecoDumper::dumpLayer(), PV3DBase< T, PVType, FrameType >::eta(), findBestMeasurements(), TrajectoryStateOnSurface::freeTrajectoryState(), TrajectoryStateOnSurface::globalPosition(), incrementChamberCounters(), incrementCompatibleChamberCounters(), LogTrace, metname, FreeTrajectoryState::momentum(), propagationDirection(), reset(), AlCaHLTBitMon_QueryRunRegistry::string, theDetLayers, theLastButOneUpdatedTSOS, theLastCompatibleTSOS, theLastUpdatedTSOS, and update().
Referenced by StandAloneMuonTrajectoryBuilder::trajectories().
void StandAloneMuonFilter::reset | ( | void | ) |
Definition at line 130 of file StandAloneMuonFilter.cc.
References cscChambers, cscCompatibleChambers, dtChambers, dtCompatibleChambers, gemChambers, gemCompatibleChambers, MuonTrajectoryUpdator::makeFirstTime(), rpcChambers, rpcCompatibleChambers, theDetLayers, theLastButOneUpdatedTSOS, theLastCompatibleTSOS, theLastUpdatedTSOS, theMuonUpdator, totalChambers, and totalCompatibleChambers.
Referenced by refit().
|
virtual |
Pass the Event to the algo at each event.
Definition at line 141 of file StandAloneMuonFilter.cc.
References MuonDetLayerMeasurements::setEvent(), and theMeasurementExtractor.
Referenced by StandAloneMuonTrajectoryBuilder::setEvent().
|
inlineprivate |
Set the last but one TSOS.
Definition at line 123 of file StandAloneMuonFilter.h.
References theLastButOneUpdatedTSOS.
|
inlineprivate |
Set the last compatible TSOS.
Definition at line 117 of file StandAloneMuonFilter.h.
References theLastCompatibleTSOS.
|
inlineprivate |
Set the last TSOS.
Definition at line 120 of file StandAloneMuonFilter.h.
References theLastUpdatedTSOS.
|
private |
Definition at line 339 of file StandAloneMuonFilter.cc.
References debug, MuonPatternRecoDumper::dumpTSOS(), LogTrace, metname, propagator(), query::result, AlCaHLTBitMon_QueryRunRegistry::string, theLastButOneUpdatedTSOS, theLastCompatibleTSOS, theLastUpdatedTSOS, MuonTrajectoryUpdator::update(), and updator().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), refit(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
inline |
access at the muon updator
Definition at line 107 of file StandAloneMuonFilter.h.
References theMuonUpdator.
Referenced by update().
|
private |
Definition at line 188 of file StandAloneMuonFilter.h.
Referenced by getCSCChamberUsed(), goodState(), incrementChamberCounters(), and reset().
|
private |
Definition at line 194 of file StandAloneMuonFilter.h.
Referenced by getCSCCompatibleChambers(), incrementCompatibleChamberCounters(), isCompatibilitySatisfied(), and reset().
|
private |
Definition at line 187 of file StandAloneMuonFilter.h.
Referenced by getDTChamberUsed(), goodState(), incrementChamberCounters(), and reset().
|
private |
Definition at line 193 of file StandAloneMuonFilter.h.
Referenced by getDTCompatibleChambers(), incrementCompatibleChamberCounters(), isCompatibilitySatisfied(), and reset().
|
private |
Definition at line 190 of file StandAloneMuonFilter.h.
Referenced by getGEMChamberUsed(), goodState(), incrementChamberCounters(), and reset().
|
private |
Definition at line 196 of file StandAloneMuonFilter.h.
Referenced by getGEMCompatibleChambers(), incrementCompatibleChamberCounters(), isCompatibilitySatisfied(), and reset().
|
private |
Definition at line 189 of file StandAloneMuonFilter.h.
Referenced by getRPCChamberUsed(), incrementChamberCounters(), and reset().
|
private |
Definition at line 195 of file StandAloneMuonFilter.h.
Referenced by getRPCCompatibleChambers(), incrementCompatibleChamberCounters(), and reset().
|
private |
The best measurement finder: search for the best measurement among the TMs available.
Definition at line 160 of file StandAloneMuonFilter.h.
Referenced by bestMeasurementFinder(), StandAloneMuonFilter(), and ~StandAloneMuonFilter().
|
private |
the det layer used in the reconstruction
Definition at line 174 of file StandAloneMuonFilter.h.
Referenced by lastDetLayer(), layers(), refit(), and reset().
|
private |
The Estimator.
Definition at line 152 of file StandAloneMuonFilter.h.
Referenced by estimator(), StandAloneMuonFilter(), and ~StandAloneMuonFilter().
|
private |
the propagation direction
Definition at line 171 of file StandAloneMuonFilter.h.
Referenced by findBestMeasurements(), fitDirection(), and StandAloneMuonFilter().
|
private |
the trajectory state on the last but one available surface
Definition at line 146 of file StandAloneMuonFilter.h.
Referenced by lastButOneUpdatedFTS(), lastButOneUpdatedTSOS(), refit(), reset(), setLastButOneUpdatedTSOS(), and update().
|
private |
the trajectory state on the last compatible surface
Definition at line 142 of file StandAloneMuonFilter.h.
Referenced by lastCompatibleTSOS(), refit(), reset(), setLastCompatibleTSOS(), and update().
|
private |
the trajectory state on the last available surface
Definition at line 144 of file StandAloneMuonFilter.h.
Referenced by lastUpdatedFTS(), lastUpdatedTSOS(), refit(), reset(), setLastUpdatedTSOS(), and update().
|
private |
The max allowed chi2 to accept a rechit in the fit.
Definition at line 165 of file StandAloneMuonFilter.h.
Referenced by StandAloneMuonFilter().
|
private |
The Measurement extractor.
Definition at line 149 of file StandAloneMuonFilter.h.
Referenced by findBestMeasurements(), setEvent(), StandAloneMuonFilter(), and ~StandAloneMuonFilter().
|
private |
the muon updator (it doesn't inhert from an updator, but it has one!)
Definition at line 155 of file StandAloneMuonFilter.h.
Referenced by reset(), StandAloneMuonFilter(), updator(), and ~StandAloneMuonFilter().
|
private |
its name
Definition at line 157 of file StandAloneMuonFilter.h.
|
private |
Navigation type "Direct","Standard"
Definition at line 181 of file StandAloneMuonFilter.h.
Referenced by compatibleLayers(), and StandAloneMuonFilter().
|
private |
The errors of the trajectory state are multiplied by nSigma to define acceptance of BoundPlane and maximalLocalDisplacement
Definition at line 168 of file StandAloneMuonFilter.h.
Referenced by StandAloneMuonFilter().
|
private |
Definition at line 199 of file StandAloneMuonFilter.h.
Referenced by findBestMeasurements().
|
private |
the propagator name
Definition at line 177 of file StandAloneMuonFilter.h.
Referenced by propagator(), and StandAloneMuonFilter().
|
private |
True if there are only the RPC measurements.
Definition at line 184 of file StandAloneMuonFilter.h.
Referenced by onlyRPC(), and StandAloneMuonFilter().
|
private |
Definition at line 198 of file StandAloneMuonFilter.h.
Referenced by compatibleLayers(), and propagator().
|
private |
Definition at line 186 of file StandAloneMuonFilter.h.
Referenced by getTotalChamberUsed(), goodState(), incrementChamberCounters(), and reset().
|
private |
Definition at line 192 of file StandAloneMuonFilter.h.
Referenced by getTotalCompatibleChambers(), incrementCompatibleChamberCounters(), isCompatibilitySatisfied(), and reset().