174 def main(dumpFullAPI=False):
175 ''' Run some tests or dump the full pickle/json for CalibPath '''
176 log = logging.getLogger(__name__)
179 for triggerPeriod
in TriggerPeriod:
180 unprescaled = TriggerAPI.getLowestUnprescaled(triggerPeriod,TriggerType.mu_single)
181 log.info(triggerPeriod)
182 log.info(
sorted(unprescaled))
184 unprescaled = TriggerAPI.getLowestUnprescaled(337833,TriggerType.mu_single)
186 log.info(
sorted(unprescaled))
187 TriggerAPI.dumpAPI(full=
True)
189 try: period =
int(sys.argv[1])
190 except Exception: period = TriggerPeriod.y2018
191 for triggerType
in TriggerType:
192 unprescaled = TriggerAPI.getLowestUnprescaled(period,triggerType)
193 log.info(triggerType)
194 log.info(
sorted(unprescaled))