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
TTUSectorORLogic Class Reference

#include <interface/TTUSectorORLogic.h>

Inheritance diagram for TTUSectorORLogic:
TTULogic

Public Member Functions

bool process (const TTUInput &)
 
void setBoardSpecs (const TTUBoardSpecs::TTUBoardConfig &)
 
 TTUSectorORLogic ()
 Standard constructor. More...
 
virtual ~TTUSectorORLogic ()
 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 ( )

Standard constructor.

Definition at line 17 of file TTUSectorORLogic.cc.

References m_debug, m_maxsectors, and TTULogic::m_triggersignal.

17  {
18 
19  m_triggersignal = false;
20 
21  m_maxsectors = 12;
22 
23  m_debug = false;
24 
25 }
bool m_triggersignal
Definition: TTULogic.h:34
TTUSectorORLogic::~TTUSectorORLogic ( )
virtual

Destructor.

Definition at line 29 of file TTUSectorORLogic.cc.

29 {}

Member Function Documentation

bool TTUSectorORLogic::process ( const TTUInput inmap)
virtual

Implements TTULogic.

Definition at line 38 of file TTUSectorORLogic.cc.

References gather_cfg::cout, i, m_debug, m_maxsectors, TTUInput::m_rbcDecision, and TTULogic::m_triggersignal.

Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_PATFILTER(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), TTUTwoORLogic::process(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().

39 {
40 
41  if( m_debug) std::cout << "TTUSectorORLogic::process starts" << std::endl;
42 
43  m_triggersignal = false;
44 
45  for(int i=0; i < m_maxsectors; ++i)
47 
48  if( m_debug )
49  std::cout << "TTUSectorORLogic " << m_triggersignal << std::endl;
50 
51  if( m_debug ) std::cout << "TTUSectorORLogic>process ends" << std::endl;
52 
53  return true;
54 
55 }
int i
Definition: DBlmapReader.cc:9
std::bitset< 12 > m_rbcDecision
Definition: TTUInput.h:59
bool m_triggersignal
Definition: TTULogic.h:34
tuple cout
Definition: gather_cfg.py:121
void TTUSectorORLogic::setBoardSpecs ( const TTUBoardSpecs::TTUBoardConfig boardspecs)
virtual

Implements TTULogic.

Definition at line 32 of file TTUSectorORLogic.cc.

Referenced by TTUTwoORLogic::setBoardSpecs().

33 {
34 
35 
36 }

Member Data Documentation

bool TTUSectorORLogic::m_debug
private

Definition at line 36 of file TTUSectorORLogic.h.

Referenced by process(), and TTUSectorORLogic().

int TTUSectorORLogic::m_maxsectors
private

Definition at line 38 of file TTUSectorORLogic.h.

Referenced by process(), and TTUSectorORLogic().