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("SiPixelMonitorHitEfficiency") 
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0007 
0008 process.load("Configuration.StandardSequences.MagneticField_cff")
0009 #process.load("Configuration.GlobalRuns.ForceZeroTeslaField_cff")
0010 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0011 
0012 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0013 
0014 ###
0015 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0016 process.GlobalTag.connect = "frontier://PromptProd/CMS_COND_31X_GLOBALTAG"
0017 process.GlobalTag.globaltag = "CRAFT09_R_V5::All"
0018 process.prefer("GlobalTag")
0019 ###
0020 
0021 # process.load("Configuration.StandardSequences.RawToDigi_cff")
0022 
0023 process.load("EventFilter.SiPixelRawToDigi.SiPixelRawToDigi_cfi")
0024 process.siPixelDigis.InputLabel = 'source'
0025 process.siPixelDigis.IncludeErrors = True
0026 
0027 process.load("EventFilter.SiStripRawToDigi.SiStripRawToDigis_standard_cff")
0028 process.siStripDigis.ProductLabel = 'source'
0029 
0030 # process.load("Configuration.StandardSequences.Reconstruction_cff")
0031 
0032 process.load("RecoLocalTracker.SiPixelClusterizer.SiPixelClusterizer_cfi")
0033 process.load("RecoLocalTracker.SiPixelRecHits.SiPixelRecHits_cfi")
0034 process.load("RecoLocalTracker.SiPixelRecHits.PixelCPEESProducers_cff")
0035 
0036 process.load("RecoLocalTracker.SiStripClusterizer.SiStripClusterizer_cfi")
0037 process.load("RecoLocalTracker.SiStripRecHitConverter.SiStripRecHitConverter_cfi")
0038 process.load("RecoLocalTracker.SiStripRecHitConverter.SiStripRecHitMatcher_cfi")
0039 process.load("RecoLocalTracker.SiStripRecHitConverter.StripCPEfromTrackAngle_cfi")
0040 process.load("RecoLocalTracker.SiStripZeroSuppression.SiStripZeroSuppression_cfi")
0041 
0042 process.load("RecoVertex.BeamSpotProducer.BeamSpot_cff")
0043 process.load("RecoPixelVertexing.Configuration.RecoPixelVertexing_cff")
0044 process.load("RecoTracker.Configuration.RecoTracker_cff")
0045   
0046 process.load("DQM.SiPixelMonitorRawData.SiPixelMonitorRawData_cfi")
0047 process.load("DQM.SiPixelMonitorDigi.SiPixelMonitorDigi_cfi")
0048 process.load("DQM.SiPixelMonitorCluster.SiPixelMonitorCluster_cfi")
0049 process.load("DQM.SiPixelMonitorRecHit.SiPixelMonitorRecHit_cfi")
0050 process.load("DQM.SiPixelMonitorTrack.SiPixelMonitorEfficiency_cfi")
0051 
0052 #process.SiPixelTrackResidualSource.TrackCandidateProducer = cms.string('newTrackCandidateMaker')
0053 process.SiPixelHitEfficiencySource.trajectoryInput = cms.InputTag('TrackRefitterP5')
0054 process.SiPixelHitEfficiencySource.debug = cms.untracked.bool(False)
0055 
0056 
0057 #process.load("IORawData.SiPixelInputSources.PixelSLinkDataInputSource_cfi")
0058 #process.PixelSLinkDataInputSource.fileNames = ['file:/afs/cern.ch/cms/Tracker/Pixel/forward/ryd/PixelAlive_070106d.dmp']
0059 
0060 process.source = cms.Source("PoolSource",
0061   #skipEvents = cms.untracked.uint32(7100), 
0062   fileNames = cms.untracked.vstring(
0063 
0064     ##RECO, superpointing
0065 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/F0844CE5-49BB-DE11-9317-001A92810ACA.root",
0066 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/EACB27D8-49BB-DE11-BD19-003048678FE0.root",
0067 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/DC3B05D0-49BB-DE11-8323-001A928116E8.root",
0068 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/C8C779D4-49BB-DE11-8B57-0017319C97E0.root",
0069 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/C0712AE1-49BB-DE11-A299-001731AF685D.root",
0070 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/BE473CDD-49BB-DE11-8399-0018F3D09626.root",
0071 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/BA2C63DF-49BB-DE11-A5A6-001A928116F0.root",
0072 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/B46635D4-49BB-DE11-B5DB-00261894393A.root",
0073 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/B28BA2D0-49BB-DE11-8C54-0018F3D096BC.root",
0074 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/ACFF56DB-49BB-DE11-9AA6-001A92810ADE.root",
0075 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/AA7016D0-49BB-DE11-9C55-002354EF3BDF.root",
0076 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/A60A93DB-49BB-DE11-B52F-0018F3D096DA.root",
0077 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/A4461FD9-49BB-DE11-8D2C-002618943962.root",
0078 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/9ED7E9CE-49BB-DE11-977B-003048678FE4.root",
0079 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/9880E9DB-49BB-DE11-909F-001A92971BD6.root",
0080 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/90ECE3DC-49BB-DE11-804B-001A928116C8.root",
0081 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/88A1AADC-49BB-DE11-AA2D-0018F3D09624.root",
0082 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/80EAADD9-49BB-DE11-82B0-002618943962.root",
0083 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/6AD907DE-49BB-DE11-A488-001A92971B28.root",
0084 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/6A1230DC-49BB-DE11-9F7D-0018F3D09710.root",
0085 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/66A81BD7-49BB-DE11-929E-0018F3D09708.root",
0086 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/649B49DB-49BB-DE11-8F53-002354EF3BE0.root",
0087 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/5AE168DA-49BB-DE11-9980-002618943868.root",
0088 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/5A335ECF-49BB-DE11-970A-002618943950.root",
0089 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/484514DD-49BB-DE11-8D43-0018F3D09648.root",
0090 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/464197DD-49BB-DE11-A06C-0018F3D09670.root",
0091 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/442838DA-49BB-DE11-8D17-0026189438DD.root",
0092 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/3611A2D1-49BB-DE11-A5BF-003048679006.root",
0093 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/2C9F47D5-49BB-DE11-A047-003048678EE2.root",
0094 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0013/28AE71DC-49BB-DE11-8B83-0018F3D09624.root",
0095 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0003/183A7B78-CBB8-DE11-919F-003048678FF2.root",
0096 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0003/103C5003-AEB8-DE11-94D0-001A928116F0.root",
0097 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0003/0EBA6D6C-ABB8-DE11-8FCF-001731AF6A89.root",
0098 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0002/FED02BB9-A3B8-DE11-82CD-001731AF65F1.root",
0099 "rfio:/castor/cern.ch/cms/store/data/CRAFT09/Cosmics/RAW-RECO/SuperPointing-CRAFT09_R_V4_CosmicsSeq_v1/0002/FCCA8A2D-A1B8-DE11-B07C-00304867BF9A.root"
0100     
0101     ),
0102     debugFlag = cms.untracked.bool(True),
0103     debugVebosity = cms.untracked.uint32(10)
0104 ) 
0105 process.maxEvents = cms.untracked.PSet(
0106   input = cms.untracked.int32(-1)
0107 )
0108 process.DQMStore = cms.Service("DQMStore",
0109   verbose = cms.untracked.int32(0)
0110 )
0111 process.ModuleWebRegistry = cms.Service("ModuleWebRegistry")
0112 
0113 process.AdaptorConfig = cms.Service("AdaptorConfig") 
0114 
0115 
0116 ##
0117 ## Load and Configure TrackRefitter
0118 ##
0119 process.load("RecoTracker.TrackProducer.TrackRefitters_cff")
0120 process.TrackRefitterP5.src = 'ctfWithMaterialTracksP5'
0121 process.TrackRefitterP5.TrajectoryInEvent = True
0122 
0123 
0124 process.siPixelLocalReco = cms.Sequence(process.siPixelDigis*process.siPixelClusters*process.siPixelRecHits) 
0125 process.siStripLocalReco = cms.Sequence(process.siStripDigis*process.siStripZeroSuppression*process.siStripClusters*process.siStripMatchedRecHits)
0126 process.trackerLocalReco = cms.Sequence(process.siPixelLocalReco*process.siStripLocalReco)
0127 #process.trackReconstruction = cms.Sequence(process.trackerLocalReco*process.offlineBeamSpot*process.recopixelvertexing*process.ckftracks) #*process.rstracks 
0128 process.trackReconstruction = cms.Sequence(process.trackerLocalReco*process.offlineBeamSpot*process.recopixelvertexing*process.ckftracks)
0129 
0130 process.monitorTrack = cms.Sequence(process.SiPixelHitEfficiencySource)
0131 process.monitors = cms.Sequence(process.SiPixelRawDataErrorSource*process.SiPixelDigiSource*process.SiPixelClusterSource*process.SiPixelRecHitSource*process.SiPixelHitEfficiencySource)
0132 
0133 #event content analyzer
0134 process.dump = cms.EDAnalyzer('EventContentAnalyzer')
0135 
0136 process.pathTrack = cms.Path(process.trackReconstruction*process.TrackRefitterP5*process.monitorTrack)