File indexing completed on 2024-04-06 12:15:38
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 fileName = cms.untracked.string('out'),
0030
0031
0032
0033 writePtr = cms.untracked.bool(False),
0034 candsLabel = cms.vstring('bphWriteSpecificDecay:oniaFitted:bphAnalysis'
0035 ,'bphWriteSpecificDecay:kx0Cand:bphAnalysis'
0036 ,'bphWriteSpecificDecay:phiCand:bphAnalysis'
0037 ,'bphWriteSpecificDecay:buFitted:bphAnalysis'
0038 ,'bphWriteSpecificDecay:bdFitted:bphAnalysis'
0039 ,'bphWriteSpecificDecay:bsFitted:bphAnalysis'
0040 ,'bphWriteSpecificDecay:k0Fitted:bphAnalysis'
0041 ,'bphWriteSpecificDecay:l0Fitted:bphAnalysis'
0042 ,'bphWriteSpecificDecay:b0Fitted:bphAnalysis'
0043 ,'bphWriteSpecificDecay:lbFitted:bphAnalysis'
0044 ,'bphWriteSpecificDecay:bcFitted:bphAnalysis'
0045 ,'bphWriteSpecificDecay:x3872Fitted:bphAnalysis')
0046 )
0047
0048 process.p = cms.Path(
0049 process.checkBPHWriteDecay
0050 )
0051
0052