Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-25 02:13:22

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # ------------------------------------------------------------------------------
0004 # configure a filter to run only on the events selected by TkAlMinBias AlcaReco
0005 from Alignment.CommonAlignmentProducer.ALCARECOPromptCalibProdSiPixelAli_cff import *
0006 ALCARECOTkAlMinBiasFilterForSiPixelAliHG = ALCARECOTkAlMinBiasFilterForSiPixelAli.clone()
0007 
0008 
0009 from Alignment.CommonAlignmentProducer.LSNumberFilter_cfi import *
0010 
0011 # Ingredient: offlineBeamSpot
0012 from RecoVertex.BeamSpotProducer.BeamSpot_cfi import offlineBeamSpot
0013 
0014 # Ingredient: AlignmentTrackSelector
0015 # track selector for HighPurity tracks
0016 #-- AlignmentTrackSelector
0017 SiPixelAliHighPuritySelectorHG = SiPixelAliHighPuritySelector.clone()
0018 
0019 # track selection for alignment
0020 SiPixelAliTrackSelectorHG = SiPixelAliTrackSelector.clone(
0021     src = 'SiPixelAliTrackFitterHG'
0022 )
0023 
0024 # Ingredient: SiPixelAliTrackRefitter0
0025 # refitting
0026 SiPixelAliTrackRefitterHG0 = SiPixelAliTrackRefitter0.clone(
0027     src = 'SiPixelAliHighPuritySelectorHG'
0028 )
0029 SiPixelAliTrackRefitterHG1 = SiPixelAliTrackRefitterHG0.clone(
0030     src = 'SiPixelAliTrackSelectorHG'
0031 )
0032 
0033 #-- Alignment producer
0034 SiPixelAliMilleAlignmentProducerHG = SiPixelAliMilleAlignmentProducer.clone(
0035     ParameterBuilder = dict(
0036       Selector = cms.PSet(
0037     alignParams = cms.vstring(
0038       "TrackerP1PXBLadder,111111",
0039       "TrackerP1PXECPanel,111111",
0040     )
0041       )
0042     ),
0043     tjTkAssociationMapTag = 'SiPixelAliTrackRefitterHG1',
0044     algoConfig = MillePedeAlignmentAlgorithm.clone(
0045     binaryFile = 'milleBinaryHG_0.dat',
0046     treeFile = 'treeFileHG.root',
0047     monitorFile = 'millePedeMonitorHG.root'
0048     )
0049 )
0050 
0051 # Ingredient: SiPixelAliTrackerTrackHitFilter
0052 SiPixelAliTrackerTrackHitFilterHG = SiPixelAliTrackerTrackHitFilter.clone(
0053     src = 'SiPixelAliTrackRefitterHG0'
0054 )
0055 
0056 # Ingredient: SiPixelAliSiPixelAliTrackFitter
0057 SiPixelAliTrackFitterHG = SiPixelAliTrackFitter.clone(
0058     src = 'SiPixelAliTrackerTrackHitFilterHG'
0059 )
0060 
0061 SiPixelAliMillePedeFileConverterHG = cms.EDProducer("MillePedeFileConverter",
0062                                                     fileDir = cms.string(SiPixelAliMilleAlignmentProducerHG.algoConfig.fileDir.value()),
0063                                                     inputBinaryFile = cms.string(SiPixelAliMilleAlignmentProducerHG.algoConfig.binaryFile.value()),
0064                                                     fileBlobLabel = cms.string(''))
0065 
0066 seqALCARECOPromptCalibProdSiPixelAliHG = cms.Sequence(ALCARECOTkAlMinBiasFilterForSiPixelAliHG*
0067                                                       LSNumberFilter*
0068                                                       offlineBeamSpot*
0069                                                       SiPixelAliHighPuritySelectorHG*
0070                                                       SiPixelAliTrackRefitterHG0*
0071                                                       SiPixelAliTrackerTrackHitFilterHG*
0072                                                       SiPixelAliTrackFitterHG*
0073                                                       SiPixelAliTrackSelectorHG*
0074                                                       SiPixelAliTrackRefitterHG1*
0075                                                       SiPixelAliMilleAlignmentProducerHG*
0076                                                       SiPixelAliMillePedeFileConverterHG)