Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 
0005 
0006 process.load("Geometry.CommonTopologies.globalTrackingGeometry_cfi")
0007 process.load("TrackingTools.TrackRefitter.globalMuonTrajectories_cff")
0008 process.load("TrackingTools.TrackRefitter.standAloneMuonTrajectories_cff")
0009 process.load("TrackingTools.TrackRefitter.ctfWithMaterialTrajectories_cff")
0010 
0011 #process.globalMuons.TrackTransformer.RefitDirection = 'insideOut'
0012 #process.generalTracks.TrackTransformer.RefitDirection = 'insideOut'
0013 #process.standAloneMuons.TrackTransformer.RefitDirection = 'insideOut'
0014 
0015 process.load("Configuration.StandardSequences.Services_cff")
0016 
0017 process.load("Configuration.StandardSequences.Geometry_cff")
0018 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0019 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0020 process.GlobalTag.globaltag = 'IDEAL_V6::All'
0021 
0022 
0023 #process.load("Configuration.StandardSequences.Reconstruction_cff")
0024 
0025 process.load("RecoLocalTracker.SiPixelRecHits.PixelCPEGeneric_cfi")
0026 
0027 process.source = cms.Source("PoolSource",
0028 #                            skipEvents = cms.untracked.uint32(25),
0029                             fileNames = cms.untracked.vstring('/store/relval/CMSSW_2_1_10/RelValSingleMuPt10/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v2/0000/78E29B63-4699-DD11-AB65-000423D98750.root')
0030 )
0031 
0032 process.maxEvents = cms.untracked.PSet(
0033     input = cms.untracked.int32(2000)
0034 )
0035 process.MessageLogger = cms.Service("MessageLogger",
0036     debugModules = cms.untracked.vstring('*'),
0037     cout = cms.untracked.PSet(
0038     TrackTransformer = cms.untracked.PSet(
0039     limit = cms.untracked.int32(10000000)
0040     ),
0041     noLineBreaks = cms.untracked.bool(True),
0042     TracksToTrajectories = cms.untracked.PSet(
0043     limit = cms.untracked.int32(10000000)
0044     ),
0045     DEBUG = cms.untracked.PSet(
0046     limit = cms.untracked.int32(0)
0047     ),
0048 #    INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)),
0049     TrackFitters = cms.untracked.PSet(
0050     limit = cms.untracked.int32(10000000)
0051     ),
0052     TrajectoryReader = cms.untracked.PSet(
0053     limit = cms.untracked.int32(10000000)
0054         ),
0055     threshold = cms.untracked.string('DEBUG')
0056     ),
0057                                     categories = cms.untracked.vstring(
0058     'TrackTransformer', 
0059     'TracksToTrajectories', 
0060     'TrackFitters',
0061     'TrajectoryReader'),
0062     destinations = cms.untracked.vstring('cout')
0063 )
0064 
0065 process.GLBTrajectoriesReader = cms.EDProducer("TrajectoryReader",
0066                                                rootFileName = cms.untracked.string('GLBTajectoriesReader.root'),
0067                                                InputLabel = cms.InputTag("globalMuons","Refitted")
0068                                                )
0069 
0070 process.STATrajectoriesReader = cms.EDProducer("TrajectoryReader",
0071                                                rootFileName = cms.untracked.string('STATajectoriesReader.root'),
0072                                               InputLabel = cms.InputTag("standAloneMuons","Refitted")
0073                                                )
0074 
0075 process.CTFTrajectoriesReader = cms.EDProducer("TrajectoryReader",
0076                                              rootFileName = cms.untracked.string('CTFTajectoriesReader.root'),
0077                                              InputLabel = cms.InputTag("generalTracks","Refitted")
0078                                              )
0079 
0080 process.glbMuons = cms.Sequence(process.globalMuons*process.GLBTrajectoriesReader)
0081 process.staMuons = cms.Sequence(process.standAloneMuons*process.STATrajectoriesReader)
0082 process.tk = cms.Sequence(process.generalTracks*process.CTFTrajectoriesReader)
0083 
0084 process.testSTA = cms.Path(process.staMuons+process.tk+process.glbMuons)
0085 #process.testSTA = cms.Path(process.staMuons+process.tk)
0086 #process.testSTA = cms.Path(process.tk)
0087 #process.testSTA = cms.Path(process.staMuons)