|
![CMS Logo](/cmsdoxygen/common/rightImage.jpg) |
Go to the documentation of this file.
34 if (
output ==
"allprojout") {
35 auto*
tmp = dynamic_cast<AllProjectionsMemory*>(
memory);
44 for (
unsigned int iproj = 0; iproj < nproj; iproj++) {
45 for (
unsigned int iprojvm = 0; iprojvm < nprojvm; iprojvm++) {
47 name += char(iproj +
'A');
48 name += std::to_string(iproj * nprojvm + iprojvm + 1);
50 auto*
tmp = dynamic_cast<VMProjectionsMemory*>(
memory);
58 throw cms::Exception(
"BadConfig") << __FILE__ <<
" " << __LINE__ <<
" could not find output: " <<
output;
66 if (
input.substr(0, 4) ==
"proj" &&
input.substr(
input.size() - 2, 2) ==
"in") {
67 auto*
tmp = dynamic_cast<TrackletProjectionsMemory*>(
memory);
72 throw cms::Exception(
"BadConfig") << __FILE__ <<
" " << __LINE__ <<
" could not find input: " <<
input;
76 unsigned int allprojcount = 0;
83 for (
unsigned int i = 0;
i < iproj->nTracklets();
i++) {
87 Tracklet* tracklet = iproj->getTracklet(
i);
95 fpgaphi =
proj.fpgaphiproj();
104 int phiderindex = (
proj.fpgaphiprojder().value() >> (
proj.fpgaphiprojder().nbits() -
nphiderbits_)) &
107 int signindex = (
proj.fpgarzprojder().value() < 0);
113 proj.setBendIndex(ibendproj);
116 unsigned int iphivm =
121 if (lastTCID >= tracklet->
TCID()) {
124 lastTCID = tracklet->
TCID();
129 vmprojs_[iphivm]->addTracklet(tracklet, allprojcount);
146 for (
unsigned int i = 0;
i < 8;
i++) {
static const std::string input
int lookup(unsigned int index) const
void initProjectionBend(double k_phider, unsigned int idisk, unsigned int nrbits, unsigned int nphiderbits)
void addTracklet(Tracklet *tracklet)
Log< level::Warning, true > LogPrint
unsigned int nbitsallstubs(unsigned int layerdisk) const
Settings const & settings_
const FPGAWord & fpgaphiproj() const
unsigned int nTracklets() const
Projection & proj(int layerdisk)
void addInput(MemoryBase *memory, std::string input) override
std::vector< TrackletProjectionsMemory * > inputproj_
unsigned int bits(unsigned int lsb, unsigned int nbit) const
void addOutput(MemoryBase *memory, std::string output) override
unsigned int nbitsvmme(unsigned int layerdisk) const
VarAdjustK der_phiD_final
void initLayerDisk(unsigned int pos, int &layer, int &disk)
IMATH_TrackletCalculator * ITC_L1L2()
unsigned int nvmme(unsigned int layerdisk) const
AllProjectionsMemory * allproj_
bool writeMonitorData(std::string module) const
std::ofstream & ofstream(std::string fname)
Log< level::Info, true > LogVerbatim
std::string const & getName() const
std::vector< VMProjectionsMemory * > vmprojs_
unsigned int nallstubs(unsigned int layerdisk) const
bool debugTracklet() const
unsigned int maxStep(std::string module) const