CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DQM/TrackingMonitor/python/MonitorTrackSTAMuons_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # MonitorTrackGlobal
00004 import DQM.TrackingMonitor.TrackingMonitor_cfi
00005 MonitorTrackSTAMuons = DQM.TrackingMonitor.TrackingMonitor_cfi.TrackMon.clone()
00006 
00007 # input tags
00008 MonitorTrackSTAMuons.TrackProducer = cms.InputTag("standAloneMuons","UpdatedAtVtx")
00009 MonitorTrackSTAMuons.SeedProducer  = cms.InputTag("combinedP5SeedsForCTF")
00010 MonitorTrackSTAMuons.TCProducer    = cms.InputTag("ckfTrackCandidatesP5")
00011 MonitorTrackSTAMuons.beamSpot      = cms.InputTag("offlineBeamSpot")
00012 MonitorTrackSTAMuons.ClusterLabels = cms.vstring('Tot')
00013 
00014 # output parameters
00015 MonitorTrackSTAMuons.OutputMEsInRootFile = cms.bool(False)
00016 MonitorTrackSTAMuons.AlgoName            = cms.string('sta')
00017 MonitorTrackSTAMuons.Quality             = cms.string('')
00018 MonitorTrackSTAMuons.OutputFileName      = cms.string('monitortrackparameters_stamuons.root')
00019 MonitorTrackSTAMuons.FolderName          = cms.string('Muons/standAloneMuonsUpdatedAtVtx')
00020 MonitorTrackSTAMuons.BSFolderName        = cms.string('Muons/standAloneMuonsUpdatedAtVtx/BeamSpotParameters')
00021 
00022 # determines where to evaluate track parameters
00023 # options: 'default'      --> straight up track parametes
00024 #                  'ImpactPoint'  --> evalutate at impact point 
00025 #                  'InnerSurface' --> evalutate at innermost measurement state 
00026 #                  'OuterSurface' --> evalutate at outermost measurement state 
00027 MonitorTrackSTAMuons.MeasurementState = cms.string('default')
00028 
00029 # which plots to do
00030 MonitorTrackSTAMuons.doTrackerSpecific          = cms.bool(False)
00031 MonitorTrackSTAMuons.doAllPlots                 = cms.bool(False)
00032 MonitorTrackSTAMuons.doBeamSpotPlots            = cms.bool(False)
00033 MonitorTrackSTAMuons.doSeedParameterHistos      = cms.bool(False)
00034 MonitorTrackSTAMuons.doTrackCandHistos          = cms.bool(False)
00035 MonitorTrackSTAMuons.doDCAPlots                 = cms.bool(False)
00036 MonitorTrackSTAMuons.doGeneralPropertiesPlots   = cms.bool(True)
00037 MonitorTrackSTAMuons.doHitPropertiesPlots       = cms.bool(True)              
00038 MonitorTrackSTAMuons.doGoodTrackPlots           = cms.bool(False)
00039 MonitorTrackSTAMuons.doMeasurementStatePlots    = cms.bool(True)
00040 MonitorTrackSTAMuons.doProfilesVsLS             = cms.bool(False)
00041 MonitorTrackSTAMuons.doRecHitVsPhiVsEtaPerTrack = cms.bool(False)
00042 MonitorTrackSTAMuons.doGoodTrackRecHitVsPhiVsEtaPerTrack = cms.bool(False)                          
00043 
00044 #which seed plots to do
00045 MonitorTrackSTAMuons.doSeedNumberHisto = cms.bool(False)
00046 MonitorTrackSTAMuons.doSeedVsClusterHisto = cms.bool(False)
00047 MonitorTrackSTAMuons.doSeedPTHisto = cms.bool(False)
00048 MonitorTrackSTAMuons.doSeedETAHisto = cms.bool(False)
00049 MonitorTrackSTAMuons.doSeedPHIHisto = cms.bool(False)
00050 MonitorTrackSTAMuons.doSeedPHIVsETAHisto = cms.bool(False)
00051 MonitorTrackSTAMuons.doSeedThetaHisto = cms.bool(False)
00052 MonitorTrackSTAMuons.doSeedQHisto = cms.bool(False)
00053 MonitorTrackSTAMuons.doSeedDxyHisto= cms.bool(False)
00054 MonitorTrackSTAMuons.doSeedDzHisto= cms.bool(False)
00055 MonitorTrackSTAMuons.doSeedNRecHitsHisto= cms.bool(False)
00056 MonitorTrackSTAMuons.doSeedNVsPhiProf= cms.bool(False)
00057 MonitorTrackSTAMuons.doSeedNVsEtaProf= cms.bool(False)
00058 
00059 
00060 # paramters of the Track
00061 # ============================================================ 
00062 
00063 # chi2
00064 MonitorTrackSTAMuons.Chi2Bin = cms.int32(250)
00065 MonitorTrackSTAMuons.Chi2Max = cms.double(500.0)
00066 MonitorTrackSTAMuons.Chi2Min = cms.double(0.0)
00067 
00068 # chi2 dof
00069 MonitorTrackSTAMuons.Chi2NDFBin = cms.int32(200)
00070 MonitorTrackSTAMuons.Chi2NDFMax = cms.double(19.5)
00071 MonitorTrackSTAMuons.Chi2NDFMin = cms.double(-0.5)
00072 
00073 # chi^2 probability
00074 MonitorTrackSTAMuons.Chi2ProbBin = cms.int32(100)
00075 MonitorTrackSTAMuons.Chi2ProbMax = cms.double(1.0)
00076 MonitorTrackSTAMuons.Chi2ProbMin = cms.double(0.0)
00077 
00078 # Number of Tracks per Event
00079 MonitorTrackSTAMuons.TkSizeBin = cms.int32(11)
00080 MonitorTrackSTAMuons.TkSizeMax = cms.double(10.5)
00081 MonitorTrackSTAMuons.TkSizeMin = cms.double(-0.5)
00082 
00083 # Number of seeds per Event                                    
00084 MonitorTrackSTAMuons.TkSeedSizeBin = cms.int32(20)
00085 MonitorTrackSTAMuons.TkSeedSizeMax = cms.double(19.5)                                    
00086 MonitorTrackSTAMuons.TkSeedSizeMin = cms.double(-0.5)
00087 
00088 # Number of Track Cadidates per Event
00089 MonitorTrackSTAMuons.TCSizeBin = cms.int32(150)
00090 MonitorTrackSTAMuons.TCSizeMax = cms.double(149.5)                                    
00091 MonitorTrackSTAMuons.TCSizeMin = cms.double(-0.5)
00092 
00093 # num rec hits                                    
00094 MonitorTrackSTAMuons.TrackQBin = cms.int32(8)
00095 MonitorTrackSTAMuons.TrackQMax = cms.double(2.5)                                    
00096 MonitorTrackSTAMuons.TrackQMin = cms.double(-2.5)
00097 
00098 # num rec hits in seed                                    
00099 MonitorTrackSTAMuons.SeedHitBin = cms.int32(6)
00100 MonitorTrackSTAMuons.SeedHitMax = cms.double(5.5)
00101 MonitorTrackSTAMuons.SeedHitMin = cms.double(-0.5)
00102 
00103 # num rec hits per track candidate
00104 MonitorTrackSTAMuons.TCHitBin = cms.int32(40)
00105 MonitorTrackSTAMuons.TCHitMax = cms.double(39.5)                                    
00106 MonitorTrackSTAMuons.TCHitMin = cms.double(-0.5)
00107 
00108 # num rec hits
00109 MonitorTrackSTAMuons.RecHitBin = cms.int32(120)
00110 MonitorTrackSTAMuons.RecHitMax = cms.double(120.0)
00111 MonitorTrackSTAMuons.RecHitMin = cms.double(0.0)
00112 
00113 # mean rec hits
00114 MonitorTrackSTAMuons.MeanHitBin = cms.int32(30)
00115 MonitorTrackSTAMuons.MeanHitMax = cms.double(29.5)                                    
00116 MonitorTrackSTAMuons.MeanHitMin = cms.double(-0.5)
00117 
00118 # num TOB rec hits
00119 MonitorTrackSTAMuons.TOBHitBin = cms.int32(15)
00120 MonitorTrackSTAMuons.TOBHitMin = cms.double(-0.5)
00121 MonitorTrackSTAMuons.TOBHitMax = cms.double(14.5)
00122 
00123 # num TIB rec hits
00124 MonitorTrackSTAMuons.TIBHitBin = cms.int32(15)
00125 MonitorTrackSTAMuons.TIBHitMin = cms.double(-0.5)
00126 MonitorTrackSTAMuons.TIBHitMax = cms.double(14.5)
00127 
00128 # num TID rec hits
00129 MonitorTrackSTAMuons.TIDHitBin = cms.int32(15)
00130 MonitorTrackSTAMuons.TIDHitMin = cms.double(-0.5)
00131 MonitorTrackSTAMuons.TIDHitMax = cms.double(14.5)
00132 
00133 # num TEC rec hits
00134 MonitorTrackSTAMuons.TECHitBin = cms.int32(25)
00135 MonitorTrackSTAMuons.TECHitMin = cms.double(-0.5)
00136 MonitorTrackSTAMuons.TECHitMax = cms.double(24.5)
00137 
00138 # num PXB rec hits
00139 MonitorTrackSTAMuons.PXBHitBin = cms.int32(10)
00140 MonitorTrackSTAMuons.PXBHitMin = cms.double(-0.5)
00141 MonitorTrackSTAMuons.PXBHitMax = cms.double(9.5)
00142 
00143 # num PXF rec hits
00144 MonitorTrackSTAMuons.PXFHitBin = cms.int32(10)
00145 MonitorTrackSTAMuons.PXFHitMin = cms.double(-0.5)
00146 MonitorTrackSTAMuons.PXFHitMax = cms.double(9.5)
00147 
00148 # num rec hits lost
00149 MonitorTrackSTAMuons.RecLostBin = cms.int32(120)
00150 MonitorTrackSTAMuons.RecLostMax = cms.double(20)                                    
00151 MonitorTrackSTAMuons.RecLostMin = cms.double(0.0)
00152 
00153 # num layers
00154 MonitorTrackSTAMuons.RecLayBin = cms.int32(120)
00155 MonitorTrackSTAMuons.RecLayMax = cms.double(120.0)
00156 MonitorTrackSTAMuons.RecLayMin = cms.double(0.0)
00157 
00158 # mean layers 
00159 MonitorTrackSTAMuons.MeanLayBin = cms.int32(20)
00160 MonitorTrackSTAMuons.MeanLayMax = cms.double(19.5)                                    
00161 MonitorTrackSTAMuons.MeanLayMin = cms.double(-0.5)
00162 
00163 # num TOB layers
00164 MonitorTrackSTAMuons.TOBLayBin = cms.int32(10)
00165 MonitorTrackSTAMuons.TOBLayMax = cms.double(9.5)                                    
00166 MonitorTrackSTAMuons.TOBLayMin = cms.double(-0.5)
00167 
00168 # num TIB layers
00169 MonitorTrackSTAMuons.TIBLayBin = cms.int32(6)
00170 MonitorTrackSTAMuons.TIBLayMax = cms.double(5.5)                                    
00171 MonitorTrackSTAMuons.TIBLayMin = cms.double(-0.5)
00172 
00173 # num TID layers
00174 MonitorTrackSTAMuons.TIDLayBin = cms.int32(6)
00175 MonitorTrackSTAMuons.TIDLayMax = cms.double(5.5)                                    
00176 MonitorTrackSTAMuons.TIDLayMin = cms.double(-0.5)
00177 
00178 # num TEC layers
00179 MonitorTrackSTAMuons.TECLayBin = cms.int32(15)
00180 MonitorTrackSTAMuons.TECLayMax = cms.double(14.5)                                    
00181 MonitorTrackSTAMuons.TECLayMin = cms.double(-0.5)
00182 
00183 # num PXB layers
00184 MonitorTrackSTAMuons.PXBLayBin = cms.int32(6)
00185 MonitorTrackSTAMuons.PXBLayMax = cms.double(5.5)                                    
00186 MonitorTrackSTAMuons.PXBLayMin = cms.double(-0.5)
00187 
00188 # num PXF layers
00189 MonitorTrackSTAMuons.PXFLayBin = cms.int32(6)
00190 MonitorTrackSTAMuons.PXFLayMax = cms.double(5.5)                                    
00191 MonitorTrackSTAMuons.PXFLayMin = cms.double(-0.5)
00192 
00193 # Track |p|     
00194 MonitorTrackSTAMuons.TrackPBin = cms.int32(1000)
00195 MonitorTrackSTAMuons.TrackPMax = cms.double(1000)                                    
00196 MonitorTrackSTAMuons.TrackPMin = cms.double(0)
00197 
00198 # Track pT
00199 MonitorTrackSTAMuons.TrackPtBin = cms.int32(1000)
00200 MonitorTrackSTAMuons.TrackPtMax = cms.double(1000)
00201 MonitorTrackSTAMuons.TrackPtMin = cms.double(0)
00202 
00203 # Track px 
00204 MonitorTrackSTAMuons.TrackPxBin = cms.int32(1000)
00205 MonitorTrackSTAMuons.TrackPxMax = cms.double(500.0)
00206 MonitorTrackSTAMuons.TrackPxMin = cms.double(-500.0)
00207 
00208 # Track py
00209 MonitorTrackSTAMuons.TrackPyBin = cms.int32(1000)
00210 MonitorTrackSTAMuons.TrackPyMax = cms.double(500.0)
00211 MonitorTrackSTAMuons.TrackPyMin = cms.double(-500.0)
00212 
00213 # Track pz
00214 MonitorTrackSTAMuons.TrackPzMin = cms.double(-500.0)
00215 MonitorTrackSTAMuons.TrackPzMax = cms.double(500.0)
00216 MonitorTrackSTAMuons.TrackPzBin = cms.int32(1000)
00217 
00218 # track theta
00219 MonitorTrackSTAMuons.ThetaBin = cms.int32(100)
00220 MonitorTrackSTAMuons.ThetaMax = cms.double(3.2)
00221 MonitorTrackSTAMuons.ThetaMin = cms.double(0.0)
00222 
00223 # track eta
00224 MonitorTrackSTAMuons.EtaBin = cms.int32(100)
00225 MonitorTrackSTAMuons.EtaMax = cms.double(3.0)
00226 MonitorTrackSTAMuons.EtaMin = cms.double(-3.0)
00227 
00228 # track phi
00229 MonitorTrackSTAMuons.PhiBin = cms.int32(36)
00230 MonitorTrackSTAMuons.PhiMax = cms.double(3.2)
00231 MonitorTrackSTAMuons.PhiMin = cms.double(-3.2)
00232 
00233 # Track |p|     error
00234 MonitorTrackSTAMuons.pErrBin = cms.int32(100)
00235 MonitorTrackSTAMuons.pErrMax = cms.double(10.0)
00236 MonitorTrackSTAMuons.pErrMin = cms.double(0.0)
00237 
00238 # Track pT error
00239 MonitorTrackSTAMuons.ptErrBin = cms.int32(100)
00240 MonitorTrackSTAMuons.ptErrMax = cms.double(10.0)
00241 MonitorTrackSTAMuons.ptErrMin = cms.double(0.0)
00242 
00243 # Track px error
00244 MonitorTrackSTAMuons.pxErrBin = cms.int32(100)
00245 MonitorTrackSTAMuons.pxErrMax = cms.double(10.0)
00246 MonitorTrackSTAMuons.pxErrMin = cms.double(0.0)
00247 
00248 # Track py error
00249 MonitorTrackSTAMuons.pyErrBin = cms.int32(100)
00250 MonitorTrackSTAMuons.pyErrMax = cms.double(10.0)
00251 MonitorTrackSTAMuons.pyErrMin = cms.double(0.0)
00252 
00253 # Track pz error
00254 MonitorTrackSTAMuons.pzErrBin = cms.int32(100)
00255 MonitorTrackSTAMuons.pzErrMax = cms.double(10.0)
00256 MonitorTrackSTAMuons.pzErrMin = cms.double(0.0)
00257 
00258 # track eta error
00259 MonitorTrackSTAMuons.etaErrBin = cms.int32(100)
00260 MonitorTrackSTAMuons.etaErrMax = cms.double(0.5)
00261 MonitorTrackSTAMuons.etaErrMin = cms.double(0.0)
00262 
00263 # track phi Error
00264 MonitorTrackSTAMuons.phiErrBin = cms.int32(100)                                    
00265 MonitorTrackSTAMuons.phiErrMax = cms.double(1.0)
00266 MonitorTrackSTAMuons.phiErrMin = cms.double(0.0)
00267 
00268 # PCA x position
00269 MonitorTrackSTAMuons.VXBin = cms.int32(20)
00270 MonitorTrackSTAMuons.VXMax = cms.double(20.0)
00271 MonitorTrackSTAMuons.VXMin = cms.double(-20.0)
00272 
00273 # PCA y position   
00274 MonitorTrackSTAMuons.VYBin = cms.int32(20)
00275 MonitorTrackSTAMuons.VYMax = cms.double(20.0)
00276 MonitorTrackSTAMuons.VYMin = cms.double(-20.0)
00277 
00278 # PCA z position
00279 MonitorTrackSTAMuons.VZBin = cms.int32(50)
00280 MonitorTrackSTAMuons.VZMax = cms.double(100.0)
00281 MonitorTrackSTAMuons.VZMin = cms.double(-100.0)
00282 
00283 # PCA x position for 2D plot
00284 MonitorTrackSTAMuons.X0Bin = cms.int32(100)
00285 MonitorTrackSTAMuons.X0Max = cms.double(3.0)                                    
00286 MonitorTrackSTAMuons.X0Min = cms.double(-3.0)
00287 
00288 # PCA y position for 2D plot
00289 MonitorTrackSTAMuons.Y0Bin = cms.int32(100)
00290 MonitorTrackSTAMuons.Y0Max = cms.double(3.0)                                    
00291 MonitorTrackSTAMuons.Y0Min = cms.double(-3.0)
00292 
00293 # PCA z position for 2D plot
00294 MonitorTrackSTAMuons.Z0Bin = cms.int32(60)
00295 MonitorTrackSTAMuons.Z0Max = cms.double(30.0)
00296 MonitorTrackSTAMuons.Z0Min = cms.double(-30.0)
00297 
00298 # Track dxy (transverse impact parameter)
00299 MonitorTrackSTAMuons.DxyBin = cms.int32(100)
00300 MonitorTrackSTAMuons.DxyMax = cms.double(0.5)                                    
00301 MonitorTrackSTAMuons.DxyMin = cms.double(-0.5)                        
00302 
00303 # Seed dxy (transverse impact parameter)
00304 MonitorTrackSTAMuons.SeedDxyBin = cms.int32(100)
00305 MonitorTrackSTAMuons.SeedDxyMax = cms.double(0.5)
00306 MonitorTrackSTAMuons.SeedDxyMin = cms.double(-0.5)                                    
00307 
00308 # Seed dz (longitudinal impact parameter)
00309 MonitorTrackSTAMuons.SeedDzBin = cms.int32(200)
00310 MonitorTrackSTAMuons.SeedDzMax = cms.double(30.0)
00311 MonitorTrackSTAMuons.SeedDzMin = cms.double(-30.0)                                                            
00312 
00313 # Track Candidate dxy (transverse impact parameter)
00314 MonitorTrackSTAMuons.TCDxyBin = cms.int32(200)
00315 MonitorTrackSTAMuons.TCDxyMax = cms.double(100.0)
00316 MonitorTrackSTAMuons.TCDxyMin = cms.double(-100.0)                                                
00317 
00318 # Track Candidate dz (transverse impact parameter)
00319 MonitorTrackSTAMuons.TCDzBin = cms.int32(200)
00320 MonitorTrackSTAMuons.TCDzMax = cms.double(400.0)
00321 MonitorTrackSTAMuons.TCDzMin = cms.double(-400.0)                                                
00322 
00323 # NCluster Pixel
00324 MonitorTrackSTAMuons.NClusPxBin = cms.int32(50)
00325 MonitorTrackSTAMuons.NClusPxMax = cms.double(1999.5)                      
00326 MonitorTrackSTAMuons.NClusPxMin = cms.double(-0.5)
00327 
00328 # NCluster Strip
00329 MonitorTrackSTAMuons.NClusStrBin = cms.int32(150)
00330 MonitorTrackSTAMuons.NClusStrMax = cms.double(14999.5)                      
00331 MonitorTrackSTAMuons.NClusStrMin = cms.double(-0.5)
00332 
00333 # NCluster 2D
00334 MonitorTrackSTAMuons.NClus2DPxBin  = cms.int32(20)
00335 MonitorTrackSTAMuons.NClus2DPxMax  = cms.double(1999.5)                      
00336 MonitorTrackSTAMuons.NClus2DPxMin  = cms.double(-0.5)
00337 MonitorTrackSTAMuons.NClus2DStrBin = cms.int32(50)
00338 MonitorTrackSTAMuons.NClus2DStrMax = cms.double(14999.5)                      
00339 MonitorTrackSTAMuons.NClus2DStrMin = cms.double(-0.5)
00340 
00341 # NCluster Vs Tracks
00342 MonitorTrackSTAMuons.NClus2DTotBin = cms.int32(50)
00343 MonitorTrackSTAMuons.NClus2DTotMax = cms.double(14999.5)                      
00344 MonitorTrackSTAMuons.NClus2DTotMin = cms.double(-0.5)
00345 MonitorTrackSTAMuons.NTrk2DBin     = cms.int32(20)
00346 MonitorTrackSTAMuons.NTrk2DMax     = cms.double(199.5)                      
00347 MonitorTrackSTAMuons.NTrk2DMin     = cms.double(-0.5)
00348 
00349 MonitorTrackSTAMuons.TTRHBuilder = cms.string('WithTrackAngle')
00350 
00351 # For plots vs LS
00352 MonitorTrackSTAMuons.LSBin = cms.int32(2000)
00353 MonitorTrackSTAMuons.LSMin = cms.double(0)
00354 MonitorTrackSTAMuons.LSMax = cms.double(2000.)
00355 
00356 # Luminosity based analysis
00357 MonitorTrackSTAMuons.doLumiAnalysis = cms.bool(False)                       
00358