#include <VMRouterTable.h>
Public Member Functions | |
int | getLookup (unsigned int layerdisk, double z, double r, int iseed=-1) |
void | init (unsigned int layerdisk) |
int | lookup (int zbin, int rbin) |
int | lookupdisk (int zbin, int rbin) |
int | lookupinner (int zbin, int rbin) |
int | lookupinneroverlap (int zbin, int rbin) |
int | lookupinnerThird (int zbin, int rbin) |
VMRouterTable (Settings const &settings) | |
VMRouterTable (Settings const &settings, unsigned int layerdisk) | |
~VMRouterTable ()=default | |
Private Attributes | |
double | dr_ |
double | dz_ |
int | rbins_ |
int | rbits_ |
double | rmax_ |
double | rmin_ |
Settings const & | settings_ |
std::vector< int > | vmrtable_ |
std::vector< int > | vmrtabletedisk_ |
std::vector< int > | vmrtableteinner_ |
std::vector< int > | vmrtableteinneroverlap_ |
std::vector< int > | vmrtableteinnerThird_ |
int | zbins_ |
int | zbits_ |
double | zmax_ |
double | zmin_ |
Definition at line 16 of file VMRouterTable.h.
VMRouterTable::VMRouterTable | ( | Settings const & | settings | ) |
Definition at line 10 of file VMRouterTable.cc.
VMRouterTable::VMRouterTable | ( | Settings const & | settings, |
unsigned int | layerdisk | ||
) |
Definition at line 12 of file VMRouterTable.cc.
References init().
|
default |
int VMRouterTable::getLookup | ( | unsigned int | layerdisk, |
double | z, | ||
double | r, | ||
int | iseed = -1 |
||
) |
Definition at line 103 of file VMRouterTable.cc.
References funct::abs(), cms::cuda::assert(), dr_, dz_, iseed, SiStripPI::max, min(), trklet::N_LAYER, NBINS, trklet::Settings::NLONGVMBINS(), goodZToMuMu_cfi::overlap, alignCSCRings::r, diffTwoXMLs::r1, diffTwoXMLs::r2, trklet::Settings::rmaxdisk(), trklet::Settings::rmaxdiskl1overlapvm(), trklet::Settings::rmaxdiskvm(), trklet::Settings::rmean(), trklet::Settings::rmindiskl2overlapvm(), trklet::Settings::rmindiskvm(), settings_, relativeConstraints::value, trklet::Settings::z0cut(), testProducerWithPsetDescEmpty_cfi::z2, trklet::Settings::zlength(), SiStripMonitorCluster_cfi::zmax, trklet::Settings::zmean(), and SiStripMonitorCluster_cfi::zmin.
Referenced by init().
void VMRouterTable::init | ( | unsigned int | layerdisk | ) |
Definition at line 16 of file VMRouterTable.cc.
References newFWLiteAna::bin, dr_, trklet::Settings::drmax(), dz_, trklet::Settings::dzmax(), getLookup(), trklet::N_LAYER, NBINS, trklet::Settings::NLONGVMBINS(), alignCSCRings::r, rbins_, rbits_, trklet::Settings::rDSSinner(), trklet::Settings::rDSSouter(), rmax_, trklet::Settings::rmaxdisk(), trklet::Settings::rmaxdiskvm(), trklet::Settings::rmean(), rmin_, trklet::Settings::rmindiskvm(), settings_, trklet::Settings::vmrlutrbits(), trklet::Settings::vmrlutzbits(), vmrtable_, vmrtabletedisk_, vmrtableteinner_, vmrtableteinneroverlap_, vmrtableteinnerThird_, zbins_, zbits_, trklet::Settings::zlength(), zmax_, trklet::Settings::zmean(), and zmin_.
Referenced by trklet::VMRouter::VMRouter(), and VMRouterTable().
int VMRouterTable::lookup | ( | int | zbin, |
int | rbin | ||
) |
Definition at line 260 of file VMRouterTable.cc.
References cms::cuda::assert(), rbins_, and vmrtable_.
Referenced by trklet::VMRouter::execute().
int VMRouterTable::lookupdisk | ( | int | zbin, |
int | rbin | ||
) |
Definition at line 266 of file VMRouterTable.cc.
References cms::cuda::assert(), rbins_, and vmrtabletedisk_.
Referenced by trklet::VMRouter::execute().
int VMRouterTable::lookupinner | ( | int | zbin, |
int | rbin | ||
) |
Definition at line 272 of file VMRouterTable.cc.
References cms::cuda::assert(), rbins_, and vmrtableteinner_.
Referenced by trklet::VMRouter::execute().
int VMRouterTable::lookupinneroverlap | ( | int | zbin, |
int | rbin | ||
) |
Definition at line 278 of file VMRouterTable.cc.
References cms::cuda::assert(), rbins_, and vmrtableteinneroverlap_.
Referenced by trklet::VMRouter::execute().
int VMRouterTable::lookupinnerThird | ( | int | zbin, |
int | rbin | ||
) |
Definition at line 284 of file VMRouterTable.cc.
References cms::cuda::assert(), rbins_, and vmrtableteinnerThird_.
Referenced by trklet::VMRouter::execute().
|
private |
Definition at line 43 of file VMRouterTable.h.
Referenced by getLookup(), and init().
|
private |
Definition at line 44 of file VMRouterTable.h.
Referenced by getLookup(), and init().
|
private |
Definition at line 50 of file VMRouterTable.h.
Referenced by init(), lookup(), lookupdisk(), lookupinner(), lookupinneroverlap(), and lookupinnerThird().
|
private |
Definition at line 47 of file VMRouterTable.h.
Referenced by init().
|
private |
Definition at line 38 of file VMRouterTable.h.
Referenced by init().
|
private |
Definition at line 37 of file VMRouterTable.h.
Referenced by init().
|
private |
Definition at line 35 of file VMRouterTable.h.
Referenced by getLookup(), and init().
|
private |
Definition at line 53 of file VMRouterTable.h.
|
private |
Definition at line 54 of file VMRouterTable.h.
Referenced by init(), and lookupdisk().
|
private |
Definition at line 55 of file VMRouterTable.h.
Referenced by init(), and lookupinner().
|
private |
Definition at line 56 of file VMRouterTable.h.
Referenced by init(), and lookupinneroverlap().
|
private |
Definition at line 57 of file VMRouterTable.h.
Referenced by init(), and lookupinnerThird().
|
private |
Definition at line 49 of file VMRouterTable.h.
Referenced by init().
|
private |
Definition at line 46 of file VMRouterTable.h.
Referenced by init().
|
private |
Definition at line 41 of file VMRouterTable.h.
Referenced by init().
|
private |
Definition at line 40 of file VMRouterTable.h.
Referenced by init().