563 def __init__ (self) :
564 super (PtEtaSelectionBlock, self).__init__ ()
565 self.addOption ('containerName', '', type=str,
566 noneAction='error',
567 info="the name of the input container.")
568 self.addOption ('selectionName', '', type=str,
569 noneAction='error',
570 info="the name of the selection to append this to. If left empty, "
571 "the cuts are applied to every "
572 "object within the container. Specifying a name (e.g. `loose`) "
573 "applies the cut only to those object who also pass that selection.")
574 self.addOption ('minPt', None, type=float,
575 info=r"minimum $p_\mathrm{T}$ value to cut on (in MeV).")
576 self.addOption ('maxPt', None, type=float,
577 info=r"maximum $p_\mathrm{T}$ value to cut on (in MeV).")
578 self.addOption ('minEta', None, type=float,
579 info=r"minimum $\vert\eta\vert$ value to cut on.")
580 self.addOption ('maxEta', None, type=float,
581 info=r"maximum $\vert\eta\vert$ value to cut on.")
582 self.addOption ('maxRapidity', None, type=float,
583 info="maximum rapidity value to cut on.")
584 self.addOption ('etaGapLow', None, type=float,
585 info=r"low end of the $\vert\eta\vert$ gap.")
586 self.addOption ('etaGapHigh', None, type=float,
587 info=r"high end of the $\vert\eta\vert$ gap.")
588 self.addOption ('selectionDecoration', None, type=str,
589 info="the name of the decoration to set. If `None`, will be set "
590 "to `selectPtEta` followed by the selection name.")
591 self.addOption ('useClusterEta', False, type=bool,
592 info=r"whether to use the cluster $\eta$ (`etaBE(2)`) instead of the object "
593 r"$\eta$ (for electrons and photons).")
594 self.addOption ('useDressedProperties', False, type=bool,
595 info="whether to use the dressed kinematic properties "
596 "(for truth particles only).")
597