Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:26:51

0001 import FWCore.ParameterSet.Config as cms
0002 process = cms.Process("TripletTest")
0003 
0004 import FWCore.ParameterSet.Config as cms
0005 
0006 process = cms.Process("TKSEEDING")
0007 
0008 
0009 #Adding SimpleMemoryCheck service:
0010 process.SimpleMemoryCheck=cms.Service("SimpleMemoryCheck",
0011                                    ignoreTotal=cms.untracked.int32(1),
0012                                    oncePerEventMode=cms.untracked.bool(False)
0013 )
0014 
0015 
0016 # source
0017 readFiles = cms.untracked.vstring()
0018 secFiles = cms.untracked.vstring() 
0019 source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles)
0020 readFiles.extend( ['file:step3.root' ])
0021 secFiles.extend( ['file:step2.root'] )
0022 
0023 process.source = source
0024 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0025 
0026 process.load('Configuration.StandardSequences.Services_cff')
0027 process.load('FWCore.MessageService.MessageLogger_cfi')
0028 process.load('Configuration.EventContent.EventContent_cff')
0029 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0030 process.load('Configuration.StandardSequences.MagneticField_cff')
0031 process.load('Configuration.StandardSequences.RawToDigi_cff')
0032 process.load('Configuration.StandardSequences.L1Reco_cff')
0033 process.load('Configuration.StandardSequences.Reconstruction_cff')
0034 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0035 
0036 from Configuration.AlCa.GlobalTag import GlobalTag
0037 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
0038 
0039 
0040 
0041 #process.MessageLogger = cms.Service("MessageLogger",
0042 #    debugModules = cms.untracked.vstring('*'),
0043 #    destinations = cms.untracked.vstring('cout'),
0044 #    cout = cms.untracked.PSet( threshold = cms.untracked.string('INFO'))
0045 #)
0046 
0047 from RecoPixelVertexing.PixelTriplets.PixelTripletHLTGenerator_cfi import *
0048 from RecoPixelVertexing.PixelTriplets.PixelTripletLargeTipGenerator_cfi import *
0049 from RecoTracker.TkTrackingRegions.GlobalTrackingRegion_cfi import *
0050 
0051 process.triplets = cms.EDAnalyzer("HitTripletProducer",
0052   OrderedHitsFactoryPSet = cms.PSet(
0053     ComponentName = cms.string("StandardHitTripletGenerator"),
0054     SeedingLayers = cms.InputTag("PixelLayerTriplets"),
0055     GeneratorPSet = cms.PSet( PixelTripletHLTGenerator )
0056 #    GeneratorPSet = cms.PSet( PixelTripletLargeTipGenerator )
0057   ),
0058     RegionFactoryPSet = cms.PSet(
0059         RegionPSetBlock,
0060         ComponentName = cms.string('GlobalRegionProducer')
0061   )
0062 
0063 )
0064 
0065 #process.triplets.OrderedHitsFactoryPSet.GeneratorPSet.useFixedPreFiltering = cms.bool(True)
0066 #process.triplets.RegionFactoryPSet.RegionPSet.ptMin = cms.double(1000.00)
0067 #process.triplets.RegionFactoryPSet.RegionPSet.originRadius = cms.double(0.001)
0068 #process.triplets.RegionFactoryPSet.RegionPSet.originHalfLength = cms.double(0.0001)
0069 
0070 process.p = cms.Path(process.siPixelRecHits+process.PixelLayerTriplets+process.triplets)
0071 #process.p = cms.Path(process.PixelLayerTriplets+process.triplets)
0072 
0073 
0074 # customisation of the process.
0075 
0076 # Automatic addition of the customisation function from SLHCUpgradeSimulations.Configuration.postLS1Customs
0077 from SLHCUpgradeSimulations.Configuration.postLS1Customs import customisePostLS1 
0078 
0079 #call to customisation function customisePostLS1 imported from SLHCUpgradeSimulations.Configuration.postLS1Customs
0080 process = customisePostLS1(process)
0081