#include <DynamicTruncation.h>
Classes | |
struct | Config |
Public Types | |
typedef TransientTrackingRecHit::ConstRecHitContainer | ConstRecHitContainer |
typedef TransientTrackingRecHit::ConstRecHitPointer | ConstRecHitPointer |
Public Member Functions | |
DynamicTruncation (Config const &, const edm::EventSetup &, 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 64 of file DynamicTruncation.h.
Definition at line 63 of file DynamicTruncation.h.
DynamicTruncation::DynamicTruncation | ( | Config const & | config, |
const edm::EventSetup & | eventSetup, | ||
const MuonServiceProxy & | theService | ||
) |
Definition at line 53 of file DynamicTruncation.cc.
References cscGeom, doUpdateOfKFStates, dytThresholds, options_cfi::eventSetup, getSegs, magfield, navigation, navMuon, propagator, propagatorCompatibleDet, propagatorPF, theG, theMuonRecHitBuilder, thrManager, updatorHandle, useDBforThr, and useParametrizedThr.
DynamicTruncation::~DynamicTruncation | ( | ) |
Definition at line 83 of file DynamicTruncation.cc.
|
private |
Definition at line 475 of file DynamicTruncation.cc.
References DTRecSegment4D::chamberId(), CSCSegment::cscDetId(), DYTselector, getThresholdFromCFG(), getThresholdFromDB(), MAX_THR, useDBforThr, and useSegment().
Referenced by filteringAlgo().
|
private |
Definition at line 290 of file DynamicTruncation.cc.
References alongMomentum, Chi2MeasurementEstimator_cfi::Chi2MeasurementEstimator, GeomDetEnumerators::CSC, currentState, GeomDetEnumerators::DT, dqmdumpme::first, TrajectoryStateOnSurface::freeState(), l1ctLayer2EG_cff::id, navigation, and propagatorCompatibleDet.
Referenced by filteringAlgo().
|
private |
Definition at line 526 of file DynamicTruncation.cc.
References dyt_utils::eta2p0, dyt_utils::eta2p2, dyt_utils::eta2p4, LaserDQM_cfg::p1, p_reco, parameters, conifer::pow(), and region.
Referenced by getThresholdFromCFG(), and getThresholdFromDB().
|
private |
Definition at line 262 of file DynamicTruncation.cc.
References DTRecSegment4D::chamberId(), CSCSegment::cscDetId(), estimatorMap, l1ctLayer2EG_cff::id, idChamberMap, nStationsUsed, and usedStationMap.
Referenced by filteringAlgo().
|
private |
Definition at line 318 of file DynamicTruncation.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, getSegs, dqmiolumiharvest::j, dqmdumpme::k, genParticles_cff::map, and createJobs::tmp.
Referenced by filteringAlgo().
TransientTrackingRecHit::ConstRecHitContainer DynamicTruncation::filter | ( | const Trajectory & | traj | ) |
Definition at line 166 of file DynamicTruncation.cc.
References cscApeMap, currentState, dtApeMap, filteringAlgo(), TrajectoryMeasurement::forwardPredictedState(), TrajectoryStateOnSurface::globalPosition(), PV3DBase< T, PVType, FrameType >::mag(), Trajectory::measurements(), prelFitMeas, prelFitState, TrajectoryMeasurement::recHit(), result, thrManager, DetId::Tracker, and update().
Referenced by GlobalMuonRefitter::refit().
|
private |
Definition at line 205 of file DynamicTruncation.cc.
References chooseLayers(), compatibleDets(), currentState, fillDYTInfos(), fillSegmentMaps(), genParticles_cff::map, MAX_THR, nStationsUsed, preliminaryFit(), stationfromDet(), testCSCstation(), testDTstation(), and useDBforThr.
Referenced by filter().
|
inline |
Definition at line 92 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 559 of file DynamicTruncation.cc.
References correctThrByPAndEta(), MuonSubdetId::CSC, MuonSubdetId::DT, Thrs, and useParametrizedThr.
Referenced by chooseLayers(), and preliminaryFit().
|
private |
Definition at line 512 of file DynamicTruncation.cc.
References correctThrByPAndEta(), dytThresholds, getGTfromDQMFile::obj, DYTThrObject::thrsVec, and useParametrizedThr.
Referenced by chooseLayers().
|
private |
Definition at line 413 of file DynamicTruncation.cc.
References TransientTrackingRecHitBuilder::build(), DTRecSegment4D::chamberId(), CSCSegment::cscDetId(), PV3DBase< T, PVType, FrameType >::eta(), getThresholdFromCFG(), TrajectoryStateOnSurface::globalMomentum(), GlobalTrackingGeometry::idToDet(), genParticles_cff::map, MAX_THR, muonETAest, muonPTest, PV3DBase< T, PVType, FrameType >::perp(), prelFitMeas, prelFitState, Propagator::propagate(), propagatorPF, GeomDet::surface(), testCSCstation(), testDTstation(), theG, theMuonRecHitBuilder, createJobs::tmp, TrajectoryStateUpdator::update(), and updatorHandle.
Referenced by filteringAlgo().
|
private |
Definition at line 541 of file DynamicTruncation.cc.
References funct::abs(), dyt_utils::eta0p8, dyt_utils::eta1p2, dyt_utils::eta2p0, dyt_utils::eta2p2, dyt_utils::eta2p4, eta_reco, and region.
Referenced by setRecoEta().
|
inline |
Definition at line 81 of file DynamicTruncation.h.
References useParametrizedThr.
Referenced by GlobalMuonRefitter::refit().
|
inline |
Definition at line 70 of file DynamicTruncation.h.
References getSegs.
Referenced by GlobalMuonRefitter::refit().
|
inline |
Definition at line 83 of file DynamicTruncation.h.
References PVValHelper::eta, eta_reco, and setEtaRegion().
Referenced by GlobalMuonRefitter::refit().
|
inline |
Definition at line 82 of file DynamicTruncation.h.
References AlCaHLTBitMon_ParallelJobs::p, and p_reco.
Referenced by GlobalMuonRefitter::refit().
void DynamicTruncation::setSelector | ( | int | selector | ) |
Definition at line 130 of file DynamicTruncation.cc.
References DYTselector, Exception, and collectionMerger::selector.
Referenced by GlobalMuonRefitter::refit().
void DynamicTruncation::setThr | ( | const std::vector< int > & | thr | ) |
Definition at line 143 of file DynamicTruncation.cc.
References Exception, mps_fire::i, MAX_THR, and Thrs.
Referenced by GlobalMuonRefitter::refit().
void DynamicTruncation::setThrsMap | ( | const edm::ParameterSet & | par | ) |
Definition at line 156 of file DynamicTruncation.cc.
References dyt_utils::etaRegionStr, edm::ParameterSet::getParameter(), parameters, and region.
Referenced by GlobalMuonRefitter::refit().
void DynamicTruncation::setUpdateState | ( | bool | upState | ) |
Definition at line 141 of file DynamicTruncation.cc.
References doUpdateOfKFStates.
Referenced by GlobalMuonRefitter::refit().
void DynamicTruncation::setUseAPE | ( | bool | useAPE_ | ) |
Definition at line 139 of file DynamicTruncation.cc.
References useAPE.
Referenced by GlobalMuonRefitter::refit().
|
private |
Definition at line 572 of file DynamicTruncation.cc.
References mps_fire::i, dqmiolumiharvest::j, mag(), dqmiodumpmetadata::n, FastTrackerRecHitMaskProducer_cfi::recHits, and edm::swap().
Referenced by updateWithCSChits(), and updateWithDThits().
|
private |
Definition at line 249 of file DynamicTruncation.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, DTChamberId::station(), CSCDetId::station(), and DetId::subdetId().
Referenced by filteringAlgo().
|
private |
Definition at line 368 of file DynamicTruncation.cc.
References relativeConstraints::chamber, cscApeMap, GlobalTrackingGeometry::idToDet(), sistrip::SpyUtilities::isValid(), Propagator::propagate(), propagator, GeomDet::surface(), theG, ErrorFrameTransformer::transform(), useAPE, and StateSegmentMatcher::value().
Referenced by filteringAlgo(), and preliminaryFit().
|
private |
Definition at line 341 of file DynamicTruncation.cc.
References relativeConstraints::chamber, dtApeMap, GlobalTrackingGeometry::idToDet(), sistrip::SpyUtilities::isValid(), Propagator::propagate(), propagator, GeomDet::surface(), theG, ErrorFrameTransformer::transform(), useAPE, and StateSegmentMatcher::value().
Referenced by filteringAlgo(), and preliminaryFit().
|
private |
Definition at line 85 of file DynamicTruncation.cc.
References groupFilesInBlocks::temp, TrajectoryStateUpdator::update(), and updatorHandle.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), filter(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 109 of file DynamicTruncation.cc.
References TransientTrackingRecHitBuilder::build(), cscGeom, TrajectoryStateOnSurface::isValid(), CSCGeometry::layer(), Propagator::propagate(), propagator, sort(), CSCSegment::specificRecHits(), GeomDet::surface(), groupFilesInBlocks::temp, theMuonRecHitBuilder, TrajectoryStateUpdator::update(), and updatorHandle.
Referenced by useSegment().
|
private |
Definition at line 91 of file DynamicTruncation.cc.
References TransientTrackingRecHitBuilder::build(), GlobalTrackingGeometry::idToDet(), TrajectoryStateOnSurface::isValid(), Propagator::propagate(), propagator, DTRecSegment4D::recHits(), sort(), GeomDet::surface(), groupFilesInBlocks::temp, theG, theMuonRecHitBuilder, TrajectoryStateUpdator::update(), and updatorHandle.
Referenced by useSegment().
|
private |
Definition at line 395 of file DynamicTruncation.cc.
References TransientTrackingRecHitBuilder::build(), currentState, doUpdateOfKFStates, result, theMuonRecHitBuilder, and updateWithDThits().
Referenced by chooseLayers().
|
private |
Definition at line 404 of file DynamicTruncation.cc.
References TransientTrackingRecHitBuilder::build(), currentState, doUpdateOfKFStates, result, theMuonRecHitBuilder, and updateWithCSChits().
|
private |
Definition at line 159 of file DynamicTruncation.h.
Referenced by filter(), and testCSCstation().
|
private |
Definition at line 146 of file DynamicTruncation.h.
Referenced by DynamicTruncation(), and updateWithCSChits().
|
private |
Definition at line 155 of file DynamicTruncation.h.
Referenced by compatibleDets(), filter(), filteringAlgo(), and useSegment().
|
private |
Definition at line 165 of file DynamicTruncation.h.
Referenced by DynamicTruncation(), setUpdateState(), and useSegment().
|
private |
Definition at line 158 of file DynamicTruncation.h.
Referenced by filter(), and testDTstation().
|
private |
Definition at line 157 of file DynamicTruncation.h.
Referenced by getDYTInfo().
|
private |
Definition at line 141 of file DynamicTruncation.h.
Referenced by chooseLayers(), and setSelector().
|
private |
Definition at line 161 of file DynamicTruncation.h.
Referenced by DynamicTruncation(), and getThresholdFromDB().
|
private |
Definition at line 152 of file DynamicTruncation.h.
Referenced by fillDYTInfos(), and getDYTInfo().
|
private |
Definition at line 168 of file DynamicTruncation.h.
Referenced by setEtaRegion(), and setRecoEta().
|
private |
Definition at line 162 of file DynamicTruncation.h.
Referenced by DynamicTruncation(), fillSegmentMaps(), and setProd().
|
private |
Definition at line 154 of file DynamicTruncation.h.
Referenced by fillDYTInfos(), and getDYTInfo().
|
private |
Definition at line 151 of file DynamicTruncation.h.
Referenced by DynamicTruncation().
|
private |
Definition at line 160 of file DynamicTruncation.h.
Referenced by preliminaryFit().
|
private |
Definition at line 160 of file DynamicTruncation.h.
Referenced by preliminaryFit().
|
private |
Definition at line 150 of file DynamicTruncation.h.
Referenced by compatibleDets(), and DynamicTruncation().
|
private |
Definition at line 149 of file DynamicTruncation.h.
Referenced by DynamicTruncation().
|
private |
Definition at line 140 of file DynamicTruncation.h.
Referenced by fillDYTInfos(), filteringAlgo(), and getDYTInfo().
|
private |
Definition at line 167 of file DynamicTruncation.h.
Referenced by correctThrByPAndEta(), and setRecoP().
|
private |
Definition at line 171 of file DynamicTruncation.h.
Referenced by correctThrByPAndEta(), and setThrsMap().
|
private |
Definition at line 137 of file DynamicTruncation.h.
Referenced by filter(), and preliminaryFit().
|
private |
Definition at line 156 of file DynamicTruncation.h.
Referenced by filter(), and preliminaryFit().
|
private |
Definition at line 142 of file DynamicTruncation.h.
Referenced by DynamicTruncation(), testCSCstation(), testDTstation(), updateWithCSChits(), and updateWithDThits().
|
private |
Definition at line 144 of file DynamicTruncation.h.
Referenced by compatibleDets(), and DynamicTruncation().
|
private |
Definition at line 143 of file DynamicTruncation.h.
Referenced by DynamicTruncation(), and preliminaryFit().
|
private |
Definition at line 170 of file DynamicTruncation.h.
Referenced by correctThrByPAndEta(), setEtaRegion(), and setThrsMap().
|
private |
Definition at line 137 of file DynamicTruncation.h.
Referenced by filter(), and useSegment().
|
private |
Definition at line 145 of file DynamicTruncation.h.
Referenced by DynamicTruncation(), preliminaryFit(), testCSCstation(), testDTstation(), and updateWithDThits().
|
private |
Definition at line 147 of file DynamicTruncation.h.
Referenced by DynamicTruncation(), preliminaryFit(), updateWithCSChits(), updateWithDThits(), and useSegment().
|
private |
Definition at line 163 of file DynamicTruncation.h.
Referenced by DynamicTruncation(), and filter().
|
private |
Definition at line 139 of file DynamicTruncation.h.
Referenced by getThresholdFromCFG(), and setThr().
|
private |
Definition at line 148 of file DynamicTruncation.h.
Referenced by DynamicTruncation(), preliminaryFit(), update(), updateWithCSChits(), and updateWithDThits().
|
private |
Definition at line 138 of file DynamicTruncation.h.
Referenced by setUseAPE(), testCSCstation(), and testDTstation().
|
private |
Definition at line 164 of file DynamicTruncation.h.
Referenced by chooseLayers(), DynamicTruncation(), and filteringAlgo().
|
private |
Definition at line 153 of file DynamicTruncation.h.
Referenced by fillDYTInfos(), and getDYTInfo().
|
private |
Definition at line 169 of file DynamicTruncation.h.
Referenced by DynamicTruncation(), getThresholdFromCFG(), getThresholdFromDB(), and setParThrsMode().