CMS 3D CMS Logo

TrackerOfflineValidation_Dqm_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
7 
8 # do the parameter setting before cloning, so the clone gets these values
9 TrackerOfflineValidationSummary.TH1DmrXprimeStripModules.Nbinx = 50
10 TrackerOfflineValidationSummary.TH1DmrXprimeStripModules.xmin = -0.005
11 TrackerOfflineValidationSummary.TH1DmrXprimeStripModules.xmax = 0.005
12 
13 TrackerOfflineValidationSummary.TH1DmrYprimeStripModules.Nbinx = 50
14 TrackerOfflineValidationSummary.TH1DmrYprimeStripModules.xmin = -0.005
15 TrackerOfflineValidationSummary.TH1DmrYprimeStripModules.xmax = 0.005
16 
17 TrackerOfflineValidationSummary.TH1DmrXprimePixelModules.Nbinx = 50
18 TrackerOfflineValidationSummary.TH1DmrXprimePixelModules.xmin = -0.005
19 TrackerOfflineValidationSummary.TH1DmrXprimePixelModules.xmax = 0.005
20 
21 TrackerOfflineValidationSummary.TH1DmrYprimePixelModules.Nbinx = 50
22 TrackerOfflineValidationSummary.TH1DmrYprimePixelModules.xmin = -0.005
23 TrackerOfflineValidationSummary.TH1DmrYprimePixelModules.xmax = 0.005
24 
25 # First clone
26 TrackerOfflineValidationSummaryBinned = TrackerOfflineValidationSummary.clone()
27 
28 
31 from Alignment.OfflineValidation.TrackerOfflineValidation_Standalone_cff import TrackerOfflineValidationBinned
32 TrackerOfflineValidationDqm = TrackerOfflineValidationBinned.clone(
33  useInDqmMode = True,
34  moduleDirectoryInOutput = "Alignment/Tracker",
35  Tracks = 'TrackRefitterForOfflineValidation',
36 )
37 
38 
41 TrackerOfflineValidationSummaryDqm = TrackerOfflineValidationSummaryBinned.clone(
42  removeModuleLevelHists = True,
43  minEntriesPerModuleForDmr = 100
44 )
45 
46 
50 from DQMServices.Core.DQM_cfg import *
51 # DQM file saver
52 DqmSaverTkAl = cms.EDAnalyzer("DQMFileSaver",
53  convention=cms.untracked.string("Offline"),
54  workflow=cms.untracked.string("/Cosmics/TkAl09-AlignmentSpecification_R000100000_R000100050_ValSkim-v1/ALCARECO"), # /primaryDatasetName/WorkflowDescription/DataTier; Current Convention: Indicate run range (first and last run) in file name
55  # WorkflowDescription should match namespace conventions, must have a year indicated by 2 digits in first word (aquisition era))
56  dirName=cms.untracked.string("."),
57  saveByRun=cms.untracked.int32(-1),
58  saveAtJobEnd=cms.untracked.bool(True),
59  forceRunNumber=cms.untracked.int32(100000) # Current Convention: Take first processed run
60 )
61 
62 
63 
66 seqTrackerOfflineValidationDqm = cms.Sequence(TrackerOfflineValidationDqm
67  *TrackerOfflineValidationSummaryDqm
68  *DqmSaverTkAl
69 )
Set standard binning for the DMR histograms.
Output File Configuration.