#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 | |
double | getPhiRes (Tracklet *curTracklet, const Stub *curStub) |
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 Exception, trklet::Settings::extended(), spr::find(), first, trklet::HybridFit::Fit(), trklet::Tracklet::fit(), groupFilesInBlocks::fout, getPhiRes(), getTrack(), trklet::Tracklet::getTrack(), trklet::ProcessBase::globals_, getRunAppsInfo::grid, mps_fire::i, trklet::Track::ichisq(), inputstubidslists_, inputstublists_, inputtrackfits_, inputtracklets_, inputtracks_, createfilelist::int, dqmiolumiharvest::j, M_PI, SiStripPI::max, trklet::Settings::mergeComparison(), mergedstubidslists_, SiStripPI::min, trklet::Settings::minIndStubs(), trklet::ProcessBase::name_, 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, jetsAK4_CHS_cff::sort, trklet::Track::stubID(), and trklet::Settings::writeMonitorData().
Definition at line 482 of file PurgeDuplicate.cc.
References funct::abs(), 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 43 of file PurgeDuplicate.h.
Referenced by execute().
|
private |
Definition at line 42 of file PurgeDuplicate.h.
Referenced by execute().
|
private |
Definition at line 45 of file PurgeDuplicate.h.
Referenced by addInput(), and execute().
|
private |
Definition at line 46 of file PurgeDuplicate.h.
Referenced by execute().
|
private |
Definition at line 41 of file PurgeDuplicate.h.
Referenced by execute().
|
private |
Definition at line 44 of file PurgeDuplicate.h.
Referenced by execute().
|
private |
Definition at line 47 of file PurgeDuplicate.h.
Referenced by addOutput(), and execute().