Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.Eras.Era_Phase2_cff import Phase2
0003 process = cms.Process('recHitTest',Phase2)
0004 
0005 #process.MessageLogger = cms.Service("MessageLogger",
0006 #    debugModules = cms.untracked.vstring('siPixelRawData'),
0007 #    destinations = cms.untracked.vstring("cout"),
0008 #    cout = cms.untracked.PSet(
0009 #        threshold = cms.untracked.string('ERROR')
0010 #    )
0011 #)
0012 process.load('Configuration.StandardSequences.Services_cff')
0013 process.load('FWCore.MessageService.MessageLogger_cfi')
0014 process.load('Configuration.EventContent.EventContent_cff')
0015 process.load('Configuration.Geometry.GeometryExtended2026D49Reco_cff')
0016 process.load('Configuration.StandardSequences.MagneticField_cff')
0017 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0018 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0019 process.load('Configuration.StandardSequences.RawToDigi_cff')
0020 process.load('Configuration.StandardSequences.L1Reco_cff')
0021 process.load('Configuration.StandardSequences.Reconstruction_cff')
0022 process.load('Configuration.StandardSequences.RecoSim_cff')
0023 
0024 process.maxEvents = cms.untracked.PSet(
0025     input = cms.untracked.int32(10)
0026 )
0027 
0028 # Other statements
0029 from Configuration.AlCa.GlobalTag import GlobalTag
0030 #process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')
0031 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T15', '')
0032 
0033 # list of files
0034 
0035 process.source = cms.Source("PoolSource",
0036     fileNames =  cms.untracked.vstring(
0037         'file:/eos/cms/store/relval/CMSSW_11_2_0_pre5/RelValTTbar_14TeV/GEN-SIM-RECO/PU25ns_110X_mcRun4_realistic_v3_2026D49PU200-v1/20000/CA4DC8DF-AAEC-DA43-931B-BF234D979A9D.root'
0038       )
0039 )
0040 # Production Info
0041 process.configurationMetadata = cms.untracked.PSet(
0042     version = cms.untracked.string('$Revision: 1.19 $'),
0043     annotation = cms.untracked.string('step1 nevts:1'),
0044     name = cms.untracked.string('Applications')
0045 )
0046 # Output definition
0047 
0048 process.DQMoutput = cms.OutputModule("PoolOutputModule",
0049     splitLevel = cms.untracked.int32(0),
0050     outputCommands = process.DQMEventContent.outputCommands,
0051     fileName = cms.untracked.string('step1_rechitTest.root'),
0052     dataset = cms.untracked.PSet(
0053         filterName = cms.untracked.string(''),
0054         dataTier = cms.untracked.string('')
0055     )
0056 )
0057 
0058 process.load('RecoLocalTracker.SiPhase2Clusterizer.phase2TrackerClusterizer_cfi')
0059 process.load('RecoLocalTracker.Phase2TrackerRecHits.Phase2StripCPEESProducer_cfi')
0060 process.load('RecoLocalTracker.Phase2TrackerRecHits.Phase2TrackerRecHits_cfi')
0061 process.load('RecoLocalTracker.SiPixelRecHits.SiPixelRecHits_cfi')
0062 #process.rechits_step = cms.Path(process.siPhase2RecHits * process.siPixelRecHits)
0063 process.rechits_step = cms.Path(process.siPixelRecHits)
0064 
0065 
0066 #Setup FWK for multithreaded
0067 process.options.numberOfThreads=cms.untracked.uint32(8)
0068 process.options.numberOfStreams=cms.untracked.uint32(0)
0069 process.options.numberOfConcurrentLuminosityBlocks=cms.untracked.uint32(1)
0070 
0071 #process.load('Validation.SiTrackerPhase2V.Phase2OTValidateRecHit_cfi')
0072 process.load('Validation.SiTrackerPhase2V.Phase2ITValidateRecHit_cfi')
0073 
0074 #process.rechitval_seq = cms.Sequence(process.rechitValidIT)
0075 
0076 process.load('DQMServices.Components.DQMEventInfo_cfi')
0077 #process.dqmEnv.subSystemFolder = cms.untracked.string('Ph2Tk')
0078 process.dqm_comm = cms.Sequence(process.dqmEnv)
0079 
0080 # Path and EndPath definitions
0081 process.endjob_step = cms.EndPath(process.endOfProcess)
0082 process.DQMoutput_step = cms.EndPath(process.DQMoutput)
0083 '''
0084 process.Timing = cms.Service("Timing",
0085   summaryOnly = cms.untracked.bool(False),
0086   useJobReport = cms.untracked.bool(True)
0087 )
0088 
0089 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck",
0090     ignoreTotal = cms.untracked.int32(1),
0091     moduleMemorySummary = cms.untracked.bool(True)
0092 )
0093 '''
0094 process.p = cms.Path(process.siPixelRecHits 
0095                      #*process.siPhase2RecHits 
0096                      * process.rechitValidIT 
0097                      #* process.rechitValidOT 
0098                      * process.dqm_comm )