Skip to content

DRAFT: L1 scouting new data formats #47867

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 83 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
daa89f5
Merge pull request #47294 from thomreis/fix-es-packer-evtnumber-overflow
cmsbuild Feb 10, 2025
b565528
Merge pull request #47296 from bdanzi/PR_ClusterSize
cmsbuild Feb 10, 2025
548ae7d
Merge pull request #47311 from makortel/hcalRecHitSoAsize
cmsbuild Feb 11, 2025
115f236
add a filter sequence if it is present in the fragment
vlimant Feb 12, 2025
6e3f2ad
add a test workflow for testing the new @hltScouting DQM sequence in …
mmusich Feb 11, 2025
60f0a24
Apply suggestions from code review
mmusich Feb 12, 2025
25af8f1
Merge pull request #47301 from fwyzard/alpaka_constexpr_warp_size
cmsbuild Feb 17, 2025
635a8bf
Merge pull request #47326 from fwyzard/RecoLocalTracker_SiPixelCluste…
cmsbuild Feb 17, 2025
8f2fac2
Merge pull request #47349 from mmusich/mm_dev_add_wf_for2024ScotingDQ…
cmsbuild Feb 17, 2025
f71cd74
Merge pull request #47347 from missirol/devel_addL1TCondDict
cmsbuild Feb 17, 2025
fe07539
fix throwOnMissing logic in ObjectSelectorBase
mmusich Feb 17, 2025
b0ab531
Merge pull request #47336 from etzovara/JetMETScoutDQM_cmssw1500pre1
cmsbuild Feb 18, 2025
e6c3a91
fix customizeHLTfor47047 to work also on already migrated menus
mmusich Feb 18, 2025
eff6955
Merge pull request #47345 from brunolopesbr2/update-paths
cmsbuild Feb 19, 2025
f5b4a4c
Merge pull request #47360 from mmusich/mm_fix_ObjectSelectorBase_thro…
cmsbuild Feb 19, 2025
f874b3e
Merge pull request #47364 from fwyzard/fix_warning_implicit_copy_ctor
cmsbuild Feb 19, 2025
1d52e3d
Merge pull request #47334 from vlimant/filter_in_fragment_150X
cmsbuild Feb 19, 2025
49b0ae4
Update a few GTs in autoCond
perrotta Feb 20, 2025
d794ba4
reverse byte order in DTH and SLinkRocket 128-byte words:
smorovic Feb 5, 2025
afc3c0d
* set of changes to allow multi-directory sourcing in DTH model. It c…
smorovic Feb 7, 2025
a2741e3
documentation of DAQSource interfaces
smorovic Feb 17, 2025
b2413c1
code-checks
smorovic Feb 20, 2025
1e00e2b
code-format
smorovic Feb 20, 2025
e02b08d
update doc
smorovic Feb 20, 2025
23689b2
remove initialization from variable which is parameter
smorovic Feb 20, 2025
4a9711e
Move ResourceInformation abstract base class to FWCore/AbstractServices
makortel Jan 31, 2025
491cfca
Change ResourceInformation::acceleratorTypes() to be a vector<string>
makortel Jan 31, 2025
af07337
Add hasGpuNvidia() function to ResourceInformation service
makortel Feb 1, 2025
ef280e0
Use ResourceInformation::hasGpuNvidia() in TensorFlow
makortel Feb 1, 2025
5599cf2
Add a function in ResourceInformation to return HardwareResourcesDesc…
makortel Feb 2, 2025
052ebbd
Make empty HardwareResourcesDescription to serialize as an empty string
makortel Feb 12, 2025
3b590e2
Use HardwareResourcesDescription in ProcessConfiguration
makortel Feb 2, 2025
dd9ed4f
Keep ResourceInformation service optional in ScheduleItems
makortel Feb 8, 2025
07ddd0b
Extend Process{Configration,History}_t tests to cover HardwareResourc…
makortel Feb 11, 2025
a3770dd
Merge pull request #47395 from cms-tsg-storm/fix_customizeHLTfor47047…
cmsbuild Feb 20, 2025
ddb86e8
fix clang warnings
smorovic Feb 21, 2025
c88b56e
update TauAnalysis folder from master branch
Feb 21, 2025
7102c1b
Merge pull request #47424 from KIT-CMS/embedding_backport_CMSSW_15_0_X
cmsbuild Feb 23, 2025
7f9e776
Update L1TCaloLayer1FetchLUTs.cc
asavincms Feb 12, 2025
ed7ab6d
Add files via upload
asavincms Feb 12, 2025
2d8d175
Add files via upload
asavincms Feb 12, 2025
e2fef4c
Add files via upload
asavincms Feb 12, 2025
ee62c9b
ZS added for E/HCal
asavincms Feb 12, 2025
e2379cd
Update L1TCaloLayer1FetchLUTs.cc
asavincms Feb 13, 2025
446262f
Update L1TCaloLayer1FetchLUTs.cc
asavincms Feb 13, 2025
f195a67
Update L1TCaloLayer1FetchLUTs.cc
asavincms Feb 13, 2025
d89a6db
Add files via upload
asavincms Feb 13, 2025
0276bfc
Update L1TCaloLayer1FetchLUTs.cc
asavincms Feb 18, 2025
4ee9393
Merge pull request #47420 from fwyzard/fix_HcalUpgradeDataFrame_dummy…
cmsbuild Feb 25, 2025
77ee6f8
move unit test for onlinebeammonitor_dqm_sourceclient-live to use str…
mmusich Feb 20, 2025
99e2d2b
DQMStreamerReader: re-throw all exceptions in unit test mode
mmusich Feb 21, 2025
7024de4
Merge pull request #47386 from perrotta/updateGtsInAutocond_150X
cmsbuild Feb 25, 2025
750dc44
Merge pull request #47433 from aloeliger/backport_47341
cmsbuild Feb 25, 2025
13ae055
Merge pull request #47446 from fwyzard/silence_false_positive_Branch_…
cmsbuild Feb 26, 2025
2e53561
Merge pull request #47449 from francescobrivio/alca-update_onlineBeam…
cmsbuild Feb 26, 2025
8603543
Merge pull request #47422 from smorovic/150x-dth-v1
cmsbuild Feb 26, 2025
0ab6c58
Merge pull request #47438 from fwyzard/implement_framework_integratio…
cmsbuild Feb 26, 2025
15bd1ff
HLT menu development for 14_2_X (branch for 15_0_X)
mmusich Dec 18, 2024
bad83fd
rename SUS to NPS (New Physics with Standard Objects)
mmusich Jan 30, 2025
5ec1878
update run3_mc_HIon to point to a 2024 MC GlobalTag key auto:phase1_2…
mmusich Feb 7, 2025
7084b18
update hltPathOwners.json with newly added paths in 14_2_X
mmusich Feb 26, 2025
4bed3cf
Merge pull request #47448 from yeckang/masking_on
cmsbuild Feb 26, 2025
4c02ddc
Merge pull request #47445 from fwyzard/implement_ProductNamePattern
cmsbuild Feb 26, 2025
581ec8e
Update 2023 and 2024 HI MC GTs in autoCond
perrotta Feb 27, 2025
d6717ff
Add optional HardwareResourcesInformation printout to edmProvDump
makortel Feb 27, 2025
563c542
Rename TestIOPool{Input,Streamer}ReducedProcessHistory tests
makortel Feb 12, 2025
4c6ccf4
Add tests for merging ROOT and streamer files with different hardware…
makortel Feb 12, 2025
a2e5b39
Merge pull request #47458 from cms-tsg-storm/HLTdevelopment142X_for150X
cmsbuild Feb 28, 2025
fb1e0b1
Merge pull request #47463 from perrotta/updateHiMcGtInAutoCond_150X
cmsbuild Feb 28, 2025
d526f47
Migrate all tables to CMSSW_15_0_0 template; update TSG scripts; remo…
mmusich Feb 28, 2025
80a0d8f
Updating the frozen menus to the 15_0_0 template
Martin-Grunewald Mar 1, 2025
56c0d64
Backport Eff.Area corrections
BlancoFS Mar 4, 2025
ee7925f
Merge pull request #47494 from cms-tsg-storm/HLTdevelopment150X
cmsbuild Mar 5, 2025
be0a518
option to set --eventcontent MINIAODSIM1 to set a different output mo…
vlimant Mar 4, 2025
8cd903e
Merge pull request #47415 from hazeltet845/ieta16_depthbit_reemul_fix
cmsbuild Mar 6, 2025
eeb41e6
Merge pull request #47497 from BlancoFS/CMSSW_15_0_X
cmsbuild Mar 6, 2025
9a16b11
Merge pull request #47416 from makortel/processConfigurationHardwareR…
cmsbuild Mar 6, 2025
d232e6c
Merge pull request #47505 from vlimant/stepchain_utility_150X
cmsbuild Mar 6, 2025
ca0afb4
Merge pull request #47515 from makortel/migrateAlpakaEDProducerHostPr…
cmsbuild Mar 6, 2025
b4d1be2
Add support for CaloTower L1 Scouting with data format, blocks, masks…
RoccoA97 Mar 11, 2025
b2086b0
Include new collection L1Scouting FastJet and producer
RoccoA97 Mar 12, 2025
39c9bf1
Fix wrong calo tower word masks
RoccoA97 Mar 12, 2025
b1e7b15
Added tests for calo towers
tj710 Mar 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
veto_HLT_Menu = [
"LumiScan",
"PPS",
"ECALTiming"]
"ECALTiming",
"ECAL"]
)
7 changes: 5 additions & 2 deletions CommonTools/UtilAlgos/interface/ObjectSelectorBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ObjectSelectorBase : public Base {
srcToken_(
this->template consumes<typename Selector::collection>(cfg.template getParameter<edm::InputTag>("src"))),
filter_(false),
throwOnMissing_(cfg.template getUntrackedParameter<bool>("throwOnMissing", true)),
throwOnMissing_(cfg.getUntrackedParameter<bool>("throwOnMissing", true)),
selectorInit_(this->consumesCollector()),
selector_(cfg, this->consumesCollector()),
sizeSelector_(reco::modules::make<SizeSelector>(cfg)),
Expand Down Expand Up @@ -69,10 +69,13 @@ class ObjectSelectorBase : public Base {
bool filter(edm::Event& evt, const edm::EventSetup& es) override {
selectorInit_.init(selector_, evt, es);
edm::Handle<typename Selector::collection> source;
evt.getByToken(srcToken_, source);
// if throwOnMissing is false, but the input source is not valid
// allow all events to pass
if (!throwOnMissing_ && !source.isValid()) {
return !filter_;
}
evt.getByToken(srcToken_, source);

StoreManager manager(source);
selector_.select(source, evt, es);
manager.cloneAndStore(selector_.begin(), selector_.end(), evt);
Expand Down
22 changes: 11 additions & 11 deletions Configuration/AlCa/python/autoCond.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
'run2_data_promptlike_hi' : '140X_dataRun2_PromptLike_HI_v1',
# GlobalTag with fixed snapshot time for Run2 HLT RelVals: customizations to run with fixed L1 Menu
'run2_hlt_relval' : '140X_dataRun2_HLT_relval_v1',
# GlobalTag for Run3 HLT: identical the online GT 150X_dataRun3_HLT_v1 but with snapshot at 2025-01-22 13:40:56
# GlobalTag for Run3 HLT: identical the online GT 150X_dataRun3_HLT_v1 but with snapshot at 2025-01-22 13:40:56 (UTC)
'run3_hlt' : '150X_dataRun3_HLT_frozen250122_v1',
# GlobalTag for Run3 data relvals (express GT): same as 150X_dataRun3_Express_v1 but with snapshot at 2025-01-22 13:46:42
# GlobalTag for Run3 data relvals (express GT): same as 150X_dataRun3_Express_v1 but with snapshot at 2025-01-22 13:46:42 (UTC)
'run3_data_express' : '150X_dataRun3_Express_frozen250122_v1',
# GlobalTag for Run3 data relvals (prompt GT): same as 150X_dataRun3_Prompt_v1 but with snapshot at 2025-01-22 13:49:01
# GlobalTag for Run3 data relvals (prompt GT): same as 150X_dataRun3_Prompt_v1 but with snapshot at 2025-01-22 13:49:01 (UTC)
'run3_data_prompt' : '150X_dataRun3_Prompt_frozen250122_v1',
# GlobalTag for Run3 offline data reprocessing - snapshot at 2024-11-27 13:03:22 (UTC)
'run3_data' : '141X_dataRun3_v5',
# GlobalTag for Run3 offline data reprocessing with Prompt GT, currently for 2022FG - snapshot at 2024-02-12 12:00:00 (UTC)
# GlobalTag for Run3 offline data reprocessing - snapshot at 2025-02-09 15:35:33 (UTC)
'run3_data' : '141X_dataRun3_v6',
# GlobalTag for Run3 offline data reprocessing with Prompt GT, currently for 2022FG - snapshot at 2024-05-31 08:53:25 (UTC)
'run3_data_PromptAnalysis' : '140X_dataRun3_PromptAnalysis_v2',
# GlobalTag for MC production with perfectly aligned and calibrated detector for Phase1 2017 (and 0,0,~0-centred beamspot)
'phase1_2017_design' : '131X_mc2017_design_v3',
Expand Down Expand Up @@ -74,7 +74,7 @@
# GlobalTag for MC production (cosmics) with perfectly aligned and calibrated detector for Phase1 2022, Strip tracker in DECO mode
'phase1_2022_cosmics_design' : '140X_mcRun3_2022cosmics_design_deco_v1',
# GlobalTag for MC production with realistic conditions for Phase1 2022 detector for Heavy Ion
'phase1_2022_realistic_hi' : '140X_mcRun3_2022_realistic_HI_v3',
'phase1_2022_realistic_hi' : '140X_mcRun3_2022_realistic_HI_v4',
# GlobalTag for MC production with perfectly aligned and calibrated detector for Phase1 2023
'phase1_2023_design' : '140X_mcRun3_2023_design_v1',
# GlobalTag for MC production with realistic conditions for Phase1 2023
Expand All @@ -88,7 +88,7 @@
# GlobalTag for MC production (cosmics) with perfectly aligned and calibrated detector for Phase1 2023, Strip tracker in DECO mode
'phase1_2023_cosmics_design' : '140X_mcRun3_2023cosmics_design_deco_v1',
# GlobalTag for MC production with realistic conditions for Phase1 2023 detector for Heavy Ion
'phase1_2023_realistic_hi' : '141X_mcRun3_2023_realistic_HI_v4',
'phase1_2023_realistic_hi' : '141X_mcRun3_2023_realistic_HI_v11',
# GlobalTag for MC production with perfectly aligned and calibrated detector for Phase1 2024
'phase1_2024_design' : '140X_mcRun3_2024_design_v11',
# GlobalTag for MC production with realistic conditions for Phase1 2024
Expand All @@ -98,13 +98,13 @@
# GlobalTag for MC production (cosmics) with perfectly aligned and calibrated detector for Phase1 2024, Strip tracker in DECO mode
'phase1_2024_cosmics_design' : '140X_mcRun3_2024cosmics_design_deco_v11',
# GlobalTag for MC production with realistic conditions for Phase1 2024 detector for Heavy Ion
'phase1_2024_realistic_hi' : '141X_mcRun3_2024_realistic_HI_v13',
'phase1_2024_realistic_hi' : '141X_mcRun3_2024_realistic_HI_v14',
# GlobalTag for MC production with realistic conditions for Phase1 2024 detector for ppRef5TeV
'phase1_2024_realistic_ppRef5TeV' : '141X_mcRun3_2024_realistic_ppRef5TeV_v7',
# GlobalTag for MC production with perfectly aligned and calibrated detector for Phase1 2025
'phase1_2025_design' : '140X_mcRun3_2024_design_v11',
'phase1_2025_design' : '142X_mcRun3_2025_design_v1',
# GlobalTag for MC production with realistic conditions for Phase1 2025
'phase1_2025_realistic' : '142X_mcRun3_2025_realistic_v5',
'phase1_2025_realistic' : '142X_mcRun3_2025_realistic_v7',
# GlobalTag for MC production with realistic conditions for Phase2
'phase2_realistic' : '141X_mcRun4_realistic_v3'
}
Expand Down
17 changes: 11 additions & 6 deletions Configuration/Applications/python/ConfigBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,12 +680,15 @@ def doNotInlineEventContent(instance,label = "cms.untracked.vstring(process."+th
if streamType=='': continue
if streamType == 'ALCARECO' and not 'ALCAPRODUCER' in self._options.step: continue
if streamType=='DQMIO': streamType='DQM'
streamQualifier=''
if streamType[-1].isdigit():
## a special case where --eventcontent MINIAODSIM1 is set to have more than one output in a chain of configuration
streamQualifier = str(streamType[-1])
streamType = streamType[:-1]
eventContent=streamType
## override streamType to eventContent in case NANOEDM
if streamType == "NANOEDMAOD" :
eventContent = "NANOAOD"
elif streamType == "NANOEDMAODSIM" :
eventContent = "NANOAODSIM"
if streamType.startswith("NANOEDMAOD"):
eventContent = eventContent.replace("NANOEDM","NANO")
theEventContent = getattr(self.process, eventContent+"EventContent")
if i==0:
theFileName=self._options.outfile_name
Expand Down Expand Up @@ -714,10 +717,11 @@ def doNotInlineEventContent(instance,label = "cms.untracked.vstring(process."+th
output.dataset.filterName = cms.untracked.string('StreamALCACombined')

if "MINIAOD" in streamType:
## we should definitely get rid of this customization by now
from PhysicsTools.PatAlgos.slimming.miniAOD_tools import miniAOD_customizeOutput
miniAOD_customizeOutput(output)

outputModuleName=streamType+'output'
outputModuleName=streamType+streamQualifier+'output'
setattr(self.process,outputModuleName,output)
outputModule=getattr(self.process,outputModuleName)
setattr(self.process,outputModuleName+'_step',cms.EndPath(outputModule))
Expand Down Expand Up @@ -1447,7 +1451,8 @@ def prepare_GEN(self, stepSpec = None):
self._options.nConcurrentIOVs = 1
elif isinstance(theObject, cms.Sequence) or isinstance(theObject, cmstypes.ESProducer):
self._options.inlineObjects+=','+name

if name == 'ProductionFilterSequence':
self.productionFilterSequence = 'ProductionFilterSequence'
if stepSpec == self.GENDefaultSeq or stepSpec == 'pgen_genonly':
if 'ProductionFilterSequence' in genModules and ('generator' in genModules):
self.productionFilterSequence = 'ProductionFilterSequence'
Expand Down
3 changes: 2 additions & 1 deletion Configuration/Eras/python/Era_Run3_2025_cff.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import FWCore.ParameterSet.Config as cms

from Configuration.Eras.Era_Run3_2024_cff import Run3_2024
from Configuration.Eras.Modifier_run3_GEM_2025_cff import run3_GEM_2025

Run3_2025 = cms.ModifierChain(Run3_2024)
Run3_2025 = cms.ModifierChain(Run3_2024, run3_GEM_2025)
4 changes: 4 additions & 0 deletions Configuration/Eras/python/Modifier_run3_GEM_2025_cff.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import FWCore.ParameterSet.Config as cms

run3_GEM_2025 = cms.Modifier()

2 changes: 1 addition & 1 deletion Configuration/HLT/python/autoCondHLT.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
'run3_mc_FULL' : ('phase1_2024_realistic' ,l1Menus['FULL']),
'run3_mc_GRun' : ('phase1_2024_realistic' ,l1Menus['GRun']),
'run3_mc_2024v14' : ('phase1_2024_realistic' ,l1Menus['2024v14']),
'run3_mc_HIon' : ('phase1_2023_realistic_hi',l1Menus['HIon']),
'run3_mc_HIon' : ('phase1_2024_realistic_hi',l1Menus['HIon']),
'run3_mc_PIon' : ('phase1_2024_realistic' ,l1Menus['PIon']),
'run3_mc_PRef' : ('phase1_2024_realistic' ,l1Menus['PRef']),
'run3_mc_Special' : ('phase1_2024_realistic' ,l1Menus['Special']),
Expand Down
2 changes: 2 additions & 0 deletions Configuration/PyReleaseValidation/python/relval_standard.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,8 @@
suff = "ZB_" if "ZeroBias" in step_name else ""
workflows[wf_number] = ['',[step_name,'HLTDR3_2024','RECONANORUN3_' + suff + 'reHLT_2024','HARVESTRUN3_' + suff + '2024']]

## special HLT scouting workflow (with hardcoded private input file from ScoutingPFMonitor skimmed to remove all events without scouting)
workflows[145.415] = ['',['HLTDR3_ScoutingPFMonitor_2024','RECONANORUN3_ScoutingPFMonitor_reHLT_2024','HARVESTRUN3_ScoutingPFMonitor_2024']]
##################################################################

### fastsim ###
Expand Down
9 changes: 9 additions & 0 deletions Configuration/PyReleaseValidation/python/relval_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -2286,6 +2286,12 @@ def lhegensim2018ml(fragment,howMuch):

steps['HLTDR3_2024']=merge( [ {'-s':'L1REPACK:Full,HLT:@%s'%hltKey2025,},{'--conditions':'auto:run3_hlt_relval'},{'--era' : 'Run3_2024'},steps['HLTD'] ] )

steps['HLTDR3_ScoutingPFMonitor_2024']=merge( [ {'-s':'L1REPACK:Full,HLT:@%s'%hltKey2025,},
{'--conditions':'auto:run3_hlt_relval'},
{'--era' : 'Run3_2024'},
{'--filein' : '/store/group/dpg_trigger/comm_trigger/TriggerStudiesGroup/Scouting/Run3/ScoutingPFMonitor/300684ed-1a51-474f-8c4f-b3bf1e1f5044_skimmed.root'},
steps['HLTD'] ] )

steps['HLTDR3_HI2023ARawprime']=merge([{'-s':'L1REPACK:Full,HLT:HIon'},
{'--conditions':'auto:run3_hlt_HIon'},
{'--era' : 'Run3_pp_on_PbPb_approxSiStripClusters_2023'},
Expand Down Expand Up @@ -3244,6 +3250,8 @@ def gen2024HiMix(fragment,howMuch):

steps['RECONANORUN3_reHLT_2024']=merge([{'-s':'RAW2DIGI,L1Reco,RECO,PAT,NANO,DQM:@standardDQM+@miniAODDQM+@nanoAODDQM','--datatier':'RECO,MINIAOD,NANOAOD,DQMIO','--eventcontent':'RECO,MINIAOD,NANOEDMAOD,DQM'},steps['RECODR3_reHLT_2024']])
steps['RECONANORUN3_ZB_reHLT_2024']=merge([{'-s':'RAW2DIGI,L1Reco,RECO,PAT,NANO,DQM:@rerecoZeroBias+@miniAODDQM+@nanoAODDQM'},steps['RECONANORUN3_reHLT_2024']])
steps['RECONANORUN3_ScoutingPFMonitor_reHLT_2024']=merge([{'-s':'RAW2DIGI,L1Reco,RECO,PAT,NANO,DQM:@standardDQM+@miniAODDQM+@nanoAODDQM+@hltScouting'},steps['RECONANORUN3_reHLT_2024']])

steps['AODNANORUN3_reHLT_2024']=merge([{'-s':'RAW2DIGI,L1Reco,RECO,PAT,NANO,DQM:@standardDQM+@miniAODDQM+@nanoAODDQM','--datatier':'AOD,MINIAOD,NANOAOD,DQMIO','--eventcontent':'AOD,MINIAOD,NANOEDMAOD,DQM'},steps['RECODR3_reHLT_2024']])

# Patatrack Alpaka validation in data
Expand Down Expand Up @@ -4039,6 +4047,7 @@ def gen2024HiMix(fragment,howMuch):
# 2024
steps['HARVESTRUN3_ZB_2024']=merge([{'--era':'Run3_2024', '-s':'HARVESTING:@rerecoZeroBias+@miniAODDQM+@nanoAODDQM'},steps['HARVESTDRUN3']])
steps['HARVESTRUN3_2024']=merge([{'--era':'Run3_2024', '-s':'HARVESTING:@standardDQM+@miniAODDQM+@nanoAODDQM'},steps['HARVESTDRUN3']])
steps['HARVESTRUN3_ScoutingPFMonitor_2024']=merge([{'--era':'Run3_2024', '-s':'HARVESTING:@standardDQM+@miniAODDQM+@nanoAODDQM+@hltScouting'},steps['HARVESTDRUN3']])

steps['HARVESTRUN3_HI2023A']=merge([{'--era':'Run3_pp_on_PbPb_approxSiStripClusters_2023', '-s':'HARVESTING:@standardDQM+@miniAODDQM'},steps['HARVESTRUN3_2022']])

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,76 +26,8 @@

#-----------------------------
if unitTest:
import FWCore.ParameterSet.VarParsing as VarParsing
options = VarParsing.VarParsing("analysis")

options.register(
"runkey",
"pp_run",
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.string,
"Run Keys of CMS"
)

options.register('runNumber',
346508,
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.int,
"Run number. This run number has to be present in the dataset configured with the dataset option.")

options.register('dataset',
'/ExpressPhysics/Commissioning2021-Express-v1/FEVT',
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.string,
"Dataset name like '/ExpressCosmics/Commissioning2019-Express-v1/FEVT'")

options.register('maxLumi',
2,
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.int,
"Only lumisections up to maxLumi are processed.")

options.register('minLumi',
1,
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.int,
"Only lumisections starting from minLumi are processed.")

options.register('lumiPattern',
'*',
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.string,
"Only lumisections with numbers matching lumiPattern are processed.")

options.register('eventsPerLumi',
100,
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.int,
"This number of last events in each lumisection will be processed.")

# This is used only by the online clients themselves.
# We need to register it here because otherwise an error occurs saying that there is an unidentified option.
options.register('unitTest',
True,
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.bool,
"Required to avoid the error.")

options.register('noDB',
True, # default value
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.bool,
"Don't upload the BeamSpot conditions to the DB")

options.parseArguments()

process.source = cms.Source("EmptySource")
process.source.numberEventsInRun=cms.untracked.uint32(100)
process.source.firstRun = cms.untracked.uint32(options.runNumber)
process.source.firstLuminosityBlock = cms.untracked.uint32(1)
process.source.numberEventsInLuminosityBlock = cms.untracked.uint32(2)
process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(100))

process.load("DQM.Integration.config.unitteststreamerinputsource_cfi")
from DQM.Integration.config.unitteststreamerinputsource_cfi import options
else:
process.load("DQM.Integration.config.inputsource_cfi")
from DQM.Integration.config.inputsource_cfi import options
Expand Down
2 changes: 1 addition & 1 deletion DQM/Integration/test/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<!-- <test name="TestDQMOnlineClient-scal_dqm_sourceclient" command="runtest.sh scal_dqm_sourceclient-live_cfg.py"/> -->
<test name="TestDQMOnlineClient-sistrip_dqm_sourceclient" command="runtest.sh sistrip_dqm_sourceclient-live_cfg.py"/>
<test name="TestDQMOnlineClient-sistrip_approx_dqm_sourceclient" command="runtest.sh sistrip_approx_dqm_sourceclient-live_cfg.py 362321 hi_run"/>
<test name="TestDQMOnlineClient-onlinebeammonitor_dqm_sourceclient" command="runtest.sh onlinebeammonitor_dqm_sourceclient-live_cfg.py"/>
<test name="TestDQMOnlineClient-onlinebeammonitor_dqm_sourceclient" command="runtest.sh onlinebeammonitor_dqm_sourceclient-live_cfg.py 381594 pp_run"/>
<test name="TestDQMOnlineClient-ecalgpu_dqm_sourceclient" command="runtest.sh ecalgpu_dqm_sourceclient-live_cfg.py 381594"/>
<test name="TestDQMOnlineClient-hcalgpu_dqm_sourceclient" command="runtest.sh hcalgpu_dqm_sourceclient-live_cfg.py 381594"/>
<test name="TestDQMOnlineClient-pixelgpu_dqm_sourceclient" command="runtest.sh pixelgpu_dqm_sourceclient-live_cfg.py 381594"/>
Expand Down
6 changes: 3 additions & 3 deletions DQM/SiStripMonitorHardware/src/SiStripSpyEventMatcher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include "FWCore/Framework/interface/ProductResolversFactory.h"
#include "FWCore/ServiceRegistry/interface/ActivityRegistry.h"
#include "FWCore/Utilities/interface/Exception.h"
#include "FWCore/Utilities/interface/GetPassID.h"
#include "FWCore/Version/interface/GetReleaseVersion.h"
#include "DQM/SiStripMonitorHardware/interface/SiStripSpyUtilities.h"
#include <algorithm>
Expand Down Expand Up @@ -57,8 +56,9 @@ namespace sistrip {
counterDiffMax_(config.getParameter<uint32_t>("CounterDiffMaxAllowed")),
productRegistry_(new edm::SignallingProductRegistry),
source_(constructSource(config.getParameter<edm::ParameterSet>("SpySource"))),
processConfiguration_(
new edm::ProcessConfiguration(std::string("@MIXING"), edm::getReleaseVersion(), edm::getPassID())),
// hardware information is not needed for the "overlay"
processConfiguration_(std::make_unique<edm::ProcessConfiguration>(
"@MIXING", edm::getReleaseVersion(), edm::HardwareResourcesDescription())),
eventPrincipal_() {
// Use the empty parameter set for the parameter set ID of our "@MIXING" process.
processConfiguration_->setParameterSetID(edm::ParameterSet::emptyParameterSetID());
Expand Down
Loading