#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 > | findOverlapPhiBins (const Tracklet *trk) const |
std::vector< unsigned int > | findOverlapRinvBins (const Tracklet *trk) const |
unsigned int | findPhiBin (const Tracklet *trk) const |
unsigned int | findRinvBin (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(), findOverlapPhiBins(), findOverlapRinvBins(), findPhiBin(), findRinvBin(), 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, trklet::Settings::phiBins(), muonRecoAnalyzer_cfi::ptBin, trklet::Settings::removalType(), trklet::Settings::rinvBins(), edm::second(), trklet::Tracklet::seedIndex(), trklet::Track::setSector(), trklet::Track::setStubIDprefit(), trklet::Track::setStubIDpremerge(), trklet::ProcessBase::settings_, jetUpdater_cfi::sort, trklet::Track::stubID(), ecalIM::uniqueIndex(), and trklet::Settings::writeMonitorData().
|
private |
Definition at line 595 of file PurgeDuplicate.cc.
References trklet::Stub::layerdisk(), and trklet::N_LAYER.
Referenced by getInventedCoords(), getInventedCoordsExtended(), and getInventedSeedingStub().
|
private |
Definition at line 798 of file PurgeDuplicate.cc.
References mps_fire::i, trklet::Tracklet::phi0(), l1tTrackJets_cfi::phiBins, trklet::Settings::phiBins(), trklet::Settings::phiOverlapSize(), trklet::Settings::rcrit(), trklet::rinv(), trklet::Tracklet::rinv(), and trklet::ProcessBase::settings_.
Referenced by execute().
|
private |
Definition at line 782 of file PurgeDuplicate.cc.
References mps_fire::i, trklet::rinv(), trklet::Tracklet::rinv(), trklet::Settings::rinvBins(), trklet::Settings::rinvOverlapSize(), and trklet::ProcessBase::settings_.
Referenced by execute().
|
private |
Definition at line 759 of file PurgeDuplicate.cc.
References trigObjTnPSource_cfi::bins, HLT_2024v14_cff::distance, trklet::Tracklet::phi0(), l1tTrackJets_cfi::phiBins, trklet::Settings::phiBins(), trklet::Settings::rcrit(), trklet::rinv(), trklet::Tracklet::rinv(), trklet::ProcessBase::settings_, and pfDeepBoostedJetPreprocessParams_cfi::upper_bound.
Referenced by execute().
|
private |
Definition at line 739 of file PurgeDuplicate.cc.
References trigObjTnPSource_cfi::bins, HLT_2024v14_cff::distance, trklet::rinv(), trklet::Tracklet::rinv(), trklet::Settings::rinvBins(), trklet::ProcessBase::settings_, and pfDeepBoostedJetPreprocessParams_cfi::upper_bound.
Referenced by execute().
|
private |
Definition at line 620 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(), trklet::Tracklet::z0(), and trklet::Settings::zmean().
Referenced by getInventedSeedingStub().
|
private |
Definition at line 650 of file PurgeDuplicate.cc.
References funct::abs(), HLT_2024v14_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(), trklet::L1TStub::z(), trklet::Tracklet::z0(), and trklet::Settings::zmean().
Referenced by getInventedSeedingStub().
|
private |
Definition at line 701 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 551 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 580 of file PurgeDuplicate.cc.
References funct::abs().
Referenced by getInventedSeedingStub(), and getPhiRes().
|
private |
Definition at line 817 of file PurgeDuplicate.cc.
References spr::find(), newFWLiteAna::found, EgammaValidation_cff::num, and mps_fire::result.
Referenced by execute().
|
private |
Definition at line 608 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 64 of file PurgeDuplicate.h.
Referenced by execute().
|
private |
Definition at line 63 of file PurgeDuplicate.h.
Referenced by execute().
|
private |
Definition at line 66 of file PurgeDuplicate.h.
Referenced by addInput(), and execute().
|
private |
Definition at line 67 of file PurgeDuplicate.h.
Referenced by execute().
|
private |
Definition at line 62 of file PurgeDuplicate.h.
Referenced by execute().
|
private |
Definition at line 65 of file PurgeDuplicate.h.
Referenced by execute().
|
private |
Definition at line 68 of file PurgeDuplicate.h.
Referenced by addOutput(), and execute().