#include <TrackletProcessorDisplaced.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) |
TrackletProcessorDisplaced (std::string name, Settings const &settings, Globals *globals) | |
~TrackletProcessorDisplaced () override=default | |
Public Member Functions inherited from trklet::TrackletCalculatorDisplaced | |
void | addDiskProj (Tracklet *tracklet, int disk) |
bool | addLayerProj (Tracklet *tracklet, int layer) |
void | addOutputProjection (TrackletProjectionsMemory *&outputProj, MemoryBase *memory) |
void | addProjection (int layer, int iphi, TrackletProjectionsMemory *trackletprojs, Tracklet *tracklet) |
void | addProjectionDisk (int disk, int iphi, TrackletProjectionsMemory *trackletprojs, Tracklet *tracklet) |
void | approxproj (double halfRinv, double phi0, double d0, double t, double z0, double halfRinv_0, double d0_0, double rmean, double &phiproj, double &phiprojder, double &zproj, double &zprojder) |
void | approxprojdisk (double halfRinv, double phi0, double d0, double t, double z0, double halfRinv_0, double d0_0, double zmean, double &phiproj, double &phiprojder, double &rproj, double &rprojder) |
void | approxtracklet (double r1, double z1, double phi1, double r2, double z2, double phi2, double r3, double z3, double phi3, bool take3, unsigned ndisks, double &rinv, double &phi0, double &d0, double &t, double &z0, double phiproj[4], double zproj[4], double phider[4], double zder[4], double phiprojdisk[5], double rprojdisk[5], double phiderdisk[5], double rderdisk[5]) |
bool | DDLSeeding (const Stub *innerFPGAStub, const L1TStub *innerStub, const Stub *middleFPGAStub, const L1TStub *middleStub, const Stub *outerFPGAStub, const L1TStub *outerStub) |
void | exactproj (double rproj, double rinv, double phi0, double d0, double t, double z0, double r0, double &phiproj, double &zproj, double &phider, double &zder) |
void | exactprojdisk (double zproj, double rinv, double, double, double t, double z0, double x0, double y0, double &phiproj, double &rproj, double &phider, double &rder) |
void | exacttracklet (double r1, double z1, double phi1, double r2, double z2, double phi2, double r3, double z3, double phi3, int take3, double &rinv, double &phi0, double &d0, double &t, double &z0, double phiproj[N_LAYER - 2], double zproj[N_LAYER - 2], double phiprojdisk[N_DISK], double rprojdisk[N_DISK], double phider[N_LAYER - 2], double zder[N_LAYER - 2], double phiderdisk[N_DISK], double rderdisk[N_DISK]) |
void | execute (unsigned int iSector, double phimin, double phimax) |
bool | LLDSeeding (const Stub *innerFPGAStub, const L1TStub *innerStub, const Stub *middleFPGAStub, const L1TStub *middleStub, const Stub *outerFPGAStub, const L1TStub *outerStub) |
bool | LLLSeeding (const Stub *innerFPGAStub, const L1TStub *innerStub, const Stub *middleFPGAStub, const L1TStub *middleStub, const Stub *outerFPGAStub, const L1TStub *outerStub) |
TrackletCalculatorDisplaced (std::string name, Settings const &settings, Globals *global) | |
~TrackletCalculatorDisplaced () 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 Attributes | |
int | count_ |
int | disk1_ |
int | disk2_ |
int | disk3_ |
int | firstphibits_ |
int | iAllStub_ |
TrackletLUT | innerOverlapTable_ |
TrackletLUT | innerTable_ |
TrackletLUT | innerThirdTable_ |
std::vector< VMStubsTEMemory * > | innervmstubs_ |
int | iTC_ |
int | layer1_ |
int | layer2_ |
int | layer3_ |
unsigned int | layerdisk_ |
unsigned int | maxStep_ |
int | nbitsrfinebintable_ |
int | nbitszfinebintable_ |
std::vector< VMStubsTEMemory * > | outervmstubs_ |
int | secondphibits_ |
std::map< std::string, std::vector< std::map< std::string, unsigned > > > | spTable_ |
std::vector< StubPairsMemory * > | stubpairs_ |
StubTripletsMemory * | stubtriplets_ |
std::vector< bool > | table_ |
int | thirdphibits_ |
std::map< std::string, std::vector< std::vector< std::string > > > | tmpSPTable_ |
Additional Inherited Members | |
Protected Attributes inherited from trklet::TrackletCalculatorDisplaced | |
int | disk_ |
int | dproj_ [N_DISK - 2] |
std::vector< AllStubsMemory * > | innerallstubs_ |
unsigned int | iSector_ |
unsigned int | iSeed_ |
int | layer_ |
int | lproj_ [N_LAYER - 2] |
std::vector< AllStubsMemory * > | middleallstubs_ |
std::vector< AllStubsMemory * > | outerallstubs_ |
double | phimax_ |
double | phimin_ |
double | rproj_ [N_LAYER - 2] |
double | rzmeanInv_ [N_DISK - 2] |
std::vector< StubTripletsMemory * > | stubtriplets_ |
int | TCIndex_ |
std::vector< double > | toR_ |
std::vector< double > | toZ_ |
TrackletParametersMemory * | trackletpars_ |
std::vector< std::vector< TrackletProjectionsMemory * > > | trackletprojdisks_ |
std::vector< std::vector< TrackletProjectionsMemory * > > | trackletprojlayers_ |
double | zproj_ [N_DISK - 2] |
Protected Attributes inherited from trklet::ProcessBase | |
Globals * | globals_ |
std::string | name_ |
Settings const & | settings_ |
Definition at line 27 of file TrackletProcessorDisplaced.h.
TrackletProcessorDisplaced::TrackletProcessorDisplaced | ( | std::string | name, |
Settings const & | settings, | ||
Globals * | globals | ||
) |
Definition at line 21 of file TrackletProcessorDisplaced.cc.
References cms::cuda::assert(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), trklet::D3, disk1_, disk2_, disk3_, trklet::TrackletCalculatorDisplaced::disk_, trklet::ProcessBase::initLayerDisk(), trklet::TrackletLUT::initVMRTable(), SurfaceOrientation::inner, trklet::TrackletCalculatorDisplaced::innerallstubs_, innerOverlapTable_, innerTable_, innerThirdTable_, innervmstubs_, trklet::TrackletCalculatorDisplaced::iSeed_, PixelRegions::L1, PixelRegions::L2, PixelRegions::L3, trklet::L5, layer1_, layer2_, layer3_, trklet::TrackletCalculatorDisplaced::layer_, layerdisk_, trklet::TrackletCalculatorDisplaced::middleallstubs_, trklet::N_DISK, trklet::N_LAYER, trklet::Settings::nallstubs(), Skims_PA_cff::name, nbitsrfinebintable_, nbitszfinebintable_, trklet::TrackletCalculatorDisplaced::outerallstubs_, outervmstubs_, nano_mu_digi_cff::region, trklet::ProcessBase::settings_, stubpairs_, trklet::TrackletCalculatorDisplaced::TCIndex_, createJobs::tmp, trklet::TrackletCalculatorDisplaced::trackletprojdisks_, trklet::TrackletCalculatorDisplaced::trackletprojlayers_, trklet::Settings::vmrlutrbits(), and trklet::Settings::vmrlutzbits().
|
overridedefault |
|
overridevirtual |
Reimplemented from trklet::TrackletCalculatorDisplaced.
Definition at line 184 of file TrackletProcessorDisplaced.cc.
References cms::cuda::assert(), Exception, trklet::TrackletCalculatorDisplaced::innerallstubs_, innervmstubs_, input, mps_setup::memory, trklet::TrackletCalculatorDisplaced::middleallstubs_, trklet::ProcessBase::name_, trklet::TrackletCalculatorDisplaced::outerallstubs_, outervmstubs_, trklet::ProcessBase::settings_, stubpairs_, createJobs::tmp, and trklet::Settings::writetrace().
|
overridevirtual |
Reimplemented from trklet::TrackletCalculatorDisplaced.
Definition at line 138 of file TrackletProcessorDisplaced.cc.
References cms::cuda::assert(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), Exception, mps_setup::memory, trklet::N_DISK, trklet::N_LAYER, trklet::ProcessBase::name_, convertSQLitetoXML_cfg::output, trklet::ProcessBase::settings_, createJobs::tmp, trklet::TrackletCalculatorDisplaced::trackletpars_, trklet::TrackletCalculatorDisplaced::trackletprojdisks_, trklet::TrackletCalculatorDisplaced::trackletprojlayers_, and trklet::Settings::writetrace().
void TrackletProcessorDisplaced::addOutputProjection | ( | TrackletProjectionsMemory *& | outputProj, |
MemoryBase * | memory | ||
) |
Definition at line 133 of file TrackletProcessorDisplaced.cc.
References cms::cuda::assert(), and mps_setup::memory.
void TrackletProcessorDisplaced::execute | ( | unsigned int | iSector, |
double | phimin, | ||
double | phimax | ||
) |
Definition at line 232 of file TrackletProcessorDisplaced.cc.
References accept(), cms::cuda::assert(), newFWLiteAna::bin, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), count_, trklet::D1D2L2, trklet::TrackletCalculatorDisplaced::DDLSeeding(), trklet::Settings::debugTracklet(), trklet::Stub::disk(), disk1_, disk2_, disk3_, Exception, trklet::Settings::extended(), trklet::ProcessBase::getName(), trklet::ProcessBase::globals_, SurfaceOrientation::inner, trklet::TrackletCalculatorDisplaced::innerallstubs_, innerOverlapTable_, innerTable_, innerThirdTable_, innervmstubs_, createfilelist::int, trklet::TrackletCalculatorDisplaced::iSector_, trklet::TrackletCalculatorDisplaced::iSeed_, trklet::Stub::isPSmodule(), dqmiolumiharvest::j, dqmdumpme::k, MainPageGenerator::l, trklet::Stub::l1tstub(), trklet::L2D1, trklet::L2L3D1, trklet::L2L3L4, trklet::L4L5L6, dqmdumpme::last, layer1_, layer2_, layer3_, trklet::Stub::layerdisk(), layerdisk_, trklet::TrackletCalculatorDisplaced::LLDSeeding(), trklet::TrackletCalculatorDisplaced::LLLSeeding(), trklet::TrackletLUT::lookup(), trklet::Settings::lutwidthtab(), trklet::Settings::lutwidthtabextended(), visualization-live-secondInstance_cfg::m, trklet::TrackletCalculatorDisplaced::middleallstubs_, trklet::N_LAYER, trklet::FPGAWord::nbits(), nbitsrfinebintable_, nbitszfinebintable_, trklet::Settings::NLONGVMBINS(), trklet::Globals::ofstream(), trklet::TrackletCalculatorDisplaced::outerallstubs_, outervmstubs_, phimax, trklet::TrackletCalculatorDisplaced::phimax_, phimin, trklet::TrackletCalculatorDisplaced::phimin_, trklet::Stub::r(), trklet::ProcessBase::settings_, trklet::Stub::strbare(), trklet::VMStubTE::stub(), stubpairs_, trklet::L1TStub::stubword(), trklet::FPGAWord::value(), trklet::VMStubTE::vmbits(), trklet::Settings::writeMonitorData(), and trklet::Stub::z().
|
private |
Definition at line 45 of file TrackletProcessorDisplaced.h.
Referenced by execute().
|
private |
Definition at line 51 of file TrackletProcessorDisplaced.h.
Referenced by execute(), and TrackletProcessorDisplaced().
|
private |
Definition at line 52 of file TrackletProcessorDisplaced.h.
Referenced by execute(), and TrackletProcessorDisplaced().
|
private |
Definition at line 53 of file TrackletProcessorDisplaced.h.
Referenced by execute(), and TrackletProcessorDisplaced().
|
private |
Definition at line 55 of file TrackletProcessorDisplaced.h.
|
private |
Definition at line 43 of file TrackletProcessorDisplaced.h.
|
private |
Definition at line 63 of file TrackletProcessorDisplaced.h.
Referenced by execute(), and TrackletProcessorDisplaced().
|
private |
Definition at line 62 of file TrackletProcessorDisplaced.h.
Referenced by execute(), and TrackletProcessorDisplaced().
|
private |
Definition at line 64 of file TrackletProcessorDisplaced.h.
Referenced by execute(), and TrackletProcessorDisplaced().
|
private |
Definition at line 68 of file TrackletProcessorDisplaced.h.
Referenced by addInput(), execute(), and TrackletProcessorDisplaced().
|
private |
Definition at line 42 of file TrackletProcessorDisplaced.h.
|
private |
Definition at line 48 of file TrackletProcessorDisplaced.h.
Referenced by execute(), and TrackletProcessorDisplaced().
|
private |
Definition at line 49 of file TrackletProcessorDisplaced.h.
Referenced by execute(), and TrackletProcessorDisplaced().
|
private |
Definition at line 50 of file TrackletProcessorDisplaced.h.
Referenced by execute(), and TrackletProcessorDisplaced().
|
private |
Definition at line 46 of file TrackletProcessorDisplaced.h.
Referenced by execute(), and TrackletProcessorDisplaced().
|
private |
Definition at line 44 of file TrackletProcessorDisplaced.h.
|
private |
Definition at line 60 of file TrackletProcessorDisplaced.h.
Referenced by execute(), and TrackletProcessorDisplaced().
|
private |
Definition at line 59 of file TrackletProcessorDisplaced.h.
Referenced by execute(), and TrackletProcessorDisplaced().
|
private |
Definition at line 69 of file TrackletProcessorDisplaced.h.
Referenced by addInput(), execute(), and TrackletProcessorDisplaced().
|
private |
Definition at line 56 of file TrackletProcessorDisplaced.h.
|
private |
Definition at line 74 of file TrackletProcessorDisplaced.h.
|
private |
Definition at line 66 of file TrackletProcessorDisplaced.h.
Referenced by addInput(), execute(), and TrackletProcessorDisplaced().
|
private |
Definition at line 71 of file TrackletProcessorDisplaced.h.
|
private |
Definition at line 75 of file TrackletProcessorDisplaced.h.
|
private |
Definition at line 57 of file TrackletProcessorDisplaced.h.
|
private |
Definition at line 73 of file TrackletProcessorDisplaced.h.