CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
RBCPatternLogic Class Reference

#include <RBCPatternLogic.h>

Inheritance diagram for RBCPatternLogic:
RBCLogic

Public Member Functions

std::bitset< 6 > * getlayersignal (int _idx) override
 
void process (const RBCInput &, std::bitset< 2 > &) override
 
 RBCPatternLogic ()
 Standard constructor. More...
 
void setBoardSpecs (const RBCBoardSpecs::RBCBoardConfig &) override
 
 ~RBCPatternLogic () override
 Destructor. More...
 
- Public Member Functions inherited from RBCLogic
virtual ~RBCLogic ()
 

Private Attributes

std::bitset< 6 > m_testlayer [2]
 

Additional Inherited Members

- Public Attributes inherited from RBCLogic
bool m_triggersignal
 

Detailed Description

Author
Andres Osorio

email: aosor.nosp@m.io@u.nosp@m.niand.nosp@m.es.e.nosp@m.du.co

Date
2008-10-15

Definition at line 19 of file RBCPatternLogic.h.

Constructor & Destructor Documentation

◆ RBCPatternLogic()

RBCPatternLogic::RBCPatternLogic ( )

Standard constructor.

Definition at line 15 of file RBCPatternLogic.cc.

15 {}

◆ ~RBCPatternLogic()

RBCPatternLogic::~RBCPatternLogic ( )
override

Destructor.

Definition at line 19 of file RBCPatternLogic.cc.

19 {}

Member Function Documentation

◆ getlayersignal()

std::bitset<6>* RBCPatternLogic::getlayersignal ( int  _idx)
inlineoverridevirtual

Implements RBCLogic.

Definition at line 30 of file RBCPatternLogic.h.

30 { return &m_testlayer[_idx]; };

◆ process()

void RBCPatternLogic::process ( const RBCInput _input,
std::bitset< 2 > &  _decision 
)
overridevirtual

Implements RBCLogic.

Definition at line 23 of file RBCPatternLogic.cc.

23  {
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 }

References gather_cfg::cout, dqmdumpme::k, and m_testlayer.

◆ setBoardSpecs()

void RBCPatternLogic::setBoardSpecs ( const RBCBoardSpecs::RBCBoardConfig specs)
overridevirtual

Implements RBCLogic.

Definition at line 38 of file RBCPatternLogic.cc.

38 {}

Member Data Documentation

◆ m_testlayer

std::bitset<6> RBCPatternLogic::m_testlayer[2]
private

Definition at line 30 of file RBCPatternLogic.h.

Referenced by process().

gather_cfg.cout
cout
Definition: gather_cfg.py:144
dqmdumpme.k
k
Definition: dqmdumpme.py:60
RBCPatternLogic::m_testlayer
std::bitset< 6 > m_testlayer[2]
Definition: RBCPatternLogic.h:30