#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(), and PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::propagator.
DynamicTruncation::~DynamicTruncation | ( | ) |
Definition at line 56 of file DynamicTruncation.cc.
|
private |
Definition at line 419 of file DynamicTruncation.cc.
References DTRecSegment4D::chamberId(), CSCSegment::cscDetId(), GlobalMuonRefitter_cff::DYTselector, and MAX_THR.
Referenced by getDYTInfo().
|
private |
Definition at line 256 of file DynamicTruncation.cc.
References alongMomentum, Chi2MeasurementEstimator_cfi::Chi2MeasurementEstimator, GeomDetEnumerators::CSC, GeomDetEnumerators::DT, edm::first(), and hcalTTPDigis_cfi::id.
Referenced by getDYTInfo().
|
private |
Definition at line 461 of file DynamicTruncation.cc.
Referenced by getDYTInfo().
|
private |
Definition at line 231 of file DynamicTruncation.cc.
References DTRecSegment4D::chamberId(), CSCSegment::cscDetId(), and hcalTTPDigis_cfi::id.
Referenced by getDYTInfo().
|
private |
Definition at line 282 of file DynamicTruncation.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, gen::k, genParticles_cff::map, and tmp.
Referenced by getDYTInfo().
TransientTrackingRecHit::ConstRecHitContainer DynamicTruncation::filter | ( | const Trajectory & | traj | ) |
Definition at line 138 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(), and setProd().
|
private |
Definition at line 174 of file DynamicTruncation.cc.
References genParticles_cff::map, and MAX_THR.
Referenced by getDYTInfo().
|
inline |
Definition at line 69 of file DynamicTruncation.h.
References chooseLayers(), compatibleDets(), correctThrByPtAndEta(), dytInfo, estimatorMap, fillDYTInfos(), fillSegmentMaps(), filteringAlgo(), getThresholdFromCFG(), getThresholdFromDB(), idChamberMap, genParticles_cff::map, nStationsUsed, preliminaryFit(), reco::DYTInfo::setDYTEstimators(), reco::DYTInfo::setIdChambers(), reco::DYTInfo::setNStUsed(), reco::DYTInfo::setUsedStations(), sort(), stationfromDet(), testCSCstation(), testDTstation(), update(), updateWithCSChits(), updateWithDThits(), usedStationMap, and useSegment().
Referenced by GlobalMuonRefitter::refit().
|
private |
Definition at line 472 of file DynamicTruncation.cc.
References MuonSubdetId::CSC, and MuonSubdetId::DT.
Referenced by getDYTInfo().
|
private |
Definition at line 447 of file DynamicTruncation.cc.
References DYTThrObject::DytThrStruct::id, MuonAssociatorByHits_cfi::obj, and DYTThrObject::DytThrStruct::thr.
Referenced by getDYTInfo().
|
private |
Definition at line 362 of file DynamicTruncation.cc.
References DTRecSegment4D::chamberId(), CSCSegment::cscDetId(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::isValid(), genParticles_cff::map, MAX_THR, PV3DBase< T, PVType, FrameType >::perp(), and tmp.
Referenced by getDYTInfo().
|
inline |
Definition at line 55 of file DynamicTruncation.h.
References filter(), getSegs, ChamberSegmentUtility::initCSU(), setSelector(), setThr(), setUpdateState(), and setUseAPE().
Referenced by GlobalMuonRefitter::refit().
void DynamicTruncation::setSelector | ( | int | selector | ) |
Definition at line 105 of file DynamicTruncation.cc.
References GlobalMuonRefitter_cff::DYTselector, and Exception.
Referenced by GlobalMuonRefitter::refit(), and setProd().
void DynamicTruncation::setThr | ( | const std::vector< int > & | thr | ) |
Definition at line 122 of file DynamicTruncation.cc.
References Exception, mps_fire::i, and MAX_THR.
Referenced by GlobalMuonRefitter::refit(), and setProd().
void DynamicTruncation::setUpdateState | ( | bool | upState | ) |
Definition at line 118 of file DynamicTruncation.cc.
Referenced by GlobalMuonRefitter::refit(), and setProd().
void DynamicTruncation::setUseAPE | ( | bool | useAPE_ | ) |
Definition at line 114 of file DynamicTruncation.cc.
Referenced by GlobalMuonRefitter::refit(), and setProd().
|
private |
Definition at line 483 of file DynamicTruncation.cc.
References mps_fire::i, mag(), gen::n, and edm::swap().
Referenced by getDYTInfo().
|
private |
Definition at line 217 of file DynamicTruncation.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, DTChamberId::station(), CSCDetId::station(), and DetId::subdetId().
Referenced by getDYTInfo().
|
private |
Definition at line 325 of file DynamicTruncation.cc.
References relativeConstraints::chamber, gsfElectronCkfTrackCandidateMaker_cff::estimator, PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::propagator, TrajectoryStateOnSurface::surface(), ErrorFrameTransformer::transform(), and StateSegmentMatcher::value().
Referenced by getDYTInfo().
|
private |
Definition at line 304 of file DynamicTruncation.cc.
References relativeConstraints::chamber, gsfElectronCkfTrackCandidateMaker_cff::estimator, PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::propagator, TrajectoryStateOnSurface::surface(), ErrorFrameTransformer::transform(), and StateSegmentMatcher::value().
Referenced by getDYTInfo().
|
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(), getDYTInfo(), 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 84 of file DynamicTruncation.cc.
References TrajectoryStateOnSurface::isValid(), PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::propagator, CSCSegment::specificRecHits(), GeomDet::surface(), groupFilesInBlocks::temp, and TrajectoryStateOnSurface::update().
Referenced by getDYTInfo().
|
private |
Definition at line 67 of file DynamicTruncation.cc.
References TrajectoryStateOnSurface::isValid(), PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::propagator, DTRecSegment4D::recHits(), TrajectoryStateOnSurface::surface(), groupFilesInBlocks::temp, and TrajectoryStateOnSurface::update().
Referenced by getDYTInfo().
|
private |
Definition at line 346 of file DynamicTruncation.cc.
References mps_fire::result.
Referenced by getDYTInfo().
|
private |
Definition at line 354 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().