Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:30:34

0001 // Include files
0002 
0003 // local
0004 #include "L1Trigger/RPCTechnicalTrigger/interface/RBCPatternLogic.h"
0005 
0006 //-----------------------------------------------------------------------------
0007 // Implementation file for class : RBCPatternLogic
0008 //
0009 // 2008-10-15 : Andres Osorio
0010 //-----------------------------------------------------------------------------
0011 
0012 //=============================================================================
0013 // Standard constructor, initializes variables
0014 //=============================================================================
0015 RBCPatternLogic::RBCPatternLogic() {}
0016 //=============================================================================
0017 // Destructor
0018 //=============================================================================
0019 RBCPatternLogic::~RBCPatternLogic() {}
0020 
0021 //=============================================================================
0022 
0023 void RBCPatternLogic::process(const RBCInput& _input, std::bitset<2>& _decision) {
0024   std::cout << "RBCPatternLogic> Working with pattern logic" << '\n';
0025 
0026   _decision.set(0, true);
0027   _decision.set(1, true);
0028 
0029   //...Layer information:
0030   for (int k = 0; k < 6; ++k) {
0031     m_testlayer[0].set(k, true);
0032     m_testlayer[1].set(k, false);
0033   }
0034 
0035   //....
0036 }
0037 
0038 void RBCPatternLogic::setBoardSpecs(const RBCBoardSpecs::RBCBoardConfig& specs) {}