#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 20 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, trklet::MemoryBase::getName(), input, PixelMapPlotter::inputs, inputtrackfits_, 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, trklet::MemoryBase::getName(), trklet::ProcessBase::name_, convertSQLitetoXML_cfg::output, 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_, dqmiolumiharvest::j, M_PI, SiStripPI::max, trklet::Settings::mergeComparison(), mergedstubidslists_, SiStripPI::min, trklet::Settings::minIndStubs(), trklet::ProcessBase::name_, outputtracklets_, 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::l1tstub(), trklet::Stub::layerdisk(), trklet::N_LAYER, trklet::L1TStub::phi(), trklet::Tracklet::proj(), and trklet::Tracklet::seedIndex().
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().