#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 &) |
reco::DYTInfo | getDYTInfo () |
void | setProd (const edm::Handle< DTRecSegment4DCollection > &DTSegProd, const edm::Handle< CSCSegmentCollection > &CSCSegProd) |
void | setSelector (int) |
void | setThr (const std::vector< int > &) |
void | setUpdateState (bool) |
void | setUseAPE (bool) |
~DynamicTruncation () | |
Private Member Functions | |
bool | chooseLayers (int &, double const &, DTRecSegment4D const &, TrajectoryStateOnSurface const &, double const &, CSCSegment const &, TrajectoryStateOnSurface const &) |
void | compatibleDets (TrajectoryStateOnSurface &, std::map< int, std::vector< DetId > > &) |
void | correctThrByPtAndEta (double &) |
void | fillDYTInfos (int const &, bool const &, int &, double const &, double const &, DTRecSegment4D const &, CSCSegment const &) |
void | fillSegmentMaps (std::map< int, std::vector< DetId > > &, std::map< int, std::vector< DTRecSegment4D > > &, std::map< int, std::vector< CSCSegment > > &) |
void | filteringAlgo () |
void | getThresholdFromCFG (double &, DetId const &) |
void | getThresholdFromDB (double &, DetId const &) |
void | preliminaryFit (std::map< int, std::vector< DetId > >, std::map< int, std::vector< DTRecSegment4D > >, std::map< int, std::vector< CSCSegment > >) |
void | sort (ConstRecHitContainer &) |
int | stationfromDet (DetId const &) |
void | testCSCstation (TrajectoryStateOnSurface &, std::vector< CSCSegment > const &, double &, CSCSegment &, TrajectoryStateOnSurface &) |
void | testDTstation (TrajectoryStateOnSurface &, std::vector< DTRecSegment4D > const &, double &, DTRecSegment4D &, TrajectoryStateOnSurface &) |
void | update (TrajectoryStateOnSurface &, ConstRecHitPointer) |
void | updateWithCSChits (TrajectoryStateOnSurface &, CSCSegment const &) |
void | updateWithDThits (TrajectoryStateOnSurface &, DTRecSegment4D const &) |
void | useSegment (DTRecSegment4D const &, TrajectoryStateOnSurface const &) |
void | useSegment (CSCSegment const &, TrajectoryStateOnSurface const &) |
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 44 of file DynamicTruncation.h.
Definition at line 49 of file DynamicTruncation.h.
Definition at line 48 of file DynamicTruncation.h.
DynamicTruncation::DynamicTruncation | ( | const edm::Event & | event, |
const MuonServiceProxy & | theService | ||
) |
Definition at line 38 of file DynamicTruncation.cc.
References ThrParameters::isValidThdDB(), HLT_ES_cff::magfield, and HLT_25ns10e33_v2_cff::propagator.
DynamicTruncation::~DynamicTruncation | ( | ) |
Definition at line 56 of file DynamicTruncation.cc.
|
private |
Definition at line 413 of file DynamicTruncation.cc.
References DTRecSegment4D::chamberId(), CSCSegment::cscDetId(), and MAX_THR.
|
private |
Definition at line 250 of file DynamicTruncation.cc.
References alongMomentum, GeomDetEnumerators::CSC, GeomDetEnumerators::DT, and edm::first().
|
private |
Definition at line 455 of file DynamicTruncation.cc.
|
private |
Definition at line 225 of file DynamicTruncation.cc.
References DTRecSegment4D::chamberId(), and CSCSegment::cscDetId().
|
private |
Definition at line 276 of file DynamicTruncation.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, j, relval_2017::k, and tmp.
TransientTrackingRecHit::ConstRecHitContainer DynamicTruncation::filter | ( | const Trajectory & | traj | ) |
Definition at line 132 of file DynamicTruncation.cc.
References DetId::det(), TrajectoryMeasurement::forwardPredictedState(), TrackingRecHit::geographicalId(), TrajectoryStateOnSurface::globalPosition(), PV3DBase< T, PVType, FrameType >::mag(), Trajectory::measurements(), TrajectoryMeasurement::recHit(), mps_fire::result, DetId::Tracker, and update.
Referenced by GlobalMuonRefitter::refit().
|
private |
Definition at line 168 of file DynamicTruncation.cc.
References MAX_THR.
|
inline |
Definition at line 69 of file DynamicTruncation.h.
References dytInfo, estimatorMap, idChamberMap, nStationsUsed, reco::DYTInfo::setDYTEstimators(), reco::DYTInfo::setIdChambers(), reco::DYTInfo::setNStUsed(), reco::DYTInfo::setUsedStations(), and usedStationMap.
Referenced by GlobalMuonRefitter::refit().
|
private |
Definition at line 466 of file DynamicTruncation.cc.
References MuonSubdetId::CSC, and MuonSubdetId::DT.
|
private |
Definition at line 441 of file DynamicTruncation.cc.
References DYTThrObject::DytThrStruct::id, getGTfromDQMFile::obj, and DYTThrObject::DytThrStruct::thr.
|
private |
Definition at line 356 of file DynamicTruncation.cc.
References DTRecSegment4D::chamberId(), CSCSegment::cscDetId(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::isValid(), MAX_THR, PV3DBase< T, PVType, FrameType >::perp(), and tmp.
|
inline |
Definition at line 55 of file DynamicTruncation.h.
References getSegs, and ChamberSegmentUtility::initCSU().
Referenced by GlobalMuonRefitter::refit().
void DynamicTruncation::setSelector | ( | int | selector | ) |
Definition at line 99 of file DynamicTruncation.cc.
References Exception.
Referenced by GlobalMuonRefitter::refit().
void DynamicTruncation::setThr | ( | const std::vector< int > & | thr | ) |
Definition at line 116 of file DynamicTruncation.cc.
References Exception, i, and MAX_THR.
Referenced by GlobalMuonRefitter::refit().
void DynamicTruncation::setUpdateState | ( | bool | upState | ) |
void DynamicTruncation::setUseAPE | ( | bool | useAPE_ | ) |
|
private |
Definition at line 477 of file DynamicTruncation.cc.
References i, j, mag(), gen::n, and edm::swap().
|
private |
Definition at line 211 of file DynamicTruncation.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, DTChamberId::station(), CSCDetId::station(), and DetId::subdetId().
|
private |
Definition at line 319 of file DynamicTruncation.cc.
References HLT_25ns10e33_v2_cff::estimator, HLT_25ns10e33_v2_cff::propagator, TrajectoryStateOnSurface::surface(), ErrorFrameTransformer::transform(), and StateSegmentMatcher::value().
|
private |
Definition at line 298 of file DynamicTruncation.cc.
References HLT_25ns10e33_v2_cff::estimator, HLT_25ns10e33_v2_cff::propagator, TrajectoryStateOnSurface::surface(), ErrorFrameTransformer::transform(), and StateSegmentMatcher::value().
|
private |
Definition at line 62 of file DynamicTruncation.cc.
References TrajectoryStateOnSurface::isValid(), groupFilesInBlocks::temp, and TrajectoryStateOnSurface::update().
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(), 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 81 of file DynamicTruncation.cc.
References TrajectoryStateOnSurface::isValid(), HLT_25ns10e33_v2_cff::propagator, CSCSegment::specificRecHits(), GeomDet::surface(), groupFilesInBlocks::temp, and TrajectoryStateOnSurface::update().
|
private |
Definition at line 67 of file DynamicTruncation.cc.
References HLT_25ns10e33_v2_cff::propagator, DTRecSegment4D::recHits(), TrajectoryStateOnSurface::surface(), groupFilesInBlocks::temp, and TrajectoryStateOnSurface::update().
|
private |
Definition at line 340 of file DynamicTruncation.cc.
References mps_fire::result.
|
private |
Definition at line 348 of file DynamicTruncation.cc.
References mps_fire::result.
|
private |
Definition at line 120 of file DynamicTruncation.h.
|
private |
Definition at line 107 of file DynamicTruncation.h.
|
private |
Definition at line 116 of file DynamicTruncation.h.
|
private |
Definition at line 126 of file DynamicTruncation.h.
|
private |
Definition at line 119 of file DynamicTruncation.h.
|
private |
Definition at line 118 of file DynamicTruncation.h.
Referenced by getDYTInfo().
|
private |
Definition at line 102 of file DynamicTruncation.h.
|
private |
Definition at line 122 of file DynamicTruncation.h.
|
private |
Definition at line 113 of file DynamicTruncation.h.
Referenced by getDYTInfo().
|
private |
Definition at line 123 of file DynamicTruncation.h.
Referenced by setProd().
|
private |
Definition at line 115 of file DynamicTruncation.h.
Referenced by getDYTInfo().
|
private |
Definition at line 112 of file DynamicTruncation.h.
|
private |
Definition at line 121 of file DynamicTruncation.h.
|
private |
Definition at line 121 of file DynamicTruncation.h.
|
private |
Definition at line 111 of file DynamicTruncation.h.
|
private |
Definition at line 110 of file DynamicTruncation.h.
|
private |
Definition at line 101 of file DynamicTruncation.h.
Referenced by getDYTInfo().
|
private |
Definition at line 98 of file DynamicTruncation.h.
|
private |
Definition at line 117 of file DynamicTruncation.h.
|
private |
Definition at line 103 of file DynamicTruncation.h.
|
private |
Definition at line 105 of file DynamicTruncation.h.
|
private |
Definition at line 104 of file DynamicTruncation.h.
|
private |
Definition at line 98 of file DynamicTruncation.h.
|
private |
Definition at line 106 of file DynamicTruncation.h.
|
private |
Definition at line 108 of file DynamicTruncation.h.
|
private |
Definition at line 124 of file DynamicTruncation.h.
|
private |
Definition at line 100 of file DynamicTruncation.h.
|
private |
Definition at line 109 of file DynamicTruncation.h.
|
private |
Definition at line 99 of file DynamicTruncation.h.
|
private |
Definition at line 125 of file DynamicTruncation.h.
|
private |
Definition at line 114 of file DynamicTruncation.h.
Referenced by getDYTInfo().