515 def __init__ (self) :
516 super (PtEtaSelectionBlock, self).__init__ ()
517 self.addOption ('containerName', '', type=str,
518 noneAction='error',
519 info="the name of the input container.")
520 self.addOption ('selectionName', '', type=str,
521 noneAction='error',
522 info="the name of the selection to append this to. The default is "
523 "'' (empty string), meaning that the cuts are applied to every "
524 "object within the container. Specifying a name (e.g. loose) "
525 "applies the cut only to those object who also pass that selection.")
526 self.addOption ('minPt', None, type=float,
527 info="minimum pT value to cut on, in MeV. No default value.")
528 self.addOption ('maxPt', None, type=float,
529 info="maximum pT value to cut on, in MeV. No default value.")
530 self.addOption ('minEta', None, type=float,
531 info="minimum |eta| value to cut on. No default value.")
532 self.addOption ('maxEta', None, type=float,
533 info="maximum |eta| value to cut on. No default value.")
534 self.addOption ('maxRapidity', None, type=float,
535 info="maximum rapidity value to cut on. No default value.")
536 self.addOption ('etaGapLow', None, type=float,
537 info="low end of the |eta| gap. No default value.")
538 self.addOption ('etaGapHigh', None, type=float,
539 info="high end of the |eta| gap. No default value.")
540 self.addOption ('selectionDecoration', None, type=str,
541 info="the name of the decoration to set. If 'None', will be set "
542 "to 'selectPtEta' followed by the selection name.")
543 self.addOption ('useClusterEta', False, type=bool,
544 info="whether to use the cluster eta (etaBE(2)) instead of the object "
545 "eta (for electrons and photons). The default is False.")
546 self.addOption ('useDressedProperties', False, type=bool,
547 info="whether to use the dressed kinematic properties "
548 "(for truth particles only). The default is False.")
549