Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:31:47

0001 import FWCore.ParameterSet.Config as cms
0002 process = cms.Process("TEST")
0003 
0004 process.load("Configuration.StandardSequences.MagneticField_cff")
0005 process.load("Configuration.StandardSequences.Geometry_cff")
0006 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0007 process.GlobalTag.globaltag = 'MC_43_V4::All'
0008 
0009 
0010 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0011 # process.load("MagneticField.Engine.volumeBasedMagneticField_cfi")
0012 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0013 
0014 process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
0015 
0016 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0017 
0018 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0019 
0020 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0021 
0022 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0023 
0024 process.load("Geometry.DTGeometry.dtGeometry_cfi")
0025 
0026 process.load("Geometry.RPCGeometry.rpcGeometry_cfi")
0027 
0028 process.load("Geometry.CSCGeometry.cscGeometry_cfi")
0029 
0030 process.load("Geometry.CommonTopologies.bareGlobalTrackingGeometry_cfi")
0031 
0032 process.load("TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAlong_cfi")
0033 
0034 process.load("TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorOpposite_cfi")
0035 
0036 process.load("TrackPropagation.SteppingHelixPropagator.SteppingHelixPropagatorAny_cfi")
0037 
0038 # add TrackDetectorAssociator lookup maps to the EventSetup
0039 process.load("TrackingTools.TrackAssociator.DetIdAssociatorESProducer_cff") 
0040 # from TrackingTools.TrackAssociator.DetIdAssociatorESProducer_cff import *  
0041 from TrackingTools.TrackAssociator.default_cfi import * 
0042 
0043 process.demo = cms.EDAnalyzer('TestTrackAssociator',
0044     TrackAssociatorParameterBlock
0045 )
0046 
0047 process.maxEvents = cms.untracked.PSet(
0048     input = cms.untracked.int32(100)
0049 )
0050 
0051 process.MessageLogger = cms.Service("MessageLogger",
0052     destinations = cms.untracked.vstring('cout'),
0053     # categories = cms.untracked.vstring('TrackAssociator','TrackAssociatorVerbose'),
0054     # categories = cms.untracked.vstring('TrackAssociator'),
0055     cout = cms.untracked.PSet(
0056         threshold = cms.untracked.string('INFO'),
0057         # threshold = cms.untracked.string('DEBUG'),
0058     noTimeStamps = cms.untracked.bool(True),
0059     noLineBreaks = cms.untracked.bool(True),
0060     DEBUG = cms.untracked.PSet(
0061            limit = cms.untracked.int32(0)
0062     ),
0063     # TrackAssociator = cms.untracked.PSet(
0064     #   limit = cms.untracked.int32(-1)
0065     #),
0066     # TrackAssociatorVerbose = cms.untracked.PSet(
0067     #   limit = cms.untracked.int32(-1)
0068     #),
0069     ),
0070     debugModules = cms.untracked.vstring("demo")
0071 )
0072 
0073 import FWCore.Framework.test.cmsExceptionsFatalOption_cff
0074 options = cms.untracked.PSet(
0075     Rethrow = FWCore.Framework.test.cmsExceptionsFatalOption_cff.Rethrow
0076 )
0077 
0078 process.source = cms.Source("PoolSource",
0079     fileNames = cms.untracked.vstring(
0080     '/store/relval/CMSSW_4_3_0_pre6/RelValSingleMuPt10/GEN-SIM-RECO/MC_43_V3-v1/0086/BA16DCB9-2A8C-E011-AD40-0030486791BA.root'
0081     )
0082 )
0083 
0084 process.p = cms.Path(process.demo)
0085 
0086