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