ATLAS Offline Software
Loading...
Searching...
No Matches
CscRawData.h File Reference
#include <inttypes.h>
#include <vector>
#include <iostream>
Include dependency graph for CscRawData.h:

Go to the source code of this file.

Classes

class  CscRawData
 Class to hold the electronic output for a single CSC readout channel: n sampling ADC data + the address (Identifier of strip == use hash id) More...

Functions

MsgStream & operator<< (MsgStream &sl, const CscRawData &coll)
 Overload of << operator for MsgStream for debug output.
std::ostream & operator<< (std::ostream &sl, const CscRawData &coll)
 Overload of << operator for std::ostream for debug output.

Function Documentation

◆ operator<<() [1/2]

MsgStream & operator<< ( MsgStream & sl,
const CscRawData & coll )

Overload of << operator for MsgStream for debug output.

Definition at line 23 of file CscRawData.cxx.

24{
25 sl << "CscRawData ("<< &data <<") "
26 << ", Collection ID=" << data.identify()
27 << ", address=" << data.address()
28 << ", rpuID=" << data.rpuID()
29 << ", isTimeComputed=" << data.isTimeComputed()
30 << ", time=" << data.time()
31 << ", width=" << data.width()
32 << ", ADC samples=[";
33 for( unsigned i=0; i<data.samples().size(); i++ ) {
34 sl << data.samples()[i] << ",";
35 }
36 sl << "]"<<std::endl;
37 return sl;
38}
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11

◆ operator<<() [2/2]

std::ostream & operator<< ( std::ostream & sl,
const CscRawData & coll )

Overload of << operator for std::ostream for debug output.

Definition at line 41 of file CscRawData.cxx.

42{
43 sl << "CscRawData "
44 << ", Collection ID=" << data.identify()
45 << ", address=" << data.address()
46 << ", rpuID=" << data.rpuID()
47 << ", isTimeComputed=" << data.isTimeComputed()
48 << ", time=" << data.time()
49 << ", width=" << data.width()
50 << ", ADC samples=[";
51 for( unsigned i=0; i<data.samples().size(); i++ ) {
52 sl << data.samples()[i] << ",";
53 }
54 sl << "]"<<std::endl;
55 return sl;
56}