Skip to content

Commit b2b039e

Browse files
authored
Merge pull request #45475 from brandiskip/test_branch
Outer Tracker Phase2 DQM: additional stub validation plots
2 parents d4e8854 + e5cf028 commit b2b039e

File tree

9 files changed

+1525
-564
lines changed

9 files changed

+1525
-564
lines changed

DQM/SiTrackerPhase2/test/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
To run the L1 Tk DQM Plotting script:
2+
3+
Running the DQM plots is split into two parts. You will need to use the GEN-SIM-RECO or GEN-SIM-DIGI-RAW version of the file you want to run on.
4+
5+
To run part 1 of the DQM plotting, ```dqmstep_phase2tk_cfg.py``` is needed. In this code, the user can change the input file. To run code on a small sample size:
6+
```
7+
cmsRun dqmstep_phase2tk_cfg.py
8+
```
9+
10+
This outputs a file called ```step3_pre4_inDQM.root``` which will be used as input in the next step. To run part 2:
11+
```
12+
cmsRun harvestingstep_phase2tk_cfg.py
13+
```
14+
15+
This outputs a file called ```DQM_V0001_R000000001__Global__CMSSW_X_Y_Z__RECO.root``` that allows user to view the histograms locally.

DQM/SiTrackerPhase2/test/dqmstep_phase2tk_cfg.py

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@
22
# Auto generated configuration file
33
# using:
44
# Revision: 1.19
5+
6+
# This configuration file runs the first step of the DQM sequence.
7+
# Usage:
8+
# cmsRun dqmstep_phase2tk_cfg.py
9+
# Output:
10+
# step3_pre4_inDQM.root - input for the next step in the DQM sequence, harvestingstep_phase2tk_cfg.py
11+
512
# Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v
6-
# with command line options: step3 --conditions auto:phase2_realistic_T21 -s RAW2DIGI,L1Reco,RECO,RECOSIM,VALIDATION:@phase2Validation,DQM:@phase2 --datatier DQMIO -n 10 --geometry Extended2026D76 --era Phase2C11M9 --eventcontent DQM --no_exec
13+
# with command line options: step3 --conditions auto:phase2_realistic_T21 -s RAW2DIGI,L1Reco,RECO,RECOSIM,VALIDATION:@phase2Validation,DQM:@phase2 --datatier DQMIO -n 10 --geometry Extended2026D98 --era Phase2C11M9 --eventcontent DQM --no_exec
714
import FWCore.ParameterSet.Config as cms
815

916
from Configuration.Eras.Era_Phase2C11M9_cff import Phase2C11M9
@@ -16,7 +23,7 @@
1623
process.load('FWCore.MessageService.MessageLogger_cfi')
1724
process.load('Configuration.EventContent.EventContent_cff')
1825
process.load('SimGeneral.MixingModule.mixNoPU_cfi')
19-
process.load('Configuration.Geometry.GeometryExtendedRun4D76Reco_cff')
26+
process.load('Configuration.Geometry.GeometryExtendedRun4D98Reco_cff')
2027
process.load('Configuration.StandardSequences.MagneticField_cff')
2128
process.load('Configuration.StandardSequences.RawToDigi_Data_cff')
2229
process.load('Configuration.StandardSequences.L1Reco_cff')
@@ -34,7 +41,7 @@
3441

3542
# Input source
3643
process.source = cms.Source("PoolSource",
37-
fileNames = cms.untracked.vstring('/store/relval/CMSSW_11_3_0_pre4/RelValTTbar_14TeV/GEN-SIM-RECO/113X_mcRun4_realistic_v4_2026D76noPU-v1/00000/cf5b0e7d-f139-4305-9baf-db9c64590966.root'),
44+
fileNames = cms.untracked.vstring('/store/relval/CMSSW_14_0_0_pre2/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU_133X_mcRun4_realistic_v1_STD_2026D98_PU200_RV229-v1/2580000/0b2b0b0b-f312-48a8-9d46-ccbadc69bbfd.root'),
3845
secondaryFileNames = cms.untracked.vstring()
3946
)
4047

@@ -146,4 +153,4 @@
146153
# Add early deletion of temporary data products to reduce peak memory need
147154
from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
148155
process = customiseEarlyDelete(process)
149-
# End adding early deletion
156+
# End adding early deletion

DQM/SiTrackerPhase2/test/harvestingstep_phase2tk_cfg.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
# Auto generated configuration file
22
# using:
33
# Revision: 1.19
4+
5+
# This configuration file runs the second step of the DQM sequence.
6+
# Usage:
7+
# cmsRun harvestingstep_phase2tk_cfg.py
8+
# Output:
9+
# DQM_V0001_R000000001__Global__CMSSW_X_Y_Z__RECO.root - for local visualization of histograms
10+
411
# Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v
5-
# with command line options: step4 --conditions auto:phase2_realistic_T21 -s HARVESTING:@phase2Validation+@phase2+@miniAODValidation+@miniAODDQM --scenario pp --filetype DQM --geometry Extended2026D76 --era Phase2C11M9 --mc -n -1 --no_exec
12+
# with command line options: step4 --conditions auto:phase2_realistic_T21 -s HARVESTING:@phase2Validation+@phase2+@miniAODValidation+@miniAODDQM --scenario pp --filetype DQM --geometry ExtendedRun4D98 --era Phase2C11M9 --mc -n -1 --no_exec
613
import FWCore.ParameterSet.Config as cms
714

815
from Configuration.Eras.Era_Phase2C11M9_cff import Phase2C11M9
@@ -15,7 +22,7 @@
1522
process.load('FWCore.MessageService.MessageLogger_cfi')
1623
process.load('Configuration.EventContent.EventContent_cff')
1724
process.load('SimGeneral.MixingModule.mixNoPU_cfi')
18-
process.load('Configuration.Geometry.GeometryExtendedRun4D76Reco_cff')
25+
process.load('Configuration.Geometry.GeometryExtendedRun4D98Reco_cff')
1926
process.load('Configuration.StandardSequences.MagneticField_cff')
2027
process.load('Configuration.StandardSequences.DQMSaverAtRunEnd_cff')
2128
process.load('Configuration.StandardSequences.Harvesting_cff')
@@ -82,4 +89,3 @@
8289

8390
# Schedule definition
8491
process.schedule = cms.Schedule(process.trackerphase2ValidationHarvesting_step,process.dqmsave_step)
85-

0 commit comments

Comments
 (0)