#include <PurgeDuplicate.h>
Public Member Functions | |
void | addInput (MemoryBase *memory, std::string input) override |
void | addOutput (MemoryBase *memory, std::string output) override |
void | execute (std::vector< Track > &outputtracks_, unsigned int iSector) |
PurgeDuplicate (std::string name, Settings const &settings, Globals *global) | |
~PurgeDuplicate () override=default | |
Public Member Functions inherited from trklet::ProcessBase | |
unsigned int | getISeed (const std::string &name) |
std::string const & | getName () const |
void | initLayerDisk (unsigned int pos, int &layer, int &disk) |
void | initLayerDisk (unsigned int pos, int &layer, int &disk, int &layerdisk) |
unsigned int | initLayerDisk (unsigned int pos) |
void | initLayerDisksandISeed (unsigned int &layerdisk1, unsigned int &layerdisk2, unsigned int &iSeed) |
unsigned int | nbits (unsigned int power) |
ProcessBase (std::string name, Settings const &settings, Globals *global) | |
virtual | ~ProcessBase ()=default |
Private Member Functions | |
std::pair< int, int > | findLayerDisk (const Stub *) const |
std::vector< unsigned int > | findOverlapRInvBins (const Tracklet *trk) const |
unsigned int | findVarRInvBin (const Tracklet *trk) const |
std::vector< double > | getInventedCoords (unsigned int, const Stub *, const Tracklet *) const |
std::vector< double > | getInventedCoordsExtended (unsigned int, const Stub *, const Tracklet *) const |
std::vector< const Stub * > | getInventedSeedingStub (unsigned int, const Tracklet *, const std::vector< const Stub *> &) const |
double | getPhiRes (Tracklet *curTracklet, const Stub *curStub) const |
bool | isSeedingStub (int, int, int) const |
bool | isTrackInBin (const std::vector< unsigned int > &vec, unsigned int num) const |
std::string | l1tinfo (const L1TStub *, std::string) const |
Private Attributes | |
std::vector< std::vector< std::pair< int, int > > > | inputstubidslists_ |
std::vector< std::vector< const Stub * > > | inputstublists_ |
std::vector< TrackFitMemory * > | inputtrackfits_ |
std::vector< Tracklet * > | inputtracklets_ |
std::vector< Track * > | inputtracks_ |
std::vector< std::vector< std::pair< int, int > > > | mergedstubidslists_ |
std::vector< CleanTrackMemory * > | outputtracklets_ |
Additional Inherited Members | |
Protected Attributes inherited from trklet::ProcessBase | |
Globals * | globals_ |
std::string | name_ |
Settings const & | settings_ |
Definition at line 27 of file PurgeDuplicate.h.
Definition at line 25 of file PurgeDuplicate.cc.
|
overridedefault |
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 54 of file PurgeDuplicate.cc.
References cms::cuda::assert(), Exception, input, PixelMapPlotter::inputs, inputtrackfits_, mps_setup::memory, trklet::ProcessBase::name_, trklet::ProcessBase::settings_, createJobs::tmp, and trklet::Settings::writetrace().
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 28 of file PurgeDuplicate.cc.
References cms::cuda::assert(), Exception, mps_setup::memory, trklet::ProcessBase::name_, convertSQLitetoXML_cfg::output, PatBasicFWLiteJetAnalyzer_Selector_cfg::outputs, outputtracklets_, trklet::ProcessBase::settings_, createJobs::tmp, and trklet::Settings::writetrace().
void PurgeDuplicate::execute | ( | std::vector< Track > & | outputtracks_, |
unsigned int | iSector | ||
) |
Definition at line 81 of file PurgeDuplicate.cc.
References Reference_intrackfit_cff::barrel, newFWLiteAna::bin, trklet::Settings::extended(), spr::find(), findOverlapRInvBins(), findVarRInvBin(), dqmdumpme::first, trklet::HybridFit::Fit(), trklet::Tracklet::fit(), groupFilesInBlocks::fout, getInventedSeedingStub(), getPhiRes(), getTrack(), trklet::Tracklet::getTrack(), trklet::ProcessBase::globals_, getRunAppsInfo::grid, mps_fire::i, trklet::Track::ichisq(), inputstubidslists_, inputstublists_, inputtrackfits_, inputtracklets_, inputtracks_, createfilelist::int, trklet::Settings::inventStubs(), isTrackInBin(), dqmiolumiharvest::j, M_PI, SiStripPI::max, trklet::Settings::maxStep(), trklet::Settings::mergeComparison(), mergedstubidslists_, SiStripPI::min, trklet::Settings::minIndStubs(), trklet::ProcessBase::name_, trklet::Settings::numTracksComparedPerBin(), outputtracklets_, BeamMonitor_cff::phiBin, muonRecoAnalyzer_cfi::ptBin, trklet::Settings::removalType(), edm::second(), trklet::Tracklet::seedIndex(), trklet::Track::setSector(), trklet::Track::setStubIDprefit(), trklet::Track::setStubIDpremerge(), trklet::ProcessBase::settings_, findQualityFiles::size, jetUpdater_cfi::sort, trklet::Track::stubID(), ecalIM::uniqueIndex(), trklet::Settings::varRInvBins(), and trklet::Settings::writeMonitorData().
|
private |
Definition at line 592 of file PurgeDuplicate.cc.
References trklet::Stub::layerdisk(), and trklet::N_LAYER.
Referenced by getInventedCoords(), getInventedCoordsExtended(), and getInventedSeedingStub().
|
private |
Definition at line 756 of file PurgeDuplicate.cc.
References mps_fire::i, trklet::Settings::overlapSize(), trklet::Tracklet::rinv(), trklet::ProcessBase::settings_, and trklet::Settings::varRInvBins().
Referenced by execute().
|
private |
Definition at line 736 of file PurgeDuplicate.cc.
References trigObjTnPSource_cfi::bins, HLT_2023v12_cff::distance, trklet::Tracklet::rinv(), trklet::ProcessBase::settings_, pfDeepBoostedJetPreprocessParams_cfi::upper_bound, and trklet::Settings::varRInvBins().
Referenced by execute().
|
private |
Definition at line 617 of file PurgeDuplicate.cc.
References funct::abs(), trklet::Tracklet::disk(), trklet::Settings::dphisector(), trklet::Settings::dphisectorHG(), findLayerDisk(), dqmdumpme::first, trklet::Stub::isBarrel(), trklet::Tracklet::phi0(), reco::reduceRange(), trklet::Tracklet::rinv(), trklet::Settings::rmean(), edm::second(), trklet::ProcessBase::settings_, funct::sin(), trklet::Tracklet::t(), trackerHitRTTI::vector, trklet::Tracklet::z0(), and trklet::Settings::zmean().
Referenced by getInventedSeedingStub().
|
private |
Definition at line 647 of file PurgeDuplicate.cc.
References funct::abs(), HLT_2023v12_cff::beta, funct::cos(), trklet::Tracklet::d0(), trklet::Tracklet::disk(), trklet::Settings::dphisector(), trklet::Settings::dphisectorHG(), findLayerDisk(), dqmdumpme::first, trklet::Stub::isBarrel(), trklet::Stub::l1tstub(), trklet::L1TStub::phi(), trklet::Tracklet::phi0(), trklet::L1TStub::r(), reco::reduceRange(), trklet::Tracklet::rinv(), trklet::Settings::rmean(), edm::second(), fileCollector::seed, trklet::Tracklet::seedIndex(), trklet::ProcessBase::settings_, mathSSE::sqrt(), trklet::Tracklet::t(), trackerHitRTTI::vector, trklet::L1TStub::z(), trklet::Tracklet::z0(), and trklet::Settings::zmean().
Referenced by getInventedSeedingStub().
|
private |
Definition at line 698 of file PurgeDuplicate.cc.
References trklet::L1TStub::allStubIndex(), funct::cos(), trklet::Settings::extended(), findLayerDisk(), dqmdumpme::first, getInventedCoords(), getInventedCoordsExtended(), isSeedingStub(), trklet::Stub::l1tstub(), edm::second(), trklet::Tracklet::seedIndex(), trklet::L1TStub::setAllStubIndex(), trklet::L1TStub::setCoords(), trklet::Stub::setl1tstub(), trklet::ProcessBase::settings_, trklet::L1TStub::setUniqueIndex(), funct::sin(), and trklet::L1TStub::uniqueIndex().
Referenced by execute().
Definition at line 548 of file PurgeDuplicate.cc.
References funct::abs(), isSeedingStub(), trklet::Stub::l1tstub(), trklet::Stub::layerdisk(), trklet::N_LAYER, trklet::L1TStub::phi(), trklet::Tracklet::proj(), and trklet::Tracklet::seedIndex().
Referenced by execute().
|
private |
Definition at line 577 of file PurgeDuplicate.cc.
References funct::abs().
Referenced by getInventedSeedingStub(), and getPhiRes().
|
private |
Definition at line 770 of file PurgeDuplicate.cc.
References spr::find(), newFWLiteAna::found, EgammaValidation_cff::num, and mps_fire::result.
Referenced by execute().
|
private |
Definition at line 605 of file PurgeDuplicate.cc.
References trklet::L1TStub::bend(), trklet::L1TStub::iphi(), trklet::L1TStub::layerdisk(), trklet::L1TStub::phi(), trklet::L1TStub::r(), str, AlCaHLTBitMon_QueryRunRegistry::string, and trklet::L1TStub::z().
|
private |
Definition at line 60 of file PurgeDuplicate.h.
Referenced by execute().
|
private |
Definition at line 59 of file PurgeDuplicate.h.
Referenced by execute().
|
private |
Definition at line 62 of file PurgeDuplicate.h.
Referenced by addInput(), and execute().
|
private |
Definition at line 63 of file PurgeDuplicate.h.
Referenced by execute().
|
private |
Definition at line 58 of file PurgeDuplicate.h.
Referenced by execute().
|
private |
Definition at line 61 of file PurgeDuplicate.h.
Referenced by execute().
|
private |
Definition at line 64 of file PurgeDuplicate.h.
Referenced by addOutput(), and execute().