ATLAS Offline Software
Classes | Functions
SCT_Chip.h File Reference
#include <bitset>
#include <cstdint>
#include <iomanip>
#include <iostream>
#include <string>
#include <vector>
Include dependency graph for SCT_Chip.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SCT_Chip
 Class which stores infomration on the SCT chips: id, config, mask. More...
 

Functions

std::ostream & operator<< (std::ostream &output, const SCT_Chip &chip)
 Output stream for printing chip information. More...
 

Detailed Description

Header file storing infomration on the SCT chips: id, config, mask

Author
Carl Gwilliam gwill.nosp@m.iam@.nosp@m.mail..nosp@m.cern.nosp@m..ch

Definition in file SCT_Chip.h.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  output,
const SCT_Chip chip 
)
inline

Output stream for printing chip information.

Outputstream operator for chip.

Definition at line 88 of file SCT_Chip.h.

88  {
89  output << "Chip " << std::setw(2) << chip.m_id << ":\t"
90  << (chip.m_master ? "MASTER" : "SLAVE") << (chip.m_end ? " END" : "")
91  << ", IN PORT = " << chip.m_in << ", OUT PORT = " << chip.m_out << "\n"
92  << "Config = " << chip.m_config << "\n"
93  << "Mask = " << chip.m_mask;
94  return output;
95 }
SCT_Chip::m_out
short m_out
Active output port.
Definition: SCT_Chip.h:81
SCT_Chip::m_end
bool m_end
Is chip an end.
Definition: SCT_Chip.h:82
SCT_Chip::m_id
short m_id
Chip Id.
Definition: SCT_Chip.h:78
SCT_Chip::m_mask
std::bitset< nBitsMask > m_mask
Chip strip mask.
Definition: SCT_Chip.h:84
merge.output
output
Definition: merge.py:17
SCT_Chip::m_config
std::bitset< nBitsConfig > m_config
Chip configuration mask.
Definition: SCT_Chip.h:79
SCT_Chip::m_in
short m_in
Active input port.
Definition: SCT_Chip.h:80
SCT_Chip::m_master
bool m_master
Is chip a master.
Definition: SCT_Chip.h:83