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

#include <interface/TTUTwoORLogic.h>

Inheritance diagram for TTUTwoORLogic:
TTULogic

Public Member Functions

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

Private Attributes

bool m_debug
 
TTUSectorORLogicm_rbcLogic
 
TTUTrackingAlgm_ttuLogic
 

Additional Inherited Members

- Public Attributes inherited from TTULogic
int m_option
 
bool m_triggersignal
 

Detailed Description

Author
Andres Felipe Osorio Oliveros
Date
2009-06-16

Definition at line 22 of file TTUTwoORLogic.h.

Constructor & Destructor Documentation

TTUTwoORLogic::TTUTwoORLogic ( )

Standard constructor.

Definition at line 20 of file TTUTwoORLogic.cc.

References m_debug, m_rbcLogic, TTULogic::m_triggersignal, and m_ttuLogic.

20  {
21 
22  m_triggersignal = false;
23 
24  m_debug = false;
25 
26  m_ttuLogic = new TTUTrackingAlg();
27 
29 
30 }
bool m_triggersignal
Definition: TTULogic.h:34
TTUTrackingAlg * m_ttuLogic
Definition: TTUTwoORLogic.h:43
TTUSectorORLogic * m_rbcLogic
Definition: TTUTwoORLogic.h:45
TTUTwoORLogic::~TTUTwoORLogic ( )
virtual

Destructor.

Definition at line 34 of file TTUTwoORLogic.cc.

References m_rbcLogic, and m_ttuLogic.

34  {
35 
36  if ( m_ttuLogic ) delete m_ttuLogic;
37 
38  if ( m_rbcLogic ) delete m_rbcLogic;
39 
40 }
TTUTrackingAlg * m_ttuLogic
Definition: TTUTwoORLogic.h:43
TTUSectorORLogic * m_rbcLogic
Definition: TTUTwoORLogic.h:45

Member Function Documentation

bool TTUTwoORLogic::process ( const TTUInput inmap)
virtual

Implements TTULogic.

Definition at line 53 of file TTUTwoORLogic.cc.

References gather_cfg::cout, m_debug, m_rbcLogic, TTULogic::m_triggersignal, m_ttuLogic, TTUSectorORLogic::process(), and TTUTrackingAlg::process().

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

54 {
55 
56  if( m_debug) std::cout << "TTUTwoORLogic::process starts" << std::endl;
57 
58  m_triggersignal = false;
59 
60 
61  m_ttuLogic->process( inmap );
62  m_rbcLogic->process( inmap );
63 
64  bool triggerFromTTU = m_ttuLogic->m_triggersignal;
65 
66  bool triggerFromRBC = m_rbcLogic->m_triggersignal;
67 
68  m_triggersignal = triggerFromTTU || triggerFromRBC;
69 
70  if( m_debug ) std::cout << "TTUTwoORLogic>process ends" << std::endl;
71 
72  return true;
73 
74 }
bool process(const TTUInput &)
bool process(const TTUInput &)
bool m_triggersignal
Definition: TTULogic.h:34
TTUTrackingAlg * m_ttuLogic
Definition: TTUTwoORLogic.h:43
tuple cout
Definition: gather_cfg.py:121
TTUSectorORLogic * m_rbcLogic
Definition: TTUTwoORLogic.h:45
void TTUTwoORLogic::setBoardSpecs ( const TTUBoardSpecs::TTUBoardConfig boardspecs)
virtual

Implements TTULogic.

Definition at line 44 of file TTUTwoORLogic.cc.

References m_rbcLogic, m_ttuLogic, TTUSectorORLogic::setBoardSpecs(), and TTUTrackingAlg::setBoardSpecs().

45 {
46 
47  m_ttuLogic->setBoardSpecs( boardspecs );
48 
49  m_rbcLogic->setBoardSpecs( boardspecs );
50 
51 }
void setBoardSpecs(const TTUBoardSpecs::TTUBoardConfig &)
TTUTrackingAlg * m_ttuLogic
Definition: TTUTwoORLogic.h:43
void setBoardSpecs(const TTUBoardSpecs::TTUBoardConfig &)
TTUSectorORLogic * m_rbcLogic
Definition: TTUTwoORLogic.h:45

Member Data Documentation

bool TTUTwoORLogic::m_debug
private

Definition at line 41 of file TTUTwoORLogic.h.

Referenced by process(), and TTUTwoORLogic().

TTUSectorORLogic* TTUTwoORLogic::m_rbcLogic
private

Definition at line 45 of file TTUTwoORLogic.h.

Referenced by process(), setBoardSpecs(), TTUTwoORLogic(), and ~TTUTwoORLogic().

TTUTrackingAlg* TTUTwoORLogic::m_ttuLogic
private

Definition at line 43 of file TTUTwoORLogic.h.

Referenced by process(), setBoardSpecs(), TTUTwoORLogic(), and ~TTUTwoORLogic().