64 std::cout <<
"TTUWedgeORLogic::process starts" << std::endl;
81 sector_indx = (firstsector - 1) +
j;
82 if (sector_indx >= 12)
84 nhits += inmap.
input_sec[sector_indx].count();
88 bool use_forcing =
false;
92 sector_indx = (firstsector - 1) +
j;
94 if (firstsector <= 6) {
96 bool hasLayer1 = inmap.
input_sec[sector_indx][0];
109 std::cout <<
"TTUWedgeORLogic::setBoardSpecs> configuration W: " << inmap.
m_wheelId <<
'\t' <<
"M: " << majority
112 if (nhits >= majority)
116 std::cout <<
"TTUWedgeORLogic wedge decision: "
117 <<
"wheel: " << inmap.
m_wheelId <<
'\t' <<
"quadrant: " <<
m_option <<
'\t' <<
"fsector: " << firstsector
118 <<
'\t' <<
"nhits: " << nhits <<
'\t' <<
"maj: " << majority <<
'\t' <<
"Dec: " <<
m_triggersignal
122 std::cout <<
"TTUWedgeORLogic>process ends" << std::endl;
bool process(const TTUInput &) override
std::map< int, int > m_wedgeSector
TTUWedgeORLogic()
Standard constructor.
void setBoardSpecs(const TTUBoardSpecs::TTUBoardConfig &) override
~TTUWedgeORLogic() override
Destructor.
std::map< int, int > m_wheelMajority