#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 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 37 of file DynamicTruncation.cc.
References ThrParameters::isValidThdDB(), and HLT_ES_cff::magfield.
DynamicTruncation::~DynamicTruncation | ( | ) |
Definition at line 55 of file DynamicTruncation.cc.
|
private |
Definition at line 400 of file DynamicTruncation.cc.
References DTRecSegment4D::chamberId(), CSCSegment::cscDetId(), and MAX_THR.
|
private |
Definition at line 249 of file DynamicTruncation.cc.
References alongMomentum, Chi2MeasurementEstimatorESProducer_cfi::Chi2MeasurementEstimator, GeomDetEnumerators::CSC, GeomDetEnumerators::DT, and edm::first().
|
private |
Definition at line 442 of file DynamicTruncation.cc.
|
private |
Definition at line 224 of file DynamicTruncation.cc.
References DTRecSegment4D::chamberId(), and CSCSegment::cscDetId().
|
private |
Definition at line 275 of file DynamicTruncation.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, j, gen::k, python.multivaluedict::map(), and tmp.
TransientTrackingRecHit::ConstRecHitContainer DynamicTruncation::filter | ( | const Trajectory & | traj | ) |
Definition at line 131 of file DynamicTruncation.cc.
References DetId::det(), TrajectoryMeasurement::forwardPredictedState(), TrackingRecHit::geographicalId(), TrajectoryStateOnSurface::globalPosition(), PV3DBase< T, PVType, FrameType >::mag(), Trajectory::measurements(), TrajectoryMeasurement::recHit(), query::result, DetId::Tracker, and update.
Referenced by GlobalMuonRefitter::refit().
|
private |
Definition at line 167 of file DynamicTruncation.cc.
References python.multivaluedict::map(), and MAX_THR.
|
inline |
Definition at line 72 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 453 of file DynamicTruncation.cc.
References MuonSubdetId::CSC, and MuonSubdetId::DT.
|
private |
Definition at line 428 of file DynamicTruncation.cc.
References DYTThrObject::DytThrStruct::id, getGTfromDQMFile::obj, and DYTThrObject::DytThrStruct::thr.
|
private |
Definition at line 355 of file DynamicTruncation.cc.
References DTRecSegment4D::chamberId(), CSCSegment::cscDetId(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::isValid(), python.multivaluedict::map(), MAX_THR, PV3DBase< T, PVType, FrameType >::perp(), and tmp.
|
inline |
Definition at line 58 of file DynamicTruncation.h.
References getSegs, and ChamberSegmentUtility::initCSU().
Referenced by GlobalMuonRefitter::refit().
void DynamicTruncation::setSelector | ( | int | selector | ) |
Definition at line 98 of file DynamicTruncation.cc.
References edm::hlt::Exception.
Referenced by GlobalMuonRefitter::refit().
void DynamicTruncation::setThr | ( | const std::vector< int > & | thr | ) |
Definition at line 115 of file DynamicTruncation.cc.
References edm::hlt::Exception, i, and MAX_THR.
Referenced by GlobalMuonRefitter::refit().
void DynamicTruncation::setUpdateState | ( | bool | upState | ) |
void DynamicTruncation::setUseAPE | ( | bool | useAPE_ | ) |
|
private |
Definition at line 464 of file DynamicTruncation.cc.
References i, j, mag(), n, and edm::swap().
|
private |
Definition at line 210 of file DynamicTruncation.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, DTChamberId::station(), CSCDetId::station(), and DetId::subdetId().
|
private |
Definition at line 318 of file DynamicTruncation.cc.
References TrajectoryStateOnSurface::surface(), ErrorFrameTransformer::transform(), and StateSegmentMatcher::value().
|
private |
Definition at line 297 of file DynamicTruncation.cc.
References TrajectoryStateOnSurface::surface(), ErrorFrameTransformer::transform(), and StateSegmentMatcher::value().
|
private |
Definition at line 61 of file DynamicTruncation.cc.
References TrajectoryStateOnSurface::isValid(), groupFilesInBlocks::temp, and TrajectoryStateOnSurface::update().
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(), 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 80 of file DynamicTruncation.cc.
References TrajectoryStateOnSurface::isValid(), python.multivaluedict::sort(), CSCSegment::specificRecHits(), GeomDet::surface(), groupFilesInBlocks::temp, and TrajectoryStateOnSurface::update().
|
private |
Definition at line 66 of file DynamicTruncation.cc.
References DTRecSegment4D::recHits(), python.multivaluedict::sort(), TrajectoryStateOnSurface::surface(), groupFilesInBlocks::temp, and TrajectoryStateOnSurface::update().
|
private |
Definition at line 339 of file DynamicTruncation.cc.
References query::result.
|
private |
Definition at line 347 of file DynamicTruncation.cc.
References query::result.
|
private |
Definition at line 123 of file DynamicTruncation.h.
|
private |
Definition at line 110 of file DynamicTruncation.h.
|
private |
Definition at line 119 of file DynamicTruncation.h.
|
private |
Definition at line 129 of file DynamicTruncation.h.
|
private |
Definition at line 122 of file DynamicTruncation.h.
|
private |
Definition at line 121 of file DynamicTruncation.h.
Referenced by getDYTInfo().
|
private |
Definition at line 105 of file DynamicTruncation.h.
|
private |
Definition at line 125 of file DynamicTruncation.h.
|
private |
Definition at line 116 of file DynamicTruncation.h.
Referenced by getDYTInfo().
|
private |
Definition at line 126 of file DynamicTruncation.h.
Referenced by setProd().
|
private |
Definition at line 118 of file DynamicTruncation.h.
Referenced by getDYTInfo().
|
private |
Definition at line 115 of file DynamicTruncation.h.
|
private |
Definition at line 124 of file DynamicTruncation.h.
|
private |
Definition at line 124 of file DynamicTruncation.h.
|
private |
Definition at line 114 of file DynamicTruncation.h.
|
private |
Definition at line 113 of file DynamicTruncation.h.
|
private |
Definition at line 104 of file DynamicTruncation.h.
Referenced by getDYTInfo().
|
private |
Definition at line 101 of file DynamicTruncation.h.
|
private |
Definition at line 120 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 107 of file DynamicTruncation.h.
|
private |
Definition at line 101 of file DynamicTruncation.h.
|
private |
Definition at line 109 of file DynamicTruncation.h.
|
private |
Definition at line 111 of file DynamicTruncation.h.
|
private |
Definition at line 127 of file DynamicTruncation.h.
|
private |
Definition at line 103 of file DynamicTruncation.h.
|
private |
Definition at line 112 of file DynamicTruncation.h.
|
private |
Definition at line 102 of file DynamicTruncation.h.
|
private |
Definition at line 128 of file DynamicTruncation.h.
|
private |
Definition at line 117 of file DynamicTruncation.h.
Referenced by getDYTInfo().