Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:31:28

0001 # Auto generated configuration file
0002 # using: 
0003 # Revision: 1.19 
0004 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v 
0005 # with command line options: step3 --conditions auto:phase2_realistic_T21 -s RAW2DIGI,L1Reco,RECO,RECOSIM,PAT,VALIDATION:@phase2Validation+@miniAODValidation,DQM:@phase2+@miniAODDQM --datatier GEN-SIM-RECO,MINIAODSIM,DQMIO -n 10 --geometry Extended2026D66 --era Phase2C11 --eventcontent FEVTDEBUGHLT,MINIAODSIM,DQM --filein file:step2.root --fileout file:step3.root
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 
0009 from Configuration.Eras.Era_Phase2C11_cff import Phase2C11
0010 process = cms.Process('USER',Phase2C11)
0011 
0012 # import of standard configurations
0013 process.load('Configuration.StandardSequences.Services_cff')
0014 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0015 process.load('FWCore.MessageService.MessageLogger_cfi')
0016 process.load('Configuration.EventContent.EventContent_cff')
0017 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0018 process.load('Configuration.Geometry.GeometryExtended2026D66Reco_cff')
0019 process.load('Configuration.StandardSequences.MagneticField_cff')
0020 process.load('Configuration.StandardSequences.RawToDigi_cff')
0021 process.load('Configuration.StandardSequences.L1Reco_cff')
0022 process.load('Configuration.StandardSequences.Reconstruction_cff')
0023 process.load('Configuration.StandardSequences.RecoSim_cff')
0024 process.load('PhysicsTools.PatAlgos.slimming.metFilterPaths_cff')
0025 process.load('Configuration.StandardSequences.PATMC_cff')
0026 process.load('Configuration.StandardSequences.Validation_cff')
0027 process.load('DQMServices.Core.DQMStoreNonLegacy_cff')
0028 process.load('DQMOffline.Configuration.DQMOfflineMC_cff')
0029 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0030 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0031 
0032 process.maxEvents = cms.untracked.PSet(
0033     input = cms.untracked.int32(10)
0034 )
0035 
0036 process.source = cms.Source("PoolSource",
0037     fileNames = cms.untracked.vstring(
0038         'file:step2.root'
0039     )
0040 )
0041 
0042 
0043 process.options = cms.untracked.PSet(
0044 
0045 )
0046 
0047 #process.MessageLogger = cms.Service(
0048 #    "MessageLogger",
0049 #    destinations = cms.untracked.vstring(
0050 #        'detailedInfo',
0051 #         ),
0052 #    detailedInfo = cms.untracked.PSet(
0053 #        threshold = cms.untracked.string('DEBUG')
0054 #         ),
0055 #    debugModules = cms.untracked.vstring(
0056 #        'reconstruction_step',
0057 #        )
0058 #    )
0059 #
0060 
0061 # Production Info
0062 process.configurationMetadata = cms.untracked.PSet(
0063     annotation = cms.untracked.string('step2 nevts:10'),
0064     name = cms.untracked.string('Applications'),
0065     version = cms.untracked.string('$Revision: 1.19 $')
0066 )
0067 
0068 # MC vertice analyzer
0069 process.load("Validation.RecoVertex.mcverticesanalyzer_cfi")
0070 process.mcverticesanalyzer.pileupSummaryCollection = cms.InputTag("addPileupInfo","","HLT")
0071 
0072 # # # -- Trajectory producer
0073 process.load("RecoTracker.TrackProducer.TrackRefitters_cff")
0074 process.TrackRefitter.src = 'generalTracks'
0075 process.TrackRefitter.NavigationSchool = ""
0076 
0077 process.ReadLocalMeasurement = cms.EDAnalyzer("Phase2PixelNtuple",
0078                                               trackProducer = cms.InputTag("generalTracks"),
0079                                               trajectoryInput = cms.InputTag('TrackRefitter::USER'),
0080                                               #verbose = cms.untracked.bool(True),
0081                                               #picky = cms.untracked.bool(False),                                             
0082                                               ### for using track hit association
0083                                               associatePixel = cms.bool(True),
0084                                               associateStrip = cms.bool(False),
0085                                               associateRecoTracks = cms.bool(False),
0086                                               ROUList = cms.vstring('TrackerHitsPixelBarrelLowTof',
0087                                                                     'TrackerHitsPixelBarrelHighTof',
0088                                                                     'TrackerHitsPixelEndcapLowTof',
0089                                                                     'TrackerHitsPixelEndcapHighTof'),
0090                                               ttrhBuilder = cms.string("WithTrackAngle"),
0091                                               usePhase2Tracker = cms.bool(True),
0092                                               pixelSimLinkSrc = cms.InputTag("simSiPixelDigis", "Pixel"),
0093                                               phase2TrackerSimLinkSrc = cms.InputTag("simSiPixelDigis", "Tracker")
0094                                           )
0095 
0096 
0097 # Additional output definition
0098 
0099 # Other statements
0100 process.mix.playback = True
0101 process.mix.digitizers = cms.PSet()
0102 for a in process.aliases: delattr(process, a)
0103 process.RandomNumberGeneratorService.restoreStateLabel=cms.untracked.string("randomEngineStateProducer")
0104 from Configuration.AlCa.GlobalTag import GlobalTag
0105 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T21', '')
0106 
0107 # Uncomment to use CPE generic instead of template in final fit
0108 #process.load("RecoTracker.TransientTrackingRecHit.TTRHBuilderWithTemplate_cfi")
0109 #process.TTRHBuilderAngleAndTemplate.PixelCPE = cms.string("PixelCPEGeneric")
0110 
0111 # Uncomment CPE Template for every step (including seeding)
0112 #process.load("RecoLocalTracker.SiPixelRecHits.SiPixelRecHits_cfi")
0113 #process.siPixelRecHits.CPE = cms.string('PixelCPETemplateReco')
0114 #process.load("RecoTracker.TransientTrackingRecHit.TransientTrackingRecHitBuilder_cfi")
0115 #process.ttrhbwr.PixelCPE = cms.string('PixelCPETemplateReco')
0116 
0117 # Path and EndPath definitions
0118 process.raw2digi_step = cms.Path(process.RawToDigi)
0119 process.L1Reco_step = cms.Path(process.L1Reco)
0120 process.reconstruction_step = cms.Path(process.reconstruction)
0121 process.user_step = cms.Path(process.TrackRefitter * process.ReadLocalMeasurement * process.mcverticesanalyzer)
0122 process.endjob_step = cms.EndPath(process.endOfProcess)
0123 
0124 # Schedule definition
0125 process.schedule = cms.Schedule(process.raw2digi_step,process.L1Reco_step,process.reconstruction_step,process.user_step,process.endjob_step)
0126 from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
0127 associatePatAlgosToolsTask(process)
0128 
0129 # customisation of the process.
0130 
0131 # Automatic addition of the customisation function from SimGeneral.MixingModule.fullMixCustomize_cff
0132 from SimGeneral.MixingModule.fullMixCustomize_cff import setCrossingFrameOn 
0133 
0134 #call to customisation function setCrossingFrameOn imported from SimGeneral.MixingModule.fullMixCustomize_cff
0135 process = setCrossingFrameOn(process)
0136 
0137 # End of customisation functions
0138 
0139 # customisation of the process.
0140 
0141 # Automatic addition of the customisation function from PhysicsTools.PatAlgos.slimming.miniAOD_tools
0142 from PhysicsTools.PatAlgos.slimming.miniAOD_tools import miniAOD_customizeAllMC 
0143 
0144 #call to customisation function miniAOD_customizeAllMC imported from PhysicsTools.PatAlgos.slimming.miniAOD_tools
0145 process = miniAOD_customizeAllMC(process)
0146 
0147 # End of customisation functions
0148 
0149 # Customisation from command line
0150 
0151 #Have logErrorHarvester wait for the same EDProducers to finish as those providing data for the OutputModule
0152 from FWCore.Modules.logErrorHarvester_cff import customiseLogErrorHarvesterUsingOutputCommands
0153 process = customiseLogErrorHarvesterUsingOutputCommands(process)
0154 
0155 # Add early deletion of temporary data products to reduce peak memory need
0156 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0157 process = customiseEarlyDelete(process)
0158 
0159 # End adding early deletion
0160 process.TFileService = cms.Service('TFileService', fileName = cms.string("pixelntuple.root")
0161 )
0162