diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOPromptCalibProdSiPixelAliHLTHGCombined_Output_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOPromptCalibProdSiPixelAliHLTHGCombined_Output_cff.py new file mode 100644 index 0000000000000..bfff1d0ab901f --- /dev/null +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOPromptCalibProdSiPixelAliHLTHGCombined_Output_cff.py @@ -0,0 +1,12 @@ +import FWCore.ParameterSet.Config as cms + +OutALCARECOPromptCalibProdSiPixelAliHLTHGC_noDrop = cms.PSet( + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOPromptCalibProdSiPixelAliHLTHGMinBias','pathALCARECOPromptCalibProdSiPixelAliHLTHGDiMu') + ), + outputCommands = cms.untracked.vstring('keep *_SiPixelAliMillePedeFileConverterHLTHGDimuon_*_*', + 'keep *_SiPixelAliMillePedeFileConverterHLTHG_*_*') +) + +OutALCARECOPromptCalibProdSiPixelAliHLTHGC=OutALCARECOPromptCalibProdSiPixelAliHLTHGC_noDrop.clone() +OutALCARECOPromptCalibProdSiPixelAliHLTHGC.outputCommands.insert(0, "drop *") diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOPromptCalibProdSiPixelAliHLTHGDiMuon_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOPromptCalibProdSiPixelAliHLTHGDiMuon_cff.py new file mode 100644 index 0000000000000..4112c8dcb9d30 --- /dev/null +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOPromptCalibProdSiPixelAliHLTHGDiMuon_cff.py @@ -0,0 +1,139 @@ +import FWCore.ParameterSet.Config as cms + +# ------------------------------------------------------------------------------ +# configure a filter to run only on the events selected by TkAlZMuMu AlcaReco +from HLTrigger.HLTfilters.hltHighLevel_cfi import * +ALCARECOTkAlZMuMuFilterForSiPixelAliHLT = hltHighLevel.clone( + HLTPaths = ['pathALCARECOTkAlHLTTracksZMuMu'], + throw = True, ## dont throw on unknown path names, + TriggerResultsTag = "TriggerResults::RECO" +) + +from Alignment.CommonAlignmentProducer.ALCARECOPromptCalibProdSiPixelAliHLT_cff import * +from Alignment.CommonAlignmentProducer.LSNumberFilter_cfi import * + + + +# Ingredient: AlignmentTrackSelector +# track selector for HighPurity tracks +#-- AlignmentTrackSelector +SiPixelAliLooseSelectorHLTHGDimuon = SiPixelAliLooseSelectorHLT.clone( + src = 'ALCARECOTkAlHLTTracksZMuMu', + etaMax = 3.0, + etaMin = -3.0, + filter = True, + pMin = 8.0, +) + +# track selection for alignment +SiPixelAliTrackSelectorHLTHGDimuon = SiPixelAliTrackSelectorHLT.clone( + src = 'SiPixelAliTrackFitterHLTHGDimuon', + applyMultiplicityFilter = True, + d0Max = 50.0, + d0Min = -50.0, + etaMax = 3.0, + etaMin = -3.0, + filter = True, + maxMultiplicity = 2, + minHitChargeStrip = 20.0, + minHitIsolation = 0.01, + minMultiplicity = 2, + nHighestPt = 2, + nHitMin = 10, + pMin = 3.0, + ptMin = 15.0, + TwoBodyDecaySelector = dict(applyChargeFilter = True, + applyMassrangeFilter = True, + maxXMass = 95.8, + minXMass = 85.8), + minHitsPerSubDet = dict(inPIXEL = 1) +) + +# Ingredient: SiPixelAliTrackRefitter0 +# refitting +SiPixelAliTrackRefitterHLTHGDimuon0 = SiPixelAliTrackRefitterHLT0.clone( + src = 'SiPixelAliLooseSelectorHLTHGDimuon' +) +SiPixelAliTrackRefitterHLTHGDimuon1 = SiPixelAliTrackRefitterHLTHGDimuon0.clone( + src = 'SiPixelAliTrackSelectorHLTHGDimuon' +) + +#-- Alignment producer +SiPixelAliMilleAlignmentProducerHLTHGDimuon = SiPixelAliMilleAlignmentProducerHLT.clone( + ParameterBuilder = dict( + Selector = cms.PSet( + alignParams = cms.vstring( + "TrackerP1PXBLadder,111111", + "TrackerP1PXECPanel,111111", + ) + ) + ), + tjTkAssociationMapTag = 'SiPixelAliTrackRefitterHLTHGDimuon1', + algoConfig = MillePedeAlignmentAlgorithm.clone( + binaryFile = 'milleBinaryHLTHGDimuon_0.dat', + treeFile = 'treeFileHLTHGDimuon.root', + monitorFile = 'millePedeMonitorHLTHGDimuon.root', + minNumHits = 8, + skipGlobalPositionRcdCheck = True, + TrajectoryFactory = cms.PSet( + AllowZeroMaterial = cms.bool(False), + Chi2Cut = cms.double(10000.0), + ConstructTsosWithErrors = cms.bool(False), + EstimatorParameters = cms.PSet( + MaxIterationDifference = cms.untracked.double(0.01), + MaxIterations = cms.untracked.int32(100), + RobustificationConstant = cms.untracked.double(1.0), + UseInvariantMass = cms.untracked.bool(True) + ), + IncludeAPEs = cms.bool(False), + MaterialEffects = cms.string('LocalGBL'), + NSigmaCut = cms.double(100.0), + ParticleProperties = cms.PSet( + PrimaryMass = cms.double(91.1061), + PrimaryWidth = cms.double(1.7678), + SecondaryMass = cms.double(0.105658) + ), + PropagationDirection = cms.string('alongMomentum'), + TrajectoryFactoryName = cms.string('TwoBodyDecayTrajectoryFactory'), + UseBeamSpot = cms.bool(False), + UseHitWithoutDet = cms.bool(True), + UseInvalidHits = cms.bool(True), + UseProjectedHits = cms.bool(True), + UseRefittedState = cms.bool(True) + ) + ) +) + +# Ingredient: SiPixelAliTrackerTrackHitFilter +SiPixelAliTrackerTrackHitFilterHLTHGDimuon = SiPixelAliTrackerTrackHitFilterHLT.clone( + src = 'SiPixelAliTrackRefitterHLTHGDimuon0', + TrackAngleCut = 0.087, + minimumHits = 10, + usePixelQualityFlag = False +) + +# Ingredient: SiPixelAliSiPixelAliTrackFitter +SiPixelAliTrackFitterHLTHGDimuon = SiPixelAliTrackFitterHLT.clone( + src = 'SiPixelAliTrackerTrackHitFilterHLTHGDimuon' +) + +SiPixelAliMillePedeFileConverterHLTHGDimuon = cms.EDProducer( + "MillePedeFileConverter", + fileDir = cms.string(SiPixelAliMilleAlignmentProducerHLTHGDimuon.algoConfig.fileDir.value()), + inputBinaryFile = cms.string(SiPixelAliMilleAlignmentProducerHLTHGDimuon.algoConfig.binaryFile.value()), + fileBlobLabel = cms.string('') +) + +seqALCARECOPromptCalibProdSiPixelAliHLTHGDiMu = cms.Sequence( + ALCARECOTkAlZMuMuFilterForSiPixelAliHLT* + LSNumberFilter* + onlineBeamSpot* + SiPixelAliLooseSelectorHLTHGDimuon* + SiPixelAliTrackRefitterHLTHGDimuon0* + SiPixelAliTrackerTrackHitFilterHLTHGDimuon* + SiPixelAliTrackFitterHLTHGDimuon* + SiPixelAliTrackSelectorHLTHGDimuon* + SiPixelAliTrackRefitterHLTHGDimuon1* + SiPixelAliMilleAlignmentProducerHLTHGDimuon* + SiPixelAliMillePedeFileConverterHLTHGDimuon +) diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOPromptCalibProdSiPixelAliHLTHG_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOPromptCalibProdSiPixelAliHLTHG_cff.py new file mode 100644 index 0000000000000..1680d4c1c0e18 --- /dev/null +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOPromptCalibProdSiPixelAliHLTHG_cff.py @@ -0,0 +1,84 @@ +import FWCore.ParameterSet.Config as cms + +# ------------------------------------------------------------------------------ +# configure a filter to run only on the events selected by TkAlMinBias AlcaReco +from HLTrigger.HLTfilters.hltHighLevel_cfi import * +ALCARECOTkAlMinBiasFilterForSiPixelAliHLTHG = hltHighLevel.clone( + HLTPaths = ['pathALCARECOTkAlHLTTracks'], + throw = True, ## dont throw on unknown path names, + TriggerResultsTag = "TriggerResults::RECO" +) + +from Alignment.CommonAlignmentProducer.ALCARECOPromptCalibProdSiPixelAliHLT_cff import * +from Alignment.CommonAlignmentProducer.LSNumberFilter_cfi import * + +# Ingredient: AlignmentTrackSelector +# track selector for HighPurity tracks +#-- AlignmentTrackSelector +SiPixelAliLooseSelectorHLTHG = SiPixelAliLooseSelectorHLT.clone( + src = 'ALCARECOTkAlHLTTracks', +) + +# track selection for alignment +SiPixelAliTrackSelectorHLTHG = SiPixelAliTrackSelectorHLT.clone( + src = 'SiPixelAliTrackFitterHLTHG' +) + +# Ingredient: SiPixelAliTrackRefitter0 +# refitting +SiPixelAliTrackRefitterHLTHG0 = SiPixelAliTrackRefitterHLT0.clone( + src = 'SiPixelAliLooseSelectorHLTHG' +) +SiPixelAliTrackRefitterHLTHG1 = SiPixelAliTrackRefitterHLTHG0.clone( + src = 'SiPixelAliTrackSelectorHLTHG' +) + +#-- Alignment producer +SiPixelAliMilleAlignmentProducerHLTHG = SiPixelAliMilleAlignmentProducerHLT.clone( + ParameterBuilder = dict( + Selector = cms.PSet( + alignParams = cms.vstring( + "TrackerP1PXBLadder,111111", + "TrackerP1PXECPanel,111111", + ) + ) + ), + tjTkAssociationMapTag = 'SiPixelAliTrackRefitterHLTHG1', + algoConfig = MillePedeAlignmentAlgorithm.clone( + binaryFile = 'milleBinaryHLTHG_0.dat', + treeFile = 'treeFileHLTHG.root', + monitorFile = 'millePedeMonitorHLTHG.root' + ) +) + +# Ingredient: SiPixelAliTrackerTrackHitFilter +SiPixelAliTrackerTrackHitFilterHLTHG = SiPixelAliTrackerTrackHitFilterHLT.clone( + src = 'SiPixelAliTrackRefitterHLTHG0', + usePixelQualityFlag = False +) + +# Ingredient: SiPixelAliSiPixelAliTrackFitter +SiPixelAliTrackFitterHLTHG = SiPixelAliTrackFitterHLT.clone( + src = 'SiPixelAliTrackerTrackHitFilterHLTHG' +) + +SiPixelAliMillePedeFileConverterHLTHG = cms.EDProducer( + "MillePedeFileConverter", + fileDir = cms.string(SiPixelAliMilleAlignmentProducerHLTHG.algoConfig.fileDir.value()), + inputBinaryFile = cms.string(SiPixelAliMilleAlignmentProducerHLTHG.algoConfig.binaryFile.value()), + fileBlobLabel = cms.string('') +) + +seqALCARECOPromptCalibProdSiPixelAliHLTHG = cms.Sequence( + ALCARECOTkAlMinBiasFilterForSiPixelAliHLTHG* + LSNumberFilter* + onlineBeamSpot* + SiPixelAliLooseSelectorHLTHG* + SiPixelAliTrackRefitterHLTHG0* + SiPixelAliTrackerTrackHitFilterHLTHG* + SiPixelAliTrackFitterHLTHG* + SiPixelAliTrackSelectorHLTHG* + SiPixelAliTrackRefitterHLTHG1* + SiPixelAliMilleAlignmentProducerHLTHG* + SiPixelAliMillePedeFileConverterHLTHG +) diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOPromptCalibProdSiPixelAliHLT_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOPromptCalibProdSiPixelAliHLT_cff.py new file mode 100644 index 0000000000000..4f9000ffd88d9 --- /dev/null +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOPromptCalibProdSiPixelAliHLT_cff.py @@ -0,0 +1,192 @@ +import FWCore.ParameterSet.Config as cms +# ------------------------------------------------------------------------------ +# configure a filter to run only on the events selected by TkAlMinBias AlcaReco +from Alignment.CommonAlignmentProducer.ALCARECOPromptCalibProdSiPixelAli_cff import * +from HLTrigger.HLTfilters.hltHighLevel_cfi import * +ALCARECOTkAlMinBiasFilterForSiPixelAliHLT = hltHighLevel.clone( + HLTPaths = ['pathALCARECOTkAlHLTTracks'], # ??? + throw = True, ## dont throw on unknown path names, + TriggerResultsTag = "TriggerResults::RECO" +) + +from Alignment.CommonAlignmentProducer.LSNumberFilter_cfi import * + +# Ingredient: onlineBeamSpot +import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi +onlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone() + +import RecoVertex.BeamSpotProducer.onlineBeamSpotESProducer_cfi as _mod +BeamSpotESProducer = _mod.onlineBeamSpotESProducer.clone( + timeThreshold = 999999 # for express allow >48h old payloads for replays. DO NOT CHANGE +) + +# Ingredient: ALCARECOTkAlMinBiasHLT +from Alignment.CommonAlignmentProducer.ALCARECOTkAlMinBias_cff import ALCARECOTkAlMinBias +ALCARECOTkAlMinBiasHLTTracks = ALCARECOTkAlMinBias.clone( + src = cms.InputTag("hltMergedTracks") +) + +# Ingredient: AlignmentTrackSelector +# track selector for HighPurity tracks +#-- AlignmentTrackSelector +from Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi import AlignmentTrackSelector +SiPixelAliLooseSelectorHLT = AlignmentTrackSelector.clone( + applyBasicCuts = True, + #filter = True, + src = 'ALCARECOTkAlMinBiasHLTTracks', + trackQualities = ["loose"], + pMin = 4., +) + +# track selection for alignment +SiPixelAliTrackSelectorHLT = SiPixelAliTrackSelector.clone( + src = 'SiPixelAliTrackFitterHLT', +) + +# Ingredient: SiPixelAliTrackRefitter0 +# refitting +from RecoTracker.IterativeTracking.InitialStep_cff import * +from RecoTracker.Configuration.RecoTrackerP5_cff import * +from RecoTracker.TrackProducer.TrackRefitter_cfi import * +# In the following use +# TrackRefitter (normal tracks), TrackRefitterP5 (cosmics) or TrackRefitterBHM (beam halo) + +from RecoLocalTracker.SiStripRecHitConverter.StripCPEESProducer_cfi import stripCPEESProducer +hltESPStripCPEfromTrackAngle = stripCPEESProducer.clone( + ComponentType = "StripCPEfromTrackAngle" , + ComponentName = "hltESPStripCPEfromTrackAngle", + parameters = cms.PSet( + mLC_P2 = cms.double(0.3), + mLC_P1 = cms.double(0.618), + mLC_P0 = cms.double(-0.326), +# useLegacyError = cms.bool( True ), # 50ns menu +# maxChgOneMIP = cms.double( -6000.0 ), # 50ns menu + useLegacyError = cms.bool(False) , # 25ns menu + maxChgOneMIP = cms.double(6000.0) , #25ns menu + mTEC_P1 = cms.double( 0.471 ), + mTEC_P0 = cms.double( -1.885 ), + mTOB_P0 = cms.double( -1.026 ), + mTOB_P1 = cms.double( 0.253 ), + mTIB_P0 = cms.double( -0.742 ), + mTIB_P1 = cms.double( 0.202 ), + mTID_P0 = cms.double( -1.427 ), + mTID_P1 = cms.double( 0.433 ) + ) +) + +hltESPPixelCPEGeneric = cms.ESProducer( + "PixelCPEGenericESProducer", + LoadTemplatesFromDB = cms.bool( True ), + Alpha2Order = cms.bool( True ), + ClusterProbComputationFlag = cms.int32( 0 ), + useLAWidthFromDB = cms.bool( False ), + lAOffset = cms.double( 0.0 ), + lAWidthBPix = cms.double( 0.0 ), + lAWidthFPix = cms.double( 0.0 ), + doLorentzFromAlignment = cms.bool( False ), + useLAFromDB = cms.bool( True ), + xerr_barrel_l1 = cms.vdouble( 0.00115, 0.0012, 8.8E-4 ), + yerr_barrel_l1 = cms.vdouble( 0.00375, 0.0023, 0.0025, 0.0025, 0.0023, 0.0023, 0.0021, 0.0021, 0.0024 ), + xerr_barrel_ln = cms.vdouble( 0.00115, 0.0012, 8.8E-4 ), + yerr_barrel_ln = cms.vdouble( 0.00375, 0.0023, 0.0025, 0.0025, 0.0023, 0.0023, 0.0021, 0.0021, 0.0024 ), + xerr_endcap = cms.vdouble( 0.002, 0.002 ), + yerr_endcap = cms.vdouble( 0.0021 ), + xerr_barrel_l1_def = cms.double( 0.0103 ), + yerr_barrel_l1_def = cms.double( 0.0021 ), + xerr_barrel_ln_def = cms.double( 0.0103 ), + yerr_barrel_ln_def = cms.double( 0.0021 ), + xerr_endcap_def = cms.double( 0.002 ), + yerr_endcap_def = cms.double( 7.5E-4 ), + eff_charge_cut_highX = cms.double( 1.0 ), + eff_charge_cut_highY = cms.double( 1.0 ), + eff_charge_cut_lowX = cms.double( 0.0 ), + eff_charge_cut_lowY = cms.double( 0.0 ), + size_cutX = cms.double( 3.0 ), + size_cutY = cms.double( 3.0 ), + EdgeClusterErrorX = cms.double( 50.0 ), + EdgeClusterErrorY = cms.double( 85.0 ), + inflate_errors = cms.bool( False ), + inflate_all_errors_no_trk_angle = cms.bool( False ), + NoTemplateErrorsWhenNoTrkAngles = cms.bool( False ), + UseErrorsFromTemplates = cms.bool( True ), + TruncatePixelCharge = cms.bool( True ), + IrradiationBiasCorrection = cms.bool( True ), + DoCosmics = cms.bool( False ), + isPhase2 = cms.bool( False ), + SmallPitch = cms.bool( False ), + ComponentName = cms.string( "hltESPPixelCPEGeneric" ), + MagneticFieldRecord = cms.ESInputTag( "","" ), + appendToDataLabel = cms.string( "" ) +) + +hltESPTTRHBWithTrackAngle = cms.ESProducer( + "TkTransientTrackingRecHitBuilderESProducer", + ComponentName = cms.string( "hltESPTTRHBWithTrackAngle" ), + ComputeCoarseLocalPositionFromDisk = cms.bool( False ), + StripCPE = cms.string( "hltESPStripCPEfromTrackAngle" ), + PixelCPE = cms.string( "hltESPPixelCPEGeneric" ), + Matcher = cms.string( "StandardMatcher" ), + Phase2StripCPE = cms.string( "" ), + appendToDataLabel = cms.string( "" ) +) + +SiPixelAliTrackRefitterHLT0 = TrackRefitter.clone( + src = 'SiPixelAliLooseSelectorHLT', #'ALCARECOTkAlMinBias'#'ALCARECOTkAlCosmicsCTF0T' #'ALCARECOTkAlMuonIsolated' + NavigationSchool = '', # to avoid filling hit pattern + TTRHBuilder = 'hltESPTTRHBWithTrackAngle', + beamSpot = 'onlineBeamSpot' +) + +SiPixelAliTrackRefitterHLT1 = SiPixelAliTrackRefitter0.clone( + src = 'SiPixelAliTrackSelectorHLT', + TTRHBuilder = 'hltESPTTRHBWithTrackAngle', + beamSpot = 'onlineBeamSpot' +) + +#-- Alignment producer +from Alignment.MillePedeAlignmentAlgorithm.MillePedeAlignmentAlgorithm_cfi import * +from Alignment.CommonAlignmentProducer.AlignmentProducerAsAnalyzer_cff import AlignmentProducer +SiPixelAliMilleAlignmentProducerHLT = SiPixelAliMilleAlignmentProducer.clone( + beamSpotTag = 'onlineBeamSpot', + tjTkAssociationMapTag = 'SiPixelAliTrackRefitterHLT1', + algoConfig = MillePedeAlignmentAlgorithm.clone( + binaryFile = 'milleBinaryHLT_0.dat', + treeFile = 'treeFileHLT.root', + monitorFile = 'millePedeMonitorHLT.root' + ) +) + +# Ingredient: SiPixelAliTrackerTrackHitFilterHLT +SiPixelAliTrackerTrackHitFilterHLT = SiPixelAliTrackerTrackHitFilter.clone( + src = 'SiPixelAliTrackRefitterHLT0' +) + +# Ingredient: SiPixelAliTrackFitterHLT +import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cff as fitWithMaterial +SiPixelAliTrackFitterHLT = fitWithMaterial.ctfWithMaterialTracks.clone( + src = 'SiPixelAliTrackerTrackHitFilterHLT', + NavigationSchool = '', + TTRHBuilder = 'hltESPTTRHBWithTrackAngle', + beamSpot = 'onlineBeamSpot' +) + +SiPixelAliMillePedeFileConverterHLT = cms.EDProducer( + "MillePedeFileConverter", + fileDir = cms.string(SiPixelAliMilleAlignmentProducerHLT.algoConfig.fileDir.value()), + inputBinaryFile = cms.string(SiPixelAliMilleAlignmentProducerHLT.algoConfig.binaryFile.value()), + fileBlobLabel = cms.string(''), +) + +seqALCARECOPromptCalibProdSiPixelAliHLT = cms.Sequence( + ALCARECOTkAlMinBiasFilterForSiPixelAliHLT* + LSNumberFilter* + onlineBeamSpot* + SiPixelAliLooseSelectorHLT* + SiPixelAliTrackRefitterHLT0* + SiPixelAliTrackerTrackHitFilterHLT* + SiPixelAliTrackFitterHLT* + SiPixelAliTrackSelectorHLT* + SiPixelAliTrackRefitterHLT1* + SiPixelAliMilleAlignmentProducerHLT* + SiPixelAliMillePedeFileConverterHLT +) diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlHLTTracksZMuMu_Output_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlHLTTracksZMuMu_Output_cff.py new file mode 100644 index 0000000000000..8a27c4cd4d2f4 --- /dev/null +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlHLTTracksZMuMu_Output_cff.py @@ -0,0 +1,23 @@ +import FWCore.ParameterSet.Config as cms + +# AlCaReco for track based alignment using ZMuMu events +OutALCARECOTkAlHLTTracksZMuMu_noDrop = cms.PSet( + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOTkAlHLTTracksZMuMu') + ), + outputCommands = cms.untracked.vstring( + 'keep recoTracks_ALCARECOTkAlHLTTracksZMuMu_*_*', + 'keep recoTrackExtras_ALCARECOTkAlHLTTracksZMuMu_*_*', + 'keep TrackingRecHitsOwned_ALCARECOTkAlHLTTracksZMuMu_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlHLTTracksZMuMu_*_*', + 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlHLTTracksZMuMu_*_*', + 'keep L1AcceptBunchCrossings_*_*_*', + 'keep *_TriggerResults_*_*', + 'keep *_hltVerticesPFFilter_*_*', + 'keep *_hltOnlineBeamSpot_*_*' + ) +) + +OutALCARECOTkAlHLTTracksZMuMu = OutALCARECOTkAlHLTTracksZMuMu_noDrop.clone() +OutALCARECOTkAlHLTTracksZMuMu.outputCommands.insert(0, "drop *") + diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlHLTTracksZMuMu_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlHLTTracksZMuMu_cff.py new file mode 100644 index 0000000000000..dfc44efef45fc --- /dev/null +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlHLTTracksZMuMu_cff.py @@ -0,0 +1,60 @@ +import FWCore.ParameterSet.Config as cms + +import HLTrigger.HLTfilters.hltHighLevel_cfi +# AlCaReco for track based alignment using ZMuMu events +ALCARECOTkAlHLTTracksZMuMuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone( + andOr = True, ## choose logical OR between Triggerbits + # eventSetupPathsKey = 'TkAlZMuMu', + HLTPaths = ['HLT_*Mu*'], + throw = False # tolerate triggers stated above, but not available + ) + +# DCS partitions +# "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC" +# "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm" +# "BPIX","FPIX","ESp","ESm" +import DPGAnalysis.Skims.skim_detstatus_cfi +ALCARECOTkAlHLTTracksZMuMuDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone( + DetectorType = cms.vstring('TIBTID','TOB','TECp','TECm','BPIX','FPIX', + 'DT0','DTp','DTm','CSCp','CSCm'), + ApplyFilter = cms.bool(True), + AndOr = cms.bool(True), + DebugOn = cms.untracked.bool(False) +) + +import Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi +ALCARECOTkAlHLTTracksZMuMuGoodMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlGoodIdMuonSelector.clone( + # src = cms.InputTag("hltPFMuonMerging") # TODO type cast to muon ??? +) +ALCARECOTkAlHLTTracksZMuMuRelCombIsoMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlRelCombIsoMuonSelector.clone( + src = 'ALCARECOTkAlHLTTracksZMuMuGoodMuons' +) + +import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi +ALCARECOTkAlHLTTracksZMuMu = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone() +ALCARECOTkAlHLTTracksZMuMu.src = cms.InputTag("hltMergedTracks") +ALCARECOTkAlHLTTracksZMuMu.filter = True ##do not store empty events + +ALCARECOTkAlHLTTracksZMuMu.applyBasicCuts = True +ALCARECOTkAlHLTTracksZMuMu.ptMin = 15.0 ##GeV +ALCARECOTkAlHLTTracksZMuMu.etaMin = -3.5 +ALCARECOTkAlHLTTracksZMuMu.etaMax = 3.5 +ALCARECOTkAlHLTTracksZMuMu.nHitMin = 0 + +ALCARECOTkAlHLTTracksZMuMu.GlobalSelector.muonSource = 'ALCARECOTkAlHLTTracksZMuMuRelCombIsoMuons' +# Isolation is shifted to the muon preselection, and then applied intrinsically if applyGlobalMuonFilter = True +ALCARECOTkAlHLTTracksZMuMu.GlobalSelector.applyIsolationtest = False +ALCARECOTkAlHLTTracksZMuMu.GlobalSelector.applyGlobalMuonFilter = True + +ALCARECOTkAlHLTTracksZMuMu.TwoBodyDecaySelector.applyMassrangeFilter = True +ALCARECOTkAlHLTTracksZMuMu.TwoBodyDecaySelector.minXMass = 65.0 ##GeV +ALCARECOTkAlHLTTracksZMuMu.TwoBodyDecaySelector.maxXMass = 115.0 ##GeV +ALCARECOTkAlHLTTracksZMuMu.TwoBodyDecaySelector.daughterMass = 0.105 ##GeV (Muons) +ALCARECOTkAlHLTTracksZMuMu.TwoBodyDecaySelector.applyChargeFilter = True +ALCARECOTkAlHLTTracksZMuMu.TwoBodyDecaySelector.charge = 0 +ALCARECOTkAlHLTTracksZMuMu.TwoBodyDecaySelector.applyAcoplanarityFilter = False +ALCARECOTkAlHLTTracksZMuMu.TwoBodyDecaySelector.numberOfCandidates = 1 + +seqALCARECOTkAlHLTTracksZMuMu = cms.Sequence(ALCARECOTkAlHLTTracksZMuMuHLT+ALCARECOTkAlHLTTracksZMuMuDCSFilter+ALCARECOTkAlHLTTracksZMuMuGoodMuons+ALCARECOTkAlHLTTracksZMuMuRelCombIsoMuons+ALCARECOTkAlHLTTracksZMuMu) + + diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlHLTTracks_Output_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlHLTTracks_Output_cff.py new file mode 100644 index 0000000000000..de4fd28d8f5ed --- /dev/null +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlHLTTracks_Output_cff.py @@ -0,0 +1,21 @@ +import FWCore.ParameterSet.Config as cms + +# AlCaReco for track based alignment using MinBias events +OutALCARECOTkAlHLTTracks_noDrop = cms.PSet( + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring('pathALCARECOTkAlHLTTracks') + ), + outputCommands = cms.untracked.vstring( + 'keep recoTracks_ALCARECOTkAlHLTTracks_*_*', + 'keep recoTrackExtras_ALCARECOTkAlHLTTracks_*_*', + 'keep TrackingRecHitsOwned_ALCARECOTkAlHLTTracks_*_*', + 'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlHLTTracks_*_*', + 'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlHLTTracks_*_*', + 'keep L1AcceptBunchCrossings_*_*_*', + 'keep *_TriggerResults_*_*', + 'keep *_hltVerticesPFFilter_*_*', + 'keep *_hltOnlineBeamSpot_*_*') +) + +OutALCARECOTkAlHLTTracks = OutALCARECOTkAlHLTTracks_noDrop.clone() +OutALCARECOTkAlHLTTracks.outputCommands.insert(0, "drop *") diff --git a/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlHLTTracks_cff.py b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlHLTTracks_cff.py new file mode 100644 index 0000000000000..9bebbf3cb5dfd --- /dev/null +++ b/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlHLTTracks_cff.py @@ -0,0 +1,43 @@ +# AlCaReco for track based alignment using HLT tracks +import FWCore.ParameterSet.Config as cms + +import HLTrigger.HLTfilters.hltHighLevel_cfi + +ALCARECOTkAlHLTTracksHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone( + andOr = True, ## choose logical OR between Triggerbits + # eventSetupPathsKey = 'TkAlMinBias', + HLTPaths = ['HLT_*'], + throw = False # tolerate triggers stated above, but not available + ) + +# DCS partitions +# "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC" +# "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm" +# "BPIX","FPIX","ESp","ESm" +import DPGAnalysis.Skims.skim_detstatus_cfi +ALCARECOTkAlHLTTracksDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone( + DetectorType = cms.vstring('TIBTID','TOB','TECp','TECm','BPIX','FPIX'), + ApplyFilter = cms.bool(True), + AndOr = cms.bool(True), + DebugOn = cms.untracked.bool(False) +) + +import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi +ALCARECOTkAlHLTTracks = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone() +ALCARECOTkAlHLTTracks.src = cms.InputTag("hltMergedTracks") # run on hltMergedTracks instead of generalTracks +ALCARECOTkAlHLTTracks.filter = True ##do not store empty events + +ALCARECOTkAlHLTTracks.applyBasicCuts = True +ALCARECOTkAlHLTTracks.ptMin = 0.65 ##GeV +ALCARECOTkAlHLTTracks.pMin = 1.5 ##GeV + +ALCARECOTkAlHLTTracks.etaMin = -3.5 +ALCARECOTkAlHLTTracks.etaMax = 3.5 +ALCARECOTkAlHLTTracks.nHitMin = 7 ## at least 7 hits required +ALCARECOTkAlHLTTracks.GlobalSelector.applyIsolationtest = False +ALCARECOTkAlHLTTracks.GlobalSelector.applyGlobalMuonFilter = False +ALCARECOTkAlHLTTracks.TwoBodyDecaySelector.applyMassrangeFilter = False +ALCARECOTkAlHLTTracks.TwoBodyDecaySelector.applyChargeFilter = False +ALCARECOTkAlHLTTracks.TwoBodyDecaySelector.applyAcoplanarityFilter = False + +seqALCARECOTkAlHLTTracks = cms.Sequence(ALCARECOTkAlHLTTracksHLT+ALCARECOTkAlHLTTracksDCSFilter+ALCARECOTkAlHLTTracks) diff --git a/Alignment/CommonAlignmentProducer/python/AlcaSiPixelAliHarvesterHLTHGCombined_cff.py b/Alignment/CommonAlignmentProducer/python/AlcaSiPixelAliHarvesterHLTHGCombined_cff.py new file mode 100644 index 0000000000000..c1bf104f1aad9 --- /dev/null +++ b/Alignment/CommonAlignmentProducer/python/AlcaSiPixelAliHarvesterHLTHGCombined_cff.py @@ -0,0 +1,93 @@ +import FWCore.ParameterSet.Config as cms + +SiPixelAliMilleFileExtractorHLTHGMinBias = cms.EDAnalyzer("MillePedeFileExtractor", + fileBlobInputTag = cms.InputTag("SiPixelAliMillePedeFileConverterHLTHG",''), + fileDir = cms.string('HLTHGCombinedAlignment/'), + # File names the Extractor will use to write the fileblobs in the root + # file as real binary files to disk, so that the pede step can read them. + # This includes the formatting directive "%04d" which will be expanded to + # 0000, 0001, 0002,... + outputBinaryFile = cms.string('pedeBinaryHLTHGMinBias%04d.dat')) + +SiPixelAliMilleFileExtractorHLTHGZMuMu = cms.EDAnalyzer("MillePedeFileExtractor", + fileBlobInputTag = cms.InputTag("SiPixelAliMillePedeFileConverterHLTHGDimuon",''), + fileDir = cms.string('HLTHGCombinedAlignment/'), + # File names the Extractor will use to write the fileblobs in the root + # file as real binary files to disk, so that the pede step can read them. + # This includes the formatting directive "%04d" which will be expanded to + # 0000, 0001, 0002,... + outputBinaryFile = cms.string('pedeBinaryHLTHGDiMuon%04d.dat')) + +from Alignment.MillePedeAlignmentAlgorithm.MillePedeAlignmentAlgorithm_cfi import * +from Alignment.CommonAlignmentProducer.AlignmentProducerAsAnalyzer_cff import AlignmentProducer +from Alignment.MillePedeAlignmentAlgorithm.MillePedeDQMModule_cff import * + +SiPixelAliPedeAlignmentProducerHLTHGCombined = AlignmentProducer.clone( + ParameterBuilder = dict( + Selector = cms.PSet( + alignParams = cms.vstring( + "TrackerP1PXBLadder,111111", + "TrackerP1PXECPanel,111111", + ) + ) + ), + doMisalignmentScenario = False, + checkDbAlignmentValidity = False, + applyDbAlignment = True, + tjTkAssociationMapTag = 'TrackRefitter2', + saveToDB = True, + trackerAlignmentRcdName = "TrackerAlignmentHLTHGCombinedRcd" +) + +SiPixelAliPedeAlignmentProducerHLTHGCombined.algoConfig = MillePedeAlignmentAlgorithm.clone( + mode = 'pede', + runAtPCL = True, + #mergeBinaryFiles = [SiPixelAliMilleFileExtractorHGMinBias.outputBinaryFile.value()], + #mergeBinaryFiles = [SiPixelAliMilleFileExtractorHGZMuMu.outputBinaryFile.value()], + mergeBinaryFiles = ['pedeBinaryHLTHGMinBias%04d.dat','pedeBinaryHLTHGDiMuon%04d.dat -- 10.0'], + binaryFile = '', + TrajectoryFactory = cms.PSet(BrokenLinesTrajectoryFactory), + minNumHits = 10, + fileDir = 'HLTHGCombinedAlignment/', + pedeSteerer = dict( + pedeCommand = 'pede', + method = 'inversion 5 0.8', + options = [ + #'regularisation 1.0 0.05', # non-stated pre-sigma 50 mrad or 500 mum + 'entries 500', + 'chisqcut 30.0 4.5', + 'threads 1 1', + 'closeandreopen', + 'skipemptycons' + #'outlierdownweighting 3','dwfractioncut 0.1' + #'outlierdownweighting 5','dwfractioncut 0.2' + ], + fileDir = 'HLTHGCombinedAlignment/', + runDir = 'HLTHGCombinedAlignment/', + steerFile = 'pedeSteerHGCombined', + pedeDump = 'pedeHGCombined.dump' + ), + pedeReader = dict( + fileDir = 'HLTHGCombinedAlignment/' + ), + MillePedeFileReader = dict( + fileDir = "HLTHGCombinedAlignment/", + isHG = True + ) +) + +SiPixelAliDQMModuleHLTHGCombined = SiPixelAliDQMModule.clone() +SiPixelAliDQMModuleHLTHGCombined.outputFolder = "AlCaReco/SiPixelAliHLTHGCombined" +SiPixelAliDQMModuleHLTHGCombined.MillePedeFileReader.fileDir = "HLTHGCombinedAlignment/" +SiPixelAliDQMModuleHLTHGCombined.MillePedeFileReader.isHG = True + +from DQMServices.Core.DQMEDHarvester import DQMEDHarvester +dqmEnvSiPixelAliHLTHGCombined = DQMEDHarvester('DQMHarvestingMetadata', + subSystemFolder = cms.untracked.string('AlCaReco')) + +ALCAHARVESTSiPixelAliHLTHGCombined = cms.Sequence( + SiPixelAliMilleFileExtractorHLTHGMinBias* + SiPixelAliMilleFileExtractorHLTHGZMuMu* + SiPixelAliPedeAlignmentProducerHLTHGCombined* + SiPixelAliDQMModuleHLTHGCombined* + dqmEnvSiPixelAliHLTHGCombined) diff --git a/Alignment/CommonAlignmentProducer/test/test-PromptCalibProdSiPixelAliHLTHGC.sh b/Alignment/CommonAlignmentProducer/test/test-PromptCalibProdSiPixelAliHLTHGC.sh new file mode 100755 index 0000000000000..f9bed3ebb2aac --- /dev/null +++ b/Alignment/CommonAlignmentProducer/test/test-PromptCalibProdSiPixelAliHLTHGC.sh @@ -0,0 +1,60 @@ +#!/bin/bash -ex + +cmsDriver.py testReAlCaHLT \ + -s ALCA:TkAlHLTTracks+TkAlHLTTracksZMuMu \ + --conditions 140X_dataRun3_Express_v3 \ + --scenario pp \ + --data \ + --era Run3_2024 \ + --datatier ALCARECO \ + --eventcontent ALCARECO \ + --processName=ReAlCa \ + -n 100000 \ + --dasquery='file dataset=/HLTMonitor/Run2024I-Express-v2/FEVTHLTALL site=T2_CH_CERN' \ + --nThreads 4 >& ReAlCa.log + +cmsDriver.py testReAlCaHLTHGComb \ + -s ALCA:PromptCalibProdSiPixelAliHLTHGC \ + --conditions 140X_dataRun3_Express_v3 \ + --scenario pp \ + --data \ + --era Run3_2024 \ + --datatier ALCARECO \ + --eventcontent ALCARECO \ + --processName=ReAlCaHLTHGC \ + -n -1 \ + --filein file:TkAlHLTTracks.root \ + --customise Alignment/CommonAlignmentProducer/customizeLSNumberFilterForRelVals.doNotFilterLS \ + --customise_commands='process.ALCARECOTkAlZMuMuFilterForSiPixelAliHLT.throw = False;process.ALCARECOTkAlMinBiasFilterForSiPixelAliHLTHG.TriggerResultsTag = "TriggerResults::ReAlCa"' \ + --triggerResultsProcess ReAlCa \ + --nThreads 4 >& HLTHGComb_1.log + +rm -rf *.dat +mv PromptCalibProdSiPixelAliHLTHGC.root PromptCalibProdSiPixelAliHLTHGC_0.root + +cmsDriver.py testReAlCaHLTHGComb \ + -s ALCA:PromptCalibProdSiPixelAliHLTHGC \ + --conditions 140X_dataRun3_Express_v3 \ + --scenario pp \ + --data \ + --era Run3_2024 \ + --datatier ALCARECO \ + --eventcontent ALCARECO \ + --processName=ReAlCaHLTHGC \ + -n -1 \ + --filein file:TkAlHLTTracksZMuMu.root \ + --customise Alignment/CommonAlignmentProducer/customizeLSNumberFilterForRelVals.doNotFilterLS \ + --customise_commands='process.ALCARECOTkAlZMuMuFilterForSiPixelAliHLT.TriggerResultsTag = "TriggerResults::ReAlCa";process.ALCARECOTkAlMinBiasFilterForSiPixelAliHLTHG.throw = False' \ + --triggerResultsProcess ReAlCa \ + --nThreads 4 >& HLTHGComb_2.log + +mv PromptCalibProdSiPixelAliHLTHGC.root PromptCalibProdSiPixelAliHLTHGC_1.root + +cmsDriver.py stepHarvest \ + -s ALCAHARVEST:SiPixelAliHLTHGCombined \ + --conditions 140X_dataRun3_Express_v3 \ + --scenario pp \ + --data \ + --era Run3_2024 \ + -n -1 \ + --filein file:PromptCalibProdSiPixelAliHLTHGC_0.root,file:PromptCalibProdSiPixelAliHLTHGC_1.root >& Harvesting.log diff --git a/Configuration/AlCa/python/autoAlca.py b/Configuration/AlCa/python/autoAlca.py index 3e5441087ffea..599bfc1a99a84 100644 --- a/Configuration/AlCa/python/autoAlca.py +++ b/Configuration/AlCa/python/autoAlca.py @@ -16,6 +16,7 @@ "ExpressCosmics" : "SiStripPCLHistos+SiStripCalZeroBias+TkAlCosmics0T+SiPixelCalZeroBias+SiPixelCalCosmics+SiStripCalCosmics", "HcalNZS" : "HcalCalMinBias", "HLTPhysics" : "TkAlMinBias+TkAlV0s", + "HLTMonitor" : "TkAlHLTTracks+TkAlHLTTracksZMuMu", "JetHT" : "HcalCalIsoTrkProducerFilter+TkAlJetHT", "JetMET" : "HcalCalIsoTrkProducerFilter+TkAlJetHT+HcalCalNoise", "MinimumBias" : "SiStripCalZeroBias+SiStripCalMinBias+TkAlMinBias", @@ -63,6 +64,7 @@ def buildList(pdList, matrix): 'PromptCalibProdSiPixelAli', # AlignmentProducerAsAnalyzer, MillePedeFileConverter 'PromptCalibProdSiPixelAliHG', # AlignmentProducerAsAnalyzer, MillePedeFileConverter 'PromptCalibProdSiPixelAliHGComb', # AlignmentProducerAsAnalyzer, MillePedeFileConverter + 'PromptCalibProdSiPixelAliHLTHGC', # AlignmentProducerAsAnalyzer, MillePedeFileConverter 'PromptCalibProdBeamSpotHP', # AlcaBeamSpotProducer 'PromptCalibProdBeamSpotHPLowPU', # AlcaBeamSpotProducer ] diff --git a/Configuration/AlCa/python/autoPCL.py b/Configuration/AlCa/python/autoPCL.py index b212d5494c1a9..382330f33dd8f 100644 --- a/Configuration/AlCa/python/autoPCL.py +++ b/Configuration/AlCa/python/autoPCL.py @@ -13,6 +13,7 @@ 'PromptCalibProdSiPixelAli' : 'SiPixelAli', 'PromptCalibProdSiPixelAliHG' : 'SiPixelAliHG', 'PromptCalibProdSiPixelAliHGComb': 'SiPixelAliHGCombined', + 'PromptCalibProdSiPixelAliHLTHGC': 'SiPixelAliHLTHGCombined', 'PromptCalibProdSiPixel' : 'SiPixelQuality', 'PromptCalibProdSiPixelLA' : 'SiPixelLA', 'PromptCalibProdSiPixelLAMCS' : 'SiPixelLAMCS', diff --git a/Configuration/EventContent/python/AlCaRecoOutput_cff.py b/Configuration/EventContent/python/AlCaRecoOutput_cff.py index 4f1eaa6cff3dc..9cfeb2141aa34 100644 --- a/Configuration/EventContent/python/AlCaRecoOutput_cff.py +++ b/Configuration/EventContent/python/AlCaRecoOutput_cff.py @@ -43,6 +43,9 @@ from Alignment.CommonAlignmentProducer.ALCARECOTkAlJetHT_Output_cff import * # AlCaReco for track based alignment using V0s from Alignment.CommonAlignmentProducer.ALCARECOTkAlV0s_Output_cff import * +# AlCaReco for track based alignment using HLT tracks +from Alignment.CommonAlignmentProducer.ALCARECOTkAlHLTTracks_Output_cff import * +from Alignment.CommonAlignmentProducer.ALCARECOTkAlHLTTracksZMuMu_Output_cff import * # AlCaReco for pixel calibration using muons from Calibration.TkAlCaRecoProducers.ALCARECOSiPixelCalSingleMuon_Output_cff import * @@ -173,6 +176,7 @@ from Alignment.CommonAlignmentProducer.ALCARECOPromptCalibProdSiPixelAli_Output_cff import * from Alignment.CommonAlignmentProducer.ALCARECOPromptCalibProdSiPixelAliHG_Output_cff import * from Alignment.CommonAlignmentProducer.ALCARECOPromptCalibProdSiPixelAliHGCombined_Output_cff import * +from Alignment.CommonAlignmentProducer.ALCARECOPromptCalibProdSiPixelAliHLTHGCombined_Output_cff import * from CalibTracker.SiPixelQuality.ALCARECOPromptCalibProdSiPixel_Output_cff import * diff --git a/Configuration/StandardSequences/python/AlCaHarvesting_cff.py b/Configuration/StandardSequences/python/AlCaHarvesting_cff.py index a183a262981ac..b802495cb9265 100644 --- a/Configuration/StandardSequences/python/AlCaHarvesting_cff.py +++ b/Configuration/StandardSequences/python/AlCaHarvesting_cff.py @@ -12,6 +12,7 @@ from Alignment.CommonAlignmentProducer.AlcaSiPixelAliHarvester_cff import * from Alignment.CommonAlignmentProducer.AlcaSiPixelAliHarvesterHG_cff import * from Alignment.CommonAlignmentProducer.AlcaSiPixelAliHarvesterHGCombined_cff import * +from Alignment.CommonAlignmentProducer.AlcaSiPixelAliHarvesterHLTHGCombined_cff import * from Calibration.EcalCalibAlgos.AlcaEcalPedestalsHarvester_cff import * from Calibration.LumiAlCaRecoProducers.AlcaLumiPCCHarvester_cff import * from CalibTracker.SiPixelQuality.SiPixelStatusHarvester_cfi import * @@ -196,6 +197,15 @@ tag = cms.string('SiPixelAliHGCombined_pcl'), timetype = cms.untracked.string('runnumber') ) +# -------------------------------------------------------------------------------------- +# SiPixel Alignment HG combined for HLT Calibration +ALCAHARVESTSiPixelAliHLTHGCombined_metadata = cms.PSet(record = cms.untracked.string('TrackerAlignmentHLTHGCombinedRcd')) + +ALCAHARVESTSiPixelAliHLTHGCombined_dbOutput = cms.PSet(record = cms.string('TrackerAlignmentHLTHGCombinedRcd'), + tag = cms.string('SiPixelAliHLTHGCombined_pcl'), + timetype = cms.untracked.string('runnumber') + ) + # -------------------------------------------------------------------------------------- # SiPixel Lorentz Angle @@ -307,6 +317,7 @@ SiPixelAli = cms.Path(ALCAHARVESTSiPixelAli) SiPixelAliHG = cms.Path(ALCAHARVESTSiPixelAliHG) SiPixelAliHGCombined = cms.Path(ALCAHARVESTSiPixelAliHGCombined) +SiPixelAliHLTHGCombined = cms.Path(ALCAHARVESTSiPixelAliHLTHGCombined) SiPixelLA = cms.Path(ALCAHARVESTSiPixelLorentzAngle) SiPixelLAMCS = cms.Path(ALCAHARVESTSiPixelLorentzAngleMCS) EcalPedestals = cms.Path(ALCAHARVESTEcalPedestals) diff --git a/Configuration/StandardSequences/python/AlCaRecoStreams_cff.py b/Configuration/StandardSequences/python/AlCaRecoStreams_cff.py index 7d43cdfd35c02..5c28d86f90e3c 100644 --- a/Configuration/StandardSequences/python/AlCaRecoStreams_cff.py +++ b/Configuration/StandardSequences/python/AlCaRecoStreams_cff.py @@ -35,6 +35,9 @@ from Alignment.CommonAlignmentProducer.ALCARECOTkAlJetHT_cff import * # AlCaReco for track based alignment using V0s from Alignment.CommonAlignmentProducer.ALCARECOTkAlV0s_cff import * +# AlCaReco for track based alignment using HLT tracks +from Alignment.CommonAlignmentProducer.ALCARECOTkAlHLTTracks_cff import * +from Alignment.CommonAlignmentProducer.ALCARECOTkAlHLTTracksZMuMu_cff import * ############################################################### # Tracker Calibration @@ -169,6 +172,8 @@ from Alignment.CommonAlignmentProducer.ALCARECOPromptCalibProdSiPixelAli_cff import * from Alignment.CommonAlignmentProducer.ALCARECOPromptCalibProdSiPixelAliHG_cff import * from Alignment.CommonAlignmentProducer.ALCARECOPromptCalibProdSiPixelAliHGDiMuon_cff import * +from Alignment.CommonAlignmentProducer.ALCARECOPromptCalibProdSiPixelAliHLTHG_cff import * +from Alignment.CommonAlignmentProducer.ALCARECOPromptCalibProdSiPixelAliHLTHGDiMuon_cff import * from CalibTracker.SiPixelQuality.ALCARECOPromptCalibProdSiPixel_cff import * @@ -201,6 +206,8 @@ pathALCARECOTkAlJetHT = cms.Path(seqALCARECOTkAlJetHT*ALCARECOTkAlJetHTDQM) pathALCARECOTkAlK0s = cms.Path(seqALCARECOTkAlK0s*ALCARECOTkAlKShortTracksDQM) pathALCARECOTkAlLambdas = cms.Path(seqALCARECOTkAlLambdas*ALCARECOTkAlLambdaTracksDQM) +pathALCARECOTkAlHLTTracks = cms.Path(seqALCARECOTkAlHLTTracks) +pathALCARECOTkAlHLTTracksZMuMu = cms.Path(seqALCARECOTkAlHLTTracksZMuMu) pathALCARECOSiPixelCalSingleMuon = cms.Path(seqALCARECOSiPixelCalSingleMuon) pathALCARECOSiPixelCalSingleMuonLoose = cms.Path(seqALCARECOSiPixelCalSingleMuonLoose) pathALCARECOSiPixelCalSingleMuonTight = cms.Path(seqALCARECOSiPixelCalSingleMuonTight * ALCARECOSiPixelCalSingleMuonTightDQM) @@ -297,6 +304,8 @@ pathALCARECOPromptCalibProdSiPixelAliHG = cms.Path(seqALCARECOPromptCalibProdSiPixelAliHG) pathALCARECOPromptCalibProdSiPixelAliHGMinBias = cms.Path(seqALCARECOPromptCalibProdSiPixelAliHG) pathALCARECOPromptCalibProdSiPixelAliHGDiMu = cms.Path(seqALCARECOPromptCalibProdSiPixelAliHGDiMu) +pathALCARECOPromptCalibProdSiPixelAliHLTHGMinBias = cms.Path(seqALCARECOPromptCalibProdSiPixelAliHLTHG) +pathALCARECOPromptCalibProdSiPixelAliHLTHGDiMu = cms.Path(seqALCARECOPromptCalibProdSiPixelAliHLTHGDiMu) pathALCARECOPromptCalibProdSiPixel = cms.Path(seqALCARECOPromptCalibProdSiPixel) pathALCARECOPromptCalibProdEcalPedestals = cms.Path(seqALCARECOPromptCalibProdEcalPedestals) pathALCARECOPromptCalibProdLumiPCC = cms.Path(seqALCARECOPromptCalibProdLumiPCC) @@ -336,6 +345,15 @@ dataTier = cms.untracked.string('ALCARECO') ) +ALCARECOStreamTkAlHLTTracks = cms.FilteredStream( + responsible = 'Marco Musich', + name = 'TkAlHLTTracks', + paths = (pathALCARECOTkAlHLTTracks), + content = OutALCARECOTkAlHLTTracks.outputCommands, + selectEvents = OutALCARECOTkAlHLTTracks.SelectEvents, + dataTier = cms.untracked.string('ALCARECO') + ) + ALCARECOStreamTkAlJetHT = cms.FilteredStream( responsible = 'Marco Musich', name = 'TkAlJetHT', @@ -372,6 +390,16 @@ dataTier = cms.untracked.string('ALCARECO') ) +ALCARECOStreamTkAlHLTTracksZMuMu = cms.FilteredStream( + responsible = 'Marco Musich', + name = 'TkAlHLTTracksZMuMu', + paths = (pathALCARECOTkAlHLTTracksZMuMu), + content = OutALCARECOTkAlHLTTracksZMuMu.outputCommands, + selectEvents = OutALCARECOTkAlHLTTracksZMuMu.SelectEvents, + dataTier = cms.untracked.string('ALCARECO') + ) + + ALCARECOStreamTkAlDiMuonAndVertex = cms.FilteredStream( responsible = 'Marco Musich', name = 'TkAlDiMuonAndVertex', @@ -1092,6 +1120,15 @@ dataTier = cms.untracked.string('ALCARECO') ) +ALCARECOStreamPromptCalibProdSiPixelAliHLTHGC = cms.FilteredStream( + responsible = 'Philipp Nattland', + name = 'PromptCalibProdSiPixelAliHLTHGC', + paths = (pathALCARECOPromptCalibProdSiPixelAliHLTHGMinBias,pathALCARECOPromptCalibProdSiPixelAliHLTHGDiMu), + content = OutALCARECOPromptCalibProdSiPixelAliHLTHGC.outputCommands, + selectEvents = OutALCARECOPromptCalibProdSiPixelAliHLTHGC.SelectEvents, + dataTier = cms.untracked.string('ALCARECO') + ) + ALCARECOStreamSiStripPCLHistos = cms.FilteredStream( responsible = 'Gianluca Cerminara', name = 'SiStripPCLHistos',