Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:11:23

0001 import FWCore.ParameterSet.Config as cms 
0002 
0003 process = cms.Process("SiPixelMonitorTrackResiduals") 
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 
0007 process.load("Configuration.StandardSequences.MagneticField_cff")
0008 process.load("Configuration.GlobalRuns.ForceZeroTeslaField_cff")
0009 
0010 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0011 
0012 ###
0013 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0014 process.GlobalTag.connect = "frontier://PromptProd/CMS_COND_21X_GLOBALTAG"
0015 process.GlobalTag.globaltag = "CRUZET4_V4P::All"
0016 process.prefer("GlobalTag")
0017 ###
0018 
0019 # process.load("Configuration.StandardSequences.RawToDigi_cff")
0020 
0021 process.load("EventFilter.SiPixelRawToDigi.SiPixelRawToDigi_cfi")
0022 process.siPixelDigis.InputLabel = 'source'
0023 process.siPixelDigis.IncludeErrors = True
0024 
0025 process.load("EventFilter.SiStripRawToDigi.SiStripRawToDigis_standard_cff")
0026 process.siStripDigis.ProductLabel = 'source'
0027 
0028 # process.load("Configuration.StandardSequences.Reconstruction_cff")
0029 
0030 process.load("RecoLocalTracker.SiPixelClusterizer.SiPixelClusterizer_cfi")
0031 process.load("RecoLocalTracker.SiPixelRecHits.SiPixelRecHits_cfi")
0032 process.load("RecoLocalTracker.SiPixelRecHits.PixelCPEESProducers_cff")
0033 
0034 process.load("RecoLocalTracker.SiStripClusterizer.SiStripClusterizer_cfi")
0035 process.load("RecoLocalTracker.SiStripRecHitConverter.SiStripRecHitConverter_cfi")
0036 process.load("RecoLocalTracker.SiStripRecHitConverter.SiStripRecHitMatcher_cfi")
0037 process.load("RecoLocalTracker.SiStripRecHitConverter.StripCPEfromTrackAngle_cfi")
0038 process.load("RecoLocalTracker.SiStripZeroSuppression.SiStripZeroSuppression_cfi")
0039 
0040 process.load("RecoVertex.BeamSpotProducer.BeamSpot_cff")
0041 process.load("RecoPixelVertexing.Configuration.RecoPixelVertexing_cff")
0042 process.load("RecoTracker.Configuration.RecoTracker_cff")
0043   
0044 process.load("DQM.SiPixelMonitorRawData.SiPixelMonitorRawData_cfi")
0045 process.load("DQM.SiPixelMonitorDigi.SiPixelMonitorDigi_cfi")
0046 process.load("DQM.SiPixelMonitorCluster.SiPixelMonitorCluster_cfi")
0047 process.load("DQM.SiPixelMonitorRecHit.SiPixelMonitorRecHit_cfi")
0048 process.load("DQM.SiPixelMonitorTrack.SiPixelMonitorTrack_cfi")
0049 
0050 process.SiPixelTrackResidualSource.TrackCandidateProducer = cms.string('newTrackCandidateMaker')
0051 process.SiPixelTrackResidualSource.trajectoryInput = cms.InputTag('TrackRefitterP5')
0052 
0053 
0054 #process.load("IORawData.SiPixelInputSources.PixelSLinkDataInputSource_cfi")
0055 #process.PixelSLinkDataInputSource.fileNames = ['file:/afs/cern.ch/cms/Tracker/Pixel/forward/ryd/PixelAlive_070106d.dmp']
0056 
0057 process.source = cms.Source("PoolSource",
0058   #skipEvents = cms.untracked.uint32(7100), 
0059   fileNames = cms.untracked.vstring(
0060 
0061     ##RECO, superpointing
0062 
0063     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/34190739-739D-DD11-8E14-0019B9E4AD9A.root',
0064     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/34C7E8B3-CC9D-DD11-87F1-001D0967DE90.root',
0065     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/3664D2B2-CC9D-DD11-9DEA-001D0967D571.root',
0066     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/3803B395-CC9D-DD11-BD79-001D0967DA76.root',
0067     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/3AECD7B2-CC9D-DD11-8019-001D0968F779.root',
0068     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/3C2551B3-CC9D-DD11-A104-001D0967C13A.root',
0069     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/3E968F06-CD9D-DD11-83CE-00145EDD7925.root',
0070     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/402738F8-CC9D-DD11-8668-0019B9E4F9CF.root',
0071     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/408F9E84-CC9D-DD11-9824-0019B9E71460.root',
0072     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/4A571C76-CC9D-DD11-9025-0019B9E7C563.root',
0073     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/4AFB9AAD-CC9D-DD11-98A1-001D0967DFC6.root',
0074     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/4AFCBAB9-CC9D-DD11-B50F-001D0967CFCC.root',
0075     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/4C30B377-CC9D-DD11-A60A-001D0967D19D.root',
0076     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/4E393F81-CC9D-DD11-A156-001D0967D5D5.root',
0077     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/4EDF3174-CD9D-DD11-A17F-0019B9E4AF15.root',
0078     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/501C28EF-CC9D-DD11-B663-00145EDD72E5.root',
0079     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/50E3A82F-CC9D-DD11-A1FB-001D09690A04.root',
0080     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/58F75674-CC9D-DD11-981C-001D0967D60C.root',
0081     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/5AD7A697-CC9D-DD11-AA49-0019B9E4FDBB.root',
0082     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/5CC5F76E-CD9D-DD11-8211-00145EDD7971.root',
0083     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/5E5970B6-CC9D-DD11-A86F-001D0967DA85.root',
0084     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/621FACEC-CC9D-DD11-A88A-001D0967D32D.root',
0085     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/64B60FAA-CC9D-DD11-9073-001D0967DE90.root',
0086     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/66FC03E6-CC9D-DD11-B97F-0019B9E7DEB4.root',
0087     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/6842220C-CD9D-DD11-8C78-0019B9E4FDED.root',
0088     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/6C28E1C7-CC9D-DD11-A967-001D0967D670.root',
0089     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/6E661676-CC9D-DD11-9B72-0019B9E4FE29.root',
0090     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/6EDB95C7-CC9D-DD11-B110-0019B9E4F396.root',
0091     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/6EF1B235-CC9D-DD11-BACF-0019B9E7EA35.root',
0092     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/706E3C78-CC9D-DD11-B916-001D0967D698.root',
0093     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/70A44ACA-CC9D-DD11-8AA4-0019B9E4FF87.root',
0094     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/72F2CD7D-CD9D-DD11-ACFE-0019B9E4B0E7.root',
0095     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/7642247F-CC9D-DD11-B9D8-0019B9E50162.root',
0096     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/788C6371-CC9D-DD11-A1D0-001D0967D724.root',
0097     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/7A777793-CC9D-DD11-9962-001D0968CA4C.root',
0098     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/7AB2807C-CC9D-DD11-999B-001D0967CFE5.root',
0099     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/7C196FB6-CC9D-DD11-95F6-001D0967DCAB.root',
0100     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/7CD4FAE7-CC9D-DD11-87A4-001D0968F765.root',
0101     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/7E0FCA77-CC9D-DD11-977A-0019B9E4FC1C.root',
0102     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/820CBAB3-CC9D-DD11-B3A4-001D0967DEA4.root',
0103     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/862927B7-CC9D-DD11-B37C-0019B9E713FC.root',
0104     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/88534FB3-CC9D-DD11-84B6-001D0967DFAD.root',
0105     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/8AAF1481-CC9D-DD11-B3B9-0019B9E4FC76.root',
0106     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/8C1847FC-CC9D-DD11-9801-001D0967C0CC.root',
0107     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/8E58DBB2-CC9D-DD11-8F30-001D0967DC38.root',
0108     '/store/data/Commissioning08/Cosmics/RECO/CRAFT_V1P_SuperPointing_v3/0000/8E627483-CC9D-DD11-8484-0019B9E4F3F5.root'
0109  
0110     
0111     ),
0112     debugFlag = cms.untracked.bool(True),
0113     debugVebosity = cms.untracked.uint32(10)
0114 ) 
0115 process.maxEvents = cms.untracked.PSet(
0116   input = cms.untracked.int32(100)
0117 )
0118 process.DQMStore = cms.Service("DQMStore",
0119   verbose = cms.untracked.int32(0)
0120 )
0121 process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
0122 
0123 process.AdaptorConfig = cms.Service("AdaptorConfig") 
0124 
0125 
0126 ##
0127 ## Load and Configure TrackRefitter
0128 ##
0129 process.load("RecoTracker.TrackProducer.TrackRefitters_cff")
0130 process.TrackRefitterP5.src = 'rsWithMaterialTracksP5'
0131 process.TrackRefitterP5.TrajectoryInEvent = True
0132 
0133 
0134 process.siPixelLocalReco = cms.Sequence(process.siPixelDigis*process.siPixelClusters*process.siPixelRecHits) 
0135 process.siStripLocalReco = cms.Sequence(process.siStripDigis*process.siStripZeroSuppression*process.siStripClusters*process.siStripMatchedRecHits)
0136 process.trackerLocalReco = cms.Sequence(process.siPixelLocalReco*process.siStripLocalReco)
0137 #process.trackReconstruction = cms.Sequence(process.trackerLocalReco*process.offlineBeamSpot*process.recopixelvertexing*process.ckftracks) #*process.rstracks 
0138 process.trackReconstruction = cms.Sequence(process.trackerLocalReco*process.offlineBeamSpot*process.recopixelvertexing*process.ckftracks*process.rstracks)
0139 
0140 process.monitorTrack = cms.Sequence(process.SiPixelTrackResidualSource)
0141 process.monitors = cms.Sequence(process.SiPixelRawDataErrorSource*process.SiPixelDigiSource*process.SiPixelClusterSource*process.SiPixelRecHitSource*process.SiPixelTrackResidualSource)
0142 
0143 #event content analyzer
0144 process.dump = cms.EDAnalyzer('EventContentAnalyzer')
0145 
0146 process.pathTrack = cms.Path(process.trackReconstruction*process.TrackRefitterP5*process.monitorTrack)