#include <TrackletConfigBuilder.h>
Public Member Functions | |
std::string | iRegStr (unsigned int iReg, unsigned int iSeed) |
std::string | iSeedStr (unsigned int iSeed) |
std::string | iTCStr (unsigned int iTC) |
std::string | PRName (unsigned int ilayer, unsigned int ireg) |
std::string | TCName (unsigned int iSeed, unsigned int iTC) |
std::string | TPROJName (unsigned int iSeed, unsigned int iTC, unsigned int ilayer, unsigned int ireg) |
TrackletConfigBuilder (const Settings &settings) | |
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) |
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) |
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) |
std::string | SPName (unsigned int l1, unsigned int ireg1, unsigned int ivm1, unsigned int l2, unsigned int ireg2, unsigned int ivm2, unsigned int iseed) |
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) |
std::string | TCDName (unsigned int l1, unsigned int l2, unsigned int l3, unsigned int itc) |
std::string | TCNAme (unsigned int iseed, unsigned int iTC) |
std::string | TEDName (unsigned int l1, unsigned int ireg1, unsigned int ivm1, unsigned int l2, unsigned int ireg2, unsigned int ivm2, unsigned int iseed) |
std::string | TEName (unsigned int l1, unsigned int ireg1, unsigned int ivm1, unsigned int l2, unsigned int ireg2, unsigned int ivm2, unsigned int iseed) |
std::string | TParName (unsigned int l1, unsigned int l2, unsigned int l3, unsigned int itc) |
std::string | TPROJName (unsigned int l1, unsigned int l2, unsigned int l3, unsigned int itc, unsigned int projlay, unsigned int projreg) |
std::string | TREName (unsigned int l1, unsigned int ireg1, unsigned int l2, unsigned int ireg2, unsigned int iseed, unsigned int count) |
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::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 20 of file TrackletConfigBuilder.h.
TrackletConfigBuilder::TrackletConfigBuilder | ( | const Settings & | settings | ) |
Definition at line 16 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_, trklet::Settings::zlength(), zlength_, trklet::Settings::zmean(), and zmean_.
|
private |
Definition at line 216 of file TrackletConfigBuilder.cc.
References allStubs_, iseed, matchport_, trklet::N_DISK, trklet::N_LAYER, trklet::N_SEED_PROMPT, NRegions_, projections_, rmaxdisk_, rmean_, seedPhiRange(), TC_, and createJobs::tmp.
Referenced by TrackletConfigBuilder().
|
private |
Definition at line 166 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 153 of file TrackletConfigBuilder.cc.
References iseed, trklet::N_SEED_PROMPT, TE_, createJobs::tmp, validTEPair(), and VMStubsTE_.
Referenced by TrackletConfigBuilder().
|
private |
Definition at line 398 of file TrackletConfigBuilder.cc.
References LayerName().
Referenced by writeSPDMemories().
|
private |
Definition at line 62 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 | ||
) |
Definition at line 274 of file TrackletConfigBuilder.cc.
References cms::cuda::assert(), trklet::L1D1, trklet::L2D1, trklet::L2L3, mergeVDriftHistosByStation::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SPDName(), SPName(), STName(), TEDName(), TEName(), TREName(), and writeVMSMemories().
std::string TrackletConfigBuilder::iSeedStr | ( | unsigned int | iSeed | ) |
Definition at line 252 of file TrackletConfigBuilder.cc.
References cms::cuda::assert(), mergeVDriftHistosByStation::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by TCName(), TCNAme(), TPROJName(), writeASMemories(), writeCTMemories(), writeFMMemories(), writeTFMemories(), and writeTPARMemories().
std::string TrackletConfigBuilder::iTCStr | ( | unsigned int | iTC | ) |
Definition at line 267 of file TrackletConfigBuilder.cc.
References cms::cuda::assert(), mergeVDriftHistosByStation::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by PRName(), TCDName(), TCName(), TCNAme(), TParName(), TPROJName(), writeAPMemories(), writeASMemories(), writeCMMemories(), writeFMMemories(), writeILMemories(), writeProjectionMemories(), writeSPDMemories(), writeTPARMemories(), writeVMPROJMemories(), and writeVMSMemories().
|
static |
Definition at line 301 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 259 of file TrackletConfigBuilder.cc.
References cms::cuda::assert(), mps_fire::i, pileupDistInMC::num, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by LayerName(), SPDName(), SPName(), STName(), TEDName(), TEName(), and TREName().
|
private |
Definition at line 239 of file TrackletConfigBuilder.cc.
References rinv(), and rinvmax_.
Referenced by Particle.Particle::__str__(), ntupleDataFormat.Track::phiPull(), and seedPhiRange().
std::string TrackletConfigBuilder::PRName | ( | unsigned int | ilayer, |
unsigned int | ireg | ||
) |
Definition at line 312 of file TrackletConfigBuilder.cc.
References combinedmodules_, iTCStr(), and LayerName().
Referenced by writeProjectionMemories().
|
private |
Definition at line 247 of file TrackletConfigBuilder.cc.
References funct::cos(), funct::sin(), and mathSSE::sqrt().
Referenced by phi(), and validTEPair().
|
private |
Definition at line 58 of file TrackletConfigBuilder.cc.
References trklet::Settings::seedlayers(), and settings_.
Referenced by initGeom(), seedRadii(), writeASMemories(), writeSPMemories(), and writeVMSMemories().
|
private |
Definition at line 190 of file TrackletConfigBuilder.cc.
References phi(), phimax, phimin, seedRadii(), TC_, TE_, and VMStubsTE_.
Referenced by buildProjections().
|
private |
Definition at line 103 of file TrackletConfigBuilder.cc.
References diffTwoXMLs::r1, diffTwoXMLs::r2, rmean_, seedLayers(), zlength_, and zmean_.
Referenced by seedPhiRange(), and validTEPair().
|
private |
Definition at line 348 of file TrackletConfigBuilder.cc.
References iRegStr(), LayerName(), and numStr().
Referenced by writeSPDMemories().
|
private |
Definition at line 337 of file TrackletConfigBuilder.cc.
References iRegStr(), LayerName(), and numStr().
Referenced by writeSPMemories().
|
private |
Definition at line 407 of file TrackletConfigBuilder.cc.
References iRegStr(), LayerName(), and numStr().
Referenced by writeSPDMemories().
|
private |
Definition at line 388 of file TrackletConfigBuilder.cc.
References iTCStr(), and LayerName().
Referenced by writeSPDMemories().
std::string TrackletConfigBuilder::TCName | ( | unsigned int | iSeed, |
unsigned int | iTC | ||
) |
Definition at line 293 of file TrackletConfigBuilder.cc.
References combinedmodules_, iSeedStr(), and iTCStr().
Referenced by writeProjectionMemories().
|
private |
Definition at line 419 of file TrackletConfigBuilder.cc.
References iSeedStr(), and iTCStr().
Referenced by writeSPMemories().
|
private |
Definition at line 373 of file TrackletConfigBuilder.cc.
References iRegStr(), LayerName(), and numStr().
Referenced by writeSPDMemories().
|
private |
Definition at line 362 of file TrackletConfigBuilder.cc.
References iRegStr(), LayerName(), and numStr().
Referenced by writeSPMemories().
|
private |
Definition at line 384 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 | ||
) |
Definition at line 305 of file TrackletConfigBuilder.cc.
References iSeedStr(), iTCStr(), and LayerName().
Referenced by writeProjectionMemories(), and writeSPDMemories().
|
private |
Definition at line 392 of file TrackletConfigBuilder.cc.
References iTCStr(), and LayerName().
|
private |
Definition at line 402 of file TrackletConfigBuilder.cc.
References iRegStr(), LayerName(), and numStr().
Referenced by writeSPDMemories().
|
private |
Definition at line 126 of file TrackletConfigBuilder.cc.
References iseed, rinv(), rinvmax_, seedRadii(), and VMStubsTE_.
Referenced by buildTE().
void TrackletConfigBuilder::writeAll | ( | std::ostream & | wires, |
std::ostream & | memories, | ||
std::ostream & | modules | ||
) |
Definition at line 1286 of file TrackletConfigBuilder.cc.
References writeAPMemories(), writeASMemories(), writeCMMemories(), writeCTMemories(), writeFMMemories(), writeILMemories(), writeProjectionMemories(), writeSPDMemories(), writeSPMemories(), writeTFMemories(), writeTPARMemories(), writeVMPROJMemories(), and writeVMSMemories().
Referenced by trklet::TrackletEventProcessor::init().
|
private |
Definition at line 588 of file TrackletConfigBuilder.cc.
References combinedmodules_, iTCStr(), LayerName(), trklet::N_DISK, trklet::N_LAYER, and NRegions_.
Referenced by writeAll().
|
private |
Definition at line 673 of file TrackletConfigBuilder.cc.
References cms::cuda::assert(), combinedmodules_, first, SurfaceOrientation::inner, iSeedStr(), iTCStr(), LayerName(), SiStripPI::max, 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 604 of file TrackletConfigBuilder.cc.
References combinedmodules_, iTCStr(), LayerName(), trklet::N_DISK, trklet::N_LAYER, NRegions_, and NVMME_.
Referenced by writeAll().
|
private |
Definition at line 1017 of file TrackletConfigBuilder.cc.
References iSeedStr(), and trklet::N_SEED_PROMPT.
Referenced by writeAll().
|
private |
Definition at line 639 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 1026 of file TrackletConfigBuilder.cc.
References allStubs_, dphisectorHG_, first, mps_fire::i, iTCStr(), LayerName(), M_PI, NRegions_, NSector_, phimax, phimin, and edm::second().
Referenced by writeAll().
|
private |
Definition at line 320 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 452 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(), and TREName().
Referenced by writeAll().
|
private |
Definition at line 423 of file TrackletConfigBuilder.cc.
References combinedmodules_, first, trklet::N_SEED_PROMPT, NVMTE_, edm::second(), seedLayers(), SPName(), TC_, TCNAme(), TE_, and TEName().
Referenced by writeAll().
|
private |
Definition at line 1009 of file TrackletConfigBuilder.cc.
References iSeedStr(), and trklet::N_SEED_PROMPT.
Referenced by writeAll().
|
private |
Definition at line 987 of file TrackletConfigBuilder.cc.
References combinedmodules_, iSeedStr(), iTCStr(), trklet::N_SEED_PROMPT, and TC_.
Referenced by writeAll().
|
private |
Definition at line 622 of file TrackletConfigBuilder.cc.
References combinedmodules_, iTCStr(), LayerName(), trklet::N_DISK, trklet::N_LAYER, NRegions_, and NVMME_.
Referenced by writeAll().
|
private |
Definition at line 868 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 240 of file TrackletConfigBuilder.h.
Referenced by buildProjections(), initGeom(), and writeILMemories().
|
private |
Definition at line 221 of file TrackletConfigBuilder.h.
Referenced by PRName(), TCName(), TrackletConfigBuilder(), writeAPMemories(), writeASMemories(), writeCMMemories(), writeFMMemories(), writeSPMemories(), writeTPARMemories(), writeVMPROJMemories(), and writeVMSMemories().
|
private |
Definition at line 231 of file TrackletConfigBuilder.h.
Referenced by initGeom(), TrackletConfigBuilder(), and writeILMemories().
|
private |
Definition at line 223 of file TrackletConfigBuilder.h.
Referenced by TrackletConfigBuilder(), and writeSPDMemories().
|
private |
Definition at line 260 of file TrackletConfigBuilder.h.
Referenced by buildProjections(), and writeFMMemories().
Definition at line 235 of file TrackletConfigBuilder.h.
Referenced by buildProjections(), initGeom(), TrackletConfigBuilder(), writeAPMemories(), writeASMemories(), writeCMMemories(), writeFMMemories(), writeILMemories(), writeVMPROJMemories(), and writeVMSMemories().
|
private |
Definition at line 218 of file TrackletConfigBuilder.h.
Referenced by TrackletConfigBuilder(), and writeILMemories().
|
private |
Definition at line 233 of file TrackletConfigBuilder.h.
Referenced by buildTC(), and TrackletConfigBuilder().
Definition at line 236 of file TrackletConfigBuilder.h.
Referenced by initGeom(), TrackletConfigBuilder(), writeCMMemories(), writeVMPROJMemories(), and writeVMSMemories().
|
private |
Definition at line 237 of file TrackletConfigBuilder.h.
Referenced by initGeom(), TrackletConfigBuilder(), writeASMemories(), writeSPMemories(), and writeVMSMemories().
|
private |
Definition at line 256 of file TrackletConfigBuilder.h.
Referenced by buildProjections(), initGeom(), and writeProjectionMemories().
|
private |
Definition at line 219 of file TrackletConfigBuilder.h.
Referenced by TrackletConfigBuilder().
|
private |
Definition at line 225 of file TrackletConfigBuilder.h.
Referenced by phi(), TrackletConfigBuilder(), and validTEPair().
|
private |
Definition at line 226 of file TrackletConfigBuilder.h.
Referenced by buildProjections(), and TrackletConfigBuilder().
|
private |
Definition at line 228 of file TrackletConfigBuilder.h.
Referenced by buildProjections(), seedRadii(), and TrackletConfigBuilder().
|
private |
Definition at line 270 of file TrackletConfigBuilder.h.
Referenced by seedLayers(), and writeSPDMemories().
|
private |
Definition at line 253 of file TrackletConfigBuilder.h.
Referenced by buildProjections(), buildTC(), seedPhiRange(), writeASMemories(), writeSPMemories(), writeTPARMemories(), and writeVMSMemories().
|
private |
Definition at line 250 of file TrackletConfigBuilder.h.
Referenced by buildTC(), buildTE(), seedPhiRange(), writeASMemories(), writeSPMemories(), and writeVMSMemories().
|
private |
Definition at line 243 of file TrackletConfigBuilder.h.
Referenced by initGeom().
|
private |
Definition at line 247 of file TrackletConfigBuilder.h.
Referenced by buildTE(), initGeom(), seedPhiRange(), and validTEPair().
|
private |
Definition at line 227 of file TrackletConfigBuilder.h.
Referenced by seedRadii(), and TrackletConfigBuilder().
|
private |
Definition at line 229 of file TrackletConfigBuilder.h.
Referenced by seedRadii(), and TrackletConfigBuilder().