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 >
void addMemToVec (std::vector< TV * > &memvec, TV *mem, const std::string &memName)
 
void addProc (std::string procType, std::string procName)
 
template<typename TV >
void addProcToVec (std::vector< TV * > &procvec, TV *proc, const std::string &procName)
 
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< AllProjectionsMemory * > AP_
 
std::vector< AllStubsMemory * > AS_
 
std::vector< CandidateMatchMemory * > CM_
 
std::vector< CleanTrackMemory * > CT_
 
std::vector< FullMatchMemory * > FM_
 
std::vector< FitTrack * > FT_
 
Globalsglobals_
 
std::vector< InputLinkMemory * > IL_
 
int isector_
 
std::vector< MatchCalculator * > MC_
 
std::vector< MatchEngine * > ME_
 
std::map< std::string, std::unique_ptr< MemoryBase > > Memories_
 
std::vector< MemoryBase * > MemoriesV_
 
std::vector< MatchProcessor * > MP_
 
std::vector< PurgeDuplicate * > PD_
 
double phimax_
 
double phimin_
 
std::vector< ProjectionRouter * > PR_
 
std::map< std::string, std::unique_ptr< ProcessBase > > Processes_
 
Settings const & settings_
 
std::vector< StubPairsMemory * > SP_
 
std::vector< StubTripletsMemory * > ST_
 
std::vector< TrackletCalculator * > TC_
 
std::vector< TrackletCalculatorDisplaced * > TCD_
 
std::vector< TrackletEngine * > TE_
 
std::vector< TrackletEngineDisplaced * > TED_
 
std::vector< TrackFitMemory * > TF_
 
std::vector< TrackletProcessor * > TP_
 
std::vector< TrackletParametersMemory * > TPAR_
 
std::vector< TrackletProjectionsMemory * > TPROJ_
 
std::vector< TripletEngine * > TRE_
 
std::vector< VMProjectionsMemory * > VMPROJ_
 
std::vector< VMRouter * > VMR_
 
std::vector< VMStubsMEMemory * > VMSME_
 
std::vector< VMStubsTEMemory * > VMSTE_
 

Detailed Description

Definition at line 56 of file Sector.h.

Constructor & Destructor Documentation

◆ Sector()

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

Definition at line 43 of file Sector.cc.

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

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 57 of file Sector.cc.

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

References mem, and MemoriesV_.

Member Function Documentation

◆ addMem()

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

Definition at line 93 of file Sector.cc.

93  {
94  if (memType == "InputLink:") {
95  addMemToVec(IL_, new InputLinkMemory(memName, settings_, isector_, phimin_, phimax_), memName);
96  } else if (memType == "AllStubs:") {
97  addMemToVec(AS_, new AllStubsMemory(memName, settings_, isector_), memName);
98  } else if (memType == "VMStubsTE:") {
99  addMemToVec(VMSTE_, new VMStubsTEMemory(memName, settings_, isector_), memName);
100  } else if (memType == "VMStubsME:") {
101  addMemToVec(VMSME_, new VMStubsMEMemory(memName, settings_, isector_), memName);
102  } else if (memType == "StubPairs:" || memType == "StubPairsDisplaced:") {
103  addMemToVec(SP_, new StubPairsMemory(memName, settings_, isector_), memName);
104  } else if (memType == "StubTriplets:") {
105  addMemToVec(ST_, new StubTripletsMemory(memName, settings_, isector_), memName);
106  } else if (memType == "TrackletParameters:") {
107  addMemToVec(TPAR_, new TrackletParametersMemory(memName, settings_, isector_), memName);
108  } else if (memType == "TrackletProjections:") {
110  } else if (memType == "AllProj:") {
111  addMemToVec(AP_, new AllProjectionsMemory(memName, settings_, isector_), memName);
112  } else if (memType == "VMProjections:") {
113  addMemToVec(VMPROJ_, new VMProjectionsMemory(memName, settings_, isector_), memName);
114  } else if (memType == "CandidateMatch:") {
115  addMemToVec(CM_, new CandidateMatchMemory(memName, settings_, isector_), memName);
116  } else if (memType == "FullMatch:") {
117  addMemToVec(FM_, new FullMatchMemory(memName, settings_, isector_), memName);
118  } else if (memType == "TrackFit:") {
119  addMemToVec(TF_, new TrackFitMemory(memName, settings_, isector_, phimin_, phimax_), memName);
120  } else if (memType == "CleanTrack:") {
121  addMemToVec(CT_, new CleanTrackMemory(memName, settings_, isector_, phimin_, phimax_), memName);
122  } else {
123  edm::LogPrint("Tracklet") << "Don't know of memory type: " << memType;
124  exit(0);
125  }
126 }

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 >
void trklet::Sector::addMemToVec ( std::vector< TV * > &  memvec,
TV *  mem,
const std::string &  memName 
)
inline

Definition at line 118 of file Sector.h.

118  {
119  memvec.push_back(mem);
120  Memories_[memName].reset(mem);
121  MemoriesV_.push_back(mem);
122  }

References mem, Memories_, and MemoriesV_.

Referenced by addMem().

◆ addProc()

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

Definition at line 128 of file Sector.cc.

128  {
129  if (procType == "VMRouter:") {
130  addProcToVec(VMR_, new VMRouter(procName, settings_, globals_, isector_), procName);
131  } else if (procType == "TrackletEngine:") {
132  addProcToVec(TE_, new TrackletEngine(procName, settings_, globals_, isector_), procName);
133  } else if (procType == "TrackletEngineDisplaced:") {
135  } else if (procType == "TripletEngine:") {
136  addProcToVec(TRE_, new TripletEngine(procName, settings_, globals_, isector_), procName);
137  } else if (procType == "TrackletCalculator:") {
138  addProcToVec(TC_, new TrackletCalculator(procName, settings_, globals_, isector_), procName);
139  } else if (procType == "TrackletProcessor:") {
140  addProcToVec(TP_, new TrackletProcessor(procName, settings_, globals_, isector_), procName);
141  } else if (procType == "TrackletCalculatorDisplaced:") {
143  } else if (procType == "ProjectionRouter:") {
144  addProcToVec(PR_, new ProjectionRouter(procName, settings_, globals_, isector_), procName);
145  } else if (procType == "MatchEngine:") {
146  addProcToVec(ME_, new MatchEngine(procName, settings_, globals_, isector_), procName);
147  } else if (procType == "MatchCalculator:" ||
148  procType == "DiskMatchCalculator:") { //TODO should not be used in configurations
149  addProcToVec(MC_, new MatchCalculator(procName, settings_, globals_, isector_), procName);
150  } else if (procType == "MatchProcessor:") {
151  addProcToVec(MP_, new MatchProcessor(procName, settings_, globals_, isector_), procName);
152  } else if (procType == "FitTrack:") {
153  addProcToVec(FT_, new FitTrack(procName, settings_, globals_, isector_), procName);
154  } else if (procType == "PurgeDuplicate:") {
155  addProcToVec(PD_, new PurgeDuplicate(procName, settings_, globals_, isector_), procName);
156  } else {
157  edm::LogPrint("Tracklet") << "Don't know of processing type: " << procType;
158  exit(0);
159  }
160 }

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

◆ addProcToVec()

template<typename TV >
void trklet::Sector::addProcToVec ( std::vector< TV * > &  procvec,
TV *  proc,
const std::string &  procName 
)
inline

Definition at line 125 of file Sector.h.

125  {
126  procvec.push_back(proc);
127  Processes_[procName].reset(proc);
128  }

References ValidateTausOnZEEFastSim_cff::proc, and Processes_.

Referenced by addProc().

◆ addStub()

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

Definition at line 63 of file Sector.cc.

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

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 162 of file Sector.cc.

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

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

◆ clean()

void Sector::clean ( )

Definition at line 290 of file Sector.cc.

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

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

◆ executeFT()

void Sector::executeFT ( )

Definition at line 385 of file Sector.cc.

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

References FT_, and mps_fire::i.

◆ executeMC()

void Sector::executeMC ( )

Definition at line 373 of file Sector.cc.

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

References mps_fire::i, and MC_.

◆ executeME()

void Sector::executeME ( )

Definition at line 367 of file Sector.cc.

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

References mps_fire::i, and ME_.

◆ executeMP()

void Sector::executeMP ( )

Definition at line 379 of file Sector.cc.

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

References mps_fire::i, and MP_.

◆ executePD()

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

Definition at line 391 of file Sector.cc.

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

References mps_fire::i, PD_, and PDWG_EXOHSCP_cff::tracks.

◆ executePR()

void Sector::executePR ( )

Definition at line 361 of file Sector.cc.

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

References mps_fire::i, and PR_.

◆ executeTC()

void Sector::executeTC ( )

Definition at line 342 of file Sector.cc.

342  {
343  for (auto& i : TC_) {
344  i->execute();
345  }
346 
347  if (settings_.writeMonitorData("TrackProjOcc")) {
348  ofstream& out = globals_->ofstream("trackprojocc.txt");
349  for (auto& i : TPROJ_) {
350  out << i->getName() << " " << i->nTracklets() << endl;
351  }
352  }
353 }

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 355 of file Sector.cc.

355  {
356  for (auto& i : TCD_) {
357  i->execute();
358  }
359 }

References mps_fire::i, and TCD_.

◆ executeTE()

void Sector::executeTE ( )

Definition at line 318 of file Sector.cc.

318  {
319  for (auto& i : TE_) {
320  i->execute();
321  }
322 }

References mps_fire::i, and TE_.

◆ executeTED()

void Sector::executeTED ( )

Definition at line 324 of file Sector.cc.

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

References mps_fire::i, and TED_.

◆ executeTP()

void Sector::executeTP ( )

Definition at line 336 of file Sector.cc.

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

References mps_fire::i, and TP_.

◆ executeTRE()

void Sector::executeTRE ( )

Definition at line 330 of file Sector.cc.

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

References mps_fire::i, and TRE_.

◆ executeVMR()

void Sector::executeVMR ( )

Definition at line 306 of file Sector.cc.

306  {
307  if (settings_.writeMonitorData("IL")) {
308  ofstream& out = globals_->ofstream("inputlink.txt");
309  for (auto& i : IL_) {
310  out << i->getName() << " " << i->nStubs() << endl;
311  }
312  }
313  for (auto& i : VMR_) {
314  i->execute();
315  }
316 }

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

◆ getAllTracklets()

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

Definition at line 397 of file Sector.cc.

397  {
398  std::vector<Tracklet*> tmp;
399  for (auto tpar : TPAR_) {
400  for (unsigned int j = 0; j < tpar->nTracklets(); j++) {
401  tmp.push_back(tpar->getTracklet(j));
402  }
403  }
404  return tmp;
405 }

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

◆ getMem()

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

Definition at line 196 of file Sector.cc.

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

References Exception, and Memories_.

Referenced by addWire().

◆ getProc()

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

Definition at line 186 of file Sector.cc.

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

References Exception, and Processes_.

Referenced by addWire().

◆ getStubs()

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

Definition at line 407 of file Sector.cc.

407  {
408  std::vector<const Stub*> tmp;
409 
410  for (auto imem : IL_) {
411  for (unsigned int istub = 0; istub < imem->nStubs(); istub++) {
412  tmp.push_back(imem->getStub(istub));
413  }
414  }
415 
416  return tmp;
417 }

References IL_, and createJobs::tmp.

◆ phimax()

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

Definition at line 115 of file Sector.h.

115 { return phimax_; }

References phimax_.

◆ phimin()

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

Definition at line 114 of file Sector.h.

114 { return phimin_; }

References phimin_.

◆ seedMatch()

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

Definition at line 419 of file Sector.cc.

419  {
420  std::unordered_set<int> tmpSeeds;
421  for (auto i : TPAR_) {
422  unsigned int nTracklet = i->nTracklets();
423  for (unsigned int j = 0; j < nTracklet; j++) {
424  if (i->getTracklet(j)->tpseed() == itp) {
425  tmpSeeds.insert(i->getTracklet(j)->getISeed());
426  }
427  }
428  }
429  return tmpSeeds;
430 }

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

◆ writeAP()

void Sector::writeAP ( bool  first)

Definition at line 254 of file Sector.cc.

254  {
255  for (auto& i : AP_) {
256  i->writeAP(first);
257  }
258 }

References AP_, dqmdumpme::first, and mps_fire::i.

◆ writeAS()

void Sector::writeAS ( bool  first)

Definition at line 224 of file Sector.cc.

224  {
225  for (auto& i : AS_) {
226  i->writeStubs(first);
227  }
228 }

References AS_, dqmdumpme::first, and mps_fire::i.

◆ writeCM()

void Sector::writeCM ( bool  first)

Definition at line 266 of file Sector.cc.

266  {
267  for (auto& i : CM_) {
268  i->writeCM(first);
269  }
270 }

References CM_, dqmdumpme::first, and mps_fire::i.

◆ writeCT()

void Sector::writeCT ( bool  first)

Definition at line 284 of file Sector.cc.

284  {
285  for (auto& i : CT_) {
286  i->writeCT(first);
287  }
288 }

References CT_, dqmdumpme::first, and mps_fire::i.

◆ writeInputStubs()

void Sector::writeInputStubs ( bool  first)

Definition at line 206 of file Sector.cc.

206  {
207  for (auto& i : IL_) {
208  i->writeStubs(first);
209  }
210 }

References dqmdumpme::first, mps_fire::i, and IL_.

◆ writeMC()

void Sector::writeMC ( bool  first)

Definition at line 272 of file Sector.cc.

272  {
273  for (auto& i : FM_) {
274  i->writeMC(first);
275  }
276 }

References dqmdumpme::first, FM_, and mps_fire::i.

◆ writeSP()

void Sector::writeSP ( bool  first)

Definition at line 230 of file Sector.cc.

230  {
231  for (auto& i : SP_) {
232  i->writeSP(first);
233  }
234 }

References dqmdumpme::first, mps_fire::i, and SP_.

◆ writeST()

void Sector::writeST ( bool  first)

Definition at line 236 of file Sector.cc.

236  {
237  for (auto& i : ST_) {
238  i->writeST(first);
239  }
240 }

References dqmdumpme::first, mps_fire::i, and ST_.

◆ writeTF()

void Sector::writeTF ( bool  first)

Definition at line 278 of file Sector.cc.

278  {
279  for (auto& i : TF_) {
280  i->writeTF(first);
281  }
282 }

References dqmdumpme::first, mps_fire::i, and TF_.

◆ writeTPAR()

void Sector::writeTPAR ( bool  first)

Definition at line 242 of file Sector.cc.

242  {
243  for (auto& i : TPAR_) {
244  i->writeTPAR(first);
245  }
246 }

References dqmdumpme::first, mps_fire::i, and TPAR_.

◆ writeTPROJ()

void Sector::writeTPROJ ( bool  first)

Definition at line 248 of file Sector.cc.

248  {
249  for (auto& i : TPROJ_) {
250  i->writeTPROJ(first);
251  }
252 }

References dqmdumpme::first, mps_fire::i, and TPROJ_.

◆ writeVMPROJ()

void Sector::writeVMPROJ ( bool  first)

Definition at line 260 of file Sector.cc.

260  {
261  for (auto& i : VMPROJ_) {
262  i->writeVMPROJ(first);
263  }
264 }

References dqmdumpme::first, mps_fire::i, and VMPROJ_.

◆ writeVMSME()

void Sector::writeVMSME ( bool  first)

Definition at line 218 of file Sector.cc.

218  {
219  for (auto& i : VMSME_) {
220  i->writeStubs(first);
221  }
222 }

References dqmdumpme::first, mps_fire::i, and VMSME_.

◆ writeVMSTE()

void Sector::writeVMSTE ( bool  first)

Definition at line 212 of file Sector.cc.

212  {
213  for (auto& i : VMSTE_) {
214  i->writeStubs(first);
215  }
216 }

References dqmdumpme::first, mps_fire::i, and VMSTE_.

Member Data Documentation

◆ AP_

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

Definition at line 147 of file Sector.h.

Referenced by addMem(), and writeAP().

◆ AS_

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

Definition at line 140 of file Sector.h.

Referenced by addMem(), and writeAS().

◆ CM_

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

Definition at line 149 of file Sector.h.

Referenced by addMem(), and writeCM().

◆ CT_

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

Definition at line 152 of file Sector.h.

Referenced by addMem(), and writeCT().

◆ FM_

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

Definition at line 150 of file Sector.h.

Referenced by addMem(), and writeMC().

◆ FT_

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

Definition at line 166 of file Sector.h.

Referenced by addProc(), and executeFT().

◆ globals_

Globals* trklet::Sector::globals_
private

Definition at line 133 of file Sector.h.

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

◆ IL_

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

Definition at line 139 of file Sector.h.

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

◆ isector_

int trklet::Sector::isector_
private

Definition at line 131 of file Sector.h.

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

◆ MC_

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

Definition at line 164 of file Sector.h.

Referenced by addProc(), and executeMC().

◆ ME_

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

Definition at line 163 of file Sector.h.

Referenced by addProc(), and executeME().

◆ Memories_

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

Definition at line 137 of file Sector.h.

Referenced by addMemToVec(), and getMem().

◆ MemoriesV_

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

Definition at line 138 of file Sector.h.

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

◆ MP_

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

Definition at line 165 of file Sector.h.

Referenced by addProc(), and executeMP().

◆ PD_

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

Definition at line 167 of file Sector.h.

Referenced by addProc(), and executePD().

◆ phimax_

double trklet::Sector::phimax_
private

Definition at line 135 of file Sector.h.

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

◆ phimin_

double trklet::Sector::phimin_
private

Definition at line 134 of file Sector.h.

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

◆ PR_

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

Definition at line 162 of file Sector.h.

Referenced by addProc(), and executePR().

◆ Processes_

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

Definition at line 154 of file Sector.h.

Referenced by addProcToVec(), and getProc().

◆ settings_

Settings const& trklet::Sector::settings_
private

Definition at line 132 of file Sector.h.

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

◆ SP_

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

Definition at line 143 of file Sector.h.

Referenced by addMem(), and writeSP().

◆ ST_

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

Definition at line 144 of file Sector.h.

Referenced by addMem(), and writeST().

◆ TC_

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

Definition at line 160 of file Sector.h.

Referenced by addProc(), and executeTC().

◆ TCD_

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

Definition at line 161 of file Sector.h.

Referenced by addProc(), and executeTCD().

◆ TE_

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

Definition at line 156 of file Sector.h.

Referenced by addProc(), and executeTE().

◆ TED_

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

Definition at line 157 of file Sector.h.

Referenced by addProc(), and executeTED().

◆ TF_

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

Definition at line 151 of file Sector.h.

Referenced by addMem(), and writeTF().

◆ TP_

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

Definition at line 159 of file Sector.h.

Referenced by addProc(), and executeTP().

◆ TPAR_

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

Definition at line 145 of file Sector.h.

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

◆ TPROJ_

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

Definition at line 146 of file Sector.h.

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

◆ TRE_

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

Definition at line 158 of file Sector.h.

Referenced by addProc(), and executeTRE().

◆ VMPROJ_

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

Definition at line 148 of file Sector.h.

Referenced by addMem(), and writeVMPROJ().

◆ VMR_

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

Definition at line 155 of file Sector.h.

Referenced by addProc(), and executeVMR().

◆ VMSME_

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

Definition at line 142 of file Sector.h.

Referenced by addMem(), and writeVMSME().

◆ VMSTE_

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

Definition at line 141 of file Sector.h.

Referenced by addMem(), and writeVMSTE().

trklet::Sector::VMR_
std::vector< VMRouter * > VMR_
Definition: Sector.h:155
trklet::Sector::phimax_
double phimax_
Definition: Sector.h:135
trklet::ProcessBase::addOutput
virtual void addOutput(MemoryBase *memory, std::string output)=0
trklet::AllStubsMemory
Definition: AllStubsMemory.h:16
PDWG_EXOHSCP_cff.tracks
tracks
Definition: PDWG_EXOHSCP_cff.py:28
trklet::TrackletParametersMemory
Definition: TrackletParametersMemory.h:17
trklet::Sector::Memories_
std::map< std::string, std::unique_ptr< MemoryBase > > Memories_
Definition: Sector.h:137
mps_fire.i
i
Definition: mps_fire.py:428
trklet::VMStubsMEMemory
Definition: VMStubsMEMemory.h:16
input
static const std::string input
Definition: EdmProvDump.cc:48
trklet::StubPairsMemory
Definition: StubPairsMemory.h:13
trklet::TrackletEngineDisplaced
Definition: TrackletEngineDisplaced.h:20
trklet::MatchCalculator
Definition: MatchCalculator.h:21
trklet::Sector::addStub
bool addStub(L1TStub stub, std::string dtc)
Definition: Sector.cc:63
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
trklet::Sector::TP_
std::vector< TrackletProcessor * > TP_
Definition: Sector.h:159
trklet::Globals::ILindex
std::map< std::string, std::vector< int > > & ILindex()
Definition: Globals.h:48
trklet::TrackletProjectionsMemory
Definition: TrackletProjectionsMemory.h:15
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::ME_
std::vector< MatchEngine * > ME_
Definition: Sector.h:163
trklet::MatchProcessor
Definition: MatchProcessor.h:24
trklet::FitTrack
Definition: FitTrack.h:18
trklet::VMStubsTEMemory
Definition: VMStubsTEMemory.h:16
cms::cuda::assert
assert(be >=bs)
trklet::Sector::globals_
Globals * globals_
Definition: Sector.h:133
trklet::Sector::CM_
std::vector< CandidateMatchMemory * > CM_
Definition: Sector.h:149
trklet::Sector::VMPROJ_
std::vector< VMProjectionsMemory * > VMPROJ_
Definition: Sector.h:148
trklet::AllProjectionsMemory
Definition: AllProjectionsMemory.h:14
trklet::Sector::AS_
std::vector< AllStubsMemory * > AS_
Definition: Sector.h:140
trklet::Sector::TE_
std::vector< TrackletEngine * > TE_
Definition: Sector.h:156
createJobs.tmp
tmp
align.sh
Definition: createJobs.py:716
mem
uint16_t mem[nChs][nEvts]
Definition: recycleTccEmu.cc:13
trklet::Sector::ST_
std::vector< StubTripletsMemory * > ST_
Definition: Sector.h:144
dqmdumpme.first
first
Definition: dqmdumpme.py:55
trklet::Sector::MemoriesV_
std::vector< MemoryBase * > MemoriesV_
Definition: Sector.h:138
trklet::ProcessBase::addInput
virtual void addInput(MemoryBase *memory, std::string input)=0
trklet::VMProjectionsMemory
Definition: VMProjectionsMemory.h:14
trklet::Sector::addMemToVec
void addMemToVec(std::vector< TV * > &memvec, TV *mem, const std::string &memName)
Definition: Sector.h:118
trklet::InputLinkMemory
Definition: InputLinkMemory.h:18
trklet::Sector::VMSME_
std::vector< VMStubsMEMemory * > VMSME_
Definition: Sector.h:142
trklet::Settings::dphisectorHG
double dphisectorHG() const
Definition: Settings.h:230
trklet::Stub
Definition: Stub.h:16
trklet::Sector::TED_
std::vector< TrackletEngineDisplaced * > TED_
Definition: Sector.h:157
getName
TString getName(TString structure, int layer, TString geometry)
Definition: DMRtrends.cc:235
trklet::Sector::getProc
ProcessBase * getProc(std::string procName)
Definition: Sector.cc:186
trklet::Sector::settings_
Settings const & settings_
Definition: Sector.h:132
trklet::TrackFitMemory
Definition: TrackFitMemory.h:15
trklet::Sector::TCD_
std::vector< TrackletCalculatorDisplaced * > TCD_
Definition: Sector.h:161
trklet::Sector::VMSTE_
std::vector< VMStubsTEMemory * > VMSTE_
Definition: Sector.h:141
trklet::Sector::TF_
std::vector< TrackFitMemory * > TF_
Definition: Sector.h:151
trklet::PurgeDuplicate
Definition: PurgeDuplicate.h:20
trklet::Sector::addProcToVec
void addProcToVec(std::vector< TV * > &procvec, TV *proc, const std::string &procName)
Definition: Sector.h:125
trklet::Sector::FM_
std::vector< FullMatchMemory * > FM_
Definition: Sector.h:150
trklet::Sector::MC_
std::vector< MatchCalculator * > MC_
Definition: Sector.h:164
trklet::MemoryBase
Definition: MemoryBase.h:13
trklet::CleanTrackMemory
Definition: CleanTrackMemory.h:13
ValidateTausOnZEEFastSim_cff.proc
proc
Definition: ValidateTausOnZEEFastSim_cff.py:6
trklet::MatchEngine
Definition: MatchEngine.h:16
PVValHelper::phi
Definition: PVValidationHelpers.h:68
PVValHelper::add
void add(std::map< std::string, TH1 * > &h, TH1 *hist)
Definition: PVValidationHelpers.cc:12
M_PI
#define M_PI
Definition: BXVectorInputProducer.cc:49
trklet::Sector::TRE_
std::vector< TripletEngine * > TRE_
Definition: Sector.h:158
trklet::Sector::TPROJ_
std::vector< TrackletProjectionsMemory * > TPROJ_
Definition: Sector.h:146
trklet::TrackletEngine
Definition: TrackletEngine.h:17
trklet::Sector::TC_
std::vector< TrackletCalculator * > TC_
Definition: Sector.h:160
trklet::Sector::Processes_
std::map< std::string, std::unique_ptr< ProcessBase > > Processes_
Definition: Sector.h:154
trklet::CandidateMatchMemory
Definition: CandidateMatchMemory.h:17
trklet::Settings::writeMonitorData
bool writeMonitorData(std::string module) const
Definition: Settings.h:86
trklet::TrackletCalculatorDisplaced
Definition: TrackletCalculatorDisplaced.h:20
trklet::ProcessBase
Definition: ProcessBase.h:12
trklet::Globals::ofstream
std::ofstream & ofstream(std::string fname)
Definition: Globals.cc:44
mps_setup.memory
memory
Definition: mps_setup.py:156
Exception
Definition: hltDiff.cc:246
trklet::ProjectionRouter
Definition: ProjectionRouter.h:16
trklet::Sector::CT_
std::vector< CleanTrackMemory * > CT_
Definition: Sector.h:152
trklet::Sector::AP_
std::vector< AllProjectionsMemory * > AP_
Definition: Sector.h:147
trklet::FullMatchMemory
Definition: FullMatchMemory.h:17
trklet::Sector::MP_
std::vector< MatchProcessor * > MP_
Definition: Sector.h:165
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
trklet::Sector::TPAR_
std::vector< TrackletParametersMemory * > TPAR_
Definition: Sector.h:145
trklet::Sector::PD_
std::vector< PurgeDuplicate * > PD_
Definition: Sector.h:167
trklet::Sector::PR_
std::vector< ProjectionRouter * > PR_
Definition: Sector.h:162
beamvalidation.exit
def exit(msg="")
Definition: beamvalidation.py:53
trklet::Sector::IL_
std::vector< InputLinkMemory * > IL_
Definition: Sector.h:139
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
trklet::Sector::getMem
MemoryBase * getMem(std::string memName)
Definition: Sector.cc:196
trklet::Sector::phimin_
double phimin_
Definition: Sector.h:134
trklet::Sector::SP_
std::vector< StubPairsMemory * > SP_
Definition: Sector.h:143
trklet::Sector::FT_
std::vector< FitTrack * > FT_
Definition: Sector.h:166
trklet::TrackletCalculator
Definition: TrackletCalculator.h:18
trklet::VMRouter
Definition: VMRouter.h:35
trklet::L1TStub::phi
double phi() const
Definition: L1TStub.h:62
trklet::StubTripletsMemory
Definition: StubTripletsMemory.h:14
trklet::TrackletProcessor
Definition: TrackletProcessor.h:21
trklet::Sector::isector_
int isector_
Definition: Sector.h:131
trklet::TripletEngine
Definition: TripletEngine.h:18
reco::reduceRange
constexpr T reduceRange(T x)
Definition: deltaPhi.h:18