#include <TrackletProcessor.h>
Public Member Functions | |
void | addInput (MemoryBase *memory, std::string input) override |
void | addOutput (MemoryBase *memory, std::string output) override |
void | addOutputProjection (TrackletProjectionsMemory *&outputProj, MemoryBase *memory) |
void | execute (unsigned int iSector, double phimin, double phimax) |
TrackletProcessor (std::string name, Settings const &settings, Globals *globals) | |
~TrackletProcessor () override=default | |
Public Member Functions inherited from trklet::TrackletCalculatorBase | |
void | addDiskProj (Tracklet *tracklet, int disk) |
bool | addLayerProj (Tracklet *tracklet, int layer) |
void | addProjection (int layer, int iphi, TrackletProjectionsMemory *trackletprojs, Tracklet *tracklet) |
void | addProjectionDisk (int disk, int iphi, TrackletProjectionsMemory *trackletprojs, Tracklet *tracklet) |
bool | barrelSeeding (const Stub *innerFPGAStub, const L1TStub *innerStub, const Stub *outerFPGAStub, const L1TStub *outerStub) |
bool | diskSeeding (const Stub *innerFPGAStub, const L1TStub *innerStub, const Stub *outerFPGAStub, const L1TStub *outerStub) |
void | exactproj (double rproj, double rinv, double phi0, double t, double z0, double &phiproj, double &zproj, double &phider, double &zder) |
void | exactprojdisk (double zproj, double rinv, double phi0, double t, double z0, double &phiproj, double &rproj, double &phider, double &rder) |
void | exacttracklet (double r1, double z1, double phi1, double r2, double z2, double phi2, double, double &rinv, double &phi0, double &t, double &z0, double phiproj[N_LAYER - 2], double zproj[N_LAYER - 2], double phider[N_LAYER - 2], double zder[N_LAYER - 2], double phiprojdisk[N_DISK], double rprojdisk[N_DISK], double phiderdisk[N_DISK], double rderdisk[N_DISK]) |
void | exacttrackletdisk (double r1, double z1, double phi1, double r2, double z2, double phi2, double, double &rinv, double &phi0, double &t, double &z0, double phiprojLayer[N_PSLAYER], double zprojLayer[N_PSLAYER], double phiderLayer[N_PSLAYER], double zderLayer[N_PSLAYER], double phiproj[N_DISK - 2], double rproj[N_DISK - 2], double phider[N_DISK - 2], double rder[N_DISK - 2]) |
void | exacttrackletOverlap (double r1, double z1, double phi1, double r2, double z2, double phi2, double, double &rinv, double &phi0, double &t, double &z0, double phiprojLayer[N_PSLAYER], double zprojLayer[N_PSLAYER], double phiderLayer[N_PSLAYER], double zderLayer[N_PSLAYER], double phiproj[N_DISK - 2], double rproj[N_DISK - 2], double phider[N_DISK - 2], double rder[N_DISK - 2]) |
bool | goodTrackPars (bool goodrinv, bool goodz0) |
bool | inSector (int iphi0, int irinv, double phi0approx, double rinvapprox) |
bool | overlapSeeding (const Stub *innerFPGAStub, const L1TStub *innerStub, const Stub *outerFPGAStub, const L1TStub *outerStub) |
TrackletCalculatorBase (std::string name, Settings const &settings, Globals *global) | |
~TrackletCalculatorBase () override=default | |
Public Member Functions inherited from trklet::ProcessBase | |
unsigned int | getISeed (const 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) | |
virtual | ~ProcessBase ()=default |
Private Attributes | |
int | iAllStub_ |
std::vector< AllInnerStubsMemory * > | innerallstubs_ |
TrackletLUT | innerOverlapTable_ |
int | innerphibits_ |
TrackletLUT | innerTable_ |
int | iTC_ |
unsigned int | maxStep_ |
int | nbitsfinephi_ |
int | nbitsfinephidiff_ |
unsigned int | nbitsrfinebintable_ |
unsigned int | nbitsrzbin_ |
unsigned int | nbitszfinebintable_ |
std::vector< AllStubsMemory * > | outerallstubs_ |
int | outerphibits_ |
VMStubsTEMemory * | outervmstubs_ |
TrackletLUT | pttableinner_ |
TrackletLUT | pttableouter_ |
std::tuple< CircularBuffer< TEData >, unsigned int, unsigned int, unsigned int, unsigned int > | tebuffer_ |
std::vector< TrackletEngineUnit > | teunits_ |
TrackletLUT | useregiontable_ |
Additional Inherited Members | |
Protected Attributes inherited from trklet::TrackletCalculatorBase | |
unsigned int | iSector_ |
unsigned int | iSeed_ |
unsigned int | layerdisk1_ |
unsigned int | layerdisk2_ |
double | phimax_ |
double | phimin_ |
int | TCIndex_ |
TrackletParametersMemory * | trackletpars_ |
std::vector< std::vector< TrackletProjectionsMemory * > > | trackletprojdisks_ |
std::vector< std::vector< TrackletProjectionsMemory * > > | trackletprojlayers_ |
Protected Attributes inherited from trklet::ProcessBase | |
Globals * | globals_ |
std::string | name_ |
Settings const & | settings_ |
Definition at line 24 of file TrackletProcessor.h.
TrackletProcessor::TrackletProcessor | ( | std::string | name, |
Settings const & | settings, | ||
Globals * | globals | ||
) |
Definition at line 19 of file TrackletProcessor.cc.
References cms::cuda::assert(), trklet::D1D2, trklet::D3, trklet::D3D4, trklet::Settings::dphisectorHG(), iAllStub_, trklet::ProcessBase::initLayerDisksandISeed(), trklet::TrackletLUT::initVMRTable(), SurfaceOrientation::inner, innerOverlapTable_, innerphibits_, innerTable_, trklet::TrackletCalculatorBase::iSeed_, iTC_, PixelRegions::L1, trklet::L1D1, trklet::L1L2, PixelRegions::L2, trklet::L2D1, trklet::L2L3, PixelRegions::L3, trklet::L3L4, trklet::L5, trklet::L5L6, trklet::TrackletCalculatorBase::layerdisk1_, trklet::TrackletCalculatorBase::layerdisk2_, dqm-mbProfile::log, trklet::Settings::maxrinv(), trklet::Settings::maxStep(), maxStep_, trklet::N_DISK, trklet::N_LAYER, trklet::N_RZBITS, trklet::Settings::nallstubs(), trklet::ProcessBase::name_, LaserClient_cfi::nbins, trklet::Settings::nbitsallstubs(), nbitsfinephi_, nbitsfinephidiff_, nbitsrfinebintable_, nbitsrzbin_, trklet::Settings::nbitsvmte(), nbitszfinebintable_, trklet::Settings::nfinephi(), trklet::Settings::ntrackletmax(), trklet::Settings::nvmte(), outerphibits_, outervmstubs_, trklet::Settings::rmaxdiskl1overlapvm(), trklet::Settings::rmaxdiskvm(), trklet::Settings::rmean(), trklet::ProcessBase::settings_, trklet::TrackletCalculatorBase::TCIndex_, createJobs::tmp, trklet::TrackletCalculatorBase::trackletprojdisks_, trklet::TrackletCalculatorBase::trackletprojlayers_, trklet::Settings::vmrlutrbits(), trklet::Settings::vmrlutzbits(), and trklet::Settings::zmean().
|
overridedefault |
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 152 of file TrackletProcessor.cc.
References cms::cuda::assert(), Exception, trklet::ProcessBase::getName(), iAllStub_, trklet::TrackletLUT::initTPlut(), trklet::TrackletLUT::initTPregionlut(), innerallstubs_, input, createfilelist::int, trklet::TrackletCalculatorBase::iSeed_, trklet::L1D1, trklet::L2D1, trklet::L2L3, trklet::TrackletCalculatorBase::layerdisk1_, trklet::TrackletCalculatorBase::layerdisk2_, trklet::ProcessBase::name_, nbitsfinephi_, nbitsfinephidiff_, outerallstubs_, outervmstubs_, pttableinner_, pttableouter_, trklet::ProcessBase::settings_, tebuffer_, trklet::Settings::teunits(), teunits_, createJobs::tmp, useregiontable_, and trklet::Settings::writetrace().
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 110 of file TrackletProcessor.cc.
References cms::cuda::assert(), Exception, trklet::N_DISK, trklet::N_LAYER, trklet::ProcessBase::name_, convertSQLitetoXML_cfg::output, trklet::ProcessBase::settings_, findQualityFiles::size, createJobs::tmp, trklet::TrackletCalculatorBase::trackletpars_, trklet::TrackletCalculatorBase::trackletprojdisks_, trklet::TrackletCalculatorBase::trackletprojlayers_, and trklet::Settings::writetrace().
void TrackletProcessor::addOutputProjection | ( | TrackletProjectionsMemory *& | outputProj, |
MemoryBase * | memory | ||
) |
void TrackletProcessor::execute | ( | unsigned int | iSector, |
double | phimin, | ||
double | phimax | ||
) |
Definition at line 226 of file TrackletProcessor.cc.
References accept(), cms::cuda::assert(), trklet::TrackletCalculatorBase::barrelSeeding(), trklet::Stub::bend(), trklet::FPGAWord::bits(), gather_cfg::cout, trklet::D1D2, trklet::D3D4, trklet::Settings::debugTracklet(), trklet::Stub::disk(), trklet::TrackletCalculatorBase::diskSeeding(), fileCollector::done, trklet::CircularBuffer< T >::empty(), trklet::ProcessBase::getName(), trklet::ProcessBase::globals_, iAllStub_, innerallstubs_, trklet::TEData::innerbend_, trklet::TEData::innerfinephi_, innerOverlapTable_, innerTable_, trklet::TrackletCalculatorBase::iSector_, trklet::TrackletCalculatorBase::iSeed_, dqmdumpme::k, trklet::L1D1, trklet::L1L2, trklet::Stub::l1tstub(), trklet::L2D1, trklet::L2L3, trklet::L3L4, trklet::L5L6, dqmdumpme::last, trklet::TrackletCalculatorBase::layerdisk1_, trklet::TrackletCalculatorBase::layerdisk2_, trklet::TrackletLUT::lookup(), trklet::Settings::lutwidthtab(), maxStep_, trklet::N_LAYER, trklet::N_RZBITS, trklet::Settings::nallstubs(), PFElectronDQMAnalyzer_cfi::nBin, LaserClient_cfi::nbins, trklet::FPGAWord::nbits(), nbitsfinephi_, nbitsrfinebintable_, nbitsrzbin_, nbitszfinebintable_, trklet::CircularBuffer< T >::nearfull(), GetRecoTauVFromDQM_MC_cff::next, trklet::NFINERZBITS, trklet::Settings::ntrackletmax(), trklet::TrackletParametersMemory::nTracklets(), trklet::VMStubsTEMemory::nVMStubs(), trklet::VMStubsTEMemory::nVMStubsBinned(), trklet::Settings::nvmte(), trklet::Globals::ofstream(), outervmstubs_, trklet::TrackletCalculatorBase::overlapSeeding(), trklet::Stub::phicorr(), phimax, trklet::TrackletCalculatorBase::phimax_, phimin, trklet::TrackletCalculatorBase::phimin_, print(), trklet::Stub::r(), readEcalDQMStatus::read, trklet::TrackletEngineUnit::read(), trklet::TEData::regions_, trklet::CircularBuffer< T >::rptr(), trklet::TEData::rzbinfirst_, trklet::TEData::rzdiffmax_, trklet::TrackletEngineUnit::setNearFull(), trklet::ProcessBase::settings_, command_line::start, trklet::TEData::start_, trklet::CircularBuffer< T >::store(), AlCaHLTBitMon_QueryRunRegistry::string, trklet::TEData::stub_, tebuffer_, teunits_, trklet::TrackletCalculatorBase::trackletpars_, useregiontable_, trklet::Settings::useSeed(), trklet::FPGAWord::value(), trklet::CircularBuffer< T >::wptr(), trklet::Settings::writeMonitorData(), and trklet::Stub::z().
|
private |
Definition at line 40 of file TrackletProcessor.h.
Referenced by addInput(), execute(), and TrackletProcessor().
|
private |
Definition at line 51 of file TrackletProcessor.h.
Referenced by addInput(), and execute().
|
private |
Definition at line 70 of file TrackletProcessor.h.
Referenced by execute(), and TrackletProcessor().
|
private |
Definition at line 61 of file TrackletProcessor.h.
Referenced by TrackletProcessor().
|
private |
Definition at line 69 of file TrackletProcessor.h.
Referenced by execute(), and TrackletProcessor().
|
private |
Definition at line 39 of file TrackletProcessor.h.
Referenced by TrackletProcessor().
|
private |
Definition at line 42 of file TrackletProcessor.h.
Referenced by execute(), and TrackletProcessor().
|
private |
Definition at line 58 of file TrackletProcessor.h.
Referenced by addInput(), execute(), and TrackletProcessor().
|
private |
Definition at line 59 of file TrackletProcessor.h.
Referenced by addInput(), and TrackletProcessor().
|
private |
Definition at line 65 of file TrackletProcessor.h.
Referenced by execute(), and TrackletProcessor().
|
private |
Definition at line 67 of file TrackletProcessor.h.
Referenced by execute(), and TrackletProcessor().
|
private |
Definition at line 64 of file TrackletProcessor.h.
Referenced by execute(), and TrackletProcessor().
|
private |
Definition at line 52 of file TrackletProcessor.h.
Referenced by addInput().
|
private |
Definition at line 62 of file TrackletProcessor.h.
Referenced by TrackletProcessor().
|
private |
Definition at line 44 of file TrackletProcessor.h.
Referenced by addInput(), execute(), and TrackletProcessor().
|
private |
Definition at line 54 of file TrackletProcessor.h.
Referenced by addInput().
|
private |
Definition at line 55 of file TrackletProcessor.h.
Referenced by addInput().
|
private |
Definition at line 47 of file TrackletProcessor.h.
Referenced by addInput(), and execute().
|
private |
Definition at line 49 of file TrackletProcessor.h.
Referenced by addInput(), and execute().
|
private |
Definition at line 56 of file TrackletProcessor.h.
Referenced by addInput(), and execute().