#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 | setParThrsMode (bool dytParThrsMode) |
void | setProd (const edm::Handle< DTRecSegment4DCollection > &DTSegProd, const edm::Handle< CSCSegmentCollection > &CSCSegProd) |
void | setRecoEta (double eta) |
void | setRecoP (double p) |
void | setSelector (int) |
void | setThr (const std::vector< int > &) |
void | setThrsMap (const edm::ParameterSet &) |
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 | correctThrByPAndEta (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 | setEtaRegion () |
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 &) |
Definition at line 48 of file DynamicTruncation.h.
Definition at line 51 of file DynamicTruncation.h.
Definition at line 50 of file DynamicTruncation.h.
DynamicTruncation::DynamicTruncation | ( | const edm::Event & | event, |
const MuonServiceProxy & | theService | ||
) |
Definition at line 45 of file DynamicTruncation.cc.
References ThrParameters::isValidThdDB(), volumeBasedMagneticField_1103l_cfi::magfield, and TrackCandidateProducer_cfi::propagator.
DynamicTruncation::~DynamicTruncation | ( | ) |
Definition at line 66 of file DynamicTruncation.cc.
|
private |
Definition at line 462 of file DynamicTruncation.cc.
References DTRecSegment4D::chamberId(), CSCSegment::cscDetId(), GlobalMuonRefitter_cff::DYTselector, and MAX_THR.
|
private |
Definition at line 277 of file DynamicTruncation.cc.
References alongMomentum, Chi2MeasurementEstimator_cfi::Chi2MeasurementEstimator, GeomDetEnumerators::CSC, GeomDetEnumerators::DT, edm::first(), and triggerObjects_cff::id.
|
private |
Definition at line 513 of file DynamicTruncation.cc.
References dyt_utils::eta2p0, dyt_utils::eta2p2, dyt_utils::eta2p4, p1, funct::pow(), and HLT_2018_cff::region.
|
private |
Definition at line 249 of file DynamicTruncation.cc.
References DTRecSegment4D::chamberId(), CSCSegment::cscDetId(), and triggerObjects_cff::id.
|
private |
Definition at line 305 of file DynamicTruncation.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, photons_cff::ids, dqmiolumiharvest::j, dqmdumpme::k, genParticles_cff::map, and createJobs::tmp.
TransientTrackingRecHit::ConstRecHitContainer DynamicTruncation::filter | ( | const Trajectory & | traj | ) |
Definition at line 153 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 192 of file DynamicTruncation.cc.
References genParticles_cff::map, and MAX_THR.
|
inline |
Definition at line 79 of file DynamicTruncation.h.
References genParticles_cff::map, reco::DYTInfo::setNStUsed(), and update.
Referenced by GlobalMuonRefitter::refit().
|
private |
Definition at line 546 of file DynamicTruncation.cc.
References MuonSubdetId::CSC, and MuonSubdetId::DT.
|
private |
Definition at line 499 of file DynamicTruncation.cc.
References DYTThrObject::DytThrStruct::id, getGTfromDQMFile::obj, and DYTThrObject::DytThrStruct::thr.
|
private |
Definition at line 400 of file DynamicTruncation.cc.
References DTRecSegment4D::chamberId(), CSCSegment::cscDetId(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::isValid(), genParticles_cff::map, MAX_THR, PV3DBase< T, PVType, FrameType >::perp(), and createJobs::tmp.
|
private |
Definition at line 528 of file DynamicTruncation.cc.
References funct::abs(), dyt_utils::eta0p8, dyt_utils::eta1p2, dyt_utils::eta2p0, dyt_utils::eta2p2, dyt_utils::eta2p4, and HLT_2018_cff::region.
|
inline |
|
inline |
Definition at line 57 of file DynamicTruncation.h.
Referenced by GlobalMuonRefitter::refit().
|
inline |
Definition at line 70 of file DynamicTruncation.h.
References PVValHelper::eta, and ALCARECOTkAlBeamHalo_cff::filter.
Referenced by GlobalMuonRefitter::refit().
|
inline |
Definition at line 69 of file DynamicTruncation.h.
References AlCaHLTBitMon_ParallelJobs::p.
Referenced by GlobalMuonRefitter::refit().
void DynamicTruncation::setSelector | ( | int | selector | ) |
Definition at line 117 of file DynamicTruncation.cc.
References GlobalMuonRefitter_cff::DYTselector, and Exception.
Referenced by GlobalMuonRefitter::refit().
void DynamicTruncation::setThr | ( | const std::vector< int > & | thr | ) |
Definition at line 130 of file DynamicTruncation.cc.
References Exception, mps_fire::i, and MAX_THR.
Referenced by GlobalMuonRefitter::refit().
void DynamicTruncation::setThrsMap | ( | const edm::ParameterSet & | par | ) |
Definition at line 143 of file DynamicTruncation.cc.
References dyt_utils::etaRegionStr, edm::ParameterSet::getParameter(), and HLT_2018_cff::region.
Referenced by GlobalMuonRefitter::refit().
void DynamicTruncation::setUpdateState | ( | bool | upState | ) |
void DynamicTruncation::setUseAPE | ( | bool | useAPE_ | ) |
|
private |
Definition at line 559 of file DynamicTruncation.cc.
References mps_fire::i, dqmiolumiharvest::j, mag(), dqmiodumpmetadata::n, and edm::swap().
|
private |
Definition at line 236 of file DynamicTruncation.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, DTChamberId::station(), CSCDetId::station(), and DetId::subdetId().
|
private |
Definition at line 355 of file DynamicTruncation.cc.
References relativeConstraints::chamber, TrackCandidateProducer_cfi::propagator, TrajectoryStateOnSurface::surface(), ErrorFrameTransformer::transform(), and StateSegmentMatcher::value().
|
private |
Definition at line 328 of file DynamicTruncation.cc.
References relativeConstraints::chamber, TrackCandidateProducer_cfi::propagator, TrajectoryStateOnSurface::surface(), ErrorFrameTransformer::transform(), and StateSegmentMatcher::value().
|
private |
Definition at line 72 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 96 of file DynamicTruncation.cc.
References TrajectoryStateOnSurface::isValid(), TrackCandidateProducer_cfi::propagator, CSCSegment::specificRecHits(), GeomDet::surface(), groupFilesInBlocks::temp, and TrajectoryStateOnSurface::update().
|
private |
Definition at line 78 of file DynamicTruncation.cc.
References TrajectoryStateOnSurface::isValid(), TrackCandidateProducer_cfi::propagator, DTRecSegment4D::recHits(), TrajectoryStateOnSurface::surface(), groupFilesInBlocks::temp, and TrajectoryStateOnSurface::update().
|
private |
Definition at line 382 of file DynamicTruncation.cc.
References mps_fire::result.
|
private |
Definition at line 391 of file DynamicTruncation.cc.
References mps_fire::result.
|
private |
Definition at line 146 of file DynamicTruncation.h.
|
private |
Definition at line 133 of file DynamicTruncation.h.
|
private |
Definition at line 142 of file DynamicTruncation.h.
|
private |
Definition at line 152 of file DynamicTruncation.h.
|
private |
Definition at line 145 of file DynamicTruncation.h.
|
private |
Definition at line 144 of file DynamicTruncation.h.
|
private |
Definition at line 128 of file DynamicTruncation.h.
|
private |
Definition at line 148 of file DynamicTruncation.h.
|
private |
Definition at line 139 of file DynamicTruncation.h.
|
private |
Definition at line 155 of file DynamicTruncation.h.
|
private |
Definition at line 149 of file DynamicTruncation.h.
|
private |
Definition at line 141 of file DynamicTruncation.h.
|
private |
Definition at line 138 of file DynamicTruncation.h.
|
private |
Definition at line 147 of file DynamicTruncation.h.
|
private |
Definition at line 147 of file DynamicTruncation.h.
|
private |
Definition at line 137 of file DynamicTruncation.h.
|
private |
Definition at line 136 of file DynamicTruncation.h.
|
private |
Definition at line 127 of file DynamicTruncation.h.
|
private |
Definition at line 154 of file DynamicTruncation.h.
|
private |
Definition at line 158 of file DynamicTruncation.h.
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
private |
Definition at line 124 of file DynamicTruncation.h.
|
private |
Definition at line 143 of file DynamicTruncation.h.
|
private |
Definition at line 129 of file DynamicTruncation.h.
|
private |
Definition at line 131 of file DynamicTruncation.h.
|
private |
Definition at line 130 of file DynamicTruncation.h.
|
private |
Definition at line 157 of file DynamicTruncation.h.
|
private |
Definition at line 124 of file DynamicTruncation.h.
|
private |
Definition at line 132 of file DynamicTruncation.h.
|
private |
Definition at line 134 of file DynamicTruncation.h.
|
private |
Definition at line 150 of file DynamicTruncation.h.
|
private |
Definition at line 126 of file DynamicTruncation.h.
|
private |
Definition at line 135 of file DynamicTruncation.h.
|
private |
Definition at line 125 of file DynamicTruncation.h.
|
private |
Definition at line 151 of file DynamicTruncation.h.
|
private |
Definition at line 140 of file DynamicTruncation.h.
|
private |
Definition at line 156 of file DynamicTruncation.h.