13 using namespace trklet;
24 if (output ==
"stubout") {
27 unsigned int layerdisk = tmp->
getName()[4] -
'1';
32 unsigned int phireg = tmp->
getName()[8] -
'A';
33 std::pair<unsigned int, unsigned int> layerphireg(layerdisk, phireg);
34 irstubs_.emplace_back(layerphireg, tmp);
38 throw cms::Exception(
"BadConfig") << __FILE__ <<
" " << __LINE__ <<
" Could not find output : " <<
output;
46 if (input ==
"stubin") {
51 throw cms::Exception(
"BadConfig") << __FILE__ <<
" " << __LINE__ <<
" Could not find input : " <<
input;
67 std::pair<unsigned int, unsigned int> layerphireg(layerdisk, iphipos);
72 if (layerphireg == irstubmem.first) {
73 irstubmem.second->addStub(stub);
Log< level::Info, true > LogVerbatim
const FPGAWord & phicorr() const
Settings const & settings_
static std::string const input
std::string const & getName() const
Stub * getStub(unsigned int i)
unsigned int nStubs() const
unsigned int maxStep(std::string module) const
unsigned int nbitsallstubs(unsigned int layerdisk) const