ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
LVL1CTP::RandomTrigger Class Reference

#include <SpecialTrigger.h>

Inheritance diagram for LVL1CTP::RandomTrigger:
Collaboration diagram for LVL1CTP::RandomTrigger:

Public Member Functions

 RandomTrigger ()=delete
 
 RandomTrigger (size_t rndmNr, const CTPdataformatVersion *ctpFormat)
 
virtual ~RandomTrigger ()
 
std::string name () const
 get name of internal trigger More...
 
size_t pitPos () const
 get signal position on PIT bus More...
 

Private Attributes

size_t m_rndmNr
 nr of the bunchgroup 0..15 More...
 
size_t m_pitPos
 global bit in the TIP vector More...
 

Detailed Description

Definition at line 30 of file SpecialTrigger.h.

Constructor & Destructor Documentation

◆ RandomTrigger() [1/2]

LVL1CTP::RandomTrigger::RandomTrigger ( )
delete

◆ RandomTrigger() [2/2]

LVL1CTP::RandomTrigger::RandomTrigger ( size_t  rndmNr,
const CTPdataformatVersion *  ctpFormat 
)

Definition at line 7 of file SpecialTrigger.cxx.

8  :
9  m_rndmNr(rndmNr),
10  m_pitPos(ctpFormat->getMaxTIPtotal() + ctpFormat->getRandomTrigShift() + rndmNr)
11 {}

◆ ~RandomTrigger()

virtual LVL1CTP::RandomTrigger::~RandomTrigger ( )
inlinevirtual

Definition at line 34 of file SpecialTrigger.h.

34 {}

Member Function Documentation

◆ name()

std::string LVL1CTP::RandomTrigger::name ( ) const
inlinevirtual

get name of internal trigger

Implements LVL1CTP::ISpecialTrigger.

Definition at line 35 of file SpecialTrigger.h.

36  { return "RNDM" + std::to_string(m_rndmNr); }

◆ pitPos()

size_t LVL1CTP::RandomTrigger::pitPos ( ) const
inlinevirtual

get signal position on PIT bus

Implements LVL1CTP::ISpecialTrigger.

Definition at line 37 of file SpecialTrigger.h.

38  {return m_pitPos; }

Member Data Documentation

◆ m_pitPos

size_t LVL1CTP::RandomTrigger::m_pitPos
private

global bit in the TIP vector

Definition at line 41 of file SpecialTrigger.h.

◆ m_rndmNr

size_t LVL1CTP::RandomTrigger::m_rndmNr
private

nr of the bunchgroup 0..15

Definition at line 40 of file SpecialTrigger.h.


The documentation for this class was generated from the following files:
LVL1CTP::RandomTrigger::m_rndmNr
size_t m_rndmNr
nr of the bunchgroup 0..15
Definition: SpecialTrigger.h:40
LVL1CTP::RandomTrigger::m_pitPos
size_t m_pitPos
global bit in the TIP vector
Definition: SpecialTrigger.h:41
ActsTrk::to_string
std::string to_string(const DetectorType &type)
Definition: GeometryDefs.h:34