Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:34:30

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # Put here the globaltag the file name and the number of events:
0004 
0005 gtag=cms.string('IDEAL_31X::All')
0006 
0007 inputfiles=cms.untracked.vstring(
0008 ['/store/relval/CMSSW_3_1_0_pre9/RelValSingleMuPt10/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_31X_v1/0007/B479D4A7-D14E-DE11-A78F-001D09F250AF.root',
0009        
0010 '/store/relval/CMSSW_3_1_0_pre9/RelValSingleMuPt10/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_31X_v1/0007/A6F81696-D04E-DE11-8B2E-001617C3B6DC.root',
0011        
0012 '/store/relval/CMSSW_3_1_0_pre9/RelValSingleMuPt10/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_31X_v1/0007/A625B90A-D34E-DE11-A4D3-000423D6A6F4.root',
0013        
0014 '/store/relval/CMSSW_3_1_0_pre9/RelValSingleMuPt10/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_31X_v1/0007/5441A448-D14E-DE11-B5BC-001D09F295A1.root',
0015        
0016 '/store/relval/CMSSW_3_1_0_pre9/RelValSingleMuPt10/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_31X_v1/0007/4C9657A5-D34E-DE11-9C9D-001D09F248F8.root',
0017        
0018 '/store/relval/CMSSW_3_1_0_pre9/RelValSingleMuPt10/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_31X_v1/0007/3EA6B3D7-514F-DE11-8DFD-000423D6A6F4.root',
0019        
0020 '/store/relval/CMSSW_3_1_0_pre9/RelValSingleMuPt10/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_31X_v1/0007/2C49163C-D24E-DE11-AA16-001D09F2438A.root',
0021        
0022 '/store/relval/CMSSW_3_1_0_pre9/RelValSingleMuPt10/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_31X_v1/0007/1E69E467-D04E-DE11-8A75-001617E30D4A.root']
0023 )
0024 
0025 nevents=cms.untracked.int32(1)
0026 
0027     
0028 process = cms.Process("TrackerValidation")
0029 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0030 
0031 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0032 
0033 process.load("Configuration.StandardSequences.MagneticField_cff")
0034 
0035 process.load("Configuration/StandardSequences/FrontierConditions_GlobalTag_cff")
0036 process.GlobalTag.globaltag = gtag
0037 
0038 
0039 process.load("Configuration.StandardSequences.Services_cff")
0040 
0041 process.load("SimG4Core.Configuration.SimG4Core_cff")
0042 
0043 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0044 
0045 process.load("Validation.TrackerHits.trackerHitsValidation_cff")
0046 
0047 process.load("SimGeneral.MixingModule.mixNoPU_cfi")
0048 
0049 process.load("Configuration.StandardSequences.Sim_cff")
0050 
0051 process.load("Configuration.StandardSequences.Digi_cff")
0052 process.load("Configuration.StandardSequences.DigiToRaw_cff")
0053 process.load("Configuration.StandardSequences.RawToDigi_cff")
0054 
0055 process.load("Validation.TrackerDigis.trackerDigisValidation_cff")
0056 
0057 process.load("Configuration.StandardSequences.Reconstruction_cff")
0058 
0059 <<<<<<< Muon_FullChain_cfg.py
0060 #process.load("RecoTracker.TrackProducer.RefitterWithMaterial_cff")
0061 =======
0062 process.load("RecoTracker.TrackProducer.TrackRefitters_cff")
0063 >>>>>>> 1.4
0064 
0065 process.load("Validation.TrackerRecHits.trackerRecHitsValidation_cff")
0066 
0067 process.load("SimGeneral.TrackingAnalysis.trackingParticles_cfi")
0068 
0069 process.load("Validation.TrackingMCTruth.trackingTruthValidation_cfi")
0070 
0071 process.load("Validation.RecoTrack.TrackValidation_cff")
0072 
0073 process.load("Validation.RecoTrack.SiTrackingRecHitsValid_cff")
0074 
0075 process.maxEvents = cms.untracked.PSet(
0076     input = nevents
0077 )
0078 process.source = cms.Source("PoolSource",
0079 #                            fileNames = cms.untracked.vstring('file:./Muon.root')
0080                             fileNames = inputfiles
0081 )
0082 
0083 process.o1 = cms.OutputModule("PoolOutputModule",
0084     fileName = cms.untracked.string('Muon_FullValidation.root')
0085 )
0086 
0087 process.Timing = cms.Service("Timing")
0088 
0089 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck")
0090 process.trackerHitsValid.outputFile='TrackerHitHisto.root'
0091 process.pixelDigisValid.outputFile='pixeldigihisto.root'
0092 process.stripDigisValid.outputFile='stripdigihisto.root'
0093 process.pixRecHitsValid.outputFile='pixelrechitshisto.root'
0094 process.stripRecHitsValid.outputFile='sistriprechitshisto.root'
0095 process.trackingTruthValid.outputFile='trackingtruthhisto.root'
0096 process.multiTrackValidator.outputFile='validationPlots.root'
0097 process.PixelTrackingRecHitsValid.outputFile='pixeltrackingrechitshist.root'
0098 process.StripTrackingRecHitsValid.outputFile='striptrackingrechitshisto.root'
0099 
0100 process.simhits = cms.Sequence(process.g4SimHits*process.trackerHitsValidation)
0101 process.digitoraw =cms.Sequence(process.siPixelRawData*process.SiStripDigiToRaw*process.rawDataCollector)
0102 process.rawtodigi =cms.Sequence(process.siPixelDigis+process.SiStripRawToDigis)
0103 process.digis = cms.Sequence(process.trDigi*process.trackerDigisValidation)
0104 process.rechits = cms.Sequence(process.trackerlocalreco*process.trackerRecHitsValidation)
0105 process.tracks = cms.Sequence(process.offlineBeamSpot*process.recopixelvertexing*process.trackingParticles*process.trackingTruthValid*process.ckftracks*process.trackingRecHitsValid)
0106 #process.trackinghits = cms.Sequence(process.TrackRefitter*process.trackingRecHitsValid)
0107 
0108 #process.p1 = cms.Path(process.simhits*process.mix*process.digis*process.rechits*process.tracks*process.trackinghits)
0109 process.p1 = cms.Path(process.simhits*process.mix*process.digitoraw*process.rawtodigi*process.digis*process.rechits*process.tracks)
0110 
0111 process.outpath = cms.EndPath(process.o1)
0112 process.g4SimHits.Generator.HepMCProductLabel = 'source'
0113 
0114