34 if (
output ==
"allprojout") {
44 for (
unsigned int iproj = 0; iproj < nproj; iproj++) {
45 for (
unsigned int iprojvm = 0; iprojvm < nprojvm; iprojvm++) {
47 name += char(iproj +
'A');
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") {
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++) {
Log< level::Info, true > LogVerbatim
unsigned int maxStep(std::string module) const
void initProjectionBend(double k_phider, unsigned int idisk, unsigned int nrbits, unsigned int nphiderbits)
unsigned int nTracklets() const
Projection & proj(int layerdisk)
Settings const & settings_
void addOutput(MemoryBase *memory, std::string output) override
std::string to_string(const V &value)
std::vector< VMProjectionsMemory * > vmprojs_
int lookup(unsigned int index) const
void addTracklet(Tracklet *tracklet)
const FPGAWord & fpgaphiproj() const
static std::string const input
AllProjectionsMemory * allproj_
unsigned int nbitsallstubs(unsigned int layerdisk) const
VarAdjustK der_phiD_final
IMATH_TrackletCalculator * ITC_L1L2()
unsigned int nbitsvmme(unsigned int layerdisk) const
bool writeMonitorData(std::string module) const
Log< level::Warning, true > LogPrint
void initLayerDisk(unsigned int pos, int &layer, int &disk)
unsigned int nallstubs(unsigned int layerdisk) const
bool debugTracklet() const
void addInput(MemoryBase *memory, std::string input) override
unsigned int nvmme(unsigned int layerdisk) const
std::ofstream & ofstream(std::string fname)
std::vector< TrackletProjectionsMemory * > inputproj_
unsigned int bits(unsigned int lsb, unsigned int nbit) const
std::string const & getName() const