Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-03-17 23:26:51

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.StandardSequences.Eras import eras
0004 
0005 process = cms.Process('RECO', eras.Run2_2018)
0006 
0007 # import of standard configurations
0008 process.load('Configuration.StandardSequences.Services_cff')
0009 process.load('FWCore.MessageService.MessageLogger_cfi')
0010 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0011 process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff')
0012 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0013 process.load('Configuration.StandardSequences.Reconstruction_cff')
0014 
0015 
0016 
0017 process.source = cms.Source('PoolSource',
0018     fileNames = cms.untracked.vstring(
0019         '/store/data/Run2018D/EGamma/RAW/v1/000/323/414/00000/042D6023-E0A2-8649-8D86-445F752A8F6B.root',
0020     ),
0021 )
0022 
0023 
0024 # Other statements
0025 from Configuration.AlCa.GlobalTag import GlobalTag
0026 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_data', '')
0027 
0028 
0029 process.maxEvents = cms.untracked.PSet(
0030     input = cms.untracked.int32(1000)
0031 )
0032 
0033 #-----------------------------------------
0034 # CMSSW/Hcal non-DQM Related Module import
0035 #-----------------------------------------
0036 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0037 process.load("RecoLocalCalo.Configuration.hcalLocalReco_cff")
0038 process.load("RecoLocalCalo.Configuration.ecalLocalRecoSequence_cff")
0039 process.load("EventFilter.HcalRawToDigi.HcalRawToDigi_cfi")
0040 process.load("EventFilter.EcalRawToDigi.EcalUnpackerData_cfi")
0041 process.load("RecoLuminosity.LumiProducer.bunchSpacingProducer_cfi")
0042 
0043 # load both cpu plugins
0044 process.load("RecoLocalCalo.EcalRecProducers.ecalMultiFitUncalibRecHit_cfi")
0045 
0046 ##
0047 ## force HLT configuration for ecalMultiFitUncalibRecHit
0048 ##
0049 
0050 process.ecalMultiFitUncalibRecHit.algoPSet = cms.PSet( 
0051       # for crossCorrelationMethod
0052       timealgo = cms.string( "crossCorrelationMethod" ),  
0053       crossCorrelationStartTime = cms.double(-25),
0054       crossCorrelationStopTime = cms.double(25),
0055       crossCorrelationTargetTimePrecision = cms.double(0.01),
0056 )     
0057       
0058 ##    
0059     
0060 process.ecalDigis = process.ecalEBunpacker.clone()
0061 process.ecalDigis.InputLabel = cms.InputTag('rawDataCollector')
0062 
0063 process.out = cms.OutputModule(
0064     "PoolOutputModule",
0065     fileName = cms.untracked.string("test_uncalib.root")
0066 )
0067 
0068 process.finalize = cms.EndPath(process.out)
0069 
0070 process.bunchSpacing = cms.Path(
0071     process.bunchSpacingProducer
0072 )
0073 
0074 process.digiPath = cms.Path(
0075     process.ecalDigis
0076 )
0077 
0078 process.recoPath = cms.Path(
0079     process.ecalMultiFitUncalibRecHit
0080     *process.ecalRecHit
0081 )
0082 
0083 process.schedule = cms.Schedule(
0084     process.bunchSpacing,
0085     process.digiPath,
0086     process.recoPath,
0087     process.finalize
0088 )
0089 
0090 process.options = cms.untracked.PSet(
0091     numberOfThreads = cms.untracked.uint32(8),
0092     numberOfStreams = cms.untracked.uint32(8),
0093     SkipEvent = cms.untracked.vstring('ProductNotFound'),
0094     wantSummary = cms.untracked.bool(True)
0095 )
0096 
0097