660 def __init__ (self) :
661 super().__init__ ()
662 self.addOption ('containerName', '', type=str,
663 noneAction='error',
664 info="the name of the input container.",
665 meta={'role':'containerRef'})
666 self.addOption ('selectionName', '', type=str,
667 noneAction='error',
668 info="the name of the selection to append this to. If left empty, "
669 "the cuts are applied to every "
670 "object within the container. Specifying a name (e.g. `loose`) "
671 "applies the cut only to those object who also pass that selection.",
672 meta={'role':'selection'})
673 self.addOption ('minPt', None, type=float,
674 info=r"minimum $p_\mathrm{T}$ value to cut on (in MeV).")
675 self.addOption ('maxPt', None, type=float,
676 info=r"maximum $p_\mathrm{T}$ value to cut on (in MeV).")
677 self.addOption ('minEta', None, type=float,
678 info=r"minimum $\vert\eta\vert$ value to cut on.")
679 self.addOption ('maxEta', None, type=float,
680 info=r"maximum $\vert\eta\vert$ value to cut on.")
681 self.addOption ('maxRapidity', None, type=float,
682 info="maximum rapidity value to cut on.")
683 self.addOption ('etaGapLow', None, type=float,
684 info=r"low end of the $\vert\eta\vert$ gap.")
685 self.addOption ('etaGapHigh', None, type=float,
686 info=r"high end of the $\vert\eta\vert$ gap.")
687 self.addOption ('selectionDecoration', None, type=str,
688 info="the name of the decoration to set. If `None`, will be set "
689 "to `selectPtEta` followed by the selection name.")
690 self.addOption ('useClusterEta', False, type=bool,
691 info=r"whether to use the cluster $\eta$ (`etaBE(2)`) instead of the object "
692 r"$\eta$ (for electrons and photons).")
693 self.addOption ('useDressedProperties', False, type=bool,
694 info="whether to use the dressed kinematic properties "
695 "(for truth particles only).")
696