23#ifndef REST_TRestCombinedMask
24#define REST_TRestCombinedMask
26#include <TRestPatternMask.h>
31 std::vector<TRestPatternMask*> fMasks;
39 if (index < fMasks.size()) {
42 if (index == 0) RESTError <<
"TRestCombinedMask does not contain any masks" <<
RESTendl;
46 Int_t
GetRegion(Double_t& x, Double_t& y)
override;
A class used to define and generate a combined structure mask.
void PrintMaskMembers() override
Prints on screen the information about the metadata members from this class excluding common metadata...
TRestCombinedMask()
Default constructor.
void PrintMask() override
Prints on screen the information about the metadata members from this class, including common pattern...
void InitFromConfigFile() override
Implements class initialization through RML.
Int_t GetRegion(Double_t &x, Double_t &y) override
It returns a number identifying the region where the particle with coordinates (x,...
void PrintMetadata() override
Prints on screen the complete information about the metadata members from this class.
~TRestCombinedMask()
Default destructor.
void Initialize() override
Function to initialize input/output event members and define the section name.
An abstract class used to encapsulate different mask pattern class definitions.