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("TESTFIT")
0004 
0005 
0006 process.load("Geometry.CommonTopologies.globalTrackingGeometry_cfi")
0007 process.load("TrackingTools.TrackRefitter.cosmicMuonTrajectories_cff")
0008 #process.load("TrackingTools.TrackRefitter.cosmicMuonTrajectories_cff")
0009 #process.load("TrackingTools.TrackRefitter.ctfWithMaterialTrajectoriesP5_cff")
0010 
0011 process.load("Configuration.StandardSequences.Services_cff")
0012 process.load("Configuration.StandardSequences.Geometry_cff")
0013 
0014 #process.load("Configuration.StandardSequences.MagneticField_cff")
0015 #process.load("Configuration.GlobalRuns.ForceZeroTeslaField_cff")
0016 process.load("Configuration.StandardSequences.MagneticField_0T_cff")
0017 
0018 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0019 process.GlobalTag.globaltag = 'CRUZET4_V2::All' 
0020 process.prefer("GlobalTag")
0021 
0022 
0023 
0024 #
0025 
0026 process.source = cms.Source("PoolSource",
0027                             fileNames = cms.untracked.vstring(
0028     #'/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/005F51E5-0373-DD11-B6FA-001731AF6B7D.root',
0029     #'/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/006F3A6A-0373-DD11-A8E7-00304876A0FF.root',
0030     #'/store/data/CRUZET4_v1/Cosmics/RECO/CRZT210_V1_SuperPointing_v1/0000/02CF5B1E-6476-DD11-A034-003048769E65.root'
0031 #    '/store/data/Commissioning08/Cosmics/ALCARECO/CRUZET4_V2_StreamMuAlGlobalCosmics_CRUZET4_v2/0007/F85734BA-6572-DD11-B9F8-0019B9F72CC2.root'
0032 #    'file:F85734BA-6572-DD11-B9F8-0019B9F72CC2.root'
0033     'file:/data/0c/kypreos/skims/run67810_1.root'   
0034     ))
0035 
0036 process.maxEvents = cms.untracked.PSet(
0037     input = cms.untracked.int32(100)
0038     )
0039 
0040 
0041 process.MessageLogger = cms.Service("MessageLogger",
0042     debugModules = cms.untracked.vstring('*'),
0043     cout = cms.untracked.PSet(
0044     TrackTransformer = cms.untracked.PSet(
0045     limit = cms.untracked.int32(10000000)
0046     ),
0047     noLineBreaks = cms.untracked.bool(True),
0048     TracksToTrajectories = cms.untracked.PSet(
0049     limit = cms.untracked.int32(10000000)
0050     ),
0051     DEBUG = cms.untracked.PSet(
0052     limit = cms.untracked.int32(0)
0053     ),
0054 #     INFO = cms.untracked.PSet(
0055 #     limit = cms.untracked.int32(0)
0056 #     ),
0057     TrajectoryReader = cms.untracked.PSet(
0058     limit = cms.untracked.int32(10000000)
0059         ),
0060     TrackFitters = cms.untracked.PSet(
0061     limit = cms.untracked.int32(10000000)
0062     ),
0063     
0064     threshold = cms.untracked.string('DEBUG')
0065     ),
0066                                     categories = cms.untracked.vstring(
0067     'TrackTransformer', 
0068     'TracksToTrajectories',
0069     'TrackFitters',
0070     'TrajectoryReader'),
0071                                     destinations = cms.untracked.vstring('cout')
0072                                     )
0073 
0074 process.GLBTrajectoriesReader = cms.EDProducer("TrajectoryReader",
0075                                                rootFileName = cms.untracked.string('GLBTajectoriesReader.root'),
0076 #                                               InputLabel = cms.InputTag("MuAlGlobalCosmics","Refitted")
0077                                                InputLabel = cms.InputTag("cosmicMuons","Refitted")
0078                                                )
0079 
0080 # process.STATrajectoriesReader = cms.EDProducer("TrajectoryReader",
0081 #     rootFileName = cms.untracked.string('STATajectoriesReader.root'),
0082 #                                              InputLabel = cms.InputTag("standAloneMuons","Refitted")
0083 # )
0084 
0085 # process.CTFTrajectoriesReader = cms.EDProducer("TrajectoryReader",
0086 #                                                rootFileName = cms.untracked.string('CTFTajectoriesReader.root'),
0087 #                                                InputLabel = cms.InputTag("ctfWithMaterialTracksP5","Refitted")
0088 #                                                )
0089 
0090 process.glbMuons = cms.Sequence(process.cosmicMuons*process.GLBTrajectoriesReader)
0091 #process.staMuons = cms.Sequence(process.standAloneMuons*process.STATrajectoriesReader)
0092 #process.tk = cms.Sequence(process.ctfWithMaterialTracksP5*process.CTFTrajectoriesReader)
0093 
0094 #process.testSTA = cms.Path(process.staMuons+process.tk+process.glbMuons)
0095 #process.testSTA = cms.Path(process.staMuons+process.tk)
0096 #process.testSTA = cms.Path(process.tk+process.glbMuons)
0097 process.testSTA = cms.Path(process.glbMuons)
0098