Public Types | |
typedef edm::View< TrackType > | InputCollection |
typedef TrackCollection::value_type | TrackType |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Attributes | |
edm::EDGetTokenT< reco::BeamSpot > | bsToken_ |
edm::ESHandle< TransientTrackBuilder > | builder |
edm::ESHandle< GlobalTrackingGeometry > | gtg |
edm::ESHandle< TransientTrackingRecHitBuilder > | hitbuilder |
edm::EDGetTokenT< MTDTrackingDetSetVector > | hitsToken_ |
const std::string | mtdRecHitBuilder_ |
edm::ESHandle< Propagator > | prop |
const std::string | propagator_ |
std::unique_ptr< MeasurementEstimator > | theEstimator |
std::unique_ptr< TrackTransformer > | theTransformer |
edm::EDGetTokenT< InputCollection > | tracksToken_ |
const std::string | transientTrackBuilder_ |
const bool | updateExtra_ |
const bool | updatePattern_ |
const bool | updateTraj_ |
Static Private Attributes | |
static char | betaOrigTrkName [] = "generalTrackBeta" |
static char | pathLengthName [] = "pathLength" |
static char | pathLengthOrigTrkName [] = "generalTrackPathLength" |
static char | pOrigTrkName [] = "generalTrackp" |
static char | sigmat0OrigTrkName [] = "generalTracksigmat0" |
static char | sigmatmtdName [] = "sigmatmtd" |
static char | sigmatmtdOrigTrkName [] = "generalTracksigmatmtd" |
static char | t0OrigTrkName [] = "generalTrackt0" |
static char | tmtdName [] = "tmtd" |
static char | tmtdOrigTrkName [] = "generalTracktmtd" |
Definition at line 60 of file TrackExtenderWithMTD.cc.
typedef edm::View<TrackType> TrackExtenderWithMTDT< TrackCollection >::InputCollection |
Definition at line 63 of file TrackExtenderWithMTD.cc.
typedef TrackCollection::value_type TrackExtenderWithMTDT< TrackCollection >::TrackType |
Definition at line 62 of file TrackExtenderWithMTD.cc.
TrackExtenderWithMTDT< TrackCollection >::TrackExtenderWithMTDT | ( | const ParameterSet & | pset | ) |
Definition at line 144 of file TrackExtenderWithMTD.cc.
References TrackExtenderWithMTDT< TrackCollection >::betaOrigTrkName, constexpr, edm::ParameterSet::getParameterSet(), beam_dqm_sourceclient-live_cfg::maxChi2, HLTSiStripMonitoring_cff::nSigma, TrackExtenderWithMTDT< TrackCollection >::pathLengthName, TrackExtenderWithMTDT< TrackCollection >::pathLengthOrigTrkName, TrackExtenderWithMTDT< TrackCollection >::pOrigTrkName, TrackExtenderWithMTDT< TrackCollection >::sigmat0OrigTrkName, TrackExtenderWithMTDT< TrackCollection >::sigmatmtdName, TrackExtenderWithMTDT< TrackCollection >::sigmatmtdOrigTrkName, TrackExtenderWithMTDT< TrackCollection >::t0OrigTrkName, TrackExtenderWithMTDT< TrackCollection >::theEstimator, TrackExtenderWithMTDT< TrackCollection >::theTransformer, TrackExtenderWithMTDT< TrackCollection >::tmtdName, and TrackExtenderWithMTDT< TrackCollection >::tmtdOrigTrkName.
reco::Track TrackExtenderWithMTDT< TrackCollection >::buildTrack | ( | const reco::Track & | orig, |
const Trajectory & | traj, | ||
const Trajectory & | trajWithMtd, | ||
const reco::BeamSpot & | bs, | ||
const MagneticField * | field, | ||
const Propagator * | prop, | ||
bool | hasMTD, | ||
float & | pathLength, | ||
float & | tmtdOut, | ||
float & | sigmatmtdOut | ||
) | const |
Definition at line 445 of file TrackExtenderWithMTD.cc.
References funct::abs(), reco::TrackBase::algo(), alongMomentum, FreeTrajectoryState::charge(), Trajectory::chiSquared(), Trajectory::closestMeasurement(), constexpr, FreeTrajectoryState::curvilinearError(), Trajectory::direction(), FastTime, Trajectory::firstMeasurement(), DetId::Forward, TrajectoryStateOnSurface::freeState(), createfilelist::int, TrajectoryStateClosestToBeamLine::isValid(), TrajectoryStateOnSurface::isValid(), Trajectory::lastMeasurement(), m_pi, Trajectory::measurements(), FreeTrajectoryState::momentum(), ndof, Trajectory::ndof(), AlCaHLTBitMon_ParallelJobs::p, FreeTrajectoryState::position(), Propagator::propagateWithPath(), mathSSE::sqrt(), TrajectoryStateOnSurface::surface(), FrontierCondition_GT_autoExpress_cfi::t0, MTDTrackingRecHit::time(), MTDTrackingRecHit::timeError(), TrajectoryStateClosestToBeamLine::trackStateAtPCA(), reco::TrackBase::undefQuality, UNLIKELY, TrackInfoProducer_cfi::updatedState, TrajectoryMeasurement::updatedState(), findQualityFiles::v, PV3DBase< T, PVType, FrameType >::x(), reco::BeamSpot::x0(), PV3DBase< T, PVType, FrameType >::y(), reco::BeamSpot::y0(), PV3DBase< T, PVType, FrameType >::z(), and reco::BeamSpot::z0().
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce().
reco::TrackExtra TrackExtenderWithMTDT< TrackCollection >::buildTrackExtra | ( | const Trajectory & | trajectory | ) | const |
Definition at line 592 of file TrackExtenderWithMTD.cc.
References alongMomentum, Surface::bounds(), TrajectoryStateOnSurface::curvilinearError(), Trajectory::direction(), Trajectory::firstMeasurement(), TrajectoryStateOnSurface::globalParameters(), TrackExtenderWithMTDT< TrackCollection >::gtg, GlobalTrackingGeometry::idToDet(), Bounds::inside(), Trajectory::lastMeasurement(), LogTrace, metname, GlobalTrajectoryParameters::momentum(), oppositeToMomentum, AlCaHLTBitMon_ParallelJobs::p, GlobalTrajectoryParameters::position(), TrajectoryMeasurement::recHit(), Trajectory::recHits(), Trajectory::seedRef(), GeomDet::surface(), GeomDet::toLocal(), TrajectoryMeasurement::updatedState(), findQualityFiles::v, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce().
|
inline |
Definition at line 86 of file TrackExtenderWithMTD.cc.
References dqmdumpme::first, RefitDirection::insideOut, dqmdumpme::last, LogDebug, PV3DBase< T, PVType, FrameType >::mag2(), RefitDirection::outsideIn, position, and RefitDirection::undetermined.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce().
string TrackExtenderWithMTDT< TrackCollection >::dumpLayer | ( | const DetLayer * | layer | ) | const |
Definition at line 668 of file TrackExtenderWithMTD.cc.
References convertSQLitetoXML_cfg::output, and GeometricSearchDet::surface().
|
static |
Definition at line 177 of file TrackExtenderWithMTD.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), TrackTransformer::fillPSetDescription(), HLT_2018_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
void TrackExtenderWithMTDT< TrackCollection >::fillValueMap | ( | edm::Event & | iEvent, |
const H & | handle, | ||
const std::vector< T > & | vec, | ||
const std::string & | name | ||
) | const |
Definition at line 204 of file TrackExtenderWithMTD.cc.
References trigObjTnPSource_cfi::filler, eostools::move(), MillePedeFileConverter_cfg::out, and edm::Event::put().
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce().
|
final |
setup the track extras
Definition at line 216 of file TrackExtenderWithMTD.cc.
References funct::abs(), TrackExtenderWithMTDT< TrackCollection >::betaOrigTrkName, TrackExtenderWithMTDT< TrackCollection >::bsToken_, TransientTrackingRecHitBuilder::build(), TrackExtenderWithMTDT< TrackCollection >::builder, TrackExtenderWithMTDT< TrackCollection >::buildTrack(), TrackExtenderWithMTDT< TrackCollection >::buildTrackExtra(), TrackExtenderWithMTDT< TrackCollection >::checkRecHitsOrdering(), AlCaHLTBitMon_QueryRunRegistry::comp, GeometricSearchDet::compatible(), GeometricSearchDet::compatibleDets(), edmNew::DetSetVector< T >::equal_range(), MeasurementEstimator::estimate(), TrackExtenderWithMTDT< TrackCollection >::fillValueMap(), edm::EventSetup::get(), edm::Event::getByToken(), edm::Event::getRefBeforePut(), TrackExtenderWithMTDT< TrackCollection >::gtg, TrackExtenderWithMTDT< TrackCollection >::hitbuilder, hfClusterShapes_cfi::hits, TrackExtenderWithMTDT< TrackCollection >::hitsToken_, RefitDirection::insideOut, volumeBasedMagneticField_1103l_cfi::magfield, SiStripPI::max, eostools::move(), TrackExtenderWithMTDT< TrackCollection >::mtdRecHitBuilder_, reco::TrackBase::ndof(), config::ordering, convertSQLitetoXML_cfg::output, TrackExtenderWithMTDT< TrackCollection >::pathLengthName, TrackExtenderWithMTDT< TrackCollection >::pathLengthOrigTrkName, TrackExtenderWithMTDT< TrackCollection >::pOrigTrkName, edm::ESHandle< T >::product(), TrackExtenderWithMTDT< TrackCollection >::prop, TrackExtenderWithMTDT< TrackCollection >::propagator_, edm::Event::put(), FastTimerService_cff::range, mps_fire::result, groupFilesInBlocks::reverse, TrackExtenderWithMTDT< TrackCollection >::sigmat0OrigTrkName, TrackExtenderWithMTDT< TrackCollection >::sigmatmtdName, TrackExtenderWithMTDT< TrackCollection >::sigmatmtdOrigTrkName, mathSSE::sqrt(), TrackExtenderWithMTDT< TrackCollection >::t0OrigTrkName, TrackExtenderWithMTDT< TrackCollection >::theEstimator, TrackExtenderWithMTDT< TrackCollection >::theTransformer, TrackExtenderWithMTDT< TrackCollection >::tmtdName, TrackExtenderWithMTDT< TrackCollection >::tmtdOrigTrkName, HLT_2018_cff::track, PDWG_EXOHSCP_cff::tracks, TrackExtenderWithMTDT< TrackCollection >::tracksToken_, TrackExtenderWithMTDT< TrackCollection >::transientTrackBuilder_, TrackExtenderWithMTDT< TrackCollection >::tryBTLLayers(), TrackExtenderWithMTDT< TrackCollection >::tryETLLayers(), TrackExtenderWithMTDT< TrackCollection >::updateExtra_, TrackExtenderWithMTDT< TrackCollection >::updatePattern_, and TrackExtenderWithMTDT< TrackCollection >::updateTraj_.
TransientTrackingRecHit::ConstRecHitContainer TrackExtenderWithMTDT< TrackCollection >::tryBTLLayers | ( | const TrackType & | track, |
const MTDTrackingDetSetVector & | hits, | ||
const MTDDetLayerGeometry * | geo, | ||
const MagneticField * | field, | ||
const Propagator * | prop | ||
) | const |
Definition at line 399 of file TrackExtenderWithMTD.cc.
References MTDDetLayerGeometry::allBTLLayers(), TransientTrackBuilder::build(), TrackExtenderWithMTDT< TrackCollection >::builder, TrackExtenderWithMTDT< TrackCollection >::hitbuilder, hgcalTopologyTester_cfi::layers, convertSQLitetoXML_cfg::output, and TrackExtenderWithMTDT< TrackCollection >::theEstimator.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce().
TransientTrackingRecHit::ConstRecHitContainer TrackExtenderWithMTDT< TrackCollection >::tryETLLayers | ( | const TrackType & | track, |
const MTDTrackingDetSetVector & | hits, | ||
const MTDDetLayerGeometry * | geo, | ||
const MagneticField * | field, | ||
const Propagator * | prop | ||
) | const |
Definition at line 418 of file TrackExtenderWithMTD.cc.
References MTDDetLayerGeometry::allETLLayers(), TransientTrackBuilder::build(), TrackExtenderWithMTDT< TrackCollection >::builder, TrajectoryStateOnSurface::globalPosition(), TrackExtenderWithMTDT< TrackCollection >::hitbuilder, hgcalTopologyTester_cfi::layers, convertSQLitetoXML_cfg::output, TrackExtenderWithMTDT< TrackCollection >::theEstimator, and PV3DBase< T, PVType, FrameType >::z().
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce().
|
staticprivate |
Definition at line 123 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce(), and TrackExtenderWithMTDT< TrackCollection >::TrackExtenderWithMTDT().
|
private |
Definition at line 132 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce().
|
private |
Definition at line 137 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce(), TrackExtenderWithMTDT< TrackCollection >::tryBTLLayers(), and TrackExtenderWithMTDT< TrackCollection >::tryETLLayers().
|
private |
Definition at line 139 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::buildTrackExtra(), and TrackExtenderWithMTDT< TrackCollection >::produce().
|
private |
Definition at line 138 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce(), TrackExtenderWithMTDT< TrackCollection >::tryBTLLayers(), and TrackExtenderWithMTDT< TrackCollection >::tryETLLayers().
|
private |
Definition at line 131 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce().
|
private |
Definition at line 134 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce().
|
staticprivate |
Definition at line 119 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce(), and TrackExtenderWithMTDT< TrackCollection >::TrackExtenderWithMTDT().
|
staticprivate |
Definition at line 126 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce(), and TrackExtenderWithMTDT< TrackCollection >::TrackExtenderWithMTDT().
|
staticprivate |
Definition at line 122 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce(), and TrackExtenderWithMTDT< TrackCollection >::TrackExtenderWithMTDT().
|
private |
Definition at line 140 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce().
|
private |
Definition at line 134 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce().
|
staticprivate |
Definition at line 125 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce(), and TrackExtenderWithMTDT< TrackCollection >::TrackExtenderWithMTDT().
|
staticprivate |
Definition at line 121 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce(), and TrackExtenderWithMTDT< TrackCollection >::TrackExtenderWithMTDT().
|
staticprivate |
Definition at line 128 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce(), and TrackExtenderWithMTDT< TrackCollection >::TrackExtenderWithMTDT().
|
staticprivate |
Definition at line 124 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce(), and TrackExtenderWithMTDT< TrackCollection >::TrackExtenderWithMTDT().
|
private |
Definition at line 135 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce(), TrackExtenderWithMTDT< TrackCollection >::TrackExtenderWithMTDT(), TrackExtenderWithMTDT< TrackCollection >::tryBTLLayers(), and TrackExtenderWithMTDT< TrackCollection >::tryETLLayers().
|
private |
Definition at line 136 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce(), and TrackExtenderWithMTDT< TrackCollection >::TrackExtenderWithMTDT().
|
staticprivate |
Definition at line 120 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce(), and TrackExtenderWithMTDT< TrackCollection >::TrackExtenderWithMTDT().
|
staticprivate |
Definition at line 127 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce(), and TrackExtenderWithMTDT< TrackCollection >::TrackExtenderWithMTDT().
|
private |
Definition at line 130 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce().
|
private |
Definition at line 134 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce().
|
private |
Definition at line 133 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce().
|
private |
Definition at line 133 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce().
|
private |
Definition at line 133 of file TrackExtenderWithMTD.cc.
Referenced by TrackExtenderWithMTDT< TrackCollection >::produce().