23 #ifndef REST_TRestGridMask
24 #define REST_TRestGridMask
26 #include <TRestPatternMask.h>
43 virtual Int_t
GetRegion(Double_t& x, Double_t& y)
override;
59 TRestGridMask(
const char* cfgFileName, std::string name =
"");
A class used to define a grid mask pattern.
Int_t GetModulus()
It returns the modulus used to define a finite set of ids.
Double_t fGridThickness
The width of the grid structure in mm.
void PrintMask() override
Prints on screen the information about the metadata members of TRestRingsMask, including common patte...
Double_t GetGridThickness()
It returns the thickness of the grid in mm.
Double_t fGridGap
The periodity of the grid structure in mm.
void PrintMetadata() override
Prints on screen the complete information about the metadata members from this class.
void Initialize() override
Function to initialize input/output event members and define the section name.
Int_t fModulus
It defines the maximum number of cells/regions in each axis.
Double_t GetGridGap()
It returns the gap/periodicity of the grid in mm.
virtual Int_t GetRegion(Double_t &x, Double_t &y) override
It returns a number identifying the region where the particle with coordinates (x,...
void PrintMaskMembers() override
Prints on screen the information about the metadata members of TRestRingsMask, excluding common metad...
TRestGridMask()
Default constructor.
~TRestGridMask()
Default destructor.
An abstract class used to encapsulate different mask pattern class definitions.