CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TrackerOfflineValidation_Standalone_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 ##
4 ## Set standard binning for the residual histograms in both, standalone and DQM mode
5 ##
7 
8 # do the parameter setting before cloning, so the clone gets these values
9 TrackerOfflineValidation.TH1NormXprimeResStripModules.Nbinx = 120
10 TrackerOfflineValidation.TH1NormXprimeResStripModules.xmin = -3.0
11 TrackerOfflineValidation.TH1NormXprimeResStripModules.xmax = 3.0
12 
13 #TrackerOfflineValidation.TH1NormXResStripModules.Nbinx = 120
14 #TrackerOfflineValidation.TH1NormXResStripModules.xmin = -3.0
15 #TrackerOfflineValidation.TH1NormXResStripModules.xmax = 3.0
16 
17 TrackerOfflineValidation.TH1XprimeResStripModules.Nbinx = 5000
18 TrackerOfflineValidation.TH1XprimeResStripModules.xmin = -0.05 #-0.5
19 TrackerOfflineValidation.TH1XprimeResStripModules.xmax = 0.05 #0.5
20 
21 #TrackerOfflineValidation.TH1XResStripModules.Nbinx = 5000
22 #TrackerOfflineValidation.TH1XResStripModules.xmin = -0.5
23 #TrackerOfflineValidation.TH1XResStripModules.xmax = 0.5
24 
25 TrackerOfflineValidation.TH1NormYResStripModules.Nbinx = 120
26 TrackerOfflineValidation.TH1NormYResStripModules.xmin = -3.0
27 TrackerOfflineValidation.TH1NormYResStripModules.xmax = 3.0
28 
29 TrackerOfflineValidation.TH1YResStripModules.Nbinx = 5000
30 TrackerOfflineValidation.TH1YResStripModules.xmin = -11.0
31 TrackerOfflineValidation.TH1YResStripModules.xmax = 11.0
32 
33 TrackerOfflineValidation.TH1NormXprimeResPixelModules.Nbinx = 120
34 TrackerOfflineValidation.TH1NormXprimeResPixelModules.xmin = -3.0
35 TrackerOfflineValidation.TH1NormXprimeResPixelModules.xmax = 3.0
36 
37 #TrackerOfflineValidation.TH1NormXResPixelModules.Nbinx = 120
38 #TrackerOfflineValidation.TH1NormXResPixelModules.xmin = -3.0
39 #TrackerOfflineValidation.TH1NormXResPixelModules.xmax = 3.0
40 
41 TrackerOfflineValidation.TH1XprimeResPixelModules.Nbinx = 5000
42 TrackerOfflineValidation.TH1XprimeResPixelModules.xmin = -0.05 #-0.5
43 TrackerOfflineValidation.TH1XprimeResPixelModules.xmax = 0.05 #0.5
44 
45 #TrackerOfflineValidation.TH1XResPixelModules.Nbinx = 5000
46 #TrackerOfflineValidation.TH1XResPixelModules.xmin = -0.5
47 #TrackerOfflineValidation.TH1XResPixelModules.xmax = 0.5
48 
49 TrackerOfflineValidation.TH1NormYResPixelModules.Nbinx = 120
50 TrackerOfflineValidation.TH1NormYResPixelModules.xmin = -3.0
51 TrackerOfflineValidation.TH1NormYResPixelModules.xmax = 3.0
52 
53 TrackerOfflineValidation.TH1YResPixelModules.Nbinx = 5000
54 TrackerOfflineValidation.TH1YResPixelModules.xmin = -0.05 #-0.5
55 TrackerOfflineValidation.TH1YResPixelModules.xmax = 0.05 #0.5
56 
57 TrackerOfflineValidation.TProfileXResStripModules.Nbinx = 34
58 TrackerOfflineValidation.TProfileXResStripModules.xmin = -1.02
59 TrackerOfflineValidation.TProfileXResStripModules.xmax = 1.02
60 
61 TrackerOfflineValidation.TProfileXResPixelModules.Nbinx = 17
62 TrackerOfflineValidation.TProfileXResPixelModules.xmin = -1.02
63 TrackerOfflineValidation.TProfileXResPixelModules.xmax = 1.02
64 
65 TrackerOfflineValidation.TProfileYResStripModules.Nbinx = 34
66 TrackerOfflineValidation.TProfileYResStripModules.xmin = -1.02
67 TrackerOfflineValidation.TProfileYResStripModules.xmax = 1.02
68 
69 TrackerOfflineValidation.TProfileYResPixelModules.Nbinx = 17
70 TrackerOfflineValidation.TProfileYResPixelModules.xmin = -1.02
71 TrackerOfflineValidation.TProfileYResPixelModules.xmax = 1.02
72 
73 # First clone contains the standard histogram binning for both, Standalone and DQMmode
74 TrackerOfflineValidationBinned = TrackerOfflineValidation.clone()
75 
76 ##
77 ## TrackerOfflineValidation (standalone mode)
78 ##
79 # Second clone
80 TrackerOfflineValidationStandalone = TrackerOfflineValidationBinned.clone(
81  Tracks = 'TrackRefitterForOfflineValidation',
82  moduleLevelHistsTransient = cms.bool(True),
83  moduleLevelProfiles = cms.bool(False)
84 )
85 
86 ##
87 ## Output File Configuration
88 ##
89 # use TFileService
91 TFileService = cms.Service("TFileService",
92  fileName = cms.string('$TMPDIR/trackerOfflineValidation.root'),
93  closeFileFast = cms.untracked.bool(True)
94 )
95 
96 ##
97 ## Sequence
98 ##
99 seqTrackerOfflineValidationStandalone = cms.Sequence(TrackerOfflineValidationStandalone)
100 
Set standard binning for the residual histograms in both, standalone and DQM mode.
Output File Configuration.