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.

References m_bx, m_trigger, and m_wedge.

82  {
83  m_bx = 0;
84  m_wedge = 0;
85  m_trigger.reset();
86  };
std::bitset< 2 > m_trigger
Definition: TTUEmulator.h:102

◆ ~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.

References nano_mu_digi_cff::bx, m_bx, and m_trigger.

89  {
90  m_bx = bx;
91  m_trigger = inbits;
92  };
std::bitset< 2 > m_trigger
Definition: TTUEmulator.h:102

◆ 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.

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

94  {
95  m_bx = bx;
96  m_wedge = wdg;
97  m_trigger = inbits;
98  };
std::bitset< 2 > m_trigger
Definition: TTUEmulator.h:102

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().