ATLAS Offline Software
CscRawData_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 #include <iostream>
7 
8 std::ostream& operator << ( std::ostream& sl, const CscRawData_p1& data)
9 {
10  sl << "CscRawData ("<< &data <<") "
11  << "ID=" << data.identify()
12  << ", address=" << data.getAddress()
13  << ", dpuID=" << data.dpuID()
14  << ", amps=[";
15  for( unsigned i=0; i<data.getSamples().size(); ++i ) {
16  sl << data.getSamples()[i] << ",";
17  }
18  sl << "]";
19  return sl;
20 }
21 
22 
23 
24 
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
CscRawData_p1.h
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
lumiFormat.i
int i
Definition: lumiFormat.py:92
CscRawData_p1
Definition: CscRawData_p1.h:19
operator<<
std::ostream & operator<<(std::ostream &sl, const CscRawData_p1 &data)
Overload of << operator for std::ostream for debug output.
Definition: CscRawData_p1.cxx:8