#include <TrackletConfigBuilder.h>
Classes | |
struct | DTCinfo |
Public Member Functions | |
std::string | iRegStr (unsigned int iReg, unsigned int iSeed) const |
std::string | iSeedStr (unsigned int iSeed) const |
std::string | iTCStr (unsigned int iTC) const |
std::string | PRName (unsigned int ilayer, unsigned int ireg) const |
std::string | TCName (unsigned int iSeed, unsigned int iTC) const |
std::string | TPROJName (unsigned int iSeed, unsigned int iTC, unsigned int ilayer, unsigned int ireg) const |
TrackletConfigBuilder (const Settings &settings, const tt::Setup *setup=nullptr) | |
void | writeAll (std::ostream &wires, std::ostream &memories, std::ostream &modules) |
Static Public Member Functions | |
static std::string | LayerName (unsigned int ilayer) |
static std::string | numStr (unsigned int i) |
Private Member Functions | |
void | buildProjections () |
void | buildTC () |
void | buildTE () |
std::string | FTName (unsigned int l1, unsigned int l2, unsigned int l3) const |
void | initGeom () |
double | phi (double r1, double phi1, double r2, double phi2, double r) |
double | rinv (double r1, double phi1, double r2, double phi2) |
std::pair< unsigned int, unsigned int > | seedLayers (unsigned int iSeed) |
std::pair< double, double > | seedPhiRange (double rproj, unsigned int iSeed, unsigned int iTC) |
std::pair< double, double > | seedRadii (unsigned int iseed) |
void | setDTCphirange (const tt::Setup *setup=nullptr) |
std::string | SPDName (unsigned int l1, unsigned int ireg1, unsigned int ivm1, unsigned int l2, unsigned int ireg2, unsigned int ivm2, unsigned int l3, unsigned int ireg3, unsigned int ivm3, unsigned int iseed) const |
std::string | SPName (unsigned int l1, unsigned int ireg1, unsigned int ivm1, unsigned int l2, unsigned int ireg2, unsigned int ivm2, unsigned int iseed) const |
std::string | STName (unsigned int l1, unsigned int ireg1, unsigned int l2, unsigned int ireg2, unsigned int l3, unsigned int ireg3, unsigned int iseed, unsigned int count) const |
std::string | TCDName (unsigned int l1, unsigned int l2, unsigned int l3, unsigned int itc) const |
std::string | TEDName (unsigned int l1, unsigned int ireg1, unsigned int ivm1, unsigned int l2, unsigned int ireg2, unsigned int ivm2, unsigned int iseed) const |
std::string | TEName (unsigned int l1, unsigned int ireg1, unsigned int ivm1, unsigned int l2, unsigned int ireg2, unsigned int ivm2, unsigned int iseed) const |
std::string | TParName (unsigned int l1, unsigned int l2, unsigned int l3, unsigned int itc) const |
std::string | TPROJName (unsigned int l1, unsigned int l2, unsigned int l3, unsigned int itc, unsigned int projlay, unsigned int projreg) const |
std::string | TREName (unsigned int l1, unsigned int ireg1, unsigned int l2, unsigned int ireg2, unsigned int iseed, unsigned int count) const |
bool | validTEPair (unsigned int iseed, unsigned int iTE1, unsigned int iTE2) |
void | writeAPMemories (std::ostream &os, std::ostream &memories, std::ostream &modules) |
void | writeASMemories (std::ostream &os, std::ostream &memories, std::ostream &modules) |
void | writeCMMemories (std::ostream &os, std::ostream &memories, std::ostream &modules) |
void | writeCTMemories (std::ostream &os, std::ostream &memories, std::ostream &modules) |
void | writeFMMemories (std::ostream &os, std::ostream &memories, std::ostream &modules) |
void | writeILMemories (std::ostream &os, std::ostream &memories, std::ostream &modules) |
void | writeProjectionMemories (std::ostream &os, std::ostream &memories, std::ostream &modules) |
void | writeSPDMemories (std::ostream &os, std::ostream &memories, std::ostream &modules) |
void | writeSPMemories (std::ostream &os, std::ostream &memories, std::ostream &modules) |
void | writeTFMemories (std::ostream &os, std::ostream &memories, std::ostream &modules) |
void | writeTPARMemories (std::ostream &os, std::ostream &memories, std::ostream &modules) |
void | writeVMPROJMemories (std::ostream &os, std::ostream &memories, std::ostream &modules) |
void | writeVMSMemories (std::ostream &os, std::ostream &memories, std::ostream &modules) |
Private Attributes | |
std::vector< std::pair< double, double > > | allStubs_ [N_LAYER+N_DISK] |
bool | combinedmodules_ |
double | dphisectorHG_ |
bool | extended_ |
int | matchport_ [N_SEED_PROMPT][N_LAYER+N_DISK] |
unsigned int | NRegions_ [N_LAYER+N_DISK] |
unsigned int | NSector_ |
unsigned int | NTC_ [N_SEED_PROMPT] |
unsigned int | NVMME_ [N_LAYER+N_DISK] |
std::pair< unsigned int, unsigned int > | NVMTE_ [N_SEED_PROMPT] |
std::vector< std::vector< std::pair< unsigned int, unsigned int > > > | projections_ [N_LAYER+N_DISK] |
double | rcrit_ |
double | rinvmax_ |
double | rmaxdisk_ |
double | rmean_ [N_LAYER] |
const Settings & | settings_ |
std::vector< std::vector< unsigned int > > | TC_ [N_SEED_PROMPT] |
std::vector< std::pair< unsigned int, unsigned int > > | TE_ [N_SEED_PROMPT] |
std::list< DTCinfo > | vecDTCinfo_ |
std::vector< std::pair< double, double > > | VMStubsME_ [N_LAYER+N_DISK] |
std::pair< std::vector< std::pair< double, double > >, std::vector< std::pair< double, double > > > | VMStubsTE_ [N_SEED_PROMPT] |
double | zlength_ |
double | zmean_ [N_DISK] |
Definition at line 25 of file TrackletConfigBuilder.h.
TrackletConfigBuilder::TrackletConfigBuilder | ( | const Settings & | settings, |
const tt::Setup * | setup = nullptr |
||
) |
Definition at line 22 of file TrackletConfigBuilder.cc.
References buildProjections(), buildTC(), buildTE(), trklet::Settings::combined(), combinedmodules_, trklet::Settings::dphisectorHG(), dphisectorHG_, trklet::Settings::extended(), extended_, mps_fire::i, initGeom(), iseed, trklet::N_DISK, trklet::N_LAYER, trklet::N_SECTOR, trklet::N_SEED_PROMPT, trklet::Settings::nallstubs(), NRegions_, NSector_, trklet::Settings::NTC(), NTC_, trklet::Settings::nvmme(), NVMME_, trklet::Settings::nvmte(), NVMTE_, trklet::Settings::rcrit(), rcrit_, trklet::Settings::rinvmax(), rinvmax_, trklet::Settings::rmaxdisk(), rmaxdisk_, trklet::Settings::rmean(), rmean_, setDTCphirange(), settings_, singleTopDQM_cfi::setup, trklet::Settings::writeConfig(), trklet::Settings::zlength(), zlength_, trklet::Settings::zmean(), and zmean_.
|
private |
Definition at line 363 of file TrackletConfigBuilder.cc.
References allStubs_, combinedmodules_, iseed, matchport_, trklet::N_DISK, trklet::N_LAYER, trklet::N_SEED_PROMPT, NRegions_, projections_, rmaxdisk_, rmean_, seedPhiRange(), TC_, createJobs::tmp, and TPROJName().
Referenced by TrackletConfigBuilder().
|
private |
Definition at line 309 of file TrackletConfigBuilder.cc.
References cms::cuda::assert(), trklet::N_SEED_PROMPT, NTC_, TC_, TE_, and createJobs::tmp.
Referenced by TrackletConfigBuilder().
|
private |
Definition at line 293 of file TrackletConfigBuilder.cc.
References testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, iseed, trklet::N_SEED_PROMPT, TE_, createJobs::tmp, validTEPair(), and VMStubsTE_.
Referenced by TrackletConfigBuilder().
|
private |
Definition at line 595 of file TrackletConfigBuilder.cc.
References LayerName().
Referenced by writeSPDMemories().
|
private |
Definition at line 195 of file TrackletConfigBuilder.cc.
References allStubs_, dphisectorHG_, iseed, trklet::N_DISK, trklet::N_LAYER, trklet::N_SEED_PROMPT, NRegions_, NVMME_, NVMTE_, phimax, phimin, projections_, seedLayers(), createJobs::tmp, VMStubsME_, and VMStubsTE_.
Referenced by TrackletConfigBuilder().
std::string TrackletConfigBuilder::iRegStr | ( | unsigned int | iReg, |
unsigned int | iSeed | ||
) | const |
Definition at line 462 of file TrackletConfigBuilder.cc.
References cms::cuda::assert(), trklet::L1D1, trklet::L2D1, trklet::L2L3, Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SPDName(), SPName(), STName(), TEDName(), TEName(), TREName(), and writeVMSMemories().
std::string TrackletConfigBuilder::iSeedStr | ( | unsigned int | iSeed | ) | const |
Definition at line 440 of file TrackletConfigBuilder.cc.
References cms::cuda::assert(), Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by TCName(), TPROJName(), writeASMemories(), writeCTMemories(), writeFMMemories(), writeTFMemories(), and writeTPARMemories().
std::string TrackletConfigBuilder::iTCStr | ( | unsigned int | iTC | ) | const |
Definition at line 455 of file TrackletConfigBuilder.cc.
References cms::cuda::assert(), Skims_PA_cff::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by PRName(), TCDName(), TCName(), TParName(), TPROJName(), writeAPMemories(), writeASMemories(), writeCMMemories(), writeFMMemories(), writeILMemories(), writeProjectionMemories(), writeSPDMemories(), writeTPARMemories(), writeVMPROJMemories(), and writeVMSMemories().
|
static |
Definition at line 489 of file TrackletConfigBuilder.cc.
References numStr().
Referenced by FTName(), trklet::TrackletLUT::initBendMatch(), trklet::TrackletLUT::initmatchcut(), trklet::TrackletLUT::initProjectionBend(), trklet::TrackletLUT::initTPlut(), trklet::TrackletLUT::initTPregionlut(), trklet::TrackletLUT::initVMRTable(), PRName(), SPDName(), SPName(), STName(), TCDName(), TEDName(), TEName(), TParName(), TPROJName(), TREName(), writeAPMemories(), writeASMemories(), writeCMMemories(), writeFMMemories(), writeILMemories(), writeProjectionMemories(), writeSPDMemories(), writeVMPROJMemories(), and writeVMSMemories().
|
static |
Definition at line 447 of file TrackletConfigBuilder.cc.
References cms::cuda::assert(), mps_fire::i, EgammaValidation_cff::num, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by LayerName(), SPDName(), SPName(), STName(), TEDName(), TEName(), and TREName().
|
private |
Definition at line 425 of file TrackletConfigBuilder.cc.
References funct::abs(), diffTwoXMLs::r2, rinv(), and rinvmax_.
Referenced by Particle.Particle::__str__(), datamodel.Object::DeltaR(), datamodel.Object::p4(), ntupleDataFormat.Track::phiPull(), and seedPhiRange().
std::string TrackletConfigBuilder::PRName | ( | unsigned int | ilayer, |
unsigned int | ireg | ||
) | const |
Definition at line 500 of file TrackletConfigBuilder.cc.
References combinedmodules_, iTCStr(), and LayerName().
Referenced by writeProjectionMemories().
|
private |
Definition at line 435 of file TrackletConfigBuilder.cc.
References funct::cos(), diffTwoXMLs::r2, funct::sin(), and mathSSE::sqrt().
Referenced by phi(), and validTEPair().
|
private |
Definition at line 189 of file TrackletConfigBuilder.cc.
References trklet::Settings::seedlayers(), and settings_.
Referenced by initGeom(), seedRadii(), writeASMemories(), writeSPMemories(), and writeVMSMemories().
|
private |
Definition at line 335 of file TrackletConfigBuilder.cc.
References testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, phi(), phimax, phimin, seedRadii(), TC_, TE_, and VMStubsTE_.
Referenced by buildProjections().
|
private |
Definition at line 239 of file TrackletConfigBuilder.cc.
References iseed, diffTwoXMLs::r2, rmean_, seedLayers(), zlength_, and zmean_.
Referenced by seedPhiRange(), and validTEPair().
|
private |
Definition at line 167 of file TrackletConfigBuilder.cc.
References cms::cuda::assert(), alignmentValidation::fname, info(), mps_splice::line, and vecDTCinfo_.
Referenced by TrackletConfigBuilder().
|
private |
Definition at line 541 of file TrackletConfigBuilder.cc.
References iRegStr(), iseed, LayerName(), and numStr().
Referenced by writeSPDMemories().
|
private |
Definition at line 530 of file TrackletConfigBuilder.cc.
References iRegStr(), iseed, LayerName(), and numStr().
Referenced by writeSPMemories().
|
private |
Definition at line 608 of file TrackletConfigBuilder.cc.
References submitPVResolutionJobs::count, iRegStr(), iseed, LayerName(), and numStr().
Referenced by writeSPDMemories().
|
private |
Definition at line 581 of file TrackletConfigBuilder.cc.
References iTCStr(), and LayerName().
Referenced by writeSPDMemories().
std::string TrackletConfigBuilder::TCName | ( | unsigned int | iSeed, |
unsigned int | iTC | ||
) | const |
Definition at line 481 of file TrackletConfigBuilder.cc.
References combinedmodules_, iSeedStr(), and iTCStr().
Referenced by writeProjectionMemories(), and writeSPMemories().
|
private |
Definition at line 566 of file TrackletConfigBuilder.cc.
References iRegStr(), iseed, LayerName(), and numStr().
Referenced by writeSPDMemories().
|
private |
Definition at line 555 of file TrackletConfigBuilder.cc.
References iRegStr(), iseed, LayerName(), and numStr().
Referenced by writeSPMemories().
|
private |
Definition at line 577 of file TrackletConfigBuilder.cc.
References iTCStr(), and LayerName().
Referenced by writeSPDMemories().
std::string TrackletConfigBuilder::TPROJName | ( | unsigned int | iSeed, |
unsigned int | iTC, | ||
unsigned int | ilayer, | ||
unsigned int | ireg | ||
) | const |
Definition at line 493 of file TrackletConfigBuilder.cc.
References iSeedStr(), iTCStr(), and LayerName().
Referenced by buildProjections(), writeProjectionMemories(), and writeSPDMemories().
|
private |
Definition at line 585 of file TrackletConfigBuilder.cc.
References iTCStr(), and LayerName().
|
private |
Definition at line 599 of file TrackletConfigBuilder.cc.
References submitPVResolutionJobs::count, iRegStr(), iseed, LayerName(), and numStr().
Referenced by writeSPDMemories().
|
private |
Definition at line 264 of file TrackletConfigBuilder.cc.
References testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, iseed, rinv(), rinvmax_, seedRadii(), and VMStubsTE_.
Referenced by buildTE().
void TrackletConfigBuilder::writeAll | ( | std::ostream & | wires, |
std::ostream & | memories, | ||
std::ostream & | modules | ||
) |
Definition at line 1349 of file TrackletConfigBuilder.cc.
References DigiDM_cff::wires, writeAPMemories(), writeASMemories(), writeCMMemories(), writeCTMemories(), writeFMMemories(), writeILMemories(), writeProjectionMemories(), writeSPDMemories(), writeSPMemories(), writeTFMemories(), writeTPARMemories(), writeVMPROJMemories(), and writeVMSMemories().
|
private |
Definition at line 794 of file TrackletConfigBuilder.cc.
References combinedmodules_, iTCStr(), LayerName(), trklet::N_DISK, trklet::N_LAYER, and NRegions_.
Referenced by writeAll().
|
private |
Definition at line 901 of file TrackletConfigBuilder.cc.
References cms::cuda::assert(), combinedmodules_, dqmdumpme::first, SurfaceOrientation::inner, createfilelist::int, iSeedStr(), iTCStr(), LayerName(), SiStripPI::max, SiStripPI::min, trklet::N_DISK, trklet::N_LAYER, trklet::N_SEED_PROMPT, NRegions_, NVMTE_, edm::second(), seedLayers(), TC_, and TE_.
Referenced by writeAll().
|
private |
Definition at line 814 of file TrackletConfigBuilder.cc.
References combinedmodules_, iTCStr(), LayerName(), trklet::N_DISK, trklet::N_LAYER, NRegions_, and NVMME_.
Referenced by writeAll().
|
private |
Definition at line 1262 of file TrackletConfigBuilder.cc.
References iSeedStr(), and trklet::N_SEED_PROMPT.
Referenced by writeAll().
|
private |
Definition at line 861 of file TrackletConfigBuilder.cc.
References combinedmodules_, iSeedStr(), iTCStr(), LayerName(), matchport_, trklet::N_DISK, trklet::N_LAYER, trklet::N_SEED_PROMPT, and NRegions_.
Referenced by writeAll().
|
private |
Definition at line 1271 of file TrackletConfigBuilder.cc.
References allStubs_, dqmdumpme::first, info(), iTCStr(), LayerName(), M_PI, trklet::N_SECTOR, NRegions_, edm::second(), and vecDTCinfo_.
Referenced by writeAll().
|
private |
Definition at line 508 of file TrackletConfigBuilder.cc.
References iTCStr(), LayerName(), trklet::N_DISK, trklet::N_LAYER, PRName(), projections_, TCName(), and TPROJName().
Referenced by writeAll().
|
private |
Definition at line 655 of file TrackletConfigBuilder.cc.
References cms::cuda::assert(), submitPVResolutionJobs::count, extended_, FTName(), iTCStr(), LayerName(), trklet::N_SEED, trklet::N_SEED_PROMPT, trklet::Settings::nallstubs(), trklet::Settings::nvmte(), trklet::Settings::projdisks(), trklet::Settings::projlayers(), trklet::Settings::seedlayers(), settings_, SPDName(), STName(), TCDName(), TEDName(), TParName(), TPROJName(), TREName(), and DigiDM_cff::wires.
Referenced by writeAll().
|
private |
Definition at line 620 of file TrackletConfigBuilder.cc.
References combinedmodules_, dqmdumpme::first, trklet::N_SEED_PROMPT, NVMTE_, edm::second(), seedLayers(), SPName(), TC_, TCName(), TE_, and TEName().
Referenced by writeAll().
|
private |
Definition at line 1254 of file TrackletConfigBuilder.cc.
References iSeedStr(), and trklet::N_SEED_PROMPT.
Referenced by writeAll().
|
private |
Definition at line 1229 of file TrackletConfigBuilder.cc.
References combinedmodules_, iSeedStr(), iTCStr(), trklet::N_SEED_PROMPT, and TC_.
Referenced by writeAll().
|
private |
Definition at line 838 of file TrackletConfigBuilder.cc.
References combinedmodules_, iTCStr(), LayerName(), trklet::N_DISK, trklet::N_LAYER, NRegions_, and NVMME_.
Referenced by writeAll().
|
private |
Definition at line 1102 of file TrackletConfigBuilder.cc.
References combinedmodules_, iRegStr(), iTCStr(), trklet::L2D1, LayerName(), trklet::N_DISK, trklet::N_LAYER, trklet::N_SEED_PROMPT, NRegions_, NVMME_, NVMTE_, seedLayers(), TC_, and TE_.
Referenced by writeAll().
|
private |
Definition at line 254 of file TrackletConfigBuilder.h.
Referenced by buildProjections(), initGeom(), and writeILMemories().
|
private |
Definition at line 235 of file TrackletConfigBuilder.h.
Referenced by buildProjections(), PRName(), TCName(), TrackletConfigBuilder(), writeAPMemories(), writeASMemories(), writeCMMemories(), writeFMMemories(), writeSPMemories(), writeTPARMemories(), writeVMPROJMemories(), and writeVMSMemories().
|
private |
Definition at line 245 of file TrackletConfigBuilder.h.
Referenced by initGeom(), and TrackletConfigBuilder().
|
private |
Definition at line 237 of file TrackletConfigBuilder.h.
Referenced by TrackletConfigBuilder(), and writeSPDMemories().
|
private |
Definition at line 274 of file TrackletConfigBuilder.h.
Referenced by buildProjections(), and writeFMMemories().
Definition at line 249 of file TrackletConfigBuilder.h.
Referenced by buildProjections(), initGeom(), TrackletConfigBuilder(), writeAPMemories(), writeASMemories(), writeCMMemories(), writeFMMemories(), writeILMemories(), writeVMPROJMemories(), and writeVMSMemories().
|
private |
Definition at line 232 of file TrackletConfigBuilder.h.
Referenced by TrackletConfigBuilder().
|
private |
Definition at line 247 of file TrackletConfigBuilder.h.
Referenced by buildTC(), and TrackletConfigBuilder().
Definition at line 250 of file TrackletConfigBuilder.h.
Referenced by initGeom(), TrackletConfigBuilder(), writeCMMemories(), writeVMPROJMemories(), and writeVMSMemories().
|
private |
Definition at line 251 of file TrackletConfigBuilder.h.
Referenced by initGeom(), TrackletConfigBuilder(), writeASMemories(), writeSPMemories(), and writeVMSMemories().
|
private |
Definition at line 270 of file TrackletConfigBuilder.h.
Referenced by buildProjections(), initGeom(), and writeProjectionMemories().
|
private |
Definition at line 233 of file TrackletConfigBuilder.h.
Referenced by TrackletConfigBuilder().
|
private |
Definition at line 239 of file TrackletConfigBuilder.h.
Referenced by phi(), TrackletConfigBuilder(), and validTEPair().
|
private |
Definition at line 240 of file TrackletConfigBuilder.h.
Referenced by buildProjections(), and TrackletConfigBuilder().
|
private |
Definition at line 242 of file TrackletConfigBuilder.h.
Referenced by buildProjections(), seedRadii(), and TrackletConfigBuilder().
|
private |
Definition at line 292 of file TrackletConfigBuilder.h.
Referenced by seedLayers(), TrackletConfigBuilder(), and writeSPDMemories().
|
private |
Definition at line 267 of file TrackletConfigBuilder.h.
Referenced by buildProjections(), buildTC(), seedPhiRange(), writeASMemories(), writeSPMemories(), writeTPARMemories(), and writeVMSMemories().
|
private |
Definition at line 264 of file TrackletConfigBuilder.h.
Referenced by buildTC(), buildTE(), seedPhiRange(), writeASMemories(), writeSPMemories(), and writeVMSMemories().
|
private |
Definition at line 289 of file TrackletConfigBuilder.h.
Referenced by setDTCphirange(), and writeILMemories().
|
private |
Definition at line 257 of file TrackletConfigBuilder.h.
Referenced by initGeom().
|
private |
Definition at line 261 of file TrackletConfigBuilder.h.
Referenced by buildTE(), initGeom(), seedPhiRange(), and validTEPair().
|
private |
Definition at line 241 of file TrackletConfigBuilder.h.
Referenced by seedRadii(), and TrackletConfigBuilder().
|
private |
Definition at line 243 of file TrackletConfigBuilder.h.
Referenced by seedRadii(), and TrackletConfigBuilder().