#include <DAFTrackProducerAlgorithm.h>
Public Member Functions | |
DAFTrackProducerAlgorithm (const edm::ParameterSet &conf) | |
void | runWithCandidate (const TrackingGeometry *, const MagneticField *, const std::vector< Trajectory > &, const MeasurementTrackerEvent *measTk, const TrajectoryFitter *, const TransientTrackingRecHitBuilder *, const MultiRecHitCollector *measurementTracker, const SiTrackerMultiRecHitUpdator *, const reco::BeamSpot &, AlgoProductCollection &, TrajAnnealingCollection &, bool) const |
Run the Final Fit taking TrackCandidates as input. More... | |
~DAFTrackProducerAlgorithm () | |
Private Types | |
typedef std::pair< Trajectory *, std::pair< reco::Track *, PropagationDirection > > | AlgoProduct |
typedef std::vector< AlgoProduct > | AlgoProductCollection |
typedef std::vector < TrajAnnealing > | TrajAnnealingCollection |
Private Member Functions | |
bool | buildTrack (const Trajectory, AlgoProductCollection &algoResults, float, const reco::BeamSpot &) const |
Construct Tracks to be put in the event. More... | |
float | calculateNdof (const Trajectory vtraj) const |
int | checkHits (Trajectory iInitTraj, const Trajectory iFinalTraj) const |
std::pair < TransientTrackingRecHit::RecHitContainer, TrajectoryStateOnSurface > | collectHits (const Trajectory vtraj, const MultiRecHitCollector *measurementCollector, const MeasurementTrackerEvent *measTk) const |
void | filter (const TrajectoryFitter *fitter, std::vector< Trajectory > &input, int minhits, std::vector< Trajectory > &output, const TransientTrackingRecHitBuilder *builder) const |
Trajectory | fit (const std::pair< TransientTrackingRecHit::RecHitContainer, TrajectoryStateOnSurface > &hits, const TrajectoryFitter *theFitter, Trajectory vtraj) const |
accomplishes the fitting-smoothing step for each annealing value More... | |
std::pair < TransientTrackingRecHit::RecHitContainer, TrajectoryStateOnSurface > | updateHits (const Trajectory vtraj, const SiTrackerMultiRecHitUpdator *updator, double annealing) const |
Private Attributes | |
edm::ParameterSet | conf_ |
int | minHits_ |
All is needed to run the deterministic annealing algorithm. Ported from ORCA.
Definition at line 31 of file DAFTrackProducerAlgorithm.h.
|
private |
Definition at line 33 of file DAFTrackProducerAlgorithm.h.
|
private |
Definition at line 34 of file DAFTrackProducerAlgorithm.h.
|
private |
Definition at line 35 of file DAFTrackProducerAlgorithm.h.
DAFTrackProducerAlgorithm::DAFTrackProducerAlgorithm | ( | const edm::ParameterSet & | conf | ) |
Definition at line 27 of file DAFTrackProducerAlgorithm.cc.
|
inline |
Definition at line 40 of file DAFTrackProducerAlgorithm.h.
|
private |
Construct Tracks to be put in the event.
Definition at line 208 of file DAFTrackProducerAlgorithm.cc.
References alongMomentum, FreeTrajectoryState::charge(), Trajectory::chiSquared(), FreeTrajectoryState::curvilinearError(), Trajectory::direction(), Trajectory::firstMeasurement(), TrajectoryStateOnSurface::freeState(), TrajectoryStateClosestToBeamLine::isValid(), Trajectory::isValid(), Trajectory::lastMeasurement(), LogDebug, FreeTrajectoryState::momentum(), AlCaHLTBitMon_ParallelJobs::p, FreeTrajectoryState::position(), TrajectoryStateClosestToBeamLine::trackStateAtPCA(), TrajectoryMeasurement::updatedState(), findQualityFiles::v, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by runWithCandidate().
|
private |
Definition at line 312 of file DAFTrackProducerAlgorithm.cc.
References makeMuonMisalignmentScenario::components, Trajectory::isValid(), getDQMSummary::iter, Trajectory::measurements(), SiTrackerMultiRecHit::recHits(), and SiTrackerMultiRecHit::weight().
Referenced by runWithCandidate().
|
private |
Definition at line 335 of file DAFTrackProducerAlgorithm.cc.
References makeMuonMisalignmentScenario::components, TrackingRecHit::hit(), TrackingRecHit::isValid(), LogDebug, Trajectory::measurements(), TrajectoryMeasurement::recHit(), SiTrackerMultiRecHit::recHits(), histoStyle::weight, and SiTrackerMultiRecHit::weight().
Referenced by runWithCandidate().
|
private |
Definition at line 128 of file DAFTrackProducerAlgorithm.cc.
References getDQMSummary::iter, LogDebug, and MultiRecHitCollector::recHits().
Referenced by runWithCandidate().
|
private |
Definition at line 257 of file DAFTrackProducerAlgorithm.cc.
References makeMuonMisalignmentScenario::components, alignCSCRings::e, TrajectoryFitter::fit(), edm::OwnVector< T, P >::front(), AnalysisDataFormats_SUSYBSMObjects::hc, getDQMSummary::iter, LogDebug, TkClonerImpl::makeShared(), TrackingRecHit::missing, SiTrackerMultiRecHit::recHits(), and SiTrackerMultiRecHit::weight().
|
private |
accomplishes the fitting-smoothing step for each annealing value
Definition at line 189 of file DAFTrackProducerAlgorithm.cc.
References TrajectorySeed::direction(), TrajectoryFitter::fitOne(), Trajectory::isValid(), LogDebug, and Trajectory::seed().
Referenced by runWithCandidate().
void DAFTrackProducerAlgorithm::runWithCandidate | ( | const TrackingGeometry * | theG, |
const MagneticField * | theMF, | ||
const std::vector< Trajectory > & | theTrajectoryCollection, | ||
const MeasurementTrackerEvent * | measTk, | ||
const TrajectoryFitter * | theFitter, | ||
const TransientTrackingRecHitBuilder * | builder, | ||
const MultiRecHitCollector * | measurementTracker, | ||
const SiTrackerMultiRecHitUpdator * | updator, | ||
const reco::BeamSpot & | bs, | ||
AlgoProductCollection & | algoResults, | ||
TrajAnnealingCollection & | trajann, | ||
bool | TrajAnnSaving_ | ||
) | const |
Run the Final Fit taking TrackCandidates as input.
Definition at line 32 of file DAFTrackProducerAlgorithm.cc.
References buildTrack(), calculateNdof(), checkHits(), collectHits(), generateEDF::cont, TrajectorySeed::direction(), Trajectory::direction(), fit(), Trajectory::foundHits(), SiTrackerMultiRecHitUpdator::getAnnealingProgram(), Trajectory::isValid(), LogDebug, minHits_, convertSQLiteXML::ok, Trajectory::seed(), groupFilesInBlocks::temp, and updateHits().
Referenced by DAFTrackProducer::produce().
|
private |
Definition at line 167 of file DAFTrackProducerAlgorithm.cc.
References Trajectory::measurements(), and SiTrackerMultiRecHitUpdator::update().
Referenced by runWithCandidate().
|
private |
Definition at line 93 of file DAFTrackProducerAlgorithm.h.
|
private |
Definition at line 94 of file DAFTrackProducerAlgorithm.h.
Referenced by runWithCandidate().