634 def __init__ (self) :
635 super().__init__()
636 self.addOption ('containerName', '', type=str,
637 noneAction='error',
638 info="the name of the output container after calibration.",
639 meta={'role':'container'})
640 self.addOption ('jetCollection', '', type=str,
641 noneAction='error',
642 info="the jet container to run on. It is interpreted to determine "
643 "the correct config blocks to call for small- or large-R jets.")
644 self.addOption ('recalibratePhyslite', True, type=bool,
645 info="whether to run the CP::JetCalibrationAlg on PHYSLITE "
646 "derivations. The default is True.")
647 self.addOption ('runUncertainties', True, type=bool,
648 info="whether to configure JetUncertaintiesTool.", expertMode=True )
649 self.addOption ('systematicsModelJER', "Full", type=str,
650 info="the NP reduction scheme to use for JER: Full, Simple. The default is Full.",
651 meta={'choices':(['Simple','Full'],1)})
652 self.addOption ('systematicsModelJMS', "Full", type=str,
653 info="the NP reduction scheme to use for JMS: Full, Simple. The default is Full.",
654 meta={'choices':(['Simple','Full'],1)})
655 self.addOption ('systematicsModelJMR', "Full", type=str,
656 info="the NP reduction scheme to use for JMR: Full, Simple. The default is Full.",
657 meta={'choices':(['Full','Simple'],1)})
658 self.addOption ('runJERsystematicsOnData', False, type=bool,
659 info="whether to run the All/Full JER model variations also on data samples. Expert option!",
660 expertMode=True)
661
662
663 self.addOption ('calibToolConfigFile', None, type=str,
664 info="name of the config file to use for the jet calibration "
665 "tool. Expert option to override JetETmiss recommendations.",
666 expertMode=True)
667 self.addOption ('calibToolCalibArea', None, type=str,
668 info="name of the CVMFS area to use for the jet calibration "
669 "tool. Expert option to override JetETmiss recommendations.",
670 expertMode=True)
671 self.addOption ('calibToolCalibSeq', None, type=str,
672 info="name of the sequence to use for the jet calibration "
673 "tool (e.g. `JetArea_Residual_EtaJES_GSC`). Expert option to override "
674 "JetETmiss recommendations.",
675 expertMode=True)
676
677 self.addOption ('uncertToolConfigPath', None, type=str,
678 info="name of the config file to use for the JES, JER, and JMS uncertainty "
679 "tool. Expert option to override JetETmiss recommendations.",
680 expertMode=True)
681 self.addOption ('uncertToolConfigPathJMR', None, type=str,
682 info="name of the config file to use for the JMR uncertainty "
683 "tool. Expert option to override JetETmiss recommendations.",
684 expertMode=True)
685 self.addOption ('uncertToolCalibArea', None, type=str,
686 info="name (str) of the CVMFS area to use for the jet uncertainty "
687 "tool. Expert option to override JetETmiss recommendations. The "
688 "default is None.",
689 expertMode=True)
690 self.addOption ('uncertToolMCType', None, type=str,
691 info="data type (str) to use for the jet uncertainty tool (e.g. "
692 "'AF3' or 'MC16'). Expert option to override JetETmiss "
693 "recommendations. The default is None.",
694 expertMode=True)
695 self.addOption ('minPt', 200.*GeV, type=float,
696 info=r"the minimum $p_\mathrm{T}$ cut (in MeV) to apply to calibrated large-R jets.")
697 self.addOption ('maxPt', 3000.*GeV, type=float,
698 info=r"the maximum $p_\mathrm{T}$ cut (in MeV) to apply to calibrated large-R jets.")
699 self.addOption ('maxEta', 0., type=float,
700 info=r"the maximum $\vert\eta\vert$ cut to apply to calibrated large-R jets.")
701 self.addOption ('maxRapidity', 2., type=float,
702 info="the maximum rapidity cut to apply to calibrated large-R jets.")
703 self.addOption ('minMass', 40.*GeV, type=float,
704 info="the minimum mass cut (in MeV) to apply to calibrated large-R jets.")
705 self.addOption ('maxMass', 600.*GeV, type=float,
706 info="the maximum mass cut (in MeV) to apply to calibrated large-R jets.")
707