Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:30:58

0001 import FWCore.ParameterSet.Config as cms
0002 process = cms.Process("Analysis")
0003 
0004 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1000))
0005 process.source = cms.Source("PoolSource", fileNames =  cms.untracked.vstring( 
0006 'file:data/DoubleMu_3_00.root'
0007 ))
0008 
0009 # import of standard configurations
0010 process.load('Configuration.StandardSequences.Services_cff')
0011 process.load('FWCore.MessageService.MessageLogger_cfi')
0012 process.load('Configuration.StandardSequences.GeometryDB_cff')
0013 process.load('Configuration.StandardSequences.MagneticField_38T_cff')
0014 process.load('Configuration.StandardSequences.RawToDigi_cff')
0015 process.load('Configuration.StandardSequences.Reconstruction_cff')
0016 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0017 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0018 process.GlobalTag.globaltag = 'DESIGN_36_V3::All'
0019 
0020 process.MessageLogger = cms.Service("MessageLogger",
0021     cerr = cms.untracked.PSet(
0022         enable = cms.untracked.bool(False)
0023     ),
0024     cout = cms.untracked.PSet(
0025         enable = cms.untracked.bool(True),
0026         threshold = cms.untracked.string('INFO')
0027     ),
0028     debugModules = cms.untracked.vstring('')
0029 )
0030 
0031 process.load("RecoTracker.Configuration.RecoTracker_cff")
0032 from RecoTracker.Configuration.RecoTracker_cff import *
0033 process.load('RecoLocalTracker/Configuration/RecoLocalTracker_cff')
0034 process.load("RecoPixelVertexing.PixelTrackFitting.PixelTracks_cff")
0035 from RecoPixelVertexing.PixelTrackFitting.PixelTracks_cff import *
0036 
0037 
0038 BBlock = cms.PSet(
0039   ComponentName = cms.string('GlobalRegionProducerFromBeamSpot'),
0040   RegionPSet = cms.PSet(
0041     precise = cms.bool(True),
0042     nSigmaZ = cms.double(3.0),
0043     originRadius = cms.double(0.2),
0044     ptMin = cms.double(0.8),
0045     beamSpot = cms.InputTag("offlineBeamSpot")
0046   )
0047 )
0048 
0049 GBlock= cms.PSet(
0050   ComponentName = cms.string('GlobalRegionProducer'),
0051   RegionPSet = cms.PSet(
0052      precise = cms.bool(True),
0053      ptMin = cms.double(0.875),
0054      originHalfLength = cms.double(15.9),
0055      originRadius = cms.double(0.2),
0056      originXPos = cms.double(0.),
0057      originYPos = cms.double(0.),
0058      originZPos = cms.double(0.)
0059 #     originXPos = cms.double(0.2),
0060 #     originYPos = cms.double(0.4),
0061 #     originZPos = cms.double(-2.4)
0062       
0063   )
0064 )
0065 
0066 
0067 process.pixelTracks2 = pixelTracks.clone()
0068 process.pixelTracks2.RegionFactoryPSet= cms.PSet( GBlock )
0069 process.pixelTracks2.Filter = ""
0070 
0071 process.test = cms.EDAnalyzer("PixelTrackTest", TrackCollection = cms.string("pixelTracks2"))
0072 
0073 process.p=cms.Path(process.siPixelDigis*process.pixeltrackerlocalreco*process.offlineBeamSpot*process.PixelLayerTriplets*process.pixelTracks2*process.test)
0074