From 3a62cbf00f6ddee02ae143de096484501b5c9658 Mon Sep 17 00:00:00 2001 From: Tamas Date: Tue, 17 Dec 2019 16:27:34 +0100 Subject: [PATCH] Add back autoCond.py --- Configuration/AlCa/python/autoCond.py | 105 ++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 Configuration/AlCa/python/autoCond.py diff --git a/Configuration/AlCa/python/autoCond.py b/Configuration/AlCa/python/autoCond.py new file mode 100644 index 0000000000000..2aa3b989492d9 --- /dev/null +++ b/Configuration/AlCa/python/autoCond.py @@ -0,0 +1,105 @@ +autoCond = { + + ### NEW KEYS ### + # GlobalTag for MC production with perfectly aligned and calibrated detector for Run1 + 'run1_design' : '106X_mcRun1_design_v3', + # GlobalTag for MC production (pp collisions) with realistic alignment and calibrations for Run1 + 'run1_mc' : '106X_mcRun1_realistic_v3', + # GlobalTag for MC production (Heavy Ions collisions) with realistic alignment and calibrations for Run1 + 'run1_mc_hi' : '106X_mcRun1_HeavyIon_v3', + # GlobalTag for MC production (p-Pb collisions) with realistic alignment and calibrations for Run1 + 'run1_mc_pa' : '106X_mcRun1_pA_v3', + # GlobalTag for MC production with pessimistic alignment and calibrations for Run2 + 'run2_mc_50ns' : '106X_mcRun2_startup_v4', + # GlobalTag for MC production (L1 Trigger Stage1) with starup-like alignment and calibrations for Run2, L1 trigger in Stage1 mode + 'run2_mc_l1stage1' : '106X_mcRun2_asymptotic_l1stage1_v4', + # GlobalTag for MC production with perfectly aligned and calibrated detector for Run2 + 'run2_design' : '106X_mcRun2_design_v6', + #GlobalTag for MC production with optimistic alignment and calibrations for 2016, prior to VFP change + 'run2_mc_pre_vfp' : '106X_mcRun2_asymptotic_preVFP_v1', + #GlobalTag for MC production with optimistic alignment and calibrations for 2016, after VFP change + 'run2_mc' : '106X_mcRun2_asymptotic_v8', + # GlobalTag for MC production (cosmics) with starup-like alignment and calibrations for Run2, Strip tracker in peak mode + 'run2_mc_cosmics' : '106X_mcRun2cosmics_startup_deco_v5', + # GlobalTag for MC production (Heavy Ions collisions) with optimistic alignment and calibrations for Run2 + 'run2_mc_hi' : '106X_mcRun2_HeavyIon_v4', + # GlobalTag for MC production (p-Pb collisions) with realistic alignment and calibrations for Run2 + 'run2_mc_pa' : '106X_mcRun2_pA_v5', + # GlobalTag for Run1 data reprocessing + 'run1_data' : '106X_dataRun2_v25', + # GlobalTag for Run2 data reprocessing + 'run2_data' : '106X_dataRun2_v25', + # GlobalTag for Run2 data relvals: allows customization to run with fixed L1 menu + 'run2_data_relval' : '106X_dataRun2_relval_v23', + # GlobalTag for Run2 data 2018B relvals only: HEM-15-16 fail + 'run2_data_promptlike_HEfail' : '106X_dataRun2_PromptLike_HEfail_v13', + # GlobalTag for Run2 data 2016H relvals only: Prompt Conditions + fixed L1 menu (to be removed) + 'run2_data_promptlike' : '106X_dataRun2_PromptLike_v14', + 'run2_data_promptlike_hi' : '106X_dataRun2_PromptLike_HI_v14', + # GlobalTag for Run1 HLT: it points to the online GT + 'run1_hlt' : '101X_dataRun2_HLT_frozen_v9', + # GlobalTag for Run2 HLT: it points to the online GT + 'run2_hlt' : '101X_dataRun2_HLT_frozen_v9', + # GlobalTag for Run2 HLT RelVals: customizations to run with fixed L1 Menu + 'run2_hlt_relval' : '103X_dataRun2_HLT_relval_v8', + 'run2_hlt_relval_hi' : '103X_dataRun2_HLT_relval_HI_v4', + # GlobalTag for Run2 HLT for HI (not 2018 HI): it points to the online GT + 'run2_hlt_hi' : '101X_dataRun2_HLTHI_frozen_v9', + # GlobalTag for MC production with perfectly aligned and calibrated detector for Phase1 2017 (and 0,0,~0-centred beamspot) + 'phase1_2017_design' : '106X_mc2017_design_IdealBS_v5', + # GlobalTag for MC production with realistic conditions for Phase1 2017 detector + 'phase1_2017_realistic' : '106X_mc2017_realistic_v7', + # GlobalTag for MC production (cosmics) with realistic alignment and calibrations for Phase1 2017 detector, Strip tracker in DECO mode + 'phase1_2017_cosmics' : '106X_mc2017cosmics_realistic_deco_v2', + # GlobalTag for MC production (cosmics) with realistic alignment and calibrations for Phase1 2017 detector, Strip tracker in PEAK mode + 'phase1_2017_cosmics_peak' : '106X_mc2017cosmics_realistic_peak_v2', + # GlobalTag for MC production with perfectly aligned and calibrated detector for full Phase1 2018 (and 0,0,0-centred beamspot) + 'phase1_2018_design' : '106X_upgrade2018_design_v6', + # GlobalTag for MC production with realistic conditions for full Phase1 2018 detector + 'phase1_2018_realistic' : '106X_upgrade2018_realistic_v11', + # GlobalTag for MC production with realistic conditions for full Phase1 2018 detector for Heavy Ion + 'phase1_2018_realistic_hi' : '106X_upgrade2018_realistic_HI_v6', + # GlobalTag for MC production with realistic conditions for full Phase1 2018 detector: HEM-15-16 fail + 'phase1_2018_realistic_HEfail' : '106X_upgrade2018_realistic_HEfail_v11', + # GlobalTag for MC production (cosmics) with realistic conditions for full Phase1 2018 detector, Strip tracker in DECO mode + 'phase1_2018_cosmics' : '106X_upgrade2018cosmics_realistic_deco_v9', + # GlobalTag for MC production (cosmics) with realistic conditions for full Phase1 2018 detector, Strip tracker in PEAK mode + 'phase1_2018_cosmics_peak' : '106X_upgrade2018cosmics_realistic_peak_v9', + # GlobalTag for MC production with perfectly aligned and calibrated detector for Phase1 2021 + 'phase1_2021_design' : '106X_upgrade2021_design_v5', # GT containing design conditions for Phase1 2021 + # GlobalTag for MC production with realistic conditions for Phase1 2021 + 'phase1_2021_realistic' : '106X_upgrade2021_realistic_v11', # GT containing realistic conditions for Phase1 2021 + # GlobalTag for MC production (cosmics) with realistic conditions for Phase1 2021, Strip tracker in DECO mode + 'phase1_2021_cosmics' : '106X_upgrade2021cosmics_realistic_deco_v4', + # GlobalTag for MC production with realistic conditions for Phase2 2023 + 'phase2_realistic' : '106X_upgrade2023_realistic_v5' +} + +aliases = { + 'MAINGT' : 'FT_P_V42D|AN_V4', + 'BASEGT' : 'BASE1_V1|BASE2_V1' +} + +# dedicated GlobalTags for HLT +from Configuration.HLT.autoCondHLT import autoCondHLT +autoCond = autoCondHLT(autoCond) + +### OLD KEYS ### kept for backward compatibility + # GlobalTag for MC production with perfectly aligned and calibrated detector +autoCond['mc'] = ( autoCond['run1_design'] ) + # GlobalTag for MC production with realistic alignment and calibrations +autoCond['startup'] = ( autoCond['run1_mc'] ) + # GlobalTag for MC production of Heavy Ions events with realistic alignment and calibrations +autoCond['starthi'] = ( autoCond['run1_mc_hi'] ) + # GlobalTag for MC production of p-Pb events with realistic alignment and calibrations +autoCond['startpa'] = ( autoCond['run1_mc_pa'] ) + # GlobalTag for data reprocessing +autoCond['com10'] = ( autoCond['run1_data'] ) + # GlobalTag for running HLT on recent data: it points to the online GT (remove the snapshot!) +autoCond['hltonline'] = ( autoCond['run1_hlt'] ) + # GlobalTag for POSTLS1 upgrade studies: +autoCond['upgradePLS1'] = ( autoCond['run2_mc'] ) +autoCond['upgradePLS150ns'] = ( autoCond['run2_mc_50ns'] ) +autoCond['upgrade2017'] = ( autoCond['phase1_2017_design'] ) +autoCond['upgrade2021'] = ( autoCond['phase1_2021_design'] ) +autoCond['upgradePLS3'] = ( autoCond['phase2_realistic'] )