Skip to content

Commit

Permalink
Merge branch 'master' into HITesting
Browse files Browse the repository at this point in the history
  • Loading branch information
LinaresToine authored Oct 24, 2024
2 parents 3c832ce + ca64fba commit dc9d11e
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 34 deletions.
42 changes: 22 additions & 20 deletions etc/ProdOfflineConfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@
# Set the max run number:
setInjectMaxRun(tier0Config, 9999999)

# Set streams to ignore by agent. These will not be injected by the MainAgent
setHelperAgentStreams(tier0Config, {"SecondAgent" : [],
"ThirdAgent" : []})


# Settings up sites
processingSite = "T2_CH_CERN"
storageSite = "T0_CH_CERN_Disk"
Expand All @@ -65,7 +60,7 @@
# Data type
# Processing site (where jobs run)
# PhEDEx locations
setAcquisitionEra(tier0Config, "Run2024H")
setAcquisitionEra(tier0Config, "Run2024I")
setEmulationAcquisitionEra(tier0Config, "Emulation2024")
setBaseRequestPriority(tier0Config, 251000)
setBackfill(tier0Config, None)
Expand Down Expand Up @@ -106,7 +101,7 @@
# maxRunPreviousConfig = 999999 # Last run before era change 08/09/23
# Defaults for CMSSW version
defaultCMSSWVersion = {
'default': "CMSSW_14_0_16",
'default': "CMSSW_14_0_18_patch1",
#'acqEra': {'Run2024F': "CMSSW_14_0_11"},
#'maxRun': {maxRunPreviousConfig: "CMSSW_13_2_2"}
}
Expand All @@ -128,18 +123,19 @@
alcaPPSScenario = "AlCaPPS_Run3"
hiTestppScenario = "ppEra_Run3_pp_on_PbPb_2023"
hiRawPrimeScenario = "ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023"
hltScoutingScenario = "hltScoutingEra_Run3_2024"

# Defaults for processing version
alcarawProcVersion = {
'default': 1
'default': 2
}

defaultProcVersionReco = {
'default': 1
'default': 2
}

expressProcVersion = {
'default': 1
'default': 2
}

# Defaults for GlobalTag
Expand Down Expand Up @@ -564,7 +560,7 @@
scenario=ppScenario)

DATASETS = ["ParkingSingleMuon","ParkingSingleMuon0"]

PARKING_PDS = DATASETS
for dataset in DATASETS:
addDataset(tier0Config, dataset,
do_reco=True,
Expand All @@ -577,7 +573,7 @@
"ParkingSingleMuon4","ParkingSingleMuon5","ParkingSingleMuon6",
"ParkingSingleMuon7","ParkingSingleMuon8","ParkingSingleMuon9",
"ParkingSingleMuon10","ParkingSingleMuon11"]

PARKING_PDS += DATASETS
for dataset in DATASETS:
addDataset(tier0Config, dataset,
do_reco=True,
Expand All @@ -588,7 +584,7 @@
scenario=ppScenario)

DATASETS = ["ParkingDoubleMuonLowMass0"]

PARKING_PDS += DATASETS
for dataset in DATASETS:
addDataset(tier0Config, dataset,
do_reco=True,
Expand All @@ -603,7 +599,7 @@
DATASETS = ["ParkingDoubleMuonLowMass1","ParkingDoubleMuonLowMass2",
"ParkingDoubleMuonLowMass3","ParkingDoubleMuonLowMass4","ParkingDoubleMuonLowMass5",
"ParkingDoubleMuonLowMass6","ParkingDoubleMuonLowMass7"]

PARKING_PDS += DATASETS
for dataset in DATASETS:
addDataset(tier0Config, dataset,
do_reco=True,
Expand Down Expand Up @@ -644,7 +640,7 @@
"ParkingVBF1", "ParkingVBF2", "ParkingVBF3",
"ParkingVBF4", "ParkingVBF5", "ParkingVBF6",
"ParkingVBF7"]

PARKING_PDS += DATASETS
for dataset in DATASETS:
addDataset(tier0Config, dataset,
do_reco=True,
Expand All @@ -657,7 +653,7 @@
scenario=ppScenario)

DATASETS = ["ParkingLLP"]

PARKING_PDS += DATASETS
for dataset in DATASETS:
addDataset(tier0Config, dataset,
do_reco=True,
Expand Down Expand Up @@ -1319,12 +1315,15 @@
DATASETS = ["ScoutingPFRun3"]
for dataset in DATASETS:
addDataset(tier0Config, dataset,
do_reco=False,
do_reco=True,
write_aod=False,
write_miniaod=False,
tape_node="T1_US_FNAL_MSS",
disk_node="T1_US_FNAL_Disk",
scenario=ppScenario)
scenario=hltScoutingScenario)

DATASETS = ["ParkingDoubleElectronLowMass","ParkingDoubleElectronLowMass0"]
PARKING_PDS += DATASETS
for dataset in DATASETS:
addDataset(tier0Config, dataset,
do_reco=True,
Expand All @@ -1337,7 +1336,7 @@

DATASETS = ["ParkingDoubleElectronLowMass1","ParkingDoubleElectronLowMass2",
"ParkingDoubleElectronLowMass3","ParkingDoubleElectronLowMass4","ParkingDoubleElectronLowMass5"]

PARKING_PDS += DATASETS
for dataset in DATASETS:
addDataset(tier0Config, dataset,
do_reco=True,
Expand Down Expand Up @@ -1462,8 +1461,11 @@
ignoreStream(tier0Config, "streamDQMRates")
ignoreStream(tier0Config, "DQMPPSRandom")


# Set streams to ignore by agent. These will not be injected
setHelperAgentStreams(tier0Config, {"SecondAgent" : DATASETS_DAQ_TFTEST})
SECOND_AGENT_PDS = PARKING_PDS + DATASETS_DAQ_TFTEST
setHelperAgentStreams(tier0Config, {"SecondAgent" : SECOND_AGENT_PDS})


###################################
### currently inactive settings ###
Expand Down
23 changes: 13 additions & 10 deletions etc/ReplayOfflineConfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,14 @@
setConfigVersion(tier0Config, "replace with real version")

# Set run number to replay
# 382726 Cosmics, 4 hours
# 382686 - Collisions, 43.3 pb-1, 23.9583 TB NEW
# 386674 Cosmics ~40 minutes in Run2024I with occupancy issues

setInjectRuns(tier0Config, [382686, 382726])
setInjectRuns(tier0Config, [382686, 386674])

# Use this in order to limit the number of lumisections to process
#setInjectLimit(tier0Config, 10)

# Define streams to ignore. These wont be injected by the MainAgent
setHelperAgentStreams(tier0Config, {'SecondAgent': [],
'ThirdAgent' : []
})

# Settings up sites
processingSite = "T2_CH_CERN"
storageSite = "T0_CH_CERN_Disk"
Expand Down Expand Up @@ -116,7 +111,7 @@

# Defaults for CMSSW version
defaultCMSSWVersion = {
'default': "CMSSW_14_0_16"
'default': "CMSSW_14_0_18_patch1"
}

# Configure ScramArch
Expand All @@ -136,6 +131,7 @@
alcaPPSScenario = "AlCaPPS_Run3"
hiTestppScenario = "ppEra_Run3_pp_on_PbPb_2023"
hiRawPrimeScenario = "ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023"
hltScoutingScenario = "hltScoutingEra_Run3_2024"

# Procesing version number replays
# Taking Replay processing ID from the last 8 digits of the DeploymentID
Expand Down Expand Up @@ -1213,8 +1209,10 @@
DATASETS = ["ScoutingPFRun3"]
for dataset in DATASETS:
addDataset(tier0Config, dataset,
do_reco=False,
scenario=ppScenario)
do_reco=True,
write_aod=False,
write_miniaod=False,
scenario=hltScoutingScenario)

DATASETS = ["ParkingDoubleElectronLowMass0","ParkingDoubleElectronLowMass1","ParkingDoubleElectronLowMass2",
"ParkingDoubleElectronLowMass3","ParkingDoubleElectronLowMass4","ParkingDoubleElectronLowMass5",
Expand Down Expand Up @@ -1306,6 +1304,11 @@
### ignored streams ###
#######################

# Define streams to be ignored by MainAgent and processed by a HelperAgent if any.
setHelperAgentStreams(tier0Config, {'SecondAgent': ["Express"],
'ThirdAgent' : []
})

ignoreStream(tier0Config, "Error")
ignoreStream(tier0Config, "HLTMON")
ignoreStream(tier0Config, "EventDisplay")
Expand Down
10 changes: 6 additions & 4 deletions src/python/T0/WMBS/Oracle/Create.py
Original file line number Diff line number Diff line change
Expand Up @@ -942,10 +942,12 @@ def __init__(self, logger = None, dbi = None, params = None):
49 : "ppEra_Run3_pp_on_PbPb_2023",
50 : "ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2023",
51 : "ppEra_Run3_2023_repacked",
52 : "ppEra_Run3_2024_UPC",
53 : "ppEra_Run3_pp_on_PbPb_2024",
54 : "ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2024",
55 : "ppEra_Run3_2024_ppRef"
52 : "hltScoutingEra_Run3_2024"
53 : "ppEra_Run3_2024_UPC",
54 : "ppEra_Run3_pp_on_PbPb_2024",
55 : "ppEra_Run3_pp_on_PbPb_approxSiStripClusters_2024",
56 : "ppEra_Run3_2024_ppRef"

}
for id, name in list(eventScenarios.items()):
sql = """INSERT INTO event_scenario
Expand Down

0 comments on commit dc9d11e

Please sign in to comment.