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 ##################################################################
0004 # Put here the globaltag the file name and the number of events:
0005 
0006 gtag=cms.string('IDEAL_30X::All')
0007 
0008 inputfiles=cms.untracked.vstring('/store/relval/CMSSW_3_0_0_pre6/RelValSingleMuPt10/GEN-SIM-RECO/IDEAL_30X_v1/0005/50E9BA78-E9DD-DD11-8AC9-000423D98B08.root')
0009 secinputfiles=cms.untracked.vstring('/store/relval/CMSSW_3_0_0_pre6/RelValSingleMuPt10/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_30X_v1/0005/6EFD547F-E9DD-DD11-B456-000423D99264.root',
0010 '/store/relval/CMSSW_3_0_0_pre6/RelValSingleMuPt10/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_30X_v1/0005/38E34C97-E8DD-DD11-8327-000423D94534.root',
0011 '/store/relval/CMSSW_3_0_0_pre6/RelValSingleMuPt10/GEN-SIM-DIGI-RAW-HLTDEBUG/IDEAL_30X_v1/0005/D6EBDF31-41DE-DD11-91F0-000423D952C0.root')
0012 nevents=cms.untracked.int32(1)
0013 ###################################################################
0014 
0015 process = cms.Process("TrackerValidationOnly")
0016 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0017 
0018 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0019 
0020 process.load("Configuration.StandardSequences.MagneticField_cff")
0021 
0022 process.load("Configuration.StandardSequences.Services_cff")
0023 
0024 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0025 
0026 process.load("SimGeneral.MixingModule.mixNoPU_cfi")
0027 
0028 process.load("Configuration/StandardSequences/FrontierConditions_GlobalTag_cff")
0029 process.GlobalTag.globaltag = gtag
0030 
0031 process.load("SimTracker.Configuration.SimTracker_cff")
0032 
0033 process.load("Configuration.StandardSequences.Reconstruction_cff")
0034 
0035 process.load("RecoTracker.TrackProducer.TrackRefitters_cff")
0036 
0037 process.load("Validation.TrackerHits.trackerHitsValidation_cff")
0038 
0039 process.load("Validation.TrackerDigis.trackerDigisValidation_cff")
0040 
0041 process.load("Validation.TrackerRecHits.trackerRecHitsValidation_cff")
0042 
0043 process.load("Validation.TrackingMCTruth.trackingTruthValidation_cfi")
0044 
0045 process.load("Validation.RecoTrack.TrackValidation_cff")
0046 
0047 process.load("Validation.RecoTrack.SiTrackingRecHitsValid_cff")
0048 
0049 process.maxEvents = cms.untracked.PSet(
0050     input = nevents
0051 )
0052 process.source = cms.Source("PoolSource",
0053     fileNames = inputfiles,
0054      secondaryFileNames = secinputfiles                          
0055 )
0056 
0057 process.Timing = cms.Service("Timing")
0058 
0059 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck")
0060 
0061 process.PixelTrackingRecHitsValid.src = 'TrackRefitter'
0062 process.StripTrackingRecHitsValid.trajectoryInput = 'TrackRefitter'
0063 
0064 process.trackerHitsValid.outputFile='TrackerHitHisto.root'
0065 process.pixelDigisValid.outputFile='pixeldigihisto.root'
0066 process.stripDigisValid.outputFile='stripdigihisto.root'
0067 process.pixRecHitsValid.outputFile='pixelrechitshisto.root'
0068 process.stripRecHitsValid.outputFile='sistriprechitshisto.root'
0069 process.trackingTruthValid.outputFile='trackingtruthhisto.root'
0070 process.multiTrackValidator.outputFile='validationPlots.root'
0071 process.PixelTrackingRecHitsValid.outputFile='pixeltrackingrechitshist.root'
0072 process.StripTrackingRecHitsValid.outputFile='striptrackingrechitshisto.root'
0073 
0074 process.simhits = cms.Sequence(process.trackerHitsValidation)
0075 process.digis = cms.Sequence(process.trackerDigisValidation)
0076 process.rechits = cms.Sequence(process.siPixelRecHits*process.siStripMatchedRecHits*process.trackerRecHitsValidation)
0077 process.tracks = cms.Sequence(process.trackingTruthValid*process.tracksValidation)
0078 process.trackinghits = cms.Sequence(process.TrackRefitter*process.trackingRecHitsValid)
0079 process.p1 = cms.Path(process.mix*process.simhits*process.digis*process.rechits*process.tracks*process.trackinghits)