CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
TTUEmulator::TriggerResponse Class Reference

#include <TTUEmulator.h>

Public Member Functions

void setTriggerBits (int bx, const std::bitset< 2 > &inbits)
 
void setTriggerBits (int bx, int wdg, const std::bitset< 2 > &inbits)
 
 TriggerResponse ()
 
 ~TriggerResponse ()
 

Public Attributes

int m_bx
 
std::bitset< 2 > m_trigger
 
int m_wedge
 

Detailed Description

Definition at line 80 of file TTUEmulator.h.

Constructor & Destructor Documentation

◆ TriggerResponse()

TTUEmulator::TriggerResponse::TriggerResponse ( )
inline

Definition at line 82 of file TTUEmulator.h.

82  {
83  m_bx = 0;
84  m_wedge = 0;
85  m_trigger.reset();
86  };

References m_bx, m_trigger, and m_wedge.

◆ ~TriggerResponse()

TTUEmulator::TriggerResponse::~TriggerResponse ( )
inline

Definition at line 87 of file TTUEmulator.h.

87 { ; };

Member Function Documentation

◆ setTriggerBits() [1/2]

void TTUEmulator::TriggerResponse::setTriggerBits ( int  bx,
const std::bitset< 2 > &  inbits 
)
inline

Definition at line 89 of file TTUEmulator.h.

89  {
90  m_bx = bx;
91  m_trigger = inbits;
92  };

References l1GtPatternGenerator_cfi::bx, m_bx, and m_trigger.

◆ setTriggerBits() [2/2]

void TTUEmulator::TriggerResponse::setTriggerBits ( int  bx,
int  wdg,
const std::bitset< 2 > &  inbits 
)
inline

Definition at line 94 of file TTUEmulator.h.

94  {
95  m_bx = bx;
96  m_wedge = wdg;
97  m_trigger = inbits;
98  };

References l1GtPatternGenerator_cfi::bx, m_bx, m_trigger, and m_wedge.

Member Data Documentation

◆ m_bx

int TTUEmulator::TriggerResponse::m_bx

Definition at line 98 of file TTUEmulator.h.

Referenced by setTriggerBits(), and TriggerResponse().

◆ m_trigger

std::bitset<2> TTUEmulator::TriggerResponse::m_trigger

Definition at line 102 of file TTUEmulator.h.

Referenced by setTriggerBits(), and TriggerResponse().

◆ m_wedge

int TTUEmulator::TriggerResponse::m_wedge

Definition at line 101 of file TTUEmulator.h.

Referenced by setTriggerBits(), and TriggerResponse().

TTUEmulator::TriggerResponse::m_trigger
std::bitset< 2 > m_trigger
Definition: TTUEmulator.h:102
l1GtPatternGenerator_cfi.bx
bx
Definition: l1GtPatternGenerator_cfi.py:18
TTUEmulator::TriggerResponse::m_wedge
int m_wedge
Definition: TTUEmulator.h:101
TTUEmulator::TriggerResponse::m_bx
int m_bx
Definition: TTUEmulator.h:98