ATLAS Offline Software
TileMuonReceiverObj.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 //****************************************************************************
6 // Filename : TileMuonReceiverObj.cxx
7 // Author : Joao Gentil Mendes Saraiva (jmendes@cern.ch)
8 // Created : February 2014
9 //
10 // DESCRIPTION
11 //
12 // Tile Muon Receiver objects to store in a container in the store gate
13 //
14 //
15 // Properties (JobOption Parameters):
16 //
17 // BUGS:
18 //
19 // History:
20 //
21 //****************************************************************************
22 
24 #include <iostream>
25 #include <sstream>
26 #include <iomanip>
27 
28 // print out
29 
31  std::cout << (std::string) (*this) << std::endl;
32 }
33 
34 TileMuonReceiverObj::operator std::string() const
35  {
36  std::ostringstream text(std::ostringstream::out);
37  text << whoami();
38  text <<" "<< m_id;
39 
40  text << " Tile decision (4-bit word) ";
41  for (unsigned int i=0; i<m_TileMuRcvDecision.size(); ++i) text << " " << m_TileMuRcvDecision[i];
42  text << " Thres d6H d6L d56H d56L ";
43  for (unsigned int i=0; i<m_TileMuRcvThresholds.size(); ++i) text << " " << m_TileMuRcvThresholds[i];
44  text << " e(d6) e(d5+d6) ";
45  for (unsigned int i=0; i<m_TileMuRcvEne.size(); ++i) text << " " << m_TileMuRcvEne[i];
46  text << " t(d6) t(d5+d6/2.) ";
47  for (unsigned int i=0; i<m_TileMuRcvTime.size(); ++i) text << " " << m_TileMuRcvTime[i];
48 
49  return text.str();
50  }
51 
53 
54  m_TileMuRcvDecision.clear();
55  m_TileMuRcvThresholds.clear();
56  m_TileMuRcvEne.clear();
57  m_TileMuRcvTime.clear();
58  return;
59 
60 }
TileMuonReceiverObj::m_TileMuRcvDecision
std::vector< bool > m_TileMuRcvDecision
Definition: TileMuonReceiverObj.h:127
TileMuonReceiverObj::m_TileMuRcvEne
std::vector< float > m_TileMuRcvEne
Definition: TileMuonReceiverObj.h:129
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
TileMuonReceiverObj::print
void print(void) const
Definition: TileMuonReceiverObj.cxx:30
TileMuonReceiverObj::clear
void clear(void)
Definition: TileMuonReceiverObj.cxx:52
TileMuonReceiverObj::m_TileMuRcvThresholds
std::vector< float > m_TileMuRcvThresholds
Definition: TileMuonReceiverObj.h:128
TileMuonReceiverObj::m_TileMuRcvTime
std::vector< float > m_TileMuRcvTime
Definition: TileMuonReceiverObj.h:130
lumiFormat.i
int i
Definition: lumiFormat.py:92
makeTransCanvas.text
text
Definition: makeTransCanvas.py:11
TileMuonReceiverObj.h