ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_Chip.h File Reference

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

#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.

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}
short m_id
Chip Id.
Definition SCT_Chip.h:78
std::bitset< nBitsMask > m_mask
Chip strip mask.
Definition SCT_Chip.h:84
short m_in
Active input port.
Definition SCT_Chip.h:80
bool m_master
Is chip a master.
Definition SCT_Chip.h:83
std::bitset< nBitsConfig > m_config
Chip configuration mask.
Definition SCT_Chip.h:79
short m_out
Active output port.
Definition SCT_Chip.h:81
bool m_end
Is chip an end.
Definition SCT_Chip.h:82
output
Definition merge.py:16