Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:28:07

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("AlcaRecoBeamSpot")
0004 
0005 # initialize MessageLogger
0006 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0007 
0008 # Beam fitter
0009 process.load("RecoVertex.BeamSpotProducer.d0_phi_analyzer_cff")
0010 
0011 process.source = cms.Source("PoolSource",
0012                             fileNames = cms.untracked.vstring('/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/02F50799-FB7D-DD11-80FC-000423D98DC4.root',
0013        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/066D059D-FB7D-DD11-A998-000423D98800.root',
0014        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/08A9C567-FB7D-DD11-8B00-000423DD2F34.root',
0015        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/0C4D30C3-FB7D-DD11-94C2-000423D98DD4.root',
0016        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/1697AF63-FB7D-DD11-A122-000423D98AF0.root',
0017        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/1A6D5F2A-FB7D-DD11-A860-000423D94C68.root',
0018        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/1C3D4D97-FB7D-DD11-A5AB-000423D9890C.root',
0019        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/24BBE96A-FB7D-DD11-914F-000423D98834.root',
0020        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/2E2850F6-FB7D-DD11-AB6C-000423D6AF24.root',
0021        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/34BD8472-FB7D-DD11-ADAE-000423D6B48C.root',
0022        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/36B15966-FB7D-DD11-B785-000423D99896.root',
0023        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/48BE7490-FB7D-DD11-BD97-000423D99AA2.root',
0024        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/521EC634-FB7D-DD11-872C-000423D99AAE.root',
0025        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/744F149D-FB7D-DD11-B095-000423D99658.root',
0026        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/76C46999-FB7D-DD11-B900-000423D98750.root',
0027        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/848DDA6F-FB7D-DD11-8874-000423D99A8E.root',
0028        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/8663FD5F-FC7D-DD11-8AAF-000423D98834.root',
0029        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/8ABB0C69-FB7D-DD11-9AFA-000423D98B6C.root',
0030        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/8C4C798C-FB7D-DD11-AA5E-000423D8FA38.root',
0031        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/8ECDBE32-FB7D-DD11-A4DC-000423D986A8.root',
0032        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/90C2B3C8-FB7D-DD11-B485-000423D98634.root',
0033        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/94B8975E-FB7D-DD11-BEAF-000423D94C68.root',
0034        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/9680F65D-FB7D-DD11-8DFB-001617E30D0A.root',
0035        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/9EA1BDF9-FB7D-DD11-83A2-000423D98AF0.root',
0036        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/AE2B6AC2-FB7D-DD11-AA76-000423D99CEE.root',
0037        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/AEA5A698-FB7D-DD11-9B19-000423D98F98.root',
0038        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/D0CFA0F2-FB7D-DD11-8AC2-000423D94534.root',
0039        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/D4D2885D-FC7D-DD11-94CD-000423D952C0.root',
0040        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/E801C5F7-FB7D-DD11-B414-000423D990CC.root',
0041        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0001/FAD35597-FB7D-DD11-8946-000423D99660.root',
0042        '/store/relval/CMSSW_2_1_7/RelValTTbar/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0002/98057D1C-437E-DD11-A450-001617C3B654.root')
0043                             )
0044 
0045 process.maxEvents = cms.untracked.PSet(
0046         input = cms.untracked.int32(1500)
0047 )
0048 
0049 ## Geometry
0050 ##
0051 process.load("Configuration.StandardSequences.Geometry_cff")
0052 
0053 ## Magnetic Field
0054 ##
0055 process.load("Configuration.StandardSequences.MagneticField_cff")
0056 
0057 #process.p = cms.Path(process.d0_phi_analyzer)
0058 
0059 process.MessageLogger.debugModules = ['BeamSpotAnalyzer']
0060 process.d0_phi_analyzer.OutputFileName = 'EarlyCollision.root'
0061 process.d0_phi_analyzer.BSAnalyzerParameters.TrackCollection = 'TrackRefitter'
0062 #process.d0_phi_analyzer.InputBeamWidth = 
0063 
0064 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0065 #process.GlobalTag.globaltag = 'IDEAL_V9::All'  # take your favourite
0066 
0067 process.GlobalTag.connect = "sqlite_file:/afs/cern.ch/user/f/futyand/public/globaltag/10PB_21X.db"
0068 process.GlobalTag.globaltag = '10PB_V1::All'
0069 
0070 process.load("RecoTracker.TrackProducer.RefitterWithMaterial_cff")
0071 # process.TrackRefitter.src = 'generalTracks' # should be default
0072 
0073 process.p1 = cms.Path(process.TrackRefitter
0074                       *process.d0_phi_analyzer
0075                       )