12 using namespace trklet;
15 :
ProcessBase(name, settings, global), rinvbendlut_(settings) {
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);
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
const FPGAWord & fpgaphiproj() const
const FPGAWord & fpgaphiprojder() const
void initProjectionBend(double k_phider, unsigned int idisk, unsigned int nrbits, unsigned int nphiderbits)
unsigned int nvmme(unsigned int layerdisk) 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_
bool debugTracklet() const
void addTracklet(Tracklet *tracklet)
static std::string const input
AllProjectionsMemory * allproj_
std::string const & getName() const
std::string const & getName() const
const FPGAWord & fpgarzprojder() const
VarAdjustK der_phiD_final
unsigned int bits(unsigned int lsb, unsigned int nbit) const
IMATH_TrackletCalculator * ITC_L1L2()
unsigned int nallstubs(unsigned int layerdisk) const
unsigned int maxStep(std::string module) const
Log< level::Warning, true > LogPrint
void initLayerDisk(unsigned int pos, int &layer, int &disk)
unsigned int nTracklets() const
int lookup(unsigned int index) const
unsigned int nbitsallstubs(unsigned int layerdisk) const
const FPGAWord & fpgarzproj() const
void addInput(MemoryBase *memory, std::string input) override
std::ofstream & ofstream(std::string fname)
void setBendIndex(int bendindex)
unsigned int nbitsvmme(unsigned int layerdisk) const
std::vector< TrackletProjectionsMemory * > inputproj_
bool writeMonitorData(std::string module) const