Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:49:25

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("bckAnalysis")
0004 
0005 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0006 
0007 process.load("Configuration.Geometry.GeometryRecoDB_cff")
0008 process.load("Configuration.StandardSequences.MagneticField_cff")
0009 process.load('Configuration.StandardSequences.Services_cff')
0010 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0011 process.load('FWCore.MessageService.MessageLogger_cfi')
0012 process.load('Configuration.EventContent.EventContent_cff')
0013 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0014 process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff')
0015 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0016 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0017 process.load("TrackingTools/TransientTrack/TransientTrackBuilder_cfi")
0018 
0019 process.MessageLogger.cerr.FwkReport.reportEvery = 100
0020 
0021 process.source = cms.Source("PoolSource",fileNames = cms.untracked.vstring(
0022     'file:reco.root'
0023 ))
0024 
0025 from Configuration.AlCa.GlobalTag import GlobalTag
0026 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_data', '')
0027 
0028 process.checkBPHWriteDecay = cms.EDAnalyzer('CheckBPHWriteDecay',
0029 ### to dump only one event
0030 #    runNumber = cms.uint32( 275371 ),
0031 #    evtNumber = cms.uint32( 783544498 ),
0032     candsLabel = cms.vstring('bphWriteSpecificDecay:oniaFitted:bphAnalysis'
0033                             ,'bphWriteSpecificDecay:kx0Cand:bphAnalysis'
0034                             ,'bphWriteSpecificDecay:phiCand:bphAnalysis'
0035                             ,'bphWriteSpecificDecay:buFitted:bphAnalysis'
0036                             ,'bphWriteSpecificDecay:bdFitted:bphAnalysis'
0037                             ,'bphWriteSpecificDecay:bsFitted:bphAnalysis')
0038 )
0039 
0040 process.p = cms.Path(
0041     process.checkBPHWriteDecay
0042 )
0043 
0044