"""
Base detector.
"""

# Standard library modules.

# Third party modules.

# Local modules.
from pymontecarlo.options.base import Option, OptionBuilder

# Globals and constants variables.

class Detector(Option):

    def __init__(self, name):
        super().__init__()
        self.name = name

    def __eq__(self, other):
        return super().__eq__(other) and self.name == other.name

class DetectorBuilder(OptionBuilder):
    pass
