#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_) |
PurgeDuplicate (std::string name, Settings const &settings, Globals *global, unsigned int iSector) | |
~PurgeDuplicate () override=default | |
Public Member Functions inherited from trklet::ProcessBase | |
unsigned int | getISeed (std::string name) |
std::string const & | getName () const |
unsigned int | initLayerDisk (unsigned int pos) |
void | initLayerDisk (unsigned int pos, int &layer, int &disk) |
void | initLayerDisk (unsigned int pos, int &layer, int &disk, int &layerdisk) |
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, unsigned int iSector) | |
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_ |
unsigned int | iSector_ |
std::string | name_ |
double | phimax_ |
double | phimin_ |
Settings const & | settings_ |
Definition at line 20 of file PurgeDuplicate.h.
PurgeDuplicate::PurgeDuplicate | ( | std::string | name, |
Settings const & | settings, | ||
Globals * | global, | ||
unsigned int | iSector | ||
) |
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_ | ) |
Definition at line 81 of file PurgeDuplicate.cc.
References Exception, trklet::Settings::extended(), spr::find(), dqmdumpme::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, trklet::ProcessBase::iSector_, dqmiolumiharvest::j, M_PI, SiStripPI::max, trklet::Settings::mergeComparison(), mergedstubidslists_, min(), trklet::Settings::minIndStubs(), trklet::ProcessBase::name_, outputtracklets_, BeamMonitor_cff::phiBin, muonRecoAnalyzer_cfi::ptBin, trklet::Settings::removalType(), edm::second(), trklet::Tracklet::seedIndex(), trklet::Track::setDuplicate(), trklet::Track::setSector(), trklet::Track::setStubIDprefit(), trklet::Track::setStubIDpremerge(), trklet::ProcessBase::settings_, findQualityFiles::size, trklet::Track::stubID(), and trklet::Settings::writeMonitorData().
Definition at line 479 of file PurgeDuplicate.cc.
References funct::abs(), trklet::Stub::disk(), Exception, trklet::Stub::l1tstub(), trklet::Stub::layer(), trklet::L1TStub::phi(), trklet::Tracklet::phiproj(), trklet::Tracklet::phiprojdisk(), trklet::Tracklet::seedIndex(), and trklet::FPGAWord::value().
Referenced by execute().
|
private |
Definition at line 36 of file PurgeDuplicate.h.
Referenced by execute().
|
private |
Definition at line 35 of file PurgeDuplicate.h.
Referenced by execute().
|
private |
Definition at line 38 of file PurgeDuplicate.h.
Referenced by addInput(), and execute().
|
private |
Definition at line 39 of file PurgeDuplicate.h.
Referenced by execute().
|
private |
Definition at line 34 of file PurgeDuplicate.h.
Referenced by execute().
|
private |
Definition at line 37 of file PurgeDuplicate.h.
Referenced by execute().
|
private |
Definition at line 40 of file PurgeDuplicate.h.
Referenced by addOutput(), and execute().