Skip to content

Commit

Permalink
Config of a 2018 replay for Pixel LA PCL test
Browse files Browse the repository at this point in the history
  • Loading branch information
tvami committed Nov 18, 2021
1 parent c85ac7f commit 51c88f0
Showing 1 changed file with 36 additions and 12 deletions.
48 changes: 36 additions & 12 deletions etc/ReplayOfflineConfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
setConfigVersion(tier0Config, "replace with real version")

# Set run number to replay
setInjectRuns(tier0Config, [345595, 345881, 345915, 345970])
setInjectRuns(tier0Config, [319077,324841])

# Settings up sites
processingSite = "T2_CH_CERN"
Expand Down Expand Up @@ -99,22 +99,22 @@

# Defaults for CMSSW version
defaultCMSSWVersion = {
'default': "CMSSW_12_0_3"
'default': "CMSSW_12_1_0"
}

# Configure ScramArch
setDefaultScramArch(tier0Config, "slc7_amd64_gcc900")

# Configure scenarios
ppScenario = "ppEra_Run3"
ppScenarioB0T = "ppEra_Run3"
cosmicsScenario = "cosmicsEra_Run3"
hcalnzsScenario = "hcalnzsEra_Run3"
hiScenario = "ppEra_Run3"
ppScenario = "ppEra_Run2_2018"
ppScenarioB0T = "ppEra_Run2_2018"
cosmicsScenario = "cosmicsEra_Run2_2018"
hcalnzsScenario = "hcalnzsEra_Run2_2018"
hiScenario = "ppEra_Run2_2018"
alcaTrackingOnlyScenario = "trackingOnlyEra_Run2_2018"
alcaTestEnableScenario = "AlCaTestEnable"
alcaLumiPixelsScenario = "AlCaLumiPixels"
hiTestppScenario = "ppEra_Run3"
hiTestppScenario = "ppEra_Run2_2018"

# Procesing version number replays
dt = 1
Expand All @@ -123,9 +123,9 @@
alcarawProcVersion = dt

# Defaults for GlobalTag
expressGlobalTag = "120X_dataRun3_Express_v2"
promptrecoGlobalTag = "120X_dataRun3_Prompt_v2"
alcap0GlobalTag = "120X_dataRun3_Prompt_v2"
expressGlobalTag = "121X_dataRun3_Express_Candidate_2021_11_18_19_28_59"
promptrecoGlobalTag = "121X_dataRun3_Prompt_Candidate_2021_11_18_19_44_08"
alcap0GlobalTag = "121X_dataRun3_Prompt_Candidate_2021_11_18_19_44_08"

# Mandatory for CondDBv2
globalTagConnect = "frontier://PromptProd/CMS_CONDITIONS"
Expand Down Expand Up @@ -225,12 +225,25 @@
#############################
addExpressConfig(tier0Config, "Express",
scenario=ppScenario,
diskNode="T2_CH_CERN",
data_tiers=["FEVT"],
write_dqm=True,
alca_producers=["SiStripPCLHistos", "SiStripCalZeroBias", "SiStripCalMinBias", "SiStripCalMinBiasAAG",
"TkAlMinBias", "LumiPixelsMinBias", "SiPixelCalZeroBias",
"PromptCalibProd", "PromptCalibProdSiStrip", "PromptCalibProdSiPixelAli",
"PromptCalibProdSiStripGains", "PromptCalibProdSiStripGainsAAG", "PromptCalibProdSiPixel"
<<<<<<< HEAD
<<<<<<< HEAD
"PromptCalibProdSiStripGains", "PromptCalibProdSiStripGainsAAG",
"SiPixelCalSingleMuon",
"PromptCalibProdSiPixel","PromptCalibProdSiPixelLA"
=======
"PromptCalibProdSiStripGains", "PromptCalibProdSiStripGainsAAG", "PromptCalibProdSiPixel","PromptCalibProdSiPixelLA"
>>>>>>> 3c040e1 (Fix a typo)
=======
"PromptCalibProdSiStripGains", "PromptCalibProdSiStripGainsAAG",
"SiPixelCalSingleMuon", "SiPixelCalSingleMuonLoose", "SiPixelCalSingleMuonTight",
"PromptCalibProdSiPixel","PromptCalibProdSiPixelLA"
>>>>>>> ed060a4 (Update ReplayOfflineConfiguration.py)
],
reco_version=defaultCMSSWVersion,
multicore=numberOfCores,
Expand Down Expand Up @@ -423,6 +436,17 @@
### Standard Physics PDs (2017) ###
###################################

DATASETS = ["SingleMuon"]

for dataset in DATASETS:
addDataset(tier0Config, dataset,
do_reco=True,
write_dqm=True,
alca_producers=["SiPixelCalSingleMuonLoose", "SiPixelCalSingleMuonTight"],
dqm_sequences=["@common", "@muon", "@lumi", "@L1TMuon"],
physics_skims=["MuonPOGSkim", "MuTau", "ZMu", "LogError", "LogErrorMonitor"],
scenario=ppScenario)

DATASETS = ["BTagCSV"]

for dataset in DATASETS:
Expand Down

0 comments on commit 51c88f0

Please sign in to comment.