CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
trklet::Sector Class Reference

#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 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
 
MemoryBasegetMem (std::string memName)
 
ProcessBasegetProc (std::string procName)
 
std::vector< const Stub * > getStubs () const
 
double phimax () const
 
double phimin () const
 
 Sector (unsigned int i, Settings const &settings, Globals *globals)
 
std::unordered_set< int > seedMatch (int itp) const
 
void writeAP (bool first)
 
void writeAS (bool first)
 
void writeCM (bool first)
 
void writeCT (bool first)
 
void writeInputStubs (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< 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< FullMatchMemory > > FM_
 
std::vector< std::unique_ptr< FitTrack > > FT_
 
Globalsglobals_
 
std::vector< std::unique_ptr< InputLinkMemory > > IL_
 
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_
 

Detailed Description

Definition at line 57 of file Sector.h.

Constructor & Destructor Documentation

◆ Sector()

Sector::Sector ( unsigned int  i,
Settings const &  settings,
Globals globals 
)

Definition at line 44 of file Sector.cc.

44  : settings_(settings), globals_(globals) {
45  isector_ = i;
46  double dphi = 2 * M_PI / N_SECTOR;
47  double dphiHG = 0.5 * settings_.dphisectorHG() - M_PI / N_SECTOR;
48  phimin_ = isector_ * dphi - dphiHG;
49  phimax_ = phimin_ + dphi + 2 * dphiHG;
50  phimin_ -= M_PI / N_SECTOR;
51  phimax_ -= M_PI / N_SECTOR;
54  if (phimin_ > phimax_)
55  phimin_ -= 2 * M_PI;
56 }

References trklet::Settings::dphisectorHG(), mps_fire::i, isector_, M_PI, trklet::N_SECTOR, phimax_, phimin_, reco::reduceRange(), and settings_.

◆ ~Sector()

Sector::~Sector ( )

Definition at line 58 of file Sector.cc.

58  {
59  for (auto& mem : MemoriesV_) {
60  mem->clean();
61  }
62 }

References mem, and MemoriesV_.

Member Function Documentation

◆ addMem()

void Sector::addMem ( std::string  memType,
std::string  memName 
)

Definition at line 94 of file Sector.cc.

94  {
95  if (memType == "InputLink:") {
97  } else if (memType == "AllStubs:") {
98  addMemToVec(AS_, memName, settings_, isector_);
99  } else if (memType == "VMStubsTE:") {
100  addMemToVec(VMSTE_, memName, settings_, isector_);
101  } else if (memType == "VMStubsME:") {
102  addMemToVec(VMSME_, memName, settings_, isector_);
103  } else if (memType == "StubPairs:" || memType == "StubPairsDisplaced:") {
104  addMemToVec(SP_, memName, settings_, isector_);
105  } else if (memType == "StubTriplets:") {
106  addMemToVec(ST_, memName, settings_, isector_);
107  } else if (memType == "TrackletParameters:") {
108  addMemToVec(TPAR_, memName, settings_, isector_);
109  } else if (memType == "TrackletProjections:") {
110  addMemToVec(TPROJ_, memName, settings_, isector_);
111  } else if (memType == "AllProj:") {
112  addMemToVec(AP_, memName, settings_, isector_);
113  } else if (memType == "VMProjections:") {
115  } else if (memType == "CandidateMatch:") {
116  addMemToVec(CM_, memName, settings_, isector_);
117  } else if (memType == "FullMatch:") {
118  addMemToVec(FM_, memName, settings_, isector_);
119  } else if (memType == "TrackFit:") {
121  } else if (memType == "CleanTrack:") {
123  } else {
124  edm::LogPrint("Tracklet") << "Don't know of memory type: " << memType;
125  exit(0);
126  }
127 }

References addMemToVec(), AP_, AS_, CM_, CT_, beamvalidation::exit(), FM_, IL_, isector_, phimax_, phimin_, settings_, SP_, ST_, TF_, TPAR_, TPROJ_, VMPROJ_, VMSME_, and VMSTE_.

◆ addMemToVec()

template<typename TV , typename... Args>
void trklet::Sector::addMemToVec ( std::vector< std::unique_ptr< TV > > &  memvec,
const std::string &  memName,
Args &...  args 
)
inline

Definition at line 119 of file Sector.h.

119  {
120  memvec.push_back(std::make_unique<TV>(memName, std::forward<Args>(args)...));
121  Memories_[memName] = memvec.back().get();
122  MemoriesV_.push_back(memvec.back().get());
123  }

References writedatasetfile::args, Memories_, and MemoriesV_.

Referenced by addMem().

◆ addProc()

void Sector::addProc ( std::string  procType,
std::string  procName 
)

Definition at line 129 of file Sector.cc.

129  {
130  if (procType == "VMRouter:") {
132  } else if (procType == "VMRouterCM:") {
134  } else if (procType == "TrackletEngine:") {
136  } else if (procType == "TrackletEngineDisplaced:") {
138  } else if (procType == "TripletEngine:") {
140  } else if (procType == "TrackletCalculator:") {
142  } else if (procType == "TrackletProcessor:") {
144  } else if (procType == "TrackletCalculatorDisplaced:") {
146  } else if (procType == "ProjectionRouter:") {
148  } else if (procType == "MatchEngine:") {
150  } else if (procType == "MatchCalculator:" ||
151  procType == "DiskMatchCalculator:") { //TODO should not be used in configurations
153  } else if (procType == "MatchProcessor:") {
155  } else if (procType == "FitTrack:") {
157  } else if (procType == "PurgeDuplicate:") {
159  } else {
160  edm::LogPrint("Tracklet") << "Don't know of processing type: " << procType;
161  exit(0);
162  }
163 }

References addProcToVec(), beamvalidation::exit(), FT_, globals_, isector_, MC_, ME_, MP_, PD_, PR_, settings_, TC_, TCD_, TE_, TED_, TP_, TRE_, VMR_, and VMRCM_.

◆ addProcToVec()

template<typename TV , typename... Args>
void trklet::Sector::addProcToVec ( std::vector< std::unique_ptr< TV > > &  procvec,
const std::string &  procName,
Args &...  args 
)
inline

Definition at line 126 of file Sector.h.

126  {
127  procvec.push_back(std::make_unique<TV>(procName, std::forward<Args>(args)...));
128  Processes_[procName] = procvec.back().get();
129  }

References writedatasetfile::args, and Processes_.

Referenced by addProc().

◆ addStub()

bool Sector::addStub ( L1TStub  stub,
std::string  dtc 
)

Definition at line 64 of file Sector.cc.

64  {
65  bool add = false;
66 
67  double phi = stub.phi();
68  double dphi = 0.5 * settings_.dphisectorHG() - M_PI / N_SECTOR;
69 
70  std::map<string, std::vector<int> >& ILindex = globals_->ILindex();
71  std::vector<int>& tmp = ILindex[dtc];
72  if (tmp.empty()) {
73  for (unsigned int i = 0; i < IL_.size(); i++) {
74  if (IL_[i]->getName().find("_" + dtc) != string::npos) {
75  tmp.push_back(i);
76  }
77  }
78  }
79 
80  if (((phi > phimin_ - dphi) && (phi < phimax_ + dphi)) ||
81  ((phi > 2 * M_PI + phimin_ - dphi) && (phi < 2 * M_PI + phimax_ + dphi))) {
82  Stub fpgastub(stub, settings_, phimin_, phimax_);
83  std::vector<int>& tmp = ILindex[dtc];
84  assert(!tmp.empty());
85  for (int i : tmp) {
86  if (IL_[i]->addStub(settings_, globals_, stub, fpgastub, dtc))
87  add = true;
88  }
89  }
90 
91  return add;
92 }

References PVValHelper::add(), cms::cuda::assert(), trklet::Settings::dphisectorHG(), getName(), globals_, mps_fire::i, IL_, trklet::Globals::ILindex(), M_PI, trklet::N_SECTOR, trklet::L1TStub::phi(), phimax_, phimin_, settings_, and createJobs::tmp.

◆ addWire()

void Sector::addWire ( std::string  mem,
std::string  procinfull,
std::string  procoutfull 
)

Definition at line 165 of file Sector.cc.

165  {
166  stringstream ss1(procinfull);
167  string procin, output;
168  getline(ss1, procin, '.');
169  getline(ss1, output);
170 
171  stringstream ss2(procoutfull);
172  string procout, input;
173  getline(ss2, procout, '.');
174  getline(ss2, input);
175 
177 
178  if (!procin.empty()) {
179  ProcessBase* inProc = getProc(procin);
180  inProc->addOutput(memory, output);
181  }
182 
183  if (!procout.empty()) {
184  ProcessBase* outProc = getProc(procout);
185  outProc->addInput(memory, input);
186  }
187 }

References trklet::ProcessBase::addInput(), trklet::ProcessBase::addOutput(), getMem(), getProc(), input, mem, and convertSQLitetoXML_cfg::output.

◆ clean()

void Sector::clean ( )

Definition at line 293 of file Sector.cc.

293  {
294  if (settings_.writeMonitorData("NMatches")) {
295  int matchesL1 = 0;
296  int matchesL3 = 0;
297  int matchesL5 = 0;
298  for (auto& i : TPAR_) {
299  i->writeMatches(globals_, matchesL1, matchesL3, matchesL5);
300  }
301  globals_->ofstream("nmatchessector.txt") << matchesL1 << " " << matchesL3 << " " << matchesL5 << endl;
302  }
303 
304  for (auto& mem : MemoriesV_) {
305  mem->clean();
306  }
307 }

References globals_, mps_fire::i, mem, MemoriesV_, trklet::Globals::ofstream(), settings_, TPAR_, and trklet::Settings::writeMonitorData().

◆ executeFT()

void Sector::executeFT ( )

Definition at line 391 of file Sector.cc.

391  {
392  for (auto& i : FT_) {
393  i->execute();
394  }
395 }

References FT_, and mps_fire::i.

◆ executeMC()

void Sector::executeMC ( )

Definition at line 379 of file Sector.cc.

379  {
380  for (auto& i : MC_) {
381  i->execute();
382  }
383 }

References mps_fire::i, and MC_.

◆ executeME()

void Sector::executeME ( )

Definition at line 373 of file Sector.cc.

373  {
374  for (auto& i : ME_) {
375  i->execute();
376  }
377 }

References mps_fire::i, and ME_.

◆ executeMP()

void Sector::executeMP ( )

Definition at line 385 of file Sector.cc.

385  {
386  for (auto& i : MP_) {
387  i->execute();
388  }
389 }

References mps_fire::i, and MP_.

◆ executePD()

void Sector::executePD ( std::vector< Track * > &  tracks)

Definition at line 397 of file Sector.cc.

397  {
398  for (auto& i : PD_) {
399  i->execute(tracks);
400  }
401 }

References mps_fire::i, PD_, and tracks.

◆ executePR()

void Sector::executePR ( )

Definition at line 367 of file Sector.cc.

367  {
368  for (auto& i : PR_) {
369  i->execute();
370  }
371 }

References mps_fire::i, and PR_.

◆ executeTC()

void Sector::executeTC ( )

Definition at line 348 of file Sector.cc.

348  {
349  for (auto& i : TC_) {
350  i->execute();
351  }
352 
353  if (settings_.writeMonitorData("TrackProjOcc")) {
354  ofstream& out = globals_->ofstream("trackprojocc.txt");
355  for (auto& i : TPROJ_) {
356  out << i->getName() << " " << i->nTracklets() << endl;
357  }
358  }
359 }

References globals_, mps_fire::i, trklet::Globals::ofstream(), MillePedeFileConverter_cfg::out, settings_, TC_, TPROJ_, and trklet::Settings::writeMonitorData().

◆ executeTCD()

void Sector::executeTCD ( )

Definition at line 361 of file Sector.cc.

361  {
362  for (auto& i : TCD_) {
363  i->execute();
364  }
365 }

References mps_fire::i, and TCD_.

◆ executeTE()

void Sector::executeTE ( )

Definition at line 324 of file Sector.cc.

324  {
325  for (auto& i : TE_) {
326  i->execute();
327  }
328 }

References mps_fire::i, and TE_.

◆ executeTED()

void Sector::executeTED ( )

Definition at line 330 of file Sector.cc.

330  {
331  for (auto& i : TED_) {
332  i->execute();
333  }
334 }

References mps_fire::i, and TED_.

◆ executeTP()

void Sector::executeTP ( )

Definition at line 342 of file Sector.cc.

342  {
343  for (auto& i : TP_) {
344  i->execute();
345  }
346 }

References mps_fire::i, and TP_.

◆ executeTRE()

void Sector::executeTRE ( )

Definition at line 336 of file Sector.cc.

336  {
337  for (auto& i : TRE_) {
338  i->execute();
339  }
340 }

References mps_fire::i, and TRE_.

◆ executeVMR()

void Sector::executeVMR ( )

Definition at line 309 of file Sector.cc.

309  {
310  if (settings_.writeMonitorData("IL")) {
311  ofstream& out = globals_->ofstream("inputlink.txt");
312  for (auto& i : IL_) {
313  out << i->getName() << " " << i->nStubs() << endl;
314  }
315  }
316  for (auto& i : VMR_) {
317  i->execute();
318  }
319  for (auto& i : VMRCM_) {
320  i->execute();
321  }
322 }

References globals_, mps_fire::i, IL_, trklet::Globals::ofstream(), MillePedeFileConverter_cfg::out, settings_, VMR_, VMRCM_, and trklet::Settings::writeMonitorData().

◆ getAllTracklets()

std::vector< Tracklet * > Sector::getAllTracklets ( ) const

Definition at line 403 of file Sector.cc.

403  {
404  std::vector<Tracklet*> tmp;
405  for (auto& tpar : TPAR_) {
406  for (unsigned int j = 0; j < tpar->nTracklets(); j++) {
407  tmp.push_back(tpar->getTracklet(j));
408  }
409  }
410  return tmp;
411 }

References dqmiolumiharvest::j, createJobs::tmp, and TPAR_.

◆ getMem()

MemoryBase * Sector::getMem ( std::string  memName)

Definition at line 199 of file Sector.cc.

199  {
200  auto it = Memories_.find(memName);
201 
202  if (it != Memories_.end()) {
203  return it->second;
204  }
205  throw cms::Exception("BadConfig") << __FILE__ << " " << __LINE__ << " Could not find memory : " << memName;
206  return nullptr;
207 }

References Exception, and Memories_.

Referenced by addWire().

◆ getProc()

ProcessBase * Sector::getProc ( std::string  procName)

Definition at line 189 of file Sector.cc.

189  {
190  auto it = Processes_.find(procName);
191 
192  if (it != Processes_.end()) {
193  return it->second;
194  }
195  throw cms::Exception("BadConfig") << __FILE__ << " " << __LINE__ << " Could not find process : " << procName << endl;
196  return nullptr;
197 }

References Exception, and Processes_.

Referenced by addWire().

◆ getStubs()

std::vector< const Stub * > Sector::getStubs ( ) const

Definition at line 413 of file Sector.cc.

413  {
414  std::vector<const Stub*> tmp;
415 
416  for (auto& imem : IL_) {
417  for (unsigned int istub = 0; istub < imem->nStubs(); istub++) {
418  tmp.push_back(imem->getStub(istub));
419  }
420  }
421 
422  return tmp;
423 }

References IL_, and createJobs::tmp.

◆ phimax()

double trklet::Sector::phimax ( ) const
inline

Definition at line 116 of file Sector.h.

116 { return phimax_; }

References phimax_.

◆ phimin()

double trklet::Sector::phimin ( ) const
inline

Definition at line 115 of file Sector.h.

115 { return phimin_; }

References phimin_.

◆ seedMatch()

std::unordered_set< int > Sector::seedMatch ( int  itp) const

Definition at line 425 of file Sector.cc.

425  {
426  std::unordered_set<int> tmpSeeds;
427  for (auto& i : TPAR_) {
428  unsigned int nTracklet = i->nTracklets();
429  for (unsigned int j = 0; j < nTracklet; j++) {
430  if (i->getTracklet(j)->tpseed() == itp) {
431  tmpSeeds.insert(i->getTracklet(j)->getISeed());
432  }
433  }
434  }
435  return tmpSeeds;
436 }

References mps_fire::i, dqmiolumiharvest::j, and TPAR_.

◆ writeAP()

void Sector::writeAP ( bool  first)

Definition at line 257 of file Sector.cc.

257  {
258  for (auto& i : AP_) {
259  i->writeAP(first);
260  }
261 }

References AP_, first, and mps_fire::i.

◆ writeAS()

void Sector::writeAS ( bool  first)

Definition at line 227 of file Sector.cc.

227  {
228  for (auto& i : AS_) {
229  i->writeStubs(first);
230  }
231 }

References AS_, first, and mps_fire::i.

◆ writeCM()

void Sector::writeCM ( bool  first)

Definition at line 269 of file Sector.cc.

269  {
270  for (auto& i : CM_) {
271  i->writeCM(first);
272  }
273 }

References CM_, first, and mps_fire::i.

◆ writeCT()

void Sector::writeCT ( bool  first)

Definition at line 287 of file Sector.cc.

287  {
288  for (auto& i : CT_) {
289  i->writeCT(first);
290  }
291 }

References CT_, first, and mps_fire::i.

◆ writeInputStubs()

void Sector::writeInputStubs ( bool  first)

Definition at line 209 of file Sector.cc.

209  {
210  for (auto& i : IL_) {
211  i->writeStubs(first);
212  }
213 }

References first, mps_fire::i, and IL_.

◆ writeMC()

void Sector::writeMC ( bool  first)

Definition at line 275 of file Sector.cc.

275  {
276  for (auto& i : FM_) {
277  i->writeMC(first);
278  }
279 }

References first, FM_, and mps_fire::i.

◆ writeSP()

void Sector::writeSP ( bool  first)

Definition at line 233 of file Sector.cc.

233  {
234  for (auto& i : SP_) {
235  i->writeSP(first);
236  }
237 }

References first, mps_fire::i, and SP_.

◆ writeST()

void Sector::writeST ( bool  first)

Definition at line 239 of file Sector.cc.

239  {
240  for (auto& i : ST_) {
241  i->writeST(first);
242  }
243 }

References first, mps_fire::i, and ST_.

◆ writeTF()

void Sector::writeTF ( bool  first)

Definition at line 281 of file Sector.cc.

281  {
282  for (auto& i : TF_) {
283  i->writeTF(first);
284  }
285 }

References first, mps_fire::i, and TF_.

◆ writeTPAR()

void Sector::writeTPAR ( bool  first)

Definition at line 245 of file Sector.cc.

245  {
246  for (auto& i : TPAR_) {
247  i->writeTPAR(first);
248  }
249 }

References first, mps_fire::i, and TPAR_.

◆ writeTPROJ()

void Sector::writeTPROJ ( bool  first)

Definition at line 251 of file Sector.cc.

251  {
252  for (auto& i : TPROJ_) {
253  i->writeTPROJ(first);
254  }
255 }

References first, mps_fire::i, and TPROJ_.

◆ writeVMPROJ()

void Sector::writeVMPROJ ( bool  first)

Definition at line 263 of file Sector.cc.

263  {
264  for (auto& i : VMPROJ_) {
265  i->writeVMPROJ(first);
266  }
267 }

References first, mps_fire::i, and VMPROJ_.

◆ writeVMSME()

void Sector::writeVMSME ( bool  first)

Definition at line 221 of file Sector.cc.

221  {
222  for (auto& i : VMSME_) {
223  i->writeStubs(first);
224  }
225 }

References first, mps_fire::i, and VMSME_.

◆ writeVMSTE()

void Sector::writeVMSTE ( bool  first)

Definition at line 215 of file Sector.cc.

215  {
216  for (auto& i : VMSTE_) {
217  i->writeStubs(first);
218  }
219 }

References first, mps_fire::i, and VMSTE_.

Member Data Documentation

◆ AP_

std::vector<std::unique_ptr<AllProjectionsMemory> > trklet::Sector::AP_
private

Definition at line 148 of file Sector.h.

Referenced by addMem(), and writeAP().

◆ AS_

std::vector<std::unique_ptr<AllStubsMemory> > trklet::Sector::AS_
private

Definition at line 141 of file Sector.h.

Referenced by addMem(), and writeAS().

◆ CM_

std::vector<std::unique_ptr<CandidateMatchMemory> > trklet::Sector::CM_
private

Definition at line 150 of file Sector.h.

Referenced by addMem(), and writeCM().

◆ CT_

std::vector<std::unique_ptr<CleanTrackMemory> > trklet::Sector::CT_
private

Definition at line 153 of file Sector.h.

Referenced by addMem(), and writeCT().

◆ FM_

std::vector<std::unique_ptr<FullMatchMemory> > trklet::Sector::FM_
private

Definition at line 151 of file Sector.h.

Referenced by addMem(), and writeMC().

◆ FT_

std::vector<std::unique_ptr<FitTrack> > trklet::Sector::FT_
private

Definition at line 168 of file Sector.h.

Referenced by addProc(), and executeFT().

◆ globals_

Globals* trklet::Sector::globals_
private

Definition at line 134 of file Sector.h.

Referenced by addProc(), addStub(), clean(), executeTC(), and executeVMR().

◆ IL_

std::vector<std::unique_ptr<InputLinkMemory> > trklet::Sector::IL_
private

Definition at line 140 of file Sector.h.

Referenced by addMem(), addStub(), executeVMR(), getStubs(), and writeInputStubs().

◆ isector_

int trklet::Sector::isector_
private

Definition at line 132 of file Sector.h.

Referenced by addMem(), addProc(), and Sector().

◆ MC_

std::vector<std::unique_ptr<MatchCalculator> > trklet::Sector::MC_
private

Definition at line 166 of file Sector.h.

Referenced by addProc(), and executeMC().

◆ ME_

std::vector<std::unique_ptr<MatchEngine> > trklet::Sector::ME_
private

Definition at line 165 of file Sector.h.

Referenced by addProc(), and executeME().

◆ Memories_

std::map<std::string, MemoryBase*> trklet::Sector::Memories_
private

Definition at line 138 of file Sector.h.

Referenced by addMemToVec(), and getMem().

◆ MemoriesV_

std::vector<MemoryBase*> trklet::Sector::MemoriesV_
private

Definition at line 139 of file Sector.h.

Referenced by addMemToVec(), clean(), and ~Sector().

◆ MP_

std::vector<std::unique_ptr<MatchProcessor> > trklet::Sector::MP_
private

Definition at line 167 of file Sector.h.

Referenced by addProc(), and executeMP().

◆ PD_

std::vector<std::unique_ptr<PurgeDuplicate> > trklet::Sector::PD_
private

Definition at line 169 of file Sector.h.

Referenced by addProc(), and executePD().

◆ phimax_

double trklet::Sector::phimax_
private

Definition at line 136 of file Sector.h.

Referenced by addMem(), addStub(), phimax(), and Sector().

◆ phimin_

double trklet::Sector::phimin_
private

Definition at line 135 of file Sector.h.

Referenced by addMem(), addStub(), phimin(), and Sector().

◆ PR_

std::vector<std::unique_ptr<ProjectionRouter> > trklet::Sector::PR_
private

Definition at line 164 of file Sector.h.

Referenced by addProc(), and executePR().

◆ Processes_

std::map<std::string, ProcessBase*> trklet::Sector::Processes_
private

Definition at line 155 of file Sector.h.

Referenced by addProcToVec(), and getProc().

◆ settings_

Settings const& trklet::Sector::settings_
private

Definition at line 133 of file Sector.h.

Referenced by addMem(), addProc(), addStub(), clean(), executeTC(), executeVMR(), and Sector().

◆ SP_

std::vector<std::unique_ptr<StubPairsMemory> > trklet::Sector::SP_
private

Definition at line 144 of file Sector.h.

Referenced by addMem(), and writeSP().

◆ ST_

std::vector<std::unique_ptr<StubTripletsMemory> > trklet::Sector::ST_
private

Definition at line 145 of file Sector.h.

Referenced by addMem(), and writeST().

◆ TC_

std::vector<std::unique_ptr<TrackletCalculator> > trklet::Sector::TC_
private

Definition at line 162 of file Sector.h.

Referenced by addProc(), and executeTC().

◆ TCD_

std::vector<std::unique_ptr<TrackletCalculatorDisplaced> > trklet::Sector::TCD_
private

Definition at line 163 of file Sector.h.

Referenced by addProc(), and executeTCD().

◆ TE_

std::vector<std::unique_ptr<TrackletEngine> > trklet::Sector::TE_
private

Definition at line 158 of file Sector.h.

Referenced by addProc(), and executeTE().

◆ TED_

std::vector<std::unique_ptr<TrackletEngineDisplaced> > trklet::Sector::TED_
private

Definition at line 159 of file Sector.h.

Referenced by addProc(), and executeTED().

◆ TF_

std::vector<std::unique_ptr<TrackFitMemory> > trklet::Sector::TF_
private

Definition at line 152 of file Sector.h.

Referenced by addMem(), and writeTF().

◆ TP_

std::vector<std::unique_ptr<TrackletProcessor> > trklet::Sector::TP_
private

Definition at line 161 of file Sector.h.

Referenced by addProc(), and executeTP().

◆ TPAR_

std::vector<std::unique_ptr<TrackletParametersMemory> > trklet::Sector::TPAR_
private

Definition at line 146 of file Sector.h.

Referenced by addMem(), clean(), getAllTracklets(), seedMatch(), and writeTPAR().

◆ TPROJ_

std::vector<std::unique_ptr<TrackletProjectionsMemory> > trklet::Sector::TPROJ_
private

Definition at line 147 of file Sector.h.

Referenced by addMem(), executeTC(), and writeTPROJ().

◆ TRE_

std::vector<std::unique_ptr<TripletEngine> > trklet::Sector::TRE_
private

Definition at line 160 of file Sector.h.

Referenced by addProc(), and executeTRE().

◆ VMPROJ_

std::vector<std::unique_ptr<VMProjectionsMemory> > trklet::Sector::VMPROJ_
private

Definition at line 149 of file Sector.h.

Referenced by addMem(), and writeVMPROJ().

◆ VMR_

std::vector<std::unique_ptr<VMRouter> > trklet::Sector::VMR_
private

Definition at line 156 of file Sector.h.

Referenced by addProc(), and executeVMR().

◆ VMRCM_

std::vector<std::unique_ptr<VMRouterCM> > trklet::Sector::VMRCM_
private

Definition at line 157 of file Sector.h.

Referenced by addProc(), and executeVMR().

◆ VMSME_

std::vector<std::unique_ptr<VMStubsMEMemory> > trklet::Sector::VMSME_
private

Definition at line 143 of file Sector.h.

Referenced by addMem(), and writeVMSME().

◆ VMSTE_

std::vector<std::unique_ptr<VMStubsTEMemory> > trklet::Sector::VMSTE_
private

Definition at line 142 of file Sector.h.

Referenced by addMem(), and writeVMSTE().

trklet::Sector::AP_
std::vector< std::unique_ptr< AllProjectionsMemory > > AP_
Definition: Sector.h:148
writedatasetfile.args
args
Definition: writedatasetfile.py:18
trklet::Sector::phimax_
double phimax_
Definition: Sector.h:136
trklet::ProcessBase::addOutput
virtual void addOutput(MemoryBase *memory, std::string output)=0
trklet::Sector::PR_
std::vector< std::unique_ptr< ProjectionRouter > > PR_
Definition: Sector.h:164
trklet::Sector::AS_
std::vector< std::unique_ptr< AllStubsMemory > > AS_
Definition: Sector.h:141
trklet::Sector::addMemToVec
void addMemToVec(std::vector< std::unique_ptr< TV > > &memvec, const std::string &memName, Args &... args)
Definition: Sector.h:119
mps_fire.i
i
Definition: mps_fire.py:428
input
static const std::string input
Definition: EdmProvDump.cc:48
trklet::Sector::addStub
bool addStub(L1TStub stub, std::string dtc)
Definition: Sector.cc:64
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
trklet::Globals::ILindex
std::map< std::string, std::vector< int > > & ILindex()
Definition: Globals.h:48
memory
Definition: HGCRecHitSoA.h:20
edm::LogPrint
Log< level::Warning, true > LogPrint
Definition: MessageLogger.h:130
trklet::N_SECTOR
constexpr unsigned int N_SECTOR
Definition: Settings.h:17
trklet::Sector::TE_
std::vector< std::unique_ptr< TrackletEngine > > TE_
Definition: Sector.h:158
cms::cuda::assert
assert(be >=bs)
trklet::Sector::globals_
Globals * globals_
Definition: Sector.h:134
trklet::Sector::PD_
std::vector< std::unique_ptr< PurgeDuplicate > > PD_
Definition: Sector.h:169
createJobs.tmp
tmp
align.sh
Definition: createJobs.py:716
mem
uint16_t mem[nChs][nEvts]
Definition: recycleTccEmu.cc:13
trklet::Sector::MP_
std::vector< std::unique_ptr< MatchProcessor > > MP_
Definition: Sector.h:167
trklet::Sector::MemoriesV_
std::vector< MemoryBase * > MemoriesV_
Definition: Sector.h:139
trklet::ProcessBase::addInput
virtual void addInput(MemoryBase *memory, std::string input)=0
trklet::Sector::TRE_
std::vector< std::unique_ptr< TripletEngine > > TRE_
Definition: Sector.h:160
trklet::Sector::IL_
std::vector< std::unique_ptr< InputLinkMemory > > IL_
Definition: Sector.h:140
trklet::Sector::FM_
std::vector< std::unique_ptr< FullMatchMemory > > FM_
Definition: Sector.h:151
trklet::Sector::TPROJ_
std::vector< std::unique_ptr< TrackletProjectionsMemory > > TPROJ_
Definition: Sector.h:147
trklet::Sector::TED_
std::vector< std::unique_ptr< TrackletEngineDisplaced > > TED_
Definition: Sector.h:159
trklet::Settings::dphisectorHG
double dphisectorHG() const
Definition: Settings.h:251
trklet::Stub
Definition: Stub.h:16
trklet::Sector::Processes_
std::map< std::string, ProcessBase * > Processes_
Definition: Sector.h:155
getName
TString getName(TString structure, int layer, TString geometry)
Definition: DMRtrends.cc:235
trklet::Sector::getProc
ProcessBase * getProc(std::string procName)
Definition: Sector.cc:189
trklet::Sector::settings_
Settings const & settings_
Definition: Sector.h:133
trklet::Sector::MC_
std::vector< std::unique_ptr< MatchCalculator > > MC_
Definition: Sector.h:166
trklet::Sector::ST_
std::vector< std::unique_ptr< StubTripletsMemory > > ST_
Definition: Sector.h:145
trklet::Sector::addProcToVec
void addProcToVec(std::vector< std::unique_ptr< TV > > &procvec, const std::string &procName, Args &... args)
Definition: Sector.h:126
first
auto first
Definition: CAHitNtupletGeneratorKernelsImpl.h:112
trklet::Sector::TCD_
std::vector< std::unique_ptr< TrackletCalculatorDisplaced > > TCD_
Definition: Sector.h:163
trklet::Sector::CM_
std::vector< std::unique_ptr< CandidateMatchMemory > > CM_
Definition: Sector.h:150
trklet::MemoryBase
Definition: MemoryBase.h:13
trklet::Sector::VMSME_
std::vector< std::unique_ptr< VMStubsMEMemory > > VMSME_
Definition: Sector.h:143
tracks
const uint32_t *__restrict__ const HitContainer *__restrict__ TkSoA *__restrict__ tracks
Definition: CAHitNtupletGeneratorKernelsImpl.h:159
PVValHelper::phi
Definition: PVValidationHelpers.h:69
trklet::Sector::VMPROJ_
std::vector< std::unique_ptr< VMProjectionsMemory > > VMPROJ_
Definition: Sector.h:149
PVValHelper::add
void add(std::map< std::string, TH1 * > &h, TH1 *hist)
Definition: PVValidationHelpers.cc:12
trklet::Sector::TPAR_
std::vector< std::unique_ptr< TrackletParametersMemory > > TPAR_
Definition: Sector.h:146
trklet::Sector::TP_
std::vector< std::unique_ptr< TrackletProcessor > > TP_
Definition: Sector.h:161
M_PI
#define M_PI
Definition: BXVectorInputProducer.cc:49
trklet::Sector::VMRCM_
std::vector< std::unique_ptr< VMRouterCM > > VMRCM_
Definition: Sector.h:157
trklet::Settings::writeMonitorData
bool writeMonitorData(std::string module) const
Definition: Settings.h:96
trklet::Sector::CT_
std::vector< std::unique_ptr< CleanTrackMemory > > CT_
Definition: Sector.h:153
trklet::ProcessBase
Definition: ProcessBase.h:12
trklet::Globals::ofstream
std::ofstream & ofstream(std::string fname)
Definition: Globals.cc:44
trklet::Sector::VMSTE_
std::vector< std::unique_ptr< VMStubsTEMemory > > VMSTE_
Definition: Sector.h:142
Exception
Definition: hltDiff.cc:245
trklet::Sector::ME_
std::vector< std::unique_ptr< MatchEngine > > ME_
Definition: Sector.h:165
trklet::Sector::SP_
std::vector< std::unique_ptr< StubPairsMemory > > SP_
Definition: Sector.h:144
trklet::Sector::FT_
std::vector< std::unique_ptr< FitTrack > > FT_
Definition: Sector.h:168
trklet::Sector::TF_
std::vector< std::unique_ptr< TrackFitMemory > > TF_
Definition: Sector.h:152
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
beamvalidation.exit
def exit(msg="")
Definition: beamvalidation.py:53
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
trklet::Sector::Memories_
std::map< std::string, MemoryBase * > Memories_
Definition: Sector.h:138
trklet::Sector::getMem
MemoryBase * getMem(std::string memName)
Definition: Sector.cc:199
trklet::Sector::phimin_
double phimin_
Definition: Sector.h:135
trklet::Sector::TC_
std::vector< std::unique_ptr< TrackletCalculator > > TC_
Definition: Sector.h:162
trklet::L1TStub::phi
double phi() const
Definition: L1TStub.h:62
trklet::Sector::VMR_
std::vector< std::unique_ptr< VMRouter > > VMR_
Definition: Sector.h:156
trklet::Sector::isector_
int isector_
Definition: Sector.h:132
reco::reduceRange
constexpr T reduceRange(T x)
Definition: deltaPhi.h:18