CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/Alignment/OfflineValidation/python/TrackerOfflineValidation_Standalone_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 ##
00004 ## Set standard binning for the residual histograms in both, standalone and DQM mode
00005 ##
00006 from Alignment.OfflineValidation.TrackerOfflineValidation_cfi import *
00007 
00008 # do the parameter setting before cloning, so the clone gets these values
00009 TrackerOfflineValidation.TH1NormXprimeResStripModules.Nbinx = 120
00010 TrackerOfflineValidation.TH1NormXprimeResStripModules.xmin = -3.0
00011 TrackerOfflineValidation.TH1NormXprimeResStripModules.xmax = 3.0
00012 
00013 #TrackerOfflineValidation.TH1NormXResStripModules.Nbinx = 120
00014 #TrackerOfflineValidation.TH1NormXResStripModules.xmin = -3.0
00015 #TrackerOfflineValidation.TH1NormXResStripModules.xmax = 3.0
00016 
00017 TrackerOfflineValidation.TH1XprimeResStripModules.Nbinx = 5000
00018 TrackerOfflineValidation.TH1XprimeResStripModules.xmin = -0.05 #-0.5
00019 TrackerOfflineValidation.TH1XprimeResStripModules.xmax = 0.05 #0.5
00020 
00021 #TrackerOfflineValidation.TH1XResStripModules.Nbinx = 5000
00022 #TrackerOfflineValidation.TH1XResStripModules.xmin = -0.5
00023 #TrackerOfflineValidation.TH1XResStripModules.xmax = 0.5
00024 
00025 TrackerOfflineValidation.TH1NormYResStripModules.Nbinx = 120
00026 TrackerOfflineValidation.TH1NormYResStripModules.xmin = -3.0
00027 TrackerOfflineValidation.TH1NormYResStripModules.xmax = 3.0
00028 
00029 TrackerOfflineValidation.TH1YResStripModules.Nbinx = 5000
00030 TrackerOfflineValidation.TH1YResStripModules.xmin = -11.0
00031 TrackerOfflineValidation.TH1YResStripModules.xmax = 11.0
00032 
00033 TrackerOfflineValidation.TH1NormXprimeResPixelModules.Nbinx = 120
00034 TrackerOfflineValidation.TH1NormXprimeResPixelModules.xmin = -3.0
00035 TrackerOfflineValidation.TH1NormXprimeResPixelModules.xmax = 3.0
00036 
00037 #TrackerOfflineValidation.TH1NormXResPixelModules.Nbinx = 120
00038 #TrackerOfflineValidation.TH1NormXResPixelModules.xmin = -3.0
00039 #TrackerOfflineValidation.TH1NormXResPixelModules.xmax = 3.0
00040 
00041 TrackerOfflineValidation.TH1XprimeResPixelModules.Nbinx = 5000
00042 TrackerOfflineValidation.TH1XprimeResPixelModules.xmin = -0.05 #-0.5
00043 TrackerOfflineValidation.TH1XprimeResPixelModules.xmax = 0.05 #0.5
00044 
00045 #TrackerOfflineValidation.TH1XResPixelModules.Nbinx = 5000
00046 #TrackerOfflineValidation.TH1XResPixelModules.xmin = -0.5
00047 #TrackerOfflineValidation.TH1XResPixelModules.xmax = 0.5
00048 
00049 TrackerOfflineValidation.TH1NormYResPixelModules.Nbinx = 120
00050 TrackerOfflineValidation.TH1NormYResPixelModules.xmin = -3.0
00051 TrackerOfflineValidation.TH1NormYResPixelModules.xmax = 3.0
00052 
00053 TrackerOfflineValidation.TH1YResPixelModules.Nbinx = 5000
00054 TrackerOfflineValidation.TH1YResPixelModules.xmin = -0.05 #-0.5
00055 TrackerOfflineValidation.TH1YResPixelModules.xmax = 0.05 #0.5
00056 
00057 TrackerOfflineValidation.TProfileXResStripModules.Nbinx = 34
00058 TrackerOfflineValidation.TProfileXResStripModules.xmin = -1.02
00059 TrackerOfflineValidation.TProfileXResStripModules.xmax = 1.02
00060 
00061 TrackerOfflineValidation.TProfileXResPixelModules.Nbinx = 17
00062 TrackerOfflineValidation.TProfileXResPixelModules.xmin = -1.02
00063 TrackerOfflineValidation.TProfileXResPixelModules.xmax = 1.02
00064 
00065 TrackerOfflineValidation.TProfileYResStripModules.Nbinx = 34
00066 TrackerOfflineValidation.TProfileYResStripModules.xmin = -1.02
00067 TrackerOfflineValidation.TProfileYResStripModules.xmax = 1.02
00068 
00069 TrackerOfflineValidation.TProfileYResPixelModules.Nbinx = 17
00070 TrackerOfflineValidation.TProfileYResPixelModules.xmin = -1.02
00071 TrackerOfflineValidation.TProfileYResPixelModules.xmax = 1.02
00072 
00073 # First clone contains the standard histogram binning for both, Standalone and DQMmode
00074 TrackerOfflineValidationBinned = TrackerOfflineValidation.clone()
00075 
00076 ##
00077 ## TrackerOfflineValidation (standalone mode)
00078 ##
00079 # Second clone
00080 TrackerOfflineValidationStandalone = TrackerOfflineValidationBinned.clone(
00081     Tracks = 'TrackRefitterForOfflineValidation',
00082     moduleLevelHistsTransient = cms.bool(True),
00083     moduleLevelProfiles = cms.bool(False)
00084 )
00085 
00086 ##
00087 ## Output File Configuration 
00088 ##
00089 # use TFileService
00090 from PhysicsTools.UtilAlgos.TFileService_cfi import *
00091 TFileService = cms.Service("TFileService",
00092     fileName = cms.string('$TMPDIR/trackerOfflineValidation.root'),
00093     closeFileFast = cms.untracked.bool(True)
00094 )
00095 
00096 ##
00097 ## Sequence
00098 ##
00099 seqTrackerOfflineValidationStandalone = cms.Sequence(TrackerOfflineValidationStandalone)
00100