#include <Sector.h>
Public Member Functions | |
void | addMem (std::string memType, std::string memName) |
template<typename TV , typename... Args> | |
void | addMemToVec (std::vector< std::unique_ptr< TV > > &memvec, const std::string &memName, Args &...args) |
void | addProc (std::string procType, std::string procName) |
template<typename TV , typename... Args> | |
void | addProcToVec (std::vector< std::unique_ptr< TV > > &procvec, const std::string &procName, Args &...args) |
bool | addStub (L1TStub stub, std::string dtc) |
void | addWire (std::string mem, std::string procinfull, std::string procoutfull) |
void | clean () |
void | executeFT () |
void | executeIR () |
void | executeMC () |
void | executeME () |
void | executeMP () |
void | executePD (std::vector< Track > &tracks) |
void | executePR () |
void | executeTC () |
void | executeTCD () |
void | executeTE () |
void | executeTED () |
void | executeTP () |
void | executeTRE () |
void | executeVMR () |
std::vector< Tracklet * > | getAllTracklets () const |
MemoryBase * | getMem (std::string memName) |
ProcessBase * | getProc (std::string procName) |
std::vector< const Stub * > | getStubs () const |
double | phimax () const |
double | phimin () const |
Sector (Settings const &settings, Globals *globals) | |
std::unordered_set< int > | seedMatch (int itp) const |
void | setSector (unsigned int isector) |
void | writeAIS (bool first) |
void | writeAP (bool first) |
void | writeAS (bool first) |
void | writeCM (bool first) |
void | writeCT (bool first) |
void | writeDTCStubs (bool first) |
void | writeIRStubs (bool first) |
void | writeMC (bool first) |
void | writeSP (bool first) |
void | writeST (bool first) |
void | writeTF (bool first) |
void | writeTPAR (bool first) |
void | writeTPROJ (bool first) |
void | writeVMPROJ (bool first) |
void | writeVMSME (bool first) |
void | writeVMSTE (bool first) |
~Sector () | |
Private Attributes | |
std::vector< std::unique_ptr < AllInnerStubsMemory > > | AIS_ |
std::vector< std::unique_ptr < AllProjectionsMemory > > | AP_ |
std::vector< std::unique_ptr < AllStubsMemory > > | AS_ |
std::vector< std::unique_ptr < CandidateMatchMemory > > | CM_ |
std::vector< std::unique_ptr < CleanTrackMemory > > | CT_ |
std::vector< std::unique_ptr < DTCLinkMemory > > | DL_ |
std::vector< std::unique_ptr < FullMatchMemory > > | FM_ |
std::vector< std::unique_ptr < FitTrack > > | FT_ |
Globals * | globals_ |
std::vector< std::unique_ptr < InputLinkMemory > > | IL_ |
std::vector< std::unique_ptr < InputRouter > > | IR_ |
int | isector_ |
std::vector< std::unique_ptr < MatchCalculator > > | MC_ |
std::vector< std::unique_ptr < MatchEngine > > | ME_ |
std::map< std::string, MemoryBase * > | Memories_ |
std::vector< MemoryBase * > | MemoriesV_ |
std::vector< std::unique_ptr < MatchProcessor > > | MP_ |
std::vector< std::unique_ptr < PurgeDuplicate > > | PD_ |
double | phimax_ |
double | phimin_ |
std::vector< std::unique_ptr < ProjectionRouter > > | PR_ |
std::map< std::string, ProcessBase * > | Processes_ |
Settings const & | settings_ |
std::vector< std::unique_ptr < StubPairsMemory > > | SP_ |
std::vector< std::unique_ptr < StubTripletsMemory > > | ST_ |
std::vector< std::unique_ptr < TrackletCalculator > > | TC_ |
std::vector< std::unique_ptr < TrackletCalculatorDisplaced > > | TCD_ |
std::vector< std::unique_ptr < TrackletEngine > > | TE_ |
std::vector< std::unique_ptr < TrackletEngineDisplaced > > | TED_ |
std::vector< std::unique_ptr < TrackFitMemory > > | TF_ |
std::vector< std::unique_ptr < TrackletProcessor > > | TP_ |
std::vector< std::unique_ptr < TrackletParametersMemory > > | TPAR_ |
std::vector< std::unique_ptr < TrackletProjectionsMemory > > | TPROJ_ |
std::vector< std::unique_ptr < TripletEngine > > | TRE_ |
std::vector< std::unique_ptr < VMProjectionsMemory > > | VMPROJ_ |
std::vector< std::unique_ptr < VMRouter > > | VMR_ |
std::vector< std::unique_ptr < VMRouterCM > > | VMRCM_ |
std::vector< std::unique_ptr < VMStubsMEMemory > > | VMSME_ |
std::vector< std::unique_ptr < VMStubsTEMemory > > | VMSTE_ |
|
default |
void Sector::addMem | ( | std::string | memType, |
std::string | memName | ||
) |
Definition at line 101 of file Sector.cc.
References addMemToVec(), AIS_, AP_, AS_, CM_, CT_, DL_, beamvalidation::exit(), FM_, IL_, phimax_, phimin_, settings_, SP_, ST_, TF_, TPAR_, TPROJ_, VMPROJ_, VMSME_, and VMSTE_.
|
inline |
Definition at line 129 of file Sector.h.
References Memories_, and MemoriesV_.
Referenced by addMem().
void Sector::addProc | ( | std::string | procType, |
std::string | procName | ||
) |
Definition at line 140 of file Sector.cc.
References addProcToVec(), beamvalidation::exit(), FT_, globals_, IR_, MC_, ME_, MP_, PD_, PR_, settings_, TC_, TCD_, TE_, TED_, TP_, TRE_, VMR_, and VMRCM_.
|
inline |
bool Sector::addStub | ( | L1TStub | stub, |
std::string | dtc | ||
) |
Definition at line 68 of file Sector.cc.
References cms::cuda::assert(), trklet::Stub::bend(), DL_, globals_, mps_fire::i, trklet::TrackletLUT::initPhiCorrTable(), trklet::L1TStub::layerdisk(), trklet::TrackletLUT::lookup(), trklet::N_LAYER, mergeVDriftHistosByStation::name, trklet::FPGAWord::nbits(), trklet::Globals::phiCorr(), trklet::Stub::r(), alignCSCRings::r, trklet::Stub::setPhiCorr(), settings_, and trklet::FPGAWord::value().
void Sector::addWire | ( | std::string | mem, |
std::string | procinfull, | ||
std::string | procoutfull | ||
) |
Definition at line 178 of file Sector.cc.
References trklet::ProcessBase::addInput(), trklet::ProcessBase::addOutput(), getMem(), getProc(), input, and convertSQLitetoXML_cfg::output.
void Sector::clean | ( | ) |
void Sector::executeFT | ( | ) |
void Sector::executeIR | ( | ) |
void Sector::executeMC | ( | ) |
void Sector::executeME | ( | ) |
void Sector::executeMP | ( | ) |
void Sector::executePD | ( | std::vector< Track > & | tracks | ) |
void Sector::executePR | ( | ) |
void Sector::executeTC | ( | ) |
Definition at line 369 of file Sector.cc.
References globals_, mps_fire::i, isector_, trklet::Globals::ofstream(), submitPVResolutionJobs::out, phimax_, phimin_, settings_, TC_, TPROJ_, and trklet::Settings::writeMonitorData().
void Sector::executeTCD | ( | ) |
Definition at line 382 of file Sector.cc.
References mps_fire::i, isector_, phimax_, phimin_, and TCD_.
void Sector::executeTE | ( | ) |
void Sector::executeTED | ( | ) |
Definition at line 351 of file Sector.cc.
References mps_fire::i, and TED_.
void Sector::executeTP | ( | ) |
void Sector::executeTRE | ( | ) |
void Sector::executeVMR | ( | ) |
Definition at line 330 of file Sector.cc.
References globals_, mps_fire::i, IL_, trklet::Globals::ofstream(), submitPVResolutionJobs::out, settings_, VMR_, VMRCM_, and trklet::Settings::writeMonitorData().
std::vector< Tracklet * > Sector::getAllTracklets | ( | ) | const |
Definition at line 424 of file Sector.cc.
References dqmiolumiharvest::j, createJobs::tmp, and TPAR_.
MemoryBase * Sector::getMem | ( | std::string | memName | ) |
Definition at line 212 of file Sector.cc.
References Exception, and Memories_.
Referenced by addWire().
ProcessBase * Sector::getProc | ( | std::string | procName | ) |
Definition at line 202 of file Sector.cc.
References Exception, and Processes_.
Referenced by addWire().
std::vector< const Stub * > Sector::getStubs | ( | ) | const |
|
inline |
|
inline |
std::unordered_set< int > Sector::seedMatch | ( | int | itp | ) | const |
Definition at line 446 of file Sector.cc.
References mps_fire::i, dqmiolumiharvest::j, and TPAR_.
void Sector::setSector | ( | unsigned int | isector | ) |
Definition at line 52 of file Sector.cc.
References cms::cuda::assert(), trklet::Settings::dphisectorHG(), isector_, M_PI, trklet::N_SECTOR, phimax_, phimin_, reco::reduceRange(), and settings_.
void Sector::writeAIS | ( | bool | first | ) |
Definition at line 252 of file Sector.cc.
References AIS_, mps_fire::i, and isector_.
void Sector::writeAP | ( | bool | first | ) |
Definition at line 282 of file Sector.cc.
References AP_, mps_fire::i, and isector_.
void Sector::writeAS | ( | bool | first | ) |
void Sector::writeCM | ( | bool | first | ) |
Definition at line 294 of file Sector.cc.
References CM_, mps_fire::i, and isector_.
void Sector::writeCT | ( | bool | first | ) |
void Sector::writeDTCStubs | ( | bool | first | ) |
void Sector::writeIRStubs | ( | bool | first | ) |
void Sector::writeMC | ( | bool | first | ) |
void Sector::writeSP | ( | bool | first | ) |
void Sector::writeST | ( | bool | first | ) |
void Sector::writeTF | ( | bool | first | ) |
void Sector::writeTPAR | ( | bool | first | ) |
Definition at line 270 of file Sector.cc.
References mps_fire::i, isector_, and TPAR_.
void Sector::writeTPROJ | ( | bool | first | ) |
Definition at line 276 of file Sector.cc.
References mps_fire::i, isector_, and TPROJ_.
void Sector::writeVMPROJ | ( | bool | first | ) |
Definition at line 288 of file Sector.cc.
References mps_fire::i, isector_, and VMPROJ_.
void Sector::writeVMSME | ( | bool | first | ) |
Definition at line 240 of file Sector.cc.
References mps_fire::i, isector_, and VMSME_.
void Sector::writeVMSTE | ( | bool | first | ) |
Definition at line 234 of file Sector.cc.
References mps_fire::i, isector_, and VMSTE_.
|
private |
Definition at line 153 of file Sector.h.
Referenced by addMem(), and writeAIS().
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 150 of file Sector.h.
Referenced by addMem(), addStub(), and writeDTCStubs().
|
private |
|
private |
Definition at line 181 of file Sector.h.
Referenced by addProc(), and executeFT().
|
private |
Definition at line 144 of file Sector.h.
Referenced by addProc(), addStub(), executeTC(), and executeVMR().
|
private |
Definition at line 151 of file Sector.h.
Referenced by addMem(), executeVMR(), getStubs(), and writeIRStubs().
|
private |
Definition at line 168 of file Sector.h.
Referenced by addProc(), and executeIR().
|
private |
Definition at line 142 of file Sector.h.
Referenced by executeFT(), executeMP(), executePD(), executeTC(), executeTCD(), executeTP(), setSector(), writeAIS(), writeAP(), writeAS(), writeCM(), writeCT(), writeDTCStubs(), writeIRStubs(), writeMC(), writeSP(), writeST(), writeTF(), writeTPAR(), writeTPROJ(), writeVMPROJ(), writeVMSME(), and writeVMSTE().
|
private |
Definition at line 179 of file Sector.h.
Referenced by addProc(), and executeMC().
|
private |
Definition at line 178 of file Sector.h.
Referenced by addProc(), and executeME().
|
private |
Definition at line 148 of file Sector.h.
Referenced by addMemToVec(), and getMem().
|
private |
Definition at line 149 of file Sector.h.
Referenced by addMemToVec(), and clean().
|
private |
Definition at line 180 of file Sector.h.
Referenced by addProc(), and executeMP().
|
private |
Definition at line 182 of file Sector.h.
Referenced by addProc(), and executePD().
|
private |
Definition at line 146 of file Sector.h.
Referenced by addMem(), executeTC(), executeTCD(), executeTP(), phimax(), and setSector().
|
private |
Definition at line 145 of file Sector.h.
Referenced by addMem(), executeMC(), executeMP(), executeTC(), executeTCD(), executeTP(), phimin(), and setSector().
|
private |
Definition at line 177 of file Sector.h.
Referenced by addProc(), and executePR().
|
private |
Definition at line 167 of file Sector.h.
Referenced by addProcToVec(), and getProc().
|
private |
Definition at line 143 of file Sector.h.
Referenced by addMem(), addProc(), addStub(), executeTC(), executeVMR(), and setSector().
|
private |
|
private |
|
private |
Definition at line 175 of file Sector.h.
Referenced by addProc(), and executeTC().
|
private |
Definition at line 176 of file Sector.h.
Referenced by addProc(), and executeTCD().
|
private |
Definition at line 171 of file Sector.h.
Referenced by addProc(), and executeTE().
|
private |
Definition at line 172 of file Sector.h.
Referenced by addProc(), and executeTED().
|
private |
|
private |
Definition at line 174 of file Sector.h.
Referenced by addProc(), and executeTP().
|
private |
Definition at line 158 of file Sector.h.
Referenced by addMem(), getAllTracklets(), seedMatch(), and writeTPAR().
|
private |
Definition at line 159 of file Sector.h.
Referenced by addMem(), executeTC(), and writeTPROJ().
|
private |
Definition at line 173 of file Sector.h.
Referenced by addProc(), and executeTRE().
|
private |
Definition at line 161 of file Sector.h.
Referenced by addMem(), and writeVMPROJ().
|
private |
Definition at line 169 of file Sector.h.
Referenced by addProc(), and executeVMR().
|
private |
Definition at line 170 of file Sector.h.
Referenced by addProc(), and executeVMR().
|
private |
Definition at line 155 of file Sector.h.
Referenced by addMem(), and writeVMSME().
|
private |
Definition at line 154 of file Sector.h.
Referenced by addMem(), and writeVMSTE().