#include <DupFitTrkKiller.h>
Public Types | |
enum | DupAlgoName { DupAlgoName::None = 0, DupAlgoName::Algo1 = 1, DupAlgoName::Algo2 = 2 } |
Public Member Functions | |
DupFitTrkKiller (const Settings *settings) | |
std::list< const L1fittedTrack * > | filter (const std::list< L1fittedTrack > &vecTracks) const |
Private Member Functions | |
std::list< const L1fittedTrack * > | filterAlg1 (const std::list< L1fittedTrack > &tracks) const |
std::list< const L1fittedTrack * > | filterAlg2 (const std::list< L1fittedTrack > &tracks) const |
void | printDuplicateTracks (const std::list< const L1fittedTrack * > &tracks) const |
Private Attributes | |
DupAlgoName | dupTrkAlg_ |
const Settings * | settings_ |
Definition at line 19 of file DupFitTrkKiller.h.
|
strong |
tmtt::DupFitTrkKiller::DupFitTrkKiller | ( | const Settings * | settings | ) |
Make available cfg parameters & specify which algorithm is to be used for duplicate track removal.
Definition at line 13 of file DupFitTrkKiller.cc.
list< const L1fittedTrack * > tmtt::DupFitTrkKiller::filter | ( | const std::list< L1fittedTrack > & | vecTracks | ) | const |
Eliminate duplicate tracks from the input collection, and so return a reduced list of tracks.
Definition at line 18 of file DupFitTrkKiller.cc.
References Algo1, Algo2, dupTrkAlg_, Exception, filterAlg1(), filterAlg2(), and None.
Referenced by tmtt::TMTrackProducer::produce().
|
private |
Duplicate removal algorithm that eliminates duplicates by requiring that the fitted (q/Pt, phi0) of the track correspond to the same HT cell in which the track was originally found by the HT.
Definition at line 49 of file DupFitTrkKiller.cc.
References funct::abs(), tmtt::Settings::beamWindowZ(), submitPVResolutionJobs::count, debug, tmtt::Settings::houghMinPt(), createfilelist::int, reco::castor::maxDiff(), printDuplicateTracks(), settings_, cmsswSequenceInfo::tp, and tracks.
Referenced by filter().
|
private |
Duplicate removal algorithm that eliminates duplicates
by requiring that no two tracks should have fitted (q/Pt, phi0) that correspond to the same HT cell. If they do, then only the first to arrive is kept.
Definition at line 210 of file DupFitTrkKiller.cc.
References submitPVResolutionJobs::count, debug, printDuplicateTracks(), cmsswSequenceInfo::tp, and tracks.
Referenced by filter().
|
private |
Definition at line 247 of file DupFitTrkKiller.cc.
References AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::s, cmsswSequenceInfo::tp, and tracks.
Referenced by filterAlg1(), and filterAlg2().
|
private |
Definition at line 53 of file DupFitTrkKiller.h.
Referenced by filter().
|
private |
Definition at line 52 of file DupFitTrkKiller.h.
Referenced by filterAlg1().