44#include "TRestDetectorReadoutChannel.h"
70 if (pixel.IsInside({x, y})) {
82 if (DetailLevel >= 0) {
84 <<
" Channel name: " << GetChannelName() <<
" Channel type: " << GetChannelType()
87 RESTMetadata <<
"+++++++++++++++++++++++++++++++++++++++++++++++++" << RESTendl;
89 if (DetailLevel - 1 >= 0) {
std::vector< TRestDetectorReadoutPixel > fReadoutPixel
TRestDetectorReadoutChannel()
TRestDetectorReadoutChannel default constructor.
void Initialize()
Initializes the channel members.
Int_t GetChannelId() const
Returns the corresponding channel id.
Int_t GetDaqID() const
Returns the corresponding daq channel id.
void Print(int DetailLevel=0)
Prints the details of the readout channel including pixel coordinates.
Int_t GetNumberOfPixels()
Returns the total number of pixels inside the readout channel.
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.