#include <ModuleElement.h>
Public Member Functions | |
ModuleElement (const unsigned first, const unsigned last) | |
Constructor takes the first and last channel of the element. | |
~ModuleElement () throw () | |
Destructor. | |
unsigned | getFirst () const throw () |
First channel contained (0->1535). | |
unsigned | getLast () const throw () |
Last channel contained (0->1535). | |
unsigned | getNChannels () const throw () |
bool | isChannel () const throw () |
bool | isChip () const throw () |
bool | isLink () const throw () |
bool | isModule () const throw () |
bool | operator== (const ModuleElement &) const throw () |
explicit equality operator | |
bool | isWithin (const ModuleElement &) const throw () |
bool | contains (const ModuleElement &) const throw () |
bool | overlaps (const ModuleElement &) const throw () |
bool | adjacentTo (const ModuleElement &) const throw () |
Static Public Member Functions | |
static ModuleElement | Module () throw () |
Returns a ModuleElement representing a whole Module. | |
static ModuleElement | Link (unsigned int link) |
Returns a ModuleElement representing Link link. | |
static ModuleElement | Chip (unsigned int chip) |
Returns a ModuleElement representing Chip chip. | |
static ModuleElement | Channel (unsigned int channel) |
Returns a ModuleElement representing Channel channel. | |
Private Member Functions | |
ModuleElement () throw () | |
can't do this | |
Private Attributes | |
unsigned | first |
unsigned | last |
Definition at line 15 of file ModuleElement.h.
|
Constructor takes the first and last channel of the element. 0,127 for chip 0 link 0, or perhaps 768, 895 for chip 0 link 1.
Definition at line 85 of file ModuleElement.h. References Sct::nChannelModule. |
|
Destructor.
Definition at line 50 of file ModuleElement.h. |
|
can't do this
Referenced by Module(). |
|
Definition at line 130 of file ModuleElement.h. |
|
Returns a ModuleElement representing Channel channel.
Referenced by SctData::ISTestSummary::ISNPtGainSummaryWriter::write(). |
|
Returns a ModuleElement representing Chip chip.
Referenced by SctDataDisplay::NPtGainDisplayer::plotData(). |
|
Definition at line 121 of file ModuleElement.h. |
|
First channel contained (0->1535).
Definition at line 52 of file ModuleElement.h. Referenced by getNChannels(), isChip(), isLink(), and isModule(). |
|
Last channel contained (0->1535).
Definition at line 54 of file ModuleElement.h. Referenced by getNChannels(). |
|
Definition at line 98 of file ModuleElement.h. References getFirst(), and getLast(). Referenced by isChannel(), isChip(), isLink(), isModule(), and SctDataDisplay::NPtGainDisplayer::plotData(). Here is the call graph for this function: ![]() |
|
Definition at line 101 of file ModuleElement.h. References getNChannels(). Here is the call graph for this function: ![]() |
|
Definition at line 104 of file ModuleElement.h. References getFirst(), getNChannels(), and Sct::nChannelChip. Here is the call graph for this function: ![]() |
|
Definition at line 107 of file ModuleElement.h. References getFirst(), getNChannels(), and Sct::nChannelLink. Here is the call graph for this function: ![]() |
|
Definition at line 110 of file ModuleElement.h. References getFirst(), getNChannels(), and Sct::nChannelModule. Here is the call graph for this function: ![]() |
|
Definition at line 118 of file ModuleElement.h. |
|
Returns a ModuleElement representing Link link.
|
|
Returns a ModuleElement representing a whole Module.
Definition at line 147 of file ModuleElement.h. References ModuleElement(), and Sct::nChannelModule. Here is the call graph for this function: ![]() |
|
explicit equality operator
Definition at line 114 of file ModuleElement.h. |
|
Definition at line 125 of file ModuleElement.h. |