#include <DynamicTruncation.h>
Public Types | |
typedef TransientTrackingRecHit::ConstRecHitContainer | ConstRecHitContainer |
typedef TransientTrackingRecHit::ConstRecHitPointer | ConstRecHitPointer |
Public Member Functions | |
DynamicTruncation (const edm::Event &, const MuonServiceProxy &) | |
TransientTrackingRecHit::ConstRecHitContainer | filter (const Trajectory &) |
std::vector< double > | getEstimators () |
void | setThr (int, int, int) |
~DynamicTruncation () | |
Private Member Functions | |
void | compatibleDets (TrajectoryStateOnSurface &, std::map< int, std::vector< DetId > > &) |
void | filteringAlgo (std::map< int, std::vector< DetId > > &) |
double | getBest (std::vector< CSCSegment > &, TrajectoryStateOnSurface &, CSCSegment &) |
double | getBest (std::vector< DTRecSegment4D > &, TrajectoryStateOnSurface &, DTRecSegment4D &) |
ConstRecHitContainer | sort (ConstRecHitContainer &) |
void | update (TrajectoryStateOnSurface &, ConstRecHitPointer) |
void | updateWithCSChits (ConstRecHitContainer &) |
void | updateWithDThits (ConstRecHitContainer &) |
Private Attributes | |
std::map< CSCDetId, GlobalError > | cscApeMap |
edm::ESHandle< CSCGeometry > | cscGeom |
int | CSCThr |
TrajectoryStateOnSurface | currentState |
std::map< DTChamberId, GlobalError > | dtApeMap |
int | DTThr |
std::vector< double > | estimators |
edm::ESHandle< MagneticField > | magfield |
DirectMuonNavigation * | navigation |
edm::ESHandle < MuonDetLayerGeometry > | navMuon |
edm::ESHandle< Propagator > | propagator |
edm::ESHandle< Propagator > | propagatorCompatibleDet |
ConstRecHitContainer | result |
const edm::Event * | theEvent |
edm::ESHandle < GlobalTrackingGeometry > | theG |
edm::ESHandle < TransientTrackingRecHitBuilder > | theMuonRecHitBuilder |
const edm::EventSetup * | theSetup |
edm::ESHandle < TrajectoryStateUpdator > | updatorHandle |
bool | useAPE |
Class: DynamicTruncation
Description: class for the dynamical stop of the KF according to the compatibility degree between the extrapolated track state and the reconstructed segment in the muon chambers
Authors : D. Pagano & G. Bruno - UCL Louvain
Definition at line 47 of file DynamicTruncation.h.
Definition at line 52 of file DynamicTruncation.h.
Definition at line 51 of file DynamicTruncation.h.
DynamicTruncation::DynamicTruncation | ( | const edm::Event & | event, |
const MuonServiceProxy & | theService | ||
) |
Definition at line 49 of file DynamicTruncation.cc.
References cscGeom, event(), magfield, navigation, navMuon, propagator, propagatorCompatibleDet, theEvent, theG, theMuonRecHitBuilder, theSetup, and updatorHandle.
DynamicTruncation::~DynamicTruncation | ( | ) |
|
private |
Definition at line 181 of file DynamicTruncation.cc.
References alongMomentum, Chi2MeasurementEstimatorESProducer_cfi::Chi2MeasurementEstimator, DirectMuonNavigation::compatibleLayers(), currentState, first, TrajectoryStateOnSurface::freeState(), navigation, propagatorCompatibleDet, GeomDetEnumerators::RPCBarrel, and GeomDetEnumerators::RPCEndcap.
Referenced by filter().
TransientTrackingRecHit::ConstRecHitContainer DynamicTruncation::filter | ( | const Trajectory & | traj | ) |
Definition at line 73 of file DynamicTruncation.cc.
References compatibleDets(), cscApeMap, currentState, DetId::det(), dtApeMap, error, filteringAlgo(), TrajectoryMeasurement::forwardPredictedState(), TrackingRecHit::geographicalId(), edm::EventSetup::get(), TrajectoryStateOnSurface::globalPosition(), PV3DBase< T, PVType, FrameType >::mag(), Trajectory::measurements(), TrajectoryMeasurement::recHit(), result, theSetup, DetId::Tracker, and update().
Referenced by GlobalMuonRefitter::refit().
|
private |
Definition at line 207 of file DynamicTruncation.cc.
References MuonSubdetId::CSC, CSCThr, currentState, MuonSubdetId::DT, DTThr, estimators, getBest(), ChamberSegmentUtility::getCSClist(), ChamberSegmentUtility::getCSCRHmap(), ChamberSegmentUtility::getDTlist(), ChamberSegmentUtility::getDTRHmap(), TrajectoryStateOnSurface::isValid(), j, MAX_THR, DetId::Muon, propagator, result, DTChamberId::station(), CSCDetId::station(), DetId::subdetId(), groupFilesInBlocks::temp, theEvent, theG, theMuonRecHitBuilder, theSetup, and updatorHandle.
Referenced by filter().
|
private |
Definition at line 143 of file DynamicTruncation.cc.
References cscApeMap, i, MAX_THR, edm::second(), theG, tmp, ErrorFrameTransformer::transform(), useAPE, and StateSegmentMatcher::value().
Referenced by filteringAlgo().
|
private |
Definition at line 162 of file DynamicTruncation.cc.
References dtApeMap, i, MAX_THR, edm::second(), theG, tmp, ErrorFrameTransformer::transform(), useAPE, and StateSegmentMatcher::value().
|
inline |
void DynamicTruncation::setThr | ( | int | bThr, |
int | eThr, | ||
int | useAPE_ | ||
) |
Definition at line 132 of file DynamicTruncation.cc.
References CSCThr, DTThr, MAX_THR, and useAPE.
Referenced by GlobalMuonRefitter::refit().
|
private |
Definition at line 365 of file DynamicTruncation.cc.
References i, j, mag(), n, and swap().
|
private |
Definition at line 337 of file DynamicTruncation.cc.
References currentState, TrajectoryStateOnSurface::isValid(), groupFilesInBlocks::temp, and updatorHandle.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), filter(), 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(), relval_steps.Steps::overwrite(), 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().
|
private |
Definition at line 354 of file DynamicTruncation.cc.
References cscGeom, currentState, GeomDet::geographicalId(), TrajectoryStateOnSurface::isValid(), propagator, groupFilesInBlocks::temp, theG, and updatorHandle.
|
private |
Definition at line 344 of file DynamicTruncation.cc.
References currentState, propagator, groupFilesInBlocks::temp, theG, and updatorHandle.
|
private |
Definition at line 99 of file DynamicTruncation.h.
|
private |
Definition at line 87 of file DynamicTruncation.h.
Referenced by DynamicTruncation(), and updateWithCSChits().
|
private |
Definition at line 81 of file DynamicTruncation.h.
Referenced by filteringAlgo(), and setThr().
|
private |
Definition at line 96 of file DynamicTruncation.h.
Referenced by compatibleDets(), filter(), filteringAlgo(), update(), updateWithCSChits(), and updateWithDThits().
|
private |
Definition at line 98 of file DynamicTruncation.h.
|
private |
Definition at line 80 of file DynamicTruncation.h.
Referenced by filteringAlgo(), and setThr().
|
private |
Definition at line 95 of file DynamicTruncation.h.
Referenced by filteringAlgo(), and getEstimators().
|
private |
Definition at line 92 of file DynamicTruncation.h.
Referenced by DynamicTruncation().
|
private |
Definition at line 91 of file DynamicTruncation.h.
Referenced by compatibleDets(), DynamicTruncation(), and ~DynamicTruncation().
|
private |
Definition at line 90 of file DynamicTruncation.h.
Referenced by DynamicTruncation().
|
private |
Definition at line 84 of file DynamicTruncation.h.
Referenced by DynamicTruncation(), filteringAlgo(), updateWithCSChits(), and updateWithDThits().
|
private |
Definition at line 85 of file DynamicTruncation.h.
Referenced by compatibleDets(), and DynamicTruncation().
|
private |
Definition at line 78 of file DynamicTruncation.h.
Referenced by filter(), and filteringAlgo().
|
private |
Definition at line 93 of file DynamicTruncation.h.
Referenced by DynamicTruncation(), and filteringAlgo().
|
private |
Definition at line 86 of file DynamicTruncation.h.
Referenced by DynamicTruncation(), filteringAlgo(), getBest(), updateWithCSChits(), and updateWithDThits().
|
private |
Definition at line 88 of file DynamicTruncation.h.
Referenced by DynamicTruncation(), and filteringAlgo().
|
private |
Definition at line 94 of file DynamicTruncation.h.
Referenced by DynamicTruncation(), filter(), and filteringAlgo().
|
private |
Definition at line 89 of file DynamicTruncation.h.
Referenced by DynamicTruncation(), filteringAlgo(), update(), updateWithCSChits(), and updateWithDThits().
|
private |
Definition at line 82 of file DynamicTruncation.h.