Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-12-10 23:21:24

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 HLTrigger.HLTfilters.hltHighLevel_cfi import *
0006 ALCARECOTkAlMinBiasFilterForSiPixelAliHLTHG = hltHighLevel.clone(
0007     HLTPaths = ['pathALCARECOTkAlHLTTracks'],
0008     throw = True, ## dont throw on unknown path names,
0009     TriggerResultsTag = "TriggerResults::RECO"
0010 )
0011 
0012 from Alignment.CommonAlignmentProducer.ALCARECOPromptCalibProdSiPixelAliHLT_cff import *
0013 from Alignment.CommonAlignmentProducer.LSNumberFilter_cfi import *
0014 
0015 # Ingredient: AlignmentTrackSelector
0016 # track selector for HighPurity tracks
0017 #-- AlignmentTrackSelector
0018 SiPixelAliLooseSelectorHLTHG = SiPixelAliLooseSelectorHLT.clone(
0019     src = 'ALCARECOTkAlHLTTracks',
0020 )
0021 
0022 # track selection for alignment
0023 SiPixelAliTrackSelectorHLTHG = SiPixelAliTrackSelectorHLT.clone(
0024     src = 'SiPixelAliTrackFitterHLTHG'
0025 )
0026 
0027 # Ingredient: SiPixelAliTrackRefitter0
0028 # refitting
0029 SiPixelAliTrackRefitterHLTHG0 = SiPixelAliTrackRefitterHLT0.clone(
0030     src = 'SiPixelAliLooseSelectorHLTHG'
0031 )
0032 SiPixelAliTrackRefitterHLTHG1 = SiPixelAliTrackRefitterHLTHG0.clone(
0033     src = 'SiPixelAliTrackSelectorHLTHG'
0034 )
0035 
0036 #-- Alignment producer
0037 SiPixelAliMilleAlignmentProducerHLTHG = SiPixelAliMilleAlignmentProducerHLT.clone(
0038     ParameterBuilder = dict(
0039         Selector = cms.PSet(
0040             alignParams = cms.vstring(
0041                 "TrackerP1PXBLadder,111111",
0042                 "TrackerP1PXECPanel,111111",
0043             )
0044         )
0045     ),
0046     tjTkAssociationMapTag = 'SiPixelAliTrackRefitterHLTHG1',
0047     algoConfig = MillePedeAlignmentAlgorithm.clone(
0048         binaryFile = 'milleBinaryHLTHG_0.dat',
0049         treeFile = 'treeFileHLTHG.root',
0050         monitorFile = 'millePedeMonitorHLTHG.root'
0051     )
0052 )
0053 
0054 # Ingredient: SiPixelAliTrackerTrackHitFilter
0055 SiPixelAliTrackerTrackHitFilterHLTHG = SiPixelAliTrackerTrackHitFilterHLT.clone(
0056     src = 'SiPixelAliTrackRefitterHLTHG0',
0057     usePixelQualityFlag = False
0058 )
0059 
0060 # Ingredient: SiPixelAliSiPixelAliTrackFitter
0061 SiPixelAliTrackFitterHLTHG = SiPixelAliTrackFitterHLT.clone(
0062     src = 'SiPixelAliTrackerTrackHitFilterHLTHG'
0063 )
0064 
0065 SiPixelAliMillePedeFileConverterHLTHG = cms.EDProducer(
0066     "MillePedeFileConverter",
0067     fileDir = cms.string(SiPixelAliMilleAlignmentProducerHLTHG.algoConfig.fileDir.value()),
0068     inputBinaryFile = cms.string(SiPixelAliMilleAlignmentProducerHLTHG.algoConfig.binaryFile.value()),
0069     fileBlobLabel = cms.string('')
0070 )
0071 
0072 seqALCARECOPromptCalibProdSiPixelAliHLTHG = cms.Sequence(
0073     ALCARECOTkAlMinBiasFilterForSiPixelAliHLTHG*
0074     LSNumberFilter*
0075     onlineBeamSpot*
0076     SiPixelAliLooseSelectorHLTHG*
0077     SiPixelAliTrackRefitterHLTHG0*
0078     SiPixelAliTrackerTrackHitFilterHLTHG*
0079     SiPixelAliTrackFitterHLTHG*
0080     SiPixelAliTrackSelectorHLTHG*
0081     SiPixelAliTrackRefitterHLTHG1*
0082     SiPixelAliMilleAlignmentProducerHLTHG*
0083     SiPixelAliMillePedeFileConverterHLTHG
0084 )