Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-04 03:24:50

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("Demo")
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi");
0007 process.load("Geometry.CaloEventSetup.CaloGeometry_cfi");
0008 process.load("Geometry.CaloEventSetup.CaloTopology_cfi");
0009 process.load("TrackingTools/TransientTrack/TransientTrackBuilder_cfi")
0010 process.load("Configuration.Geometry.GeometryIdeal_cff")
0011 process.load("Configuration.StandardSequences.MagneticField_cff")
0012 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0013 
0014 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0015 
0016 process.source = cms.Source("PoolSource",
0017     fileNames = cms.untracked.vstring(
0018         '/store/mc/Run3Winter21DRMiniAOD/HTo2LongLivedTo4b_MH-250_MFF-60_CTau-1000mm_TuneCP5_14TeV-pythia8/GEN-SIM-RECO/FlatPU30to80FEVT_112X_mcRun3_2021_realistic_v16-v2/130000/058470ca-8aaa-4727-80d8-f42621bafd39.root'
0019     )
0020 )
0021 from Configuration.AlCa.GlobalTag import GlobalTag
0022 process.GlobalTag.globaltag = '121X_mcRun3_2021_realistic_v1'
0023 
0024 process.hltTimingProducer = cms.EDProducer('HLTCaloJetTimingProducer',
0025         jets = cms.InputTag( "ak4CaloJets" ),
0026         ebRecHitsColl = cms.InputTag( 'ecalRecHit','EcalRecHitsEB' ),
0027         eeRecHitsColl = cms.InputTag( 'ecalRecHit','EcalRecHitsEE' ),
0028         barrelJets = cms.bool(True),
0029         endcapJets = cms.bool(False),
0030         ecalCellEnergyThresh =cms.double(0.5),
0031         ecalCellTimeThresh = cms.double(12.5),
0032         ecalCellTimeErrorThresh = cms.double(100.),
0033         matchingRadius = cms.double(0.4),
0034 )
0035 
0036 process.hltTimingFilter = cms.EDFilter('HLTCaloJetTimingFilter',
0037     saveTags = cms.bool( True ),
0038     minJets = cms.uint32(1),
0039     minJetPt = cms.double(40.0),
0040     jetTimeThresh = cms.double(1.),
0041     jetCellsForTimingThresh = cms.uint32(5),
0042     jetEcalEtForTimingThresh = cms.double(10.),
0043     jets = cms.InputTag( "ak4CaloJets" ),
0044     jetTimes = cms.InputTag( "hltTimingProducer" ),
0045     jetEcalEtForTiming = cms.InputTag( "hltTimingProducer" ,"jetEcalEtForTiming"),
0046     jetCellsForTiming = cms.InputTag( "hltTimingProducer" ,"jetCellsForTiming"),
0047 )
0048 process.output = cms.OutputModule( "PoolOutputModule",
0049     fileName = cms.untracked.string( "timingOutput.root" ),
0050 )
0051 
0052 process.p = cms.Path(process.hltTimingProducer+process.hltTimingFilter)
0053 process.Output = cms.EndPath(process.output)