File indexing completed on 2024-04-06 12:21:39
0001
0002
0003
0004 #include "L1Trigger/RPCTechnicalTrigger/interface/TTUSectorORLogic.h"
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 TTUSectorORLogic::TTUSectorORLogic() {
0016 m_triggersignal = false;
0017
0018 m_maxsectors = 12;
0019
0020 m_debug = false;
0021 }
0022
0023
0024
0025 TTUSectorORLogic::~TTUSectorORLogic() {}
0026
0027
0028 void TTUSectorORLogic::setBoardSpecs(const TTUBoardSpecs::TTUBoardConfig& boardspecs) {}
0029
0030 bool TTUSectorORLogic::process(const TTUInput& inmap) {
0031 if (m_debug)
0032 std::cout << "TTUSectorORLogic::process starts" << std::endl;
0033
0034 m_triggersignal = false;
0035
0036 for (int i = 0; i < m_maxsectors; ++i)
0037 m_triggersignal |= inmap.m_rbcDecision[i];
0038
0039 if (m_debug)
0040 std::cout << "TTUSectorORLogic " << m_triggersignal << std::endl;
0041
0042 if (m_debug)
0043 std::cout << "TTUSectorORLogic>process ends" << std::endl;
0044
0045 return true;
0046 }