File indexing completed on 2024-04-06 12:26:16
0001
0002 import FWCore.ParameterSet.Config as cms
0003
0004
0005 process = cms.Process('cluTest')
0006
0007
0008 process.load('Configuration.StandardSequences.Services_cff')
0009 process.load('FWCore.MessageService.MessageLogger_cfi')
0010 process.load('Configuration.Geometry.GeometryExtended2023D17Reco_cff')
0011 process.load('Configuration.StandardSequences.MagneticField_cff')
0012 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0013
0014 from Configuration.AlCa.GlobalTag import GlobalTag
0015 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')
0016
0017
0018
0019 process.maxEvents = cms.untracked.PSet(
0020 input = cms.untracked.int32(-1)
0021 )
0022
0023
0024 process.source = cms.Source('PoolSource',
0025 fileNames = cms.untracked.vstring('file:step3.root')
0026 )
0027
0028
0029 process.TFileService = cms.Service('TFileService',
0030 fileName = cms.string('file:rechits_validation.root')
0031 )
0032
0033 process.load('RecoLocalTracker.SiPhase2Clusterizer.phase2TrackerClusterizer_cfi')
0034 process.load('RecoLocalTracker.Phase2TrackerRecHits.Phase2StripCPEESProducer_cfi')
0035
0036 process.load('RecoLocalTracker.Phase2TrackerRecHits.Phase2TrackerRecHits_cfi')
0037
0038
0039
0040
0041
0042 process.analysis = cms.EDAnalyzer('Phase2TrackerRecHitsValidation',
0043 src = cms.InputTag("siPhase2RecHits"),
0044 clusters = cms.InputTag("siPhase2Clusters"),
0045 links = cms.InputTag("simSiPixelDigis", "Tracker"),
0046 simhitsbarrel = cms.InputTag("g4SimHits", "TrackerHitsPixelBarrelLowTof"),
0047 simhitsendcap = cms.InputTag("g4SimHits", "TrackerHitsPixelEndcapLowTof"),
0048 simtracks = cms.InputTag("g4SimHits"),
0049 ECasRings = cms.bool(True),
0050 SimTrackMinPt = cms.double(2.),
0051 MakeEtaPlots = cms.bool(False),
0052 MinEta = cms.double(0.),
0053 MaxEta = cms.double(10.)
0054 )
0055
0056
0057
0058 process.rechits_step = cms.Path(process.siPhase2RecHits)
0059 process.validation_step = cms.Path(process.analysis)
0060
0061 process.schedule = cms.Schedule(process.rechits_step, process.validation_step)
0062