ATLAS Offline Software
CTP_Decision.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // $Id: CTP_Decision.cxx,v 1.2 2008-05-08 15:00:11 krasznaa Exp $
6 
7 // STL include(s):
8 #include <sstream>
9 #include <iomanip>
10 
11 // Local include(s):
13 
14 const std::string CTP_Decision::dump() const {
15 
16  std::ostringstream s;
17 
18  for( size_t i( 0 ); i < m_CTPResultWord.size(); ++i ) {
19  s << std::setw(2) << i
20  << " 0x" << std::hex << std::setw(8) << std::setfill('0') << m_CTPResultWord[i]
21  << std::dec << std::setfill(' ') << std::endl;
22  }
23  s << m_triggerTypeWord << std::endl;
24 
25  for( std::vector<std::string>::const_iterator item = m_items.begin();
26  item != m_items.end(); ++item ) {
27  s << *item << " ";
28  }
29 
30  return s.str();
31 }
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
CTP_Decision::m_triggerTypeWord
uint32_t m_triggerTypeWord
LVL1 trigger type word.
Definition: CTP_Decision.h:108
CTP_Decision::m_CTPResultWord
std::vector< uint32_t > m_CTPResultWord
vector of CTP trigger words
Definition: CTP_Decision.h:107
CTP_Decision::dump
const std::string dump() const
Dump raw content of object to string.
Definition: CTP_Decision.cxx:14
lumiFormat.i
int i
Definition: lumiFormat.py:85
CTP_Decision.h
item
Definition: ItemListSvc.h:43
CTP_Decision::m_items
items_type m_items
vector of fired LVL1 items
Definition: CTP_Decision.h:106