CMS 3D CMS Logo

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

#include <VMRouter.h>

Inheritance diagram for trklet::VMRouter:
trklet::ProcessBase

Public Member Functions

void addInput (MemoryBase *memory, std::string input) override
 
void addOutput (MemoryBase *memory, std::string output) override
 
void execute ()
 
 VMRouter (std::string name, Settings const &settings, Globals *global)
 
 ~VMRouter () override=default
 
- Public Member Functions inherited from trklet::ProcessBase
unsigned int getISeed (const std::string &name)
 
std::string const & getName () const
 
unsigned int initLayerDisk (unsigned int pos)
 
void initLayerDisk (unsigned int pos, int &layer, int &disk)
 
void initLayerDisk (unsigned int pos, int &layer, int &disk, int &layerdisk)
 
void initLayerDisksandISeed (unsigned int &layerdisk1, unsigned int &layerdisk2, unsigned int &iSeed)
 
unsigned int nbits (unsigned int power)
 
 ProcessBase (std::string name, Settings const &settings, Globals *global)
 
virtual ~ProcessBase ()=default
 

Private Attributes

std::vector< AllStubsMemory * > allstubs_
 
TrackletLUT diskTable_
 
TrackletLUT innerOverlapTable_
 
TrackletLUT innerTable_
 
TrackletLUT innerThirdTable_
 
unsigned int layerdisk_
 
TrackletLUT meTable_
 
int nbitsrfinebintable_
 
int nbitszfinebintable_
 
unsigned int nextrabits_
 
unsigned int overlapbits_
 
std::vector< InputLinkMemory * > stubinputdisk2stmp_
 
std::vector< InputLinkMemory * > stubinputs_
 
std::vector< InputLinkMemory * > stubinputtmp_
 
std::vector< VMStubsMEMemory * > vmstubsMEPHI_
 
std::vector< VMStubsTEPHIvmstubsTEPHI_
 

Additional Inherited Members

- Protected Attributes inherited from trklet::ProcessBase
Globalsglobals_
 
std::string name_
 
Settings const & settings_
 

Detailed Description

Definition at line 35 of file VMRouter.h.

Constructor & Destructor Documentation

◆ VMRouter()

VMRouter::VMRouter ( std::string  name,
Settings const &  settings,
Globals global 
)

Definition at line 16 of file VMRouter.cc.

17  : ProcessBase(name, settings, global),
18  meTable_(settings),
19  diskTable_(settings),
20  innerTable_(settings),
21  innerOverlapTable_(settings),
22  innerThirdTable_(settings) {
24 
25  vmstubsMEPHI_.resize(settings_.nvmme(layerdisk_), nullptr);
26 
27  unsigned int region = name[9] - 'A';
29 
30  overlapbits_ = 7;
32 
33  meTable_.initVMRTable(layerdisk_, TrackletLUT::VMRTableType::me, region); //used for ME and outer TE barrel
34 
36  diskTable_.initVMRTable(layerdisk_, TrackletLUT::VMRTableType::disk, region); //outer disk used by D1, D2, and D4
37  }
38 
42  }
43 
46  layerdisk_, TrackletLUT::VMRTableType::inneroverlap, region); //projection to disk from layer
47  }
48 
52  layerdisk_, TrackletLUT::VMRTableType::innerthird, region); //projection to third layer/disk
53  }
54 
57 }

References cms::cuda::assert(), trklet::D3, trklet::D4, diskTable_, trklet::ProcessBase::initLayerDisk(), trklet::TrackletLUT::initVMRTable(), SurfaceOrientation::inner, innerOverlapTable_, innerTable_, innerThirdTable_, PixelRegions::L1, PixelRegions::L2, PixelRegions::L3, trklet::L5, layerdisk_, hlt_dqm_clientPB-live_cfg::me, meTable_, trklet::Settings::nallstubs(), Skims_PA_cff::name, trklet::Settings::nbitsallstubs(), nbitsrfinebintable_, trklet::Settings::nbitsvmme(), nbitszfinebintable_, nextrabits_, trklet::Settings::nvmme(), overlapbits_, HLT_FULL_cff::region, trklet::ProcessBase::settings_, trklet::Settings::vmrlutrbits(), trklet::Settings::vmrlutzbits(), and vmstubsMEPHI_.

◆ ~VMRouter()

trklet::VMRouter::~VMRouter ( )
overridedefault

Member Function Documentation

◆ addInput()

void VMRouter::addInput ( MemoryBase memory,
std::string  input 
)
overridevirtual

Implements trklet::ProcessBase.

Definition at line 160 of file VMRouter.cc.

160  {
161  if (settings_.writetrace()) {
162  edm::LogVerbatim("Tracklet") << "In " << name_ << " adding input from " << memory->getName() << " to input "
163  << input;
164  }
165  if (input == "stubin") {
166  InputLinkMemory* tmp1 = dynamic_cast<InputLinkMemory*>(memory);
167  assert(tmp1 != nullptr);
168  if (tmp1 != nullptr) {
169  if (layerdisk_ >= N_LAYER && tmp1->getName().find("2S_") != string::npos) {
170  stubinputdisk2stmp_.push_back(tmp1);
171  } else {
172  stubinputtmp_.push_back(tmp1);
173  }
174  }
175  //This gymnastic is done to ensure that in the disks the PS stubs are processed before
176  //the 2S stubs. This is needed by the current HLS implemenation of the VM router.
178  for (auto& mem : stubinputdisk2stmp_) {
179  stubinputs_.push_back(mem);
180  }
181  return;
182  }
183  throw cms::Exception("BadConfig") << __FILE__ << " " << __LINE__ << " Could not find input : " << input;
184 }

References cms::cuda::assert(), Exception, trklet::MemoryBase::getName(), input, layerdisk_, mem, trklet::N_LAYER, trklet::ProcessBase::name_, trklet::ProcessBase::settings_, stubinputdisk2stmp_, stubinputs_, stubinputtmp_, and trklet::Settings::writetrace().

◆ addOutput()

void VMRouter::addOutput ( MemoryBase memory,
std::string  output 
)
overridevirtual

Implements trklet::ProcessBase.

Definition at line 59 of file VMRouter.cc.

59  {
60  if (settings_.writetrace()) {
61  edm::LogVerbatim("Tracklet") << "In " << name_ << " adding output to " << memory->getName() << " to output "
62  << output;
63  }
64 
65  if (output.substr(0, 10) == "allstubout") {
66  AllStubsMemory* tmp = dynamic_cast<AllStubsMemory*>(memory);
67  assert(tmp != nullptr);
68  allstubs_.push_back(tmp);
69  return;
70  }
71 
72  if (output.substr(0, 12) == "vmstuboutPHI" || output.substr(0, 14) == "vmstuboutMEPHI" ||
73  output.substr(0, 15) == "vmstuboutTEIPHI" || output.substr(0, 15) == "vmstuboutTEOPHI") {
74  char seedtype = memory->getName().substr(11, 1)[0];
75  unsigned int pos = 12;
76  int vmbin = memory->getName().substr(pos, 1)[0] - '0';
77  pos++;
78  if (pos < memory->getName().size()) {
79  if (memory->getName().substr(pos, 1)[0] != 'n') {
80  vmbin = vmbin * 10 + memory->getName().substr(pos, 1)[0] - '0';
81  pos++;
82  }
83  }
84 
85  int iseed = -1;
86  unsigned int inner = 1;
87  if (memory->getName().substr(3, 2) == "TE") {
88  VMStubsTEMemory* tmp = dynamic_cast<VMStubsTEMemory*>(memory);
89  assert(tmp != nullptr);
90  if (seedtype < 'I') {
92  iseed = Seed::L1L2;
94  iseed = Seed::L3L4;
96  iseed = Seed::L5L6;
98  iseed = Seed::D1D2;
100  iseed = Seed::D3D4;
103  inner = 0;
104  } else if (seedtype < 'M') {
106  iseed = Seed::L2L3;
107  if (layerdisk_ == LayerDisk::L2)
108  inner = 0;
109  } else if (seedtype <= 'Z') {
111  iseed = Seed::L1D1;
113  iseed = Seed::L2D1;
115  inner = 0;
116  } else if (seedtype < 'o' && seedtype >= 'a') {
119  if (layerdisk_ == LayerDisk::L2)
120  inner = 0;
121  } else if (seedtype > 'o' && seedtype <= 'z') {
122  if (layerdisk_ == LayerDisk::L2)
124  if (layerdisk_ == LayerDisk::D1)
126  inner = 2;
127  } else {
128  throw cms::Exception("LogicError") << __FILE__ << " " << __LINE__ << " Invalid seeding!";
129  }
130  assert(iseed != -1);
131  int seedindex = -1;
132  for (unsigned int k = 0; k < vmstubsTEPHI_.size(); k++) {
133  if (vmstubsTEPHI_[k].seednumber == (unsigned int)iseed) {
134  seedindex = k;
135  }
136  }
137  if (seedindex == -1) {
138  seedindex = vmstubsTEPHI_.size();
139  vector<VMStubsTEMemory*> avectmp;
140  vector<vector<VMStubsTEMemory*> > vectmp(settings_.nvmte(inner, iseed), avectmp);
141  VMStubsTEPHI atmp(iseed, inner, vectmp);
142  vmstubsTEPHI_.push_back(atmp);
143  }
144  vmstubsTEPHI_[seedindex].vmstubmem[(vmbin - 1) & (settings_.nvmte(inner, iseed) - 1)].push_back(tmp);
145 
146  } else if (memory->getName().substr(3, 2) == "ME") {
147  VMStubsMEMemory* tmp = dynamic_cast<VMStubsMEMemory*>(memory);
148  assert(tmp != nullptr);
149  vmstubsMEPHI_[(vmbin - 1) & (settings_.nvmme(layerdisk_) - 1)] = tmp;
150  } else {
151  throw cms::Exception("LogicError") << __FILE__ << " " << __LINE__ << " should never get here!";
152  }
153 
154  return;
155  }
156 
157  throw cms::Exception("BadConfig") << __FILE__ << " " << __LINE__ << " Could not find output : " << output;
158 }

References allstubs_, cms::cuda::assert(), trklet::D1D2, trklet::D1D2L2, trklet::D3, trklet::D3D4, trklet::D4, Exception, trklet::ProcessBase::getName(), SurfaceOrientation::inner, iseed, dqmdumpme::k, PixelRegions::L1, trklet::L1D1, trklet::L1L2, PixelRegions::L2, trklet::L2D1, trklet::L2L3, trklet::L2L3D1, PixelRegions::L3, trklet::L3L4, PixelRegions::L4, trklet::L5, trklet::L5L6, trklet::L6, layerdisk_, trklet::ProcessBase::name_, trklet::Settings::nvmme(), trklet::Settings::nvmte(), convertSQLitetoXML_cfg::output, trklet::ProcessBase::settings_, findQualityFiles::size, createJobs::tmp, vmstubsMEPHI_, vmstubsTEPHI_, and trklet::Settings::writetrace().

◆ execute()

void VMRouter::execute ( void  )

Definition at line 186 of file VMRouter.cc.

186  {
187  unsigned int allStubCounter = 0;
188 
189  //Loop over the input stubs
190  for (auto& stubinput : stubinputs_) {
191  for (unsigned int i = 0; i < stubinput->nStubs(); i++) {
192  if (allStubCounter >= settings_.maxStep("VMR"))
193  continue;
194  if (allStubCounter >= (1 << N_BITSMEMADDRESS))
195  continue;
196  Stub* stub = stubinput->getStub(i);
197 
198  //Note - below information is not part of the stub, but rather from which input memory we are reading
199  bool negdisk = (stub->disk().value() < 0);
200 
201  //use &127 to make sure we fit into the number of bits -
202  //though we should have protected against overflows above
203  FPGAWord allStubIndex(allStubCounter & ((1 << N_BITSMEMADDRESS) - 1), N_BITSMEMADDRESS, true, __LINE__, __FILE__);
204 
205  //TODO - should not be needed - but need to migrate some other pieces of code before removing
206  stub->setAllStubIndex(allStubCounter);
207  //TODO - should not be needed - but need to migrate some other pieces of code before removing
208  stub->l1tstub()->setAllStubIndex(allStubCounter);
209 
210  allStubCounter++;
211 
212  //Fill allstubs memories - in HLS this is the same write to multiple memories
213  for (auto& allstub : allstubs_) {
214  allstub->addStub(stub);
215  }
216 
217  //Fill all the ME VM memories
218 
219  FPGAWord iphi = stub->phicorr();
220  unsigned int ivm =
223  unsigned int extrabits = iphi.bits(iphi.nbits() - overlapbits_, nextrabits_);
224 
225  unsigned int ivmPlus = ivm;
226 
227  if (extrabits == ((1U << nextrabits_) - 1) && ivm != ((1U << settings_.nbitsvmme(layerdisk_)) - 1))
228  ivmPlus++;
229  unsigned int ivmMinus = ivm;
230  if (extrabits == 0 && ivm != 0)
231  ivmMinus--;
232 
233  //Calculate the z and r position for the vmstub
234 
235  //Take the top nbitszfinebintable_ bits of the z coordinate
236  int indexz = (((1 << (stub->z().nbits() - 1)) + stub->z().value()) >> (stub->z().nbits() - nbitszfinebintable_));
237  int indexr = -1;
238  if (layerdisk_ > (N_LAYER - 1)) {
239  if (negdisk) {
240  indexz = (1 << nbitszfinebintable_) - indexz;
241  }
242  indexr = stub->r().value();
243  if (stub->isPSmodule()) {
244  indexr = stub->r().value() >> (stub->r().nbits() - nbitsrfinebintable_);
245  }
246  } else {
247  //Take the top nbitsfinebintable_ bits of the z coordinate. The & is to handle the negative z values.
248  indexr = (((1 << (stub->r().nbits() - 1)) + stub->r().value()) >> (stub->r().nbits() - nbitsrfinebintable_));
249  }
250 
251  assert(indexz >= 0);
252  assert(indexr >= 0);
253  assert(indexz < (1 << nbitszfinebintable_));
254  assert(indexr < (1 << nbitsrfinebintable_));
255 
256  int melut = meTable_.lookup((indexz << nbitsrfinebintable_) + indexr);
257  assert(melut >= 0);
258 
259  int vmbin = melut >> 3;
260  if (negdisk)
261  vmbin += 8;
262  int rzfine = melut & 7;
263 
264  // pad disk PS bend word with a '0' in MSB so that all disk bends have 4 bits (for HLS compatibility)
265  int nbendbits = stub->bend().nbits();
266  if (layerdisk_ >= N_LAYER)
267  nbendbits = settings_.nbendbitsmedisk();
268 
269  VMStubME vmstub(stub,
271  FPGAWord(rzfine, 3, true, __LINE__, __FILE__),
272  FPGAWord(stub->bend().value(), nbendbits, true, __LINE__, __FILE__),
273  allStubIndex);
274 
275  assert(vmstubsMEPHI_[ivmPlus] != nullptr);
276  vmstubsMEPHI_[ivmPlus]->addStub(vmstub, vmbin);
277  if (settings_.debugTracklet()) {
278  edm::LogVerbatim("Tracklet") << getName() << " adding stub to " << vmstubsMEPHI_[ivmPlus]->getName()
279  << " ivmPlus" << ivmPlus << " bin=" << vmbin;
280  }
281 
282  if (ivmMinus != ivmPlus) {
283  assert(vmstubsMEPHI_[ivmMinus] != nullptr);
284  vmstubsMEPHI_[ivmMinus]->addStub(vmstub, vmbin);
285  if (settings_.debugTracklet()) {
286  edm::LogVerbatim("Tracklet") << getName() << " adding stub to " << vmstubsMEPHI_[ivmMinus]->getName()
287  << " ivmMinus" << ivmMinus << " bin=" << vmbin;
288  }
289  }
290 
291  //Fill the TE VM memories
292 
293  for (auto& ivmstubTEPHI : vmstubsTEPHI_) {
294  unsigned int iseed = ivmstubTEPHI.seednumber;
295  unsigned int inner = ivmstubTEPHI.stubposition;
296  if ((iseed == Seed::D1D2 || iseed == Seed::D3D4 || iseed == Seed::L1D1 || iseed == Seed::L2D1) &&
297  (!stub->isPSmodule()))
298  continue;
299 
300  unsigned int lutwidth = settings_.lutwidthtab(inner, iseed);
301  if (settings_.extended()) {
303  }
304 
305  int lutval = -999;
306 
307  if (inner > 0) {
308  if (layerdisk_ < N_LAYER) {
309  lutval = melut;
310  } else {
311  if (inner == 2 && iseed == Seed::L2L3D1) {
312  lutval = 0;
313  if (stub->r().value() < 10) {
314  lutval = 8 * (1 + (stub->r().value() >> 2));
315  } else {
316  if (stub->r().value() < settings_.rmindiskl3overlapvm() / settings_.kr()) {
317  lutval = -1;
318  }
319  }
320  } else {
321  lutval = diskTable_.lookup((indexz << nbitsrfinebintable_) + indexr);
322  }
323  }
324  if (lutval == -1)
325  continue;
326  } else {
327  if (iseed < Seed::L1D1 || iseed > Seed::L2D1) {
328  lutval = innerTable_.lookup((indexz << nbitsrfinebintable_) + indexr);
329  } else {
330  lutval = innerOverlapTable_.lookup((indexz << nbitsrfinebintable_) + indexr);
331  }
332  if (lutval == -1)
333  continue;
334  if (settings_.extended() &&
336  int lutval2 = innerThirdTable_.lookup((indexz << nbitsrfinebintable_) + indexr);
337  if (lutval2 != -1)
338  lutval += (lutval2 << 10);
339  }
340  }
341 
342  assert(lutval >= 0);
343 
344  FPGAWord binlookup(lutval, lutwidth, true, __LINE__, __FILE__);
345 
346  if (binlookup.value() < 0)
347  continue;
348 
349  unsigned int ivmte =
352 
353  int bin = -1;
354  if (inner != 0) {
355  bin = binlookup.value() / 8;
356  unsigned int tmp = binlookup.value() & 7; //three bits in outer layers - this could be coded cleaner...
357  binlookup.set(tmp, 3, true, __LINE__, __FILE__);
358  }
359 
361 
362  VMStubTE tmpstub(stub, finephi, stub->bend(), binlookup, allStubIndex);
363 
364  unsigned int nmem = ivmstubTEPHI.vmstubmem[ivmte].size();
365 
366  assert(nmem > 0);
367 
368  for (unsigned int l = 0; l < nmem; l++) {
369  if (settings_.debugTracklet()) {
370  edm::LogVerbatim("Tracklet") << getName() << " try adding stub to "
371  << ivmstubTEPHI.vmstubmem[ivmte][l]->getName() << " inner=" << inner
372  << " bin=" << bin;
373  }
374  if (inner == 0) {
375  ivmstubTEPHI.vmstubmem[ivmte][l]->addVMStub(tmpstub);
376  } else {
377  ivmstubTEPHI.vmstubmem[ivmte][l]->addVMStub(tmpstub, bin);
378  }
379  }
380  }
381  }
382  }
383 }

References allstubs_, cms::cuda::assert(), trklet::Stub::bend(), newFWLiteAna::bin, trklet::D1D2, trklet::D3D4, trklet::Settings::debugTracklet(), trklet::Stub::disk(), diskTable_, trklet::Settings::extended(), trklet::ProcessBase::getName(), mps_fire::i, SurfaceOrientation::inner, innerOverlapTable_, innerTable_, innerThirdTable_, LEDCalibrationChannels::iphi, trklet::Stub::iphivmFineBins(), iseed, trklet::Stub::isPSmodule(), trklet::Settings::kr(), cmsLHEtoEOSManager::l, trklet::L1D1, trklet::Stub::l1tstub(), trklet::L2D1, trklet::L2L3D1, trklet::L3L4, trklet::L5L6, layerdisk_, trklet::TrackletLUT::lookup(), trklet::Settings::lutwidthtab(), trklet::Settings::lutwidthtabextended(), trklet::Settings::maxStep(), meTable_, trklet::N_BITSMEMADDRESS, trklet::N_LAYER, trklet::Settings::nbendbitsmedisk(), trklet::FPGAWord::nbits(), trklet::Settings::nbitsallstubs(), nbitsrfinebintable_, trklet::Settings::nbitsvmme(), trklet::Settings::nbitsvmte(), nbitszfinebintable_, nextrabits_, trklet::Settings::nfinephi(), trklet::Settings::nphireg(), overlapbits_, trklet::Stub::phicorr(), trklet::Stub::r(), trklet::Settings::rmindiskl3overlapvm(), trklet::FPGAWord::set(), trklet::Stub::setAllStubIndex(), trklet::L1TStub::setAllStubIndex(), trklet::ProcessBase::settings_, stubinputs_, createJobs::tmp, mitigatedMETSequence_cff::U, trklet::FPGAWord::value(), vmstubsMEPHI_, vmstubsTEPHI_, and trklet::Stub::z().

Member Data Documentation

◆ allstubs_

std::vector<AllStubsMemory*> trklet::VMRouter::allstubs_
private

Definition at line 68 of file VMRouter.h.

Referenced by addOutput(), and execute().

◆ diskTable_

TrackletLUT trklet::VMRouter::diskTable_
private

Definition at line 59 of file VMRouter.h.

Referenced by execute(), and VMRouter().

◆ innerOverlapTable_

TrackletLUT trklet::VMRouter::innerOverlapTable_
private

Definition at line 61 of file VMRouter.h.

Referenced by execute(), and VMRouter().

◆ innerTable_

TrackletLUT trklet::VMRouter::innerTable_
private

Definition at line 60 of file VMRouter.h.

Referenced by execute(), and VMRouter().

◆ innerThirdTable_

TrackletLUT trklet::VMRouter::innerThirdTable_
private

Definition at line 62 of file VMRouter.h.

Referenced by execute(), and VMRouter().

◆ layerdisk_

unsigned int trklet::VMRouter::layerdisk_
private

Definition at line 48 of file VMRouter.h.

Referenced by addInput(), addOutput(), execute(), and VMRouter().

◆ meTable_

TrackletLUT trklet::VMRouter::meTable_
private

Definition at line 58 of file VMRouter.h.

Referenced by execute(), and VMRouter().

◆ nbitsrfinebintable_

int trklet::VMRouter::nbitsrfinebintable_
private

Definition at line 56 of file VMRouter.h.

Referenced by execute(), and VMRouter().

◆ nbitszfinebintable_

int trklet::VMRouter::nbitszfinebintable_
private

Definition at line 55 of file VMRouter.h.

Referenced by execute(), and VMRouter().

◆ nextrabits_

unsigned int trklet::VMRouter::nextrabits_
private

Definition at line 53 of file VMRouter.h.

Referenced by execute(), and VMRouter().

◆ overlapbits_

unsigned int trklet::VMRouter::overlapbits_
private

Definition at line 52 of file VMRouter.h.

Referenced by execute(), and VMRouter().

◆ stubinputdisk2stmp_

std::vector<InputLinkMemory*> trklet::VMRouter::stubinputdisk2stmp_
private

Definition at line 65 of file VMRouter.h.

Referenced by addInput().

◆ stubinputs_

std::vector<InputLinkMemory*> trklet::VMRouter::stubinputs_
private

Definition at line 65 of file VMRouter.h.

Referenced by addInput(), and execute().

◆ stubinputtmp_

std::vector<InputLinkMemory*> trklet::VMRouter::stubinputtmp_
private

Definition at line 65 of file VMRouter.h.

Referenced by addInput().

◆ vmstubsMEPHI_

std::vector<VMStubsMEMemory*> trklet::VMRouter::vmstubsMEPHI_
private

Definition at line 71 of file VMRouter.h.

Referenced by addOutput(), execute(), and VMRouter().

◆ vmstubsTEPHI_

std::vector<VMStubsTEPHI> trklet::VMRouter::vmstubsTEPHI_
private

Definition at line 74 of file VMRouter.h.

Referenced by addOutput(), and execute().

PixelRegions::L3
Definition: PixelRegionContainers.h:32
trklet::VMRouter::innerTable_
TrackletLUT innerTable_
Definition: VMRouter.h:60
trklet::ProcessBase::ProcessBase
ProcessBase(std::string name, Settings const &settings, Globals *global)
Definition: ProcessBase.cc:14
trklet::VMRouter::nextrabits_
unsigned int nextrabits_
Definition: VMRouter.h:53
PixelRegions::L1
Definition: PixelRegionContainers.h:32
trklet::AllStubsMemory
Definition: AllStubsMemory.h:16
funct::D1
Divides< A, C > D1
Definition: Factorize.h:136
mps_fire.i
i
Definition: mps_fire.py:428
PixelRegions::L2
Definition: PixelRegionContainers.h:32
trklet::Settings::writetrace
bool writetrace() const
Definition: Settings.h:183
trklet::VMStubsMEMemory
Definition: VMStubsMEMemory.h:16
input
static const std::string input
Definition: EdmProvDump.cc:48
trklet::TrackletLUT::lookup
int lookup(unsigned int index) const
Definition: TrackletLUT.cc:900
trklet::VMStubTE
Definition: VMStubTE.h:15
trklet::VMRouter::diskTable_
TrackletLUT diskTable_
Definition: VMRouter.h:59
trklet::L2L3
Definition: Settings.h:49
funct::D2
Divides< B, C > D2
Definition: Factorize.h:137
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
trklet::VMRouter::innerOverlapTable_
TrackletLUT innerOverlapTable_
Definition: VMRouter.h:61
trklet::Stub::bend
const FPGAWord & bend() const
Definition: Stub.h:58
memory
Definition: HGCRecHitSoA.h:20
pos
Definition: PixelAliasList.h:18
trklet::Settings::vmrlutrbits
unsigned int vmrlutrbits(unsigned int layerdisk) const
Definition: Settings.h:179
trklet::VMRouter::stubinputdisk2stmp_
std::vector< InputLinkMemory * > stubinputdisk2stmp_
Definition: VMRouter.h:65
trklet::Settings::nbitsallstubs
unsigned int nbitsallstubs(unsigned int layerdisk) const
Definition: Settings.h:106
trklet::VMStubsTEMemory
Definition: VMStubsTEMemory.h:18
cms::cuda::assert
assert(be >=bs)
trklet::TrackletLUT::initVMRTable
void initVMRTable(unsigned int layerdisk, VMRTableType type, int region=-1)
Definition: TrackletLUT.cc:490
trklet::L5L6
Definition: Settings.h:49
trklet::Settings::lutwidthtab
double lutwidthtab(unsigned int inner, unsigned int iSeed) const
Definition: Settings.h:140
trklet::ProcessBase::settings_
Settings const & settings_
Definition: ProcessBase.h:40
trklet::FPGAWord::nbits
int nbits() const
Definition: FPGAWord.h:25
createJobs.tmp
tmp
align.sh
Definition: createJobs.py:716
mem
uint16_t mem[nChs][nEvts]
Definition: recycleTccEmu.cc:13
trklet::L3L4
Definition: Settings.h:49
trklet::Stub::r
const FPGAWord & r() const
Definition: Stub.h:60
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
trklet::D3
Definition: Settings.h:50
trklet::L6
Definition: Settings.h:50
trklet::InputLinkMemory
Definition: InputLinkMemory.h:16
trklet::Stub::disk
const FPGAWord & disk() const
Definition: Stub.h:68
trklet::Stub::iphivmFineBins
FPGAWord iphivmFineBins(int VMbits, int finebits) const
Definition: Stub.cc:107
trklet::Stub::z
const FPGAWord & z() const
Definition: Stub.h:61
trklet::MemoryBase::getName
std::string const & getName() const
Definition: MemoryBase.h:19
trklet::Settings::lutwidthtabextended
double lutwidthtabextended(unsigned int inner, unsigned int iSeed) const
Definition: Settings.h:141
trklet::VMRouter::overlapbits_
unsigned int overlapbits_
Definition: VMRouter.h:52
trklet::L1D1
Definition: Settings.h:49
trklet::Stub
Definition: Stub.h:18
SurfaceOrientation::inner
Definition: Surface.h:19
trklet::Settings::nbitsvmme
unsigned int nbitsvmme(unsigned int layerdisk) const
Definition: Settings.h:103
trklet::N_LAYER
constexpr int N_LAYER
Definition: Settings.h:21
trklet::L2L3D1
Definition: Settings.h:49
trklet::VMRouter::vmstubsTEPHI_
std::vector< VMStubsTEPHI > vmstubsTEPHI_
Definition: VMRouter.h:74
trklet::VMRouter::layerdisk_
unsigned int layerdisk_
Definition: VMRouter.h:48
dqmdumpme.k
k
Definition: dqmdumpme.py:60
trklet::VMRouter::allstubs_
std::vector< AllStubsMemory * > allstubs_
Definition: VMRouter.h:68
trklet::VMRouter::nbitsrfinebintable_
int nbitsrfinebintable_
Definition: VMRouter.h:56
trklet::FPGAWord
Definition: FPGAWord.h:9
mitigatedMETSequence_cff.U
U
Definition: mitigatedMETSequence_cff.py:36
trklet::ProcessBase::initLayerDisk
void initLayerDisk(unsigned int pos, int &layer, int &disk)
Definition: ProcessBase.cc:33
trklet::D1D2L2
Definition: Settings.h:49
trklet::Settings::kr
double kr() const
Definition: Settings.h:304
trklet::VMRouter::stubinputtmp_
std::vector< InputLinkMemory * > stubinputtmp_
Definition: VMRouter.h:65
trklet::VMRouter::stubinputs_
std::vector< InputLinkMemory * > stubinputs_
Definition: VMRouter.h:65
trklet::Settings::nfinephi
int nfinephi(unsigned int inner, unsigned int iSeed) const
Definition: Settings.h:133
iseed
int iseed
Definition: AMPTWrapper.h:134
trklet::L2D1
Definition: Settings.h:49
trklet::L1L2
Definition: Settings.h:49
trklet::Settings::extended
bool extended() const
Definition: Settings.h:248
trklet::Settings::nvmme
unsigned int nvmme(unsigned int layerdisk) const
Definition: Settings.h:104
HLT_FULL_cff.region
region
Definition: HLT_FULL_cff.py:88286
trklet::Settings::rmindiskl3overlapvm
double rmindiskl3overlapvm() const
Definition: Settings.h:320
PixelRegions::L4
Definition: PixelRegionContainers.h:32
trklet::VMRouter::innerThirdTable_
TrackletLUT innerThirdTable_
Definition: VMRouter.h:62
trklet::D1D2
Definition: Settings.h:49
trklet::Settings::nphireg
double nphireg(unsigned int inner, unsigned int iSeed) const
Definition: Settings.h:134
trklet::VMRouter::meTable_
TrackletLUT meTable_
Definition: VMRouter.h:58
trklet::Stub::setAllStubIndex
void setAllStubIndex(int nstub)
Definition: Stub.cc:123
trklet::FPGAWord::value
int value() const
Definition: FPGAWord.h:24
trklet::VMRouter::nbitszfinebintable_
int nbitszfinebintable_
Definition: VMRouter.h:55
trklet::D3D4
Definition: Settings.h:49
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:204
trklet::N_BITSMEMADDRESS
constexpr unsigned int N_BITSMEMADDRESS
Definition: Settings.h:39
newFWLiteAna.bin
bin
Definition: newFWLiteAna.py:161
trklet::Settings::nbitsvmte
unsigned int nbitsvmte(unsigned int inner, unsigned int iSeed) const
Definition: Settings.h:95
trklet::Stub::phicorr
const FPGAWord & phicorr() const
Definition: Stub.h:63
trklet::Stub::l1tstub
L1TStub * l1tstub()
Definition: Stub.h:77
trklet::Settings::vmrlutzbits
unsigned int vmrlutzbits(unsigned int layerdisk) const
Definition: Settings.h:178
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
Exception
Definition: hltDiff.cc:245
trklet::ProcessBase::getName
std::string const & getName() const
Definition: ProcessBase.h:22
trklet::Settings::nvmte
unsigned int nvmte(unsigned int inner, unsigned int iSeed) const
Definition: Settings.h:101
trklet::ProcessBase::name_
std::string name_
Definition: ProcessBase.h:38
trklet::Settings::nallstubs
unsigned int nallstubs(unsigned int layerdisk) const
Definition: Settings.h:107
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
trklet::Settings::debugTracklet
bool debugTracklet() const
Definition: Settings.h:182
trklet::VMRouter::vmstubsMEPHI_
std::vector< VMStubsMEMemory * > vmstubsMEPHI_
Definition: VMRouter.h:71
trklet::Stub::isPSmodule
bool isPSmodule() const
Definition: Stub.h:71
trklet::Settings::maxStep
unsigned int maxStep(std::string module) const
Definition: Settings.h:116
trklet::L5
Definition: Settings.h:50
hlt_dqm_clientPB-live_cfg.me
me
Definition: hlt_dqm_clientPB-live_cfg.py:61
trklet::L1TStub::setAllStubIndex
void setAllStubIndex(unsigned int index)
Definition: L1TStub.h:81
trklet::D4
Definition: Settings.h:50
trklet::VMStubME
Definition: VMStubME.h:15
trklet::VMStubsTEPHI
Definition: VMRouter.h:23
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443
trklet::Settings::nbendbitsmedisk
unsigned int nbendbitsmedisk() const
Definition: Settings.h:92