44 #include "TRestDetectorReadoutChannel.h"
69 for (
auto& pixel : fReadoutPixel) {
70 if (pixel.IsInside({x, y})) {
82 if (DetailLevel >= 0) {
83 RESTMetadata <<
"++++ Channel: " << GetChannelId() <<
" Daq channel: " << GetDaqID()
84 <<
" Channel name: " << GetChannelName() <<
" Channel type: " << GetChannelType()
85 <<
" total pixels: " << GetNumberOfPixels() << RESTendl;
87 RESTMetadata <<
"+++++++++++++++++++++++++++++++++++++++++++++++++" << RESTendl;
89 if (DetailLevel - 1 >= 0) {
90 for (
int n = 0; n < GetNumberOfPixels(); n++) {
91 fReadoutPixel[n].Print();
TRestDetectorReadoutChannel()
TRestDetectorReadoutChannel default constructor.
void Initialize()
Initializes the channel members.
void Print(int DetailLevel=0)
Prints the details of the readout channel including pixel coordinates.
Int_t isInside(Double_t x, Double_t y)
Determines if (x,y) referenced to module coordinates is inside the channel.
virtual ~TRestDetectorReadoutChannel()
TRestDetectorReadoutChannel default destructor.