|
|
Go to the documentation of this file.
4 import FWCore.ParameterSet.Config as cms
6 process = cms.Process("TkVal")
7 process.load("FWCore.MessageService.MessageLogger_cfi")
8 process.MessageLogger = cms.Service("MessageLogger",
9 destinations = cms.untracked.vstring('LOGFILE_McValidate_.oO[name]Oo.',
14 process.load('Configuration.Geometry.GeometryPilot2_cff')
15 process.load("Configuration.StandardSequences.RawToDigi_cff")
16 process.load("Configuration.EventContent.EventContent_cff")
17 process.load("Configuration.StandardSequences.Reconstruction_cff")
18 process.load("Configuration.StandardSequences.MagneticField_cff")
19 process.load("SimGeneral.MixingModule.mixNoPU_cfi")
22 process.load("Alignment.OfflineValidation.GlobalTag_cff")
23 process.GlobalTag.globaltag = '.oO[GlobalTag]Oo.'
28 ### validation-specific includes
29 process.load("SimTracker.TrackAssociation.TrackAssociatorByHits_cfi")
30 process.load("Validation.RecoTrack.cuts_cff")
31 process.load("Validation.RecoTrack.MultiTrackValidator_cff")
32 process.load("SimGeneral.TrackingAnalysis.trackingParticles_cfi")
34 ### configuration MultiTrackValidator ###
35 process.multiTrackValidator.outputFile = '.oO[outputFile]Oo.'
37 process.multiTrackValidator.associators = ['TrackAssociatorByHits']
38 process.multiTrackValidator.UseAssociators = cms.bool(True)
39 process.multiTrackValidator.label = ['generalTracks']
41 .oO[datasetDefinition]Oo.
42 process.source.inputCommands = cms.untracked.vstring('keep *', 'drop *_MEtoEDMConverter_*_*') # hack to get rid of the memory consumption problem in 2_2_X and beond
44 process.options = cms.untracked.PSet(
45 wantSummary = cms.untracked.bool(False),
46 Rethrow = cms.untracked.vstring("ProductNotFound"), # make this exception fatal
47 fileMode = cms.untracked.string('NOMERGE') # no ordering needed, but calls endRun/beginRun etc. at file boundaries
50 process.re_tracking_and_TP = cms.Sequence(process.mix*process.trackingParticles*
51 process.siPixelRecHits*process.siStripMatchedRecHits*
53 process.cutsRecoTracks*
54 process.multiTrackValidator
57 process.re_tracking = cms.Sequence(process.siPixelRecHits*process.siStripMatchedRecHits*
59 process.cutsRecoTracks*
60 process.multiTrackValidator
63 ### final path and endPath
64 process.p = cms.Path(process.re_tracking)