Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:25:59

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("Test")
0004 
0005 process.source = cms.Source("PoolSource",
0006     fileNames = cms.untracked.vstring(
0007 
0008         '/store/relval/CMSSW_3_2_1/RelValSingleMuPt100/GEN-SIM-RECO/MC_31X_V3-v1/0006/DC15F12B-9477-DE11-B1E0-000423D98C20.root',
0009         '/store/relval/CMSSW_3_2_1/RelValSingleMuPt100/GEN-SIM-RECO/MC_31X_V3-v1/0006/40D6FEFD-8F77-DE11-95A7-001D09F27067.root',
0010         '/store/relval/CMSSW_3_2_1/RelValSingleMuPt100/GEN-SIM-RECO/MC_31X_V3-v1/0005/50EE1208-8177-DE11-8B17-001D09F231B0.root'
0011     )
0012 )
0013 
0014 process.maxEvents = cms.untracked.PSet(
0015     input=cms.untracked.int32(100)
0016 )
0017 
0018 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0019 process.load('Configuration.StandardSequences.MagneticField_cff')
0020 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0021 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0022 process.load("Configuration.StandardSequences.Reconstruction_cff")
0023 from Configuration.StandardSequences.Reconstruction_cff import *
0024 
0025 process.muonAnalyzer = cms.EDAnalyzer("MuonTimingValidator",
0026   TKtracks = cms.untracked.InputTag("generalTracks"),
0027   STAtracks = cms.untracked.InputTag("standAloneMuons"),
0028   Muons = cms.untracked.InputTag("muons"),
0029   nbins = cms.int32(60),
0030   PtresMax = cms.double(2000.0),
0031   CombinedTiming = cms.untracked.InputTag("muontiming","combined"),
0032   DtTiming = cms.untracked.InputTag("muontiming","dt"),
0033   CscTiming = cms.untracked.InputTag("muontiming","csc"),
0034   simPtMin = cms.double(5.0),
0035   PtresMin = cms.double(-1000.0),
0036   PtCut = cms.double(1.0),
0037   etaMax = cms.double(2.4),
0038   etaMin = cms.double(0.0),
0039   PlotScale = cms.double(1.0),
0040   DTcut  = cms.int32(8),
0041   CSCcut = cms.int32(4),
0042   open = cms.string('recreate'),
0043   out = cms.string('test_timing.root')
0044 )
0045 
0046 process.prefer("GlobalTag")
0047 from Configuration.AlCa.GlobalTag import GlobalTag
0048 process.GlobalTag = GlobalTag(process.GlobalTag, '80X_dataRun2_Prompt_v9', '')
0049 
0050 process.p = cms.Path(muontiming)
0051 
0052 process.mutest = cms.Path(process.muonAnalyzer)
0053 
0054 process.schedule = cms.Schedule(process.p,process.mutest)   
0055 # process.schedule = cms.Schedule(process.mutest)   
0056