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