ATLAS Offline Software
Loading...
Searching...
No Matches
TBTriggerPatternUnit.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6
8// Constructors and Destructor //
10
15
16
17
20
22// Data Manipulation //
24
25
26void TBTriggerPatternUnit::setTriggerWord(unsigned int triggerword)
27{
28
29 unsigned int mask = 0x00000001;
30 m_triggerWord = triggerword;
31 m_triggers.resize(16);
32 for (unsigned int i=0; i<16; i++ )
33 {
34 m_triggers[i] = m_triggerWord & mask;
35 mask *= 2;
36 }
37}
void setTriggerWord(unsigned int word)
std::vector< bool > m_triggers