CMS 3D CMS Logo

RBCPatternLogic.cc
Go to the documentation of this file.
1 // Include files
2 
3 // local
5 
6 //-----------------------------------------------------------------------------
7 // Implementation file for class : RBCPatternLogic
8 //
9 // 2008-10-15 : Andres Osorio
10 //-----------------------------------------------------------------------------
11 
12 //=============================================================================
13 // Standard constructor, initializes variables
14 //=============================================================================
16 //=============================================================================
17 // Destructor
18 //=============================================================================
20 
21 //=============================================================================
22 
23 void RBCPatternLogic::process(const RBCInput& _input, std::bitset<2>& _decision) {
24  std::cout << "RBCPatternLogic> Working with pattern logic" << '\n';
25 
26  _decision.set(0, true);
27  _decision.set(1, true);
28 
29  //...Layer information:
30  for (int k = 0; k < 6; ++k) {
31  m_testlayer[0].set(k, true);
32  m_testlayer[1].set(k, false);
33  }
34 
35  //....
36 }
37 
RBCPatternLogic::process
void process(const RBCInput &, std::bitset< 2 > &) override
Definition: RBCPatternLogic.cc:23
gather_cfg.cout
cout
Definition: gather_cfg.py:144
HistogramManager_cfi.specs
specs
Definition: HistogramManager_cfi.py:80
RBCPatternLogic::~RBCPatternLogic
~RBCPatternLogic() override
Destructor.
Definition: RBCPatternLogic.cc:19
dqmdumpme.k
k
Definition: dqmdumpme.py:60
RBCPatternLogic::setBoardSpecs
void setBoardSpecs(const RBCBoardSpecs::RBCBoardConfig &) override
Definition: RBCPatternLogic.cc:38
RBCPatternLogic.h
RBCBoardSpecs::RBCBoardConfig
Definition: RBCBoardSpecs.h:22
RBCInput
Definition: RBCInput.h:22
RBCPatternLogic::m_testlayer
std::bitset< 6 > m_testlayer[2]
Definition: RBCPatternLogic.h:30
RBCPatternLogic::RBCPatternLogic
RBCPatternLogic()
Standard constructor.
Definition: RBCPatternLogic.cc:15