#include <TripletEngine.h>
Public Member Functions | |
void | addInput (MemoryBase *memory, std::string input) override |
void | addOutput (MemoryBase *memory, std::string output) override |
void | execute () |
void | readTables () |
TripletEngine (std::string name, Settings const &settings, Globals *global, unsigned int iSector) | |
void | writeTables () |
~TripletEngine () override | |
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, unsigned int iSector) | |
virtual | ~ProcessBase ()=default |
Private Attributes | |
int | count_ |
int | dct1_ |
int | dct2_ |
int | dct3_ |
int | disk1_ |
int | disk2_ |
int | disk3_ |
int | iSeed_ |
int | layer1_ |
int | layer2_ |
int | layer3_ |
int | phi1_ |
int | phi2_ |
int | phi3_ |
int | r1_ |
int | r2_ |
int | r3_ |
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::vector< VMStubsTEMemory * > | thirdvmstubs_ |
std::map< std::string, std::vector< std::vector< std::string > > > | tmpSPTable_ |
int | z1_ |
int | z2_ |
int | z3_ |
Additional Inherited Members | |
Protected Attributes inherited from trklet::ProcessBase | |
Globals * | globals_ |
unsigned int | iSector_ |
std::string | name_ |
double | phimax_ |
double | phimin_ |
Settings const & | settings_ |
Definition at line 18 of file TripletEngine.h.
TripletEngine::TripletEngine | ( | std::string | name, |
Settings const & | settings, | ||
Globals * | global, | ||
unsigned int | iSector | ||
) |
Definition at line 13 of file TripletEngine.cc.
References dct1_, dct2_, dct3_, disk1_, disk2_, disk3_, trklet::Settings::enableTripletTables(), Exception, iSeed_, layer1_, layer2_, layer3_, trklet::ProcessBase::name_, trklet::Settings::nfinephi(), phi1_, phi2_, phi3_, r1_, r2_, r3_, readTables(), secondphibits_, trklet::ProcessBase::settings_, stubpairs_, thirdphibits_, thirdvmstubs_, trklet::Settings::writeTripletTables(), z1_, z2_, and z3_.
|
override |
Definition at line 72 of file TripletEngine.cc.
References trklet::ProcessBase::settings_, writeTables(), and trklet::Settings::writeTripletTables().
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 91 of file TripletEngine.cc.
References cms::cuda::assert(), Exception, input, trklet::ProcessBase::name_, trklet::ProcessBase::settings_, stubpairs_, thirdvmstubs_, createJobs::tmp, and trklet::Settings::writetrace().
|
overridevirtual |
Implements trklet::ProcessBase.
Definition at line 77 of file TripletEngine.cc.
References cms::cuda::assert(), Exception, trklet::ProcessBase::name_, convertSQLitetoXML_cfg::output, trklet::ProcessBase::settings_, stubtriplets_, createJobs::tmp, and trklet::Settings::writetrace().
void TripletEngine::execute | ( | void | ) |
Definition at line 111 of file TripletEngine.cc.
References trklet::StubTripletsMemory::addStubs(), cms::cuda::assert(), trklet::VMStubTE::bend(), trklet::benddecode(), newFWLiteAna::bin, count_, trklet::Settings::debugTracklet(), disk2_, disk3_, trklet::Settings::enableTripletTables(), mps_splice::entry, trklet::VMStubTE::finephi(), groupFilesInBlocks::fout, trklet::ProcessBase::getName(), trklet::ProcessBase::globals_, mps_fire::i, if(), createfilelist::int, trklet::ProcessBase::iSector_, iSeed_, trklet::VMStubTE::isPSmodule(), dqmiolumiharvest::j, dqmdumpme::k, cmsLHEtoEOSManager::l, dqmdumpme::last, layer2_, layer3_, trklet::Settings::maxStep(), trklet::Settings::nallstubs(), trklet::ProcessBase::name_, trklet::ProcessBase::nbits(), trklet::FPGAWord::nbits(), trklet::Settings::NLONGVMBINS(), trklet::Settings::nvmte(), trklet::Globals::ofstream(), print(), alignCSCRings::s, secondphibits_, trklet::ProcessBase::settings_, jetUpdater_cfi::sort, spTable_, AlCaHLTBitMon_QueryRunRegistry::string, trklet::VMStubTE::stub(), stubpairs_, stubtriplets_, table_, thirdphibits_, thirdvmstubs_, tmpSPTable_, tier0::unique(), trklet::FPGAWord::value(), trklet::Settings::writeMonitorData(), and trklet::Settings::writeTripletTables().
void TripletEngine::readTables | ( | ) |
Definition at line 438 of file TripletEngine.cc.
References Exception, groupFilesInBlocks::fin, recoMuon::in, trklet::ProcessBase::name_, EgammaValidation_cff::num, trklet::ProcessBase::settings_, table_, HLT_Fake1_cff::tableName, and trklet::Settings::tableTREFile().
Referenced by TripletEngine().
void TripletEngine::writeTables | ( | ) |
Definition at line 459 of file TripletEngine.cc.
References mps_splice::entry, groupFilesInBlocks::fout, trklet::ProcessBase::iSector_, trklet::ProcessBase::name_, MillePedeFileConverter_cfg::out, spTable_, table_, and HLT_Fake1_cff::tableName.
Referenced by ~TripletEngine().
|
private |
Definition at line 33 of file TripletEngine.h.
Referenced by execute().
|
private |
Definition at line 41 of file TripletEngine.h.
Referenced by TripletEngine().
|
private |
Definition at line 42 of file TripletEngine.h.
Referenced by TripletEngine().
|
private |
Definition at line 43 of file TripletEngine.h.
Referenced by TripletEngine().
|
private |
Definition at line 38 of file TripletEngine.h.
Referenced by TripletEngine().
|
private |
Definition at line 39 of file TripletEngine.h.
Referenced by execute(), and TripletEngine().
|
private |
Definition at line 40 of file TripletEngine.h.
Referenced by execute(), and TripletEngine().
|
private |
Definition at line 66 of file TripletEngine.h.
Referenced by execute(), and TripletEngine().
|
private |
Definition at line 35 of file TripletEngine.h.
Referenced by TripletEngine().
|
private |
Definition at line 36 of file TripletEngine.h.
Referenced by execute(), and TripletEngine().
|
private |
Definition at line 37 of file TripletEngine.h.
Referenced by execute(), and TripletEngine().
|
private |
Definition at line 44 of file TripletEngine.h.
Referenced by TripletEngine().
|
private |
Definition at line 45 of file TripletEngine.h.
Referenced by TripletEngine().
|
private |
Definition at line 46 of file TripletEngine.h.
Referenced by TripletEngine().
|
private |
Definition at line 50 of file TripletEngine.h.
Referenced by TripletEngine().
|
private |
Definition at line 51 of file TripletEngine.h.
Referenced by TripletEngine().
|
private |
Definition at line 52 of file TripletEngine.h.
Referenced by TripletEngine().
|
private |
Definition at line 63 of file TripletEngine.h.
Referenced by execute(), and TripletEngine().
|
private |
Definition at line 60 of file TripletEngine.h.
Referenced by execute(), and writeTables().
|
private |
Definition at line 55 of file TripletEngine.h.
Referenced by addInput(), execute(), and TripletEngine().
|
private |
Definition at line 57 of file TripletEngine.h.
Referenced by addOutput(), and execute().
|
private |
Definition at line 61 of file TripletEngine.h.
Referenced by execute(), readTables(), and writeTables().
|
private |
Definition at line 64 of file TripletEngine.h.
Referenced by execute(), and TripletEngine().
|
private |
Definition at line 54 of file TripletEngine.h.
Referenced by addInput(), execute(), and TripletEngine().
|
private |
Definition at line 59 of file TripletEngine.h.
Referenced by execute().
|
private |
Definition at line 47 of file TripletEngine.h.
Referenced by TripletEngine().
|
private |
Definition at line 48 of file TripletEngine.h.
Referenced by TripletEngine().
|
private |
Definition at line 49 of file TripletEngine.h.
Referenced by TripletEngine().