Ejemplo n.º 1
0
                                     pixelLessStepTrackCandidatesMkFit)
trackingMkFitPixelLessStep.toReplaceWith(PixelLessStepTask,
                                         _PixelLessStepTask_trackingMkFit)

_PixelLessStepTask_LowPU = PixelLessStepTask.copyAndExclude([
    pixelLessStepHitTriplets, pixelLessStepClassifier1,
    pixelLessStepClassifier2
])
_PixelLessStepTask_LowPU.replace(pixelLessStep, pixelLessStepSelector)
trackingLowPU.toReplaceWith(PixelLessStepTask, _PixelLessStepTask_LowPU)
#fastsim
from FastSimulation.Tracking.FastTrackerRecHitMaskProducer_cfi import maskProducerFromClusterRemover
pixelLessStepMasks = maskProducerFromClusterRemover(pixelLessStepClusters)
fastSim.toReplaceWith(
    PixelLessStepTask,
    cms.Task(pixelLessStepMasks, pixelLessStepTrackingRegions,
             pixelLessStepSeeds, pixelLessStepTrackCandidates,
             pixelLessStepTracks, pixelLessStepClassifier1,
             pixelLessStepClassifier2, pixelLessStep))
from RecoLocalTracker.SiPhase2VectorHitBuilder.siPhase2VectorHits_cfi import *
from RecoTracker.TkSeedGenerator.SeedingOTEDProducer_cfi import SeedingOTEDProducer as _SeedingOTEDProducer
pixelLessStepSeeds_vectorHits = _SeedingOTEDProducer.clone()

_PixelLessStepTask_vectorHits = cms.Task(
    siPhase2VectorHits, pixelLessStepClusters, pixelLessStepSeeds,
    pixelLessStepTrackCandidates, pixelLessStepTracks, pixelLessStepSelector)
_PixelLessStep_vectorHits = cms.Sequence(_PixelLessStepTask_vectorHits)
vectorHits.toReplaceWith(pixelLessStepSeeds, pixelLessStepSeeds_vectorHits)
vectorHits.toReplaceWith(PixelLessStepTask, _PixelLessStepTask_vectorHits)
vectorHits.toReplaceWith(PixelLessStep, _PixelLessStep_vectorHits)
Ejemplo n.º 2
0
                               filterName=cms.untracked.string('')),
    eventAutoFlushCompressedSize=cms.untracked.int32(5242880),
    fileName=cms.untracked.string('file:step3_1event.root'),
    outputCommands=process.RECOSIMEventContent.outputCommands,
    splitLevel=cms.untracked.int32(0))

# Analyzer
process.load(
    'RecoLocalTracker.SiPhase2VectorHitBuilder.vectorHitsBuilderValidation_cfi'
)

process.TFileService = cms.Service(
    'TFileService', fileName=cms.string('file:vh_validation_tilted.root'))

from RecoTracker.TkSeedGenerator.SeedingOTEDProducer_cfi import SeedingOTEDProducer as _SeedingOTEDProducer
process.phase2SeedingOTEDProducer = _SeedingOTEDProducer.clone()
process.initialStepSeeds = _SeedingOTEDProducer.clone()

process.load(
    'RecoLocalTracker.Phase2TrackerRecHits.Phase2StripCPEGeometricESProducer_cfi'
)

# Other statements
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')

# debug
#process.MessageLogger = cms.Service("MessageLogger",
#                                    destinations = cms.untracked.vstring("debugVH_tilted"),
#                                    debugModules = cms.untracked.vstring("*"),
#                                    categories = cms.untracked.vstring("VectorHitBuilderEDProducer","VectorHitBuilderAlgorithm","VectorHitsBuilderValidation","CkfPattern"),