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  minEntriesPerModuleForDmr = 100
43 )
44 
45 
49 from DQMServices.Core.DQM_cfg import *
50 # DQM file saver
51 DqmSaverTkAl = cms.EDAnalyzer("DQMFileSaver",
52  convention=cms.untracked.string("Offline"),
53  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
54  # WorkflowDescription should match namespace conventions, must have a year indicated by 2 digits in first word (aquisition era))
55  dirName=cms.untracked.string("."),
56  saveByRun=cms.untracked.int32(-1),
57  saveAtJobEnd=cms.untracked.bool(True),
58  forceRunNumber=cms.untracked.int32(100000) # Current Convention: Take first processed run
59 )
60 
61 
62 
65 seqTrackerOfflineValidationDqm = cms.Sequence(TrackerOfflineValidationDqm
66  *TrackerOfflineValidationSummaryDqm
67  *DqmSaverTkAl
68 )
Set standard binning for the DMR histograms.
Output File Configuration.