CMS 3D CMS Logo

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

#include <interface/TTUSectorORLogic.h>

Inheritance diagram for TTUSectorORLogic:
TTULogic

Public Member Functions

bool process (const TTUInput &) override
 
void setBoardSpecs (const TTUBoardSpecs::TTUBoardConfig &) override
 
 TTUSectorORLogic ()
 Standard constructor. More...
 
 ~TTUSectorORLogic () override
 Destructor. More...
 
- Public Member Functions inherited from TTULogic
virtual void setOption (int option)
 
virtual ~TTULogic ()
 

Private Attributes

bool m_debug
 
int m_maxsectors
 

Additional Inherited Members

- Public Attributes inherited from TTULogic
int m_option
 
bool m_triggersignal
 

Detailed Description

Author
Andres Felipe Osorio Oliveros
Date
2009-06-15

Definition at line 17 of file TTUSectorORLogic.h.

Constructor & Destructor Documentation

◆ TTUSectorORLogic()

TTUSectorORLogic::TTUSectorORLogic ( )

Standard constructor.

Definition at line 15 of file TTUSectorORLogic.cc.

15  {
16  m_triggersignal = false;
17 
18  m_maxsectors = 12;
19 
20  m_debug = false;
21 }

References m_debug, m_maxsectors, and TTULogic::m_triggersignal.

◆ ~TTUSectorORLogic()

TTUSectorORLogic::~TTUSectorORLogic ( )
override

Destructor.

Definition at line 25 of file TTUSectorORLogic.cc.

25 {}

Member Function Documentation

◆ process()

bool TTUSectorORLogic::process ( const TTUInput inmap)
overridevirtual

Implements TTULogic.

Definition at line 30 of file TTUSectorORLogic.cc.

30  {
31  if (m_debug)
32  std::cout << "TTUSectorORLogic::process starts" << std::endl;
33 
34  m_triggersignal = false;
35 
36  for (int i = 0; i < m_maxsectors; ++i)
38 
39  if (m_debug)
40  std::cout << "TTUSectorORLogic " << m_triggersignal << std::endl;
41 
42  if (m_debug)
43  std::cout << "TTUSectorORLogic>process ends" << std::endl;
44 
45  return true;
46 }

References gather_cfg::cout, mps_fire::i, if(), m_debug, m_maxsectors, TTUInput::m_rbcDecision, and TTULogic::m_triggersignal.

Referenced by TTUTwoORLogic::process().

◆ setBoardSpecs()

void TTUSectorORLogic::setBoardSpecs ( const TTUBoardSpecs::TTUBoardConfig boardspecs)
overridevirtual

Implements TTULogic.

Definition at line 28 of file TTUSectorORLogic.cc.

28 {}

Referenced by TTUTwoORLogic::setBoardSpecs().

Member Data Documentation

◆ m_debug

bool TTUSectorORLogic::m_debug
private

Definition at line 34 of file TTUSectorORLogic.h.

Referenced by process(), and TTUSectorORLogic().

◆ m_maxsectors

int TTUSectorORLogic::m_maxsectors
private

Definition at line 36 of file TTUSectorORLogic.h.

Referenced by process(), and TTUSectorORLogic().

mps_fire.i
i
Definition: mps_fire.py:428
TTUInput::m_rbcDecision
std::bitset< 12 > m_rbcDecision
Definition: TTUInput.h:37
gather_cfg.cout
cout
Definition: gather_cfg.py:144
if
if(0==first)
Definition: CAHitNtupletGeneratorKernelsImpl.h:58
TTUSectorORLogic::m_debug
bool m_debug
Definition: TTUSectorORLogic.h:34
TTUSectorORLogic::m_maxsectors
int m_maxsectors
Definition: TTUSectorORLogic.h:36
TTULogic::m_triggersignal
bool m_triggersignal
Definition: TTULogic.h:30