Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:46:00

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 ##
0004 ## Set standard binning for the residual histograms in both, standalone and DQM mode
0005 ##
0006 from Alignment.OfflineValidation.TrackerOfflineValidation_cfi import *
0007 
0008 # do the parameter setting before cloning, so the clone gets these values
0009 TrackerOfflineValidation.TH1NormXprimeResStripModules.Nbinx = 120
0010 TrackerOfflineValidation.TH1NormXprimeResStripModules.xmin = -3.0
0011 TrackerOfflineValidation.TH1NormXprimeResStripModules.xmax = 3.0
0012 
0013 #TrackerOfflineValidation.TH1NormXResStripModules.Nbinx = 120
0014 #TrackerOfflineValidation.TH1NormXResStripModules.xmin = -3.0
0015 #TrackerOfflineValidation.TH1NormXResStripModules.xmax = 3.0
0016 
0017 TrackerOfflineValidation.TH1XprimeResStripModules.Nbinx = 5000
0018 TrackerOfflineValidation.TH1XprimeResStripModules.xmin = -0.05 #-0.5
0019 TrackerOfflineValidation.TH1XprimeResStripModules.xmax = 0.05 #0.5
0020 
0021 #TrackerOfflineValidation.TH1XResStripModules.Nbinx = 5000
0022 #TrackerOfflineValidation.TH1XResStripModules.xmin = -0.5
0023 #TrackerOfflineValidation.TH1XResStripModules.xmax = 0.5
0024 
0025 TrackerOfflineValidation.TH1NormYResStripModules.Nbinx = 120
0026 TrackerOfflineValidation.TH1NormYResStripModules.xmin = -3.0
0027 TrackerOfflineValidation.TH1NormYResStripModules.xmax = 3.0
0028 
0029 TrackerOfflineValidation.TH1YResStripModules.Nbinx = 5000
0030 TrackerOfflineValidation.TH1YResStripModules.xmin = -11.0
0031 TrackerOfflineValidation.TH1YResStripModules.xmax = 11.0
0032 
0033 TrackerOfflineValidation.TH1NormXprimeResPixelModules.Nbinx = 120
0034 TrackerOfflineValidation.TH1NormXprimeResPixelModules.xmin = -3.0
0035 TrackerOfflineValidation.TH1NormXprimeResPixelModules.xmax = 3.0
0036 
0037 #TrackerOfflineValidation.TH1NormXResPixelModules.Nbinx = 120
0038 #TrackerOfflineValidation.TH1NormXResPixelModules.xmin = -3.0
0039 #TrackerOfflineValidation.TH1NormXResPixelModules.xmax = 3.0
0040 
0041 TrackerOfflineValidation.TH1XprimeResPixelModules.Nbinx = 5000
0042 TrackerOfflineValidation.TH1XprimeResPixelModules.xmin = -0.05 #-0.5
0043 TrackerOfflineValidation.TH1XprimeResPixelModules.xmax = 0.05 #0.5
0044 
0045 #TrackerOfflineValidation.TH1XResPixelModules.Nbinx = 5000
0046 #TrackerOfflineValidation.TH1XResPixelModules.xmin = -0.5
0047 #TrackerOfflineValidation.TH1XResPixelModules.xmax = 0.5
0048 
0049 TrackerOfflineValidation.TH1NormYResPixelModules.Nbinx = 120
0050 TrackerOfflineValidation.TH1NormYResPixelModules.xmin = -3.0
0051 TrackerOfflineValidation.TH1NormYResPixelModules.xmax = 3.0
0052 
0053 TrackerOfflineValidation.TH1YResPixelModules.Nbinx = 5000
0054 TrackerOfflineValidation.TH1YResPixelModules.xmin = -0.05 #-0.5
0055 TrackerOfflineValidation.TH1YResPixelModules.xmax = 0.05 #0.5
0056 
0057 TrackerOfflineValidation.TProfileXResStripModules.Nbinx = 34
0058 TrackerOfflineValidation.TProfileXResStripModules.xmin = -1.02
0059 TrackerOfflineValidation.TProfileXResStripModules.xmax = 1.02
0060 
0061 TrackerOfflineValidation.TProfileXResPixelModules.Nbinx = 17
0062 TrackerOfflineValidation.TProfileXResPixelModules.xmin = -1.02
0063 TrackerOfflineValidation.TProfileXResPixelModules.xmax = 1.02
0064 
0065 TrackerOfflineValidation.TProfileYResStripModules.Nbinx = 34
0066 TrackerOfflineValidation.TProfileYResStripModules.xmin = -1.02
0067 TrackerOfflineValidation.TProfileYResStripModules.xmax = 1.02
0068 
0069 TrackerOfflineValidation.TProfileYResPixelModules.Nbinx = 17
0070 TrackerOfflineValidation.TProfileYResPixelModules.xmin = -1.02
0071 TrackerOfflineValidation.TProfileYResPixelModules.xmax = 1.02
0072 
0073 # First clone contains the standard histogram binning for both, Standalone and DQMmode
0074 TrackerOfflineValidationBinned = TrackerOfflineValidation.clone()
0075 
0076 ##
0077 ## TrackerOfflineValidation (standalone mode)
0078 ##
0079 # Second clone
0080 TrackerOfflineValidationStandalone = TrackerOfflineValidationBinned.clone(
0081     Tracks = 'TrackRefitterForOfflineValidation',
0082     moduleLevelHistsTransient = cms.bool(True),
0083     moduleLevelProfiles = cms.bool(False)
0084 )
0085 
0086 ##
0087 ## Output File Configuration 
0088 ##
0089 # use TFileService
0090 from PhysicsTools.UtilAlgos.TFileService_cfi import *
0091 TFileService = cms.Service("TFileService",
0092     fileName = cms.string('$TMPDIR/trackerOfflineValidation.root'),
0093     closeFileFast = cms.untracked.bool(True)
0094 )
0095 
0096 ##
0097 ## Sequence
0098 ##
0099 seqTrackerOfflineValidationStandalone = cms.Sequence(TrackerOfflineValidationStandalone)
0100