#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 (std::vector< std::vector< std::string >> &streamsTrackRaw, std::vector< std::vector< StubStreamData >> &streamsStubRaw) |
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 | executeTPD () |
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< TrackletProcessorDisplaced > > | TPD_ |
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 107 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 133 of file Sector.h.
References writedatasetfile::args, Memories_, and MemoriesV_.
Referenced by addMem().
void Sector::addProc | ( | std::string | procType, |
std::string | procName | ||
) |
Definition at line 146 of file Sector.cc.
References addProcToVec(), beamvalidation::exit(), FT_, globals_, IR_, MC_, ME_, MP_, PD_, PR_, settings_, TC_, TCD_, TE_, TED_, TP_, TPD_, TRE_, VMR_, and VMRCM_.
|
inline |
Definition at line 140 of file Sector.h.
References writedatasetfile::args, and Processes_.
Referenced by addProc().
bool Sector::addStub | ( | L1TStub | stub, |
std::string | dtc | ||
) |
Definition at line 72 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, Skims_PA_cff::name, trklet::Globals::phiCorr(), trklet::Stub::r(), trklet::Settings::reduced(), trklet::Stub::setPhiCorr(), settings_, and trklet::FPGAWord::value().
void Sector::addWire | ( | std::string | mem, |
std::string | procinfull, | ||
std::string | procoutfull | ||
) |
Definition at line 186 of file Sector.cc.
References trklet::ProcessBase::addInput(), trklet::ProcessBase::addOutput(), getMem(), getProc(), input, mem, and convertSQLitetoXML_cfg::output.
void Sector::clean | ( | ) |
void Sector::executeFT | ( | std::vector< std::vector< std::string >> & | streamsTrackRaw, |
std::vector< std::vector< StubStreamData >> & | streamsStubRaw | ||
) |
Definition at line 430 of file Sector.cc.
References FT_, mps_fire::i, isector_, trklet::N_SECTOR, settings_, trklet::Settings::storeTrackBuilderOutput(), and cms::cuda::stream.
void Sector::executeIR | ( | ) |
void Sector::executeMC | ( | ) |
void Sector::executeME | ( | ) |
void Sector::executeMP | ( | ) |
void Sector::executePD | ( | std::vector< Track > & | tracks | ) |
Definition at line 453 of file Sector.cc.
References mps_fire::i, isector_, PD_, and pwdgSkimBPark_cfi::tracks.
void Sector::executePR | ( | ) |
void Sector::executeTC | ( | ) |
Definition at line 383 of file Sector.cc.
References globals_, mps_fire::i, isector_, trklet::Globals::ofstream(), MillePedeFileConverter_cfg::out, phimax_, phimin_, settings_, TC_, TPROJ_, and trklet::Settings::writeMonitorData().
void Sector::executeTCD | ( | ) |
Definition at line 396 of file Sector.cc.
References mps_fire::i, isector_, phimax_, phimin_, and TCD_.
void Sector::executeTE | ( | ) |
void Sector::executeTED | ( | ) |
Definition at line 359 of file Sector.cc.
References mps_fire::i, and TED_.
void Sector::executeTP | ( | ) |
void Sector::executeTPD | ( | ) |
Definition at line 377 of file Sector.cc.
References mps_fire::i, isector_, phimax_, phimin_, and TPD_.
void Sector::executeTRE | ( | ) |
void Sector::executeVMR | ( | ) |
Definition at line 338 of file Sector.cc.
References globals_, mps_fire::i, IL_, isector_, trklet::Globals::ofstream(), MillePedeFileConverter_cfg::out, settings_, VMR_, VMRCM_, and trklet::Settings::writeMonitorData().
std::vector< Tracklet * > Sector::getAllTracklets | ( | ) | const |
Definition at line 459 of file Sector.cc.
References dqmiolumiharvest::j, createJobs::tmp, and TPAR_.
MemoryBase * Sector::getMem | ( | std::string | memName | ) |
Definition at line 220 of file Sector.cc.
References Exception, and Memories_.
Referenced by addWire().
ProcessBase * Sector::getProc | ( | std::string | procName | ) |
Definition at line 210 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 481 of file Sector.cc.
References mps_fire::i, dqmiolumiharvest::j, and TPAR_.
void Sector::setSector | ( | unsigned int | isector | ) |
Definition at line 56 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 260 of file Sector.cc.
References AIS_, dqmdumpme::first, mps_fire::i, and isector_.
void Sector::writeAP | ( | bool | first | ) |
Definition at line 290 of file Sector.cc.
References AP_, dqmdumpme::first, mps_fire::i, and isector_.
void Sector::writeAS | ( | bool | first | ) |
Definition at line 254 of file Sector.cc.
References AS_, dqmdumpme::first, mps_fire::i, and isector_.
void Sector::writeCM | ( | bool | first | ) |
Definition at line 302 of file Sector.cc.
References CM_, dqmdumpme::first, mps_fire::i, and isector_.
void Sector::writeCT | ( | bool | first | ) |
Definition at line 320 of file Sector.cc.
References CT_, dqmdumpme::first, mps_fire::i, and isector_.
void Sector::writeDTCStubs | ( | bool | first | ) |
Definition at line 230 of file Sector.cc.
References DL_, dqmdumpme::first, mps_fire::i, and isector_.
void Sector::writeIRStubs | ( | bool | first | ) |
Definition at line 236 of file Sector.cc.
References dqmdumpme::first, mps_fire::i, IL_, and isector_.
void Sector::writeMC | ( | bool | first | ) |
Definition at line 308 of file Sector.cc.
References dqmdumpme::first, FM_, mps_fire::i, and isector_.
void Sector::writeSP | ( | bool | first | ) |
Definition at line 266 of file Sector.cc.
References dqmdumpme::first, mps_fire::i, isector_, and SP_.
void Sector::writeST | ( | bool | first | ) |
Definition at line 272 of file Sector.cc.
References dqmdumpme::first, mps_fire::i, isector_, and ST_.
void Sector::writeTF | ( | bool | first | ) |
Definition at line 314 of file Sector.cc.
References dqmdumpme::first, mps_fire::i, isector_, and TF_.
void Sector::writeTPAR | ( | bool | first | ) |
Definition at line 278 of file Sector.cc.
References dqmdumpme::first, mps_fire::i, isector_, and TPAR_.
void Sector::writeTPROJ | ( | bool | first | ) |
Definition at line 284 of file Sector.cc.
References dqmdumpme::first, mps_fire::i, isector_, and TPROJ_.
void Sector::writeVMPROJ | ( | bool | first | ) |
Definition at line 296 of file Sector.cc.
References dqmdumpme::first, mps_fire::i, isector_, and VMPROJ_.
void Sector::writeVMSME | ( | bool | first | ) |
Definition at line 248 of file Sector.cc.
References dqmdumpme::first, mps_fire::i, isector_, and VMSME_.
void Sector::writeVMSTE | ( | bool | first | ) |
Definition at line 242 of file Sector.cc.
References dqmdumpme::first, mps_fire::i, isector_, and VMSTE_.
|
private |
Definition at line 157 of file Sector.h.
Referenced by addMem(), and writeAIS().
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 154 of file Sector.h.
Referenced by addMem(), addStub(), and writeDTCStubs().
|
private |
|
private |
Definition at line 186 of file Sector.h.
Referenced by addProc(), and executeFT().
|
private |
Definition at line 148 of file Sector.h.
Referenced by addProc(), addStub(), executeTC(), and executeVMR().
|
private |
Definition at line 155 of file Sector.h.
Referenced by addMem(), executeVMR(), getStubs(), and writeIRStubs().
|
private |
Definition at line 172 of file Sector.h.
Referenced by addProc(), and executeIR().
|
private |
Definition at line 146 of file Sector.h.
Referenced by executeFT(), executeMC(), executeME(), executeMP(), executePD(), executeTC(), executeTCD(), executeTP(), executeTPD(), executeVMR(), setSector(), writeAIS(), writeAP(), writeAS(), writeCM(), writeCT(), writeDTCStubs(), writeIRStubs(), writeMC(), writeSP(), writeST(), writeTF(), writeTPAR(), writeTPROJ(), writeVMPROJ(), writeVMSME(), and writeVMSTE().
|
private |
Definition at line 184 of file Sector.h.
Referenced by addProc(), and executeMC().
|
private |
Definition at line 183 of file Sector.h.
Referenced by addProc(), and executeME().
|
private |
Definition at line 152 of file Sector.h.
Referenced by addMemToVec(), and getMem().
|
private |
Definition at line 153 of file Sector.h.
Referenced by addMemToVec(), and clean().
|
private |
Definition at line 185 of file Sector.h.
Referenced by addProc(), and executeMP().
|
private |
Definition at line 187 of file Sector.h.
Referenced by addProc(), and executePD().
|
private |
Definition at line 150 of file Sector.h.
Referenced by addMem(), executeTC(), executeTCD(), executeTP(), executeTPD(), phimax(), and setSector().
|
private |
Definition at line 149 of file Sector.h.
Referenced by addMem(), executeMC(), executeMP(), executeTC(), executeTCD(), executeTP(), executeTPD(), phimin(), and setSector().
|
private |
Definition at line 182 of file Sector.h.
Referenced by addProc(), and executePR().
|
private |
Definition at line 171 of file Sector.h.
Referenced by addProcToVec(), and getProc().
|
private |
Definition at line 147 of file Sector.h.
Referenced by addMem(), addProc(), addStub(), executeFT(), executeTC(), executeVMR(), and setSector().
|
private |
|
private |
|
private |
Definition at line 180 of file Sector.h.
Referenced by addProc(), and executeTC().
|
private |
Definition at line 181 of file Sector.h.
Referenced by addProc(), and executeTCD().
|
private |
Definition at line 175 of file Sector.h.
Referenced by addProc(), and executeTE().
|
private |
Definition at line 176 of file Sector.h.
Referenced by addProc(), and executeTED().
|
private |
|
private |
Definition at line 178 of file Sector.h.
Referenced by addProc(), and executeTP().
|
private |
Definition at line 162 of file Sector.h.
Referenced by addMem(), getAllTracklets(), seedMatch(), and writeTPAR().
|
private |
Definition at line 179 of file Sector.h.
Referenced by addProc(), and executeTPD().
|
private |
Definition at line 163 of file Sector.h.
Referenced by addMem(), executeTC(), and writeTPROJ().
|
private |
Definition at line 177 of file Sector.h.
Referenced by addProc(), and executeTRE().
|
private |
Definition at line 165 of file Sector.h.
Referenced by addMem(), and writeVMPROJ().
|
private |
Definition at line 173 of file Sector.h.
Referenced by addProc(), and executeVMR().
|
private |
Definition at line 174 of file Sector.h.
Referenced by addProc(), and executeVMR().
|
private |
Definition at line 159 of file Sector.h.
Referenced by addMem(), and writeVMSME().
|
private |
Definition at line 158 of file Sector.h.
Referenced by addMem(), and writeVMSTE().