Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:45:59

0001 ######################################################################
0002 ######################################################################
0003 mcValidateTemplate="""
0004 import FWCore.ParameterSet.Config as cms
0005 
0006 process = cms.Process("TkVal")
0007 process.load("FWCore.MessageService.MessageLogger_cfi")
0008 process.MessageLogger = cms.Service("MessageLogger",
0009     destinations = cms.untracked.vstring('LOGFILE_McValidate_.oO[name]Oo.', 
0010         'cout')
0011 )
0012 
0013 ### standard includes
0014 process.load('Configuration.Geometry.GeometryPilot2_cff')
0015 process.load("Configuration.StandardSequences.RawToDigi_cff")
0016 process.load("Configuration.EventContent.EventContent_cff")
0017 process.load("Configuration.StandardSequences.Reconstruction_cff")
0018 process.load("Configuration.StandardSequences..oO[magneticField]Oo._cff")
0019 process.load("SimGeneral.MixingModule.mixNoPU_cfi")
0020 
0021 .oO[LoadGlobalTagTemplate]Oo.
0022 
0023 .oO[condLoad]Oo.
0024 
0025 
0026 ### validation-specific includes
0027 process.load("SimTracker.TrackAssociatorProducers.trackAssociatorByHits_cfi")
0028 process.load("Validation.RecoTrack.cuts_cff")
0029 process.load("Validation.RecoTrack.MultiTrackValidator_cff")
0030 process.load("SimGeneral.TrackingAnalysis.trackingParticles_cfi")
0031 
0032 ### configuration MultiTrackValidator ###
0033 process.multiTrackValidator.outputFile = '.oO[outputFile]Oo.'
0034 
0035 process.multiTrackValidator.associators = ['trackAssociatorByHits']
0036 process.multiTrackValidator.UseAssociators = cms.bool(True)
0037 process.multiTrackValidator.label = ['generalTracks']
0038 
0039 .oO[datasetDefinition]Oo.
0040 process.source.inputCommands = cms.untracked.vstring('keep *', 'drop *_MEtoEDMConverter_*_*') # hack to get rid of the memory consumption problem in 2_2_X and beond
0041 
0042 process.options = cms.untracked.PSet(
0043     wantSummary = cms.untracked.bool(False),
0044     Rethrow = cms.untracked.vstring("ProductNotFound"), # make this exception fatal
0045     fileMode  =  cms.untracked.string('NOMERGE') # no ordering needed, but calls endRun/beginRun etc. at file boundaries
0046 )
0047 
0048 process.re_tracking_and_TP = cms.Sequence(process.mix*process.trackingParticles*
0049                                    process.siPixelRecHits*process.siStripMatchedRecHits*
0050                                    process.ckftracks*
0051                                    process.cutsRecoTracks*
0052                                    process.trackAssociatorByHits*
0053                                    process.multiTrackValidator
0054                                    )
0055 
0056 process.re_tracking = cms.Sequence(process.siPixelRecHits*process.siStripMatchedRecHits*
0057                                    process.ckftracks*
0058                                    process.cutsRecoTracks*
0059                                    process.trackAssociatorByHits*
0060                                    process.multiTrackValidator
0061                                    )
0062 
0063 ### final path and endPath
0064 process.p = cms.Path(process.re_tracking)
0065 """
0066