CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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)
 
void process (const RBCInput &, std::bitset< 2 > &)
 
 RBCPatternLogic ()
 Standard constructor. More...
 
void setBoardSpecs (const RBCBoardSpecs::RBCBoardConfig &)
 
virtual ~RBCPatternLogic ()
 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 20 of file RBCPatternLogic.h.

Constructor & Destructor Documentation

RBCPatternLogic::RBCPatternLogic ( )

Standard constructor.

Definition at line 18 of file RBCPatternLogic.cc.

18  {
19 
20 }
RBCPatternLogic::~RBCPatternLogic ( )
virtual

Destructor.

Definition at line 24 of file RBCPatternLogic.cc.

24 {}

Member Function Documentation

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

Implements RBCLogic.

Definition at line 31 of file RBCPatternLogic.h.

31 { return &m_testlayer[_idx];};
std::bitset< 6 > m_testlayer[2]
void RBCPatternLogic::process ( const RBCInput _input,
std::bitset< 2 > &  _decision 
)
virtual

Implements RBCLogic.

Definition at line 28 of file RBCPatternLogic.cc.

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

29 {
30  std::cout << "RBCPatternLogic> Working with pattern logic" << '\n';
31 
32  _decision.set(0,1);
33  _decision.set(1,1);
34 
35  //...Layer information:
36  for(int k=0; k < 6; ++k) {
37  m_testlayer[0].set(k,1);
38  m_testlayer[1].set(k,0);
39  }
40 
41 
42  //....
43 
44 
45 }
int k[5][pyjets_maxn]
tuple cout
Definition: gather_cfg.py:41
std::bitset< 6 > m_testlayer[2]
void RBCPatternLogic::setBoardSpecs ( const RBCBoardSpecs::RBCBoardConfig specs)
virtual

Implements RBCLogic.

Definition at line 47 of file RBCPatternLogic.cc.

48 {
49 
50 
51 
52 
53 
54 }

Member Data Documentation

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

Definition at line 31 of file RBCPatternLogic.h.

Referenced by process().