File indexing completed on 2024-04-06 11:56:16
0001 import FWCore.ParameterSet.Config as cms
0002
0003 SiPixelAliMilleFileExtractorHGMinBias = cms.EDAnalyzer("MillePedeFileExtractor",
0004 fileBlobInputTag = cms.InputTag("SiPixelAliMillePedeFileConverterHG",''),
0005 fileDir = cms.string('HGCombinedAlignment/'),
0006
0007
0008
0009
0010 outputBinaryFile = cms.string('pedeBinaryHGMinBias%04d.dat'))
0011
0012 SiPixelAliMilleFileExtractorHGZMuMu = cms.EDAnalyzer("MillePedeFileExtractor",
0013 fileBlobInputTag = cms.InputTag("SiPixelAliMillePedeFileConverterHGDimuon",''),
0014 fileDir = cms.string('HGCombinedAlignment/'),
0015
0016
0017
0018
0019 outputBinaryFile = cms.string('pedeBinaryHGDiMuon%04d.dat'))
0020
0021 from Alignment.MillePedeAlignmentAlgorithm.MillePedeAlignmentAlgorithm_cfi import *
0022 from Alignment.CommonAlignmentProducer.AlignmentProducerAsAnalyzer_cff import AlignmentProducer
0023 from Alignment.MillePedeAlignmentAlgorithm.MillePedeDQMModule_cff import *
0024
0025 SiPixelAliPedeAlignmentProducerHGCombined = AlignmentProducer.clone(
0026 ParameterBuilder = dict(
0027 Selector = cms.PSet(
0028 alignParams = cms.vstring(
0029 "TrackerP1PXBLadder,111111",
0030 "TrackerP1PXECPanel,111111",
0031 )
0032 )
0033 ),
0034 doMisalignmentScenario = False,
0035 checkDbAlignmentValidity = False,
0036 applyDbAlignment = True,
0037 tjTkAssociationMapTag = 'TrackRefitter2',
0038 saveToDB = True,
0039 trackerAlignmentRcdName = "TrackerAlignmentHGCombinedRcd"
0040 )
0041
0042 SiPixelAliPedeAlignmentProducerHGCombined.algoConfig = MillePedeAlignmentAlgorithm.clone(
0043 mode = 'pede',
0044 runAtPCL = True,
0045
0046
0047 mergeBinaryFiles = ['pedeBinaryHGMinBias%04d.dat','pedeBinaryHGDiMuon%04d.dat -- 10.0'],
0048 binaryFile = '',
0049 TrajectoryFactory = cms.PSet(BrokenLinesTrajectoryFactory),
0050 minNumHits = 10,
0051 fileDir = 'HGCombinedAlignment/',
0052 pedeSteerer = dict(
0053 pedeCommand = 'pede',
0054 method = 'inversion 5 0.8',
0055 options = [
0056
0057 'entries 500',
0058 'chisqcut 30.0 4.5',
0059 'threads 1 1',
0060 'closeandreopen',
0061 'skipemptycons'
0062
0063
0064 ],
0065 fileDir = 'HGCombinedAlignment/',
0066 runDir = 'HGCombinedAlignment/',
0067 steerFile = 'pedeSteerHGCombined',
0068 pedeDump = 'pedeHGCombined.dump'
0069 ),
0070 pedeReader = dict(
0071 fileDir = 'HGCombinedAlignment/'
0072 ),
0073 MillePedeFileReader = dict(
0074 fileDir = "HGCombinedAlignment/",
0075 isHG = True
0076 )
0077 )
0078
0079 SiPixelAliDQMModuleHGCombined = SiPixelAliDQMModule.clone()
0080 SiPixelAliDQMModuleHGCombined.outputFolder = "AlCaReco/SiPixelAliHGCombined"
0081 SiPixelAliDQMModuleHGCombined.MillePedeFileReader.fileDir = "HGCombinedAlignment/"
0082 SiPixelAliDQMModuleHGCombined.MillePedeFileReader.isHG = True
0083
0084 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
0085 dqmEnvSiPixelAliHGCombined = DQMEDHarvester('DQMHarvestingMetadata',
0086 subSystemFolder = cms.untracked.string('AlCaReco'))
0087
0088 ALCAHARVESTSiPixelAliHGCombined = cms.Sequence(SiPixelAliMilleFileExtractorHGMinBias*
0089 SiPixelAliMilleFileExtractorHGZMuMu*
0090 SiPixelAliPedeAlignmentProducerHGCombined*
0091 SiPixelAliDQMModuleHGCombined*
0092 dqmEnvSiPixelAliHGCombined)