|
||||
File indexing completed on 2024-04-06 11:59:27
0001 import FWCore.ParameterSet.Config as cms 0002 0003 # ------------------------------------------------------------------------------ 0004 # configure a filter to run only on the events selected by TkAlMinBias AlcaReco 0005 import copy 0006 from HLTrigger.HLTfilters.hltHighLevel_cfi import * 0007 ALCARECOCalMinBiasFilterForSiStripGains = copy.deepcopy(hltHighLevel) 0008 ALCARECOCalMinBiasFilterForSiStripGains.HLTPaths = ['pathALCARECOSiStripCalMinBias'] 0009 ALCARECOCalMinBiasFilterForSiStripGains.throw = True ## dont throw on unknown path names 0010 ALCARECOCalMinBiasFilterForSiStripGains.TriggerResultsTag = cms.InputTag("TriggerResults","","RECO") 0011 #process.TkAlMinBiasFilterForBS.eventSetupPathsKey = 'pathALCARECOTkAlMinBias:RECO' 0012 #ALCARECODtCalibHLTFilter.andOr = True ## choose logical OR between Triggerbits 0013 0014 0015 # **************************************************************************** 0016 # ** Uncomment the following lines to set the LVL1 bit filter for the HTTxx ** 0017 # **************************************************************************** 0018 0019 #from L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff import * 0020 #from HLTrigger.HLTfilters.hltLevel1GTSeed_cfi import hltLevel1GTSeed 0021 #HTTFilter = hltLevel1GTSeed.clone( 0022 # #L1SeedsLogicalExpression = cms.string("L1_HTT125 OR L1_HTT150 OR L1_HTT175" ), 0023 # L1SeedsLogicalExpression = cms.string("L1_HTT125 OR L1_HTT150"), 0024 # L1GtObjectMapTag = cms.InputTag( "hltL1GtObjectMap" ), 0025 # ) 0026 # ---------------------------------------------------------------------------- 0027 0028 0029 0030 # FIXME: are the following blocks needed? 0031 0032 #this block is there to solve issue related to SiStripQualityRcd 0033 #process.load("CalibTracker.SiStripESProducers.SiStripQualityESProducer_cfi") 0034 #process.load("CalibTracker.SiStripESProducers.fake.SiStripDetVOffFakeESSource_cfi") 0035 #process.es_prefer_fakeSiStripDetVOff = cms.ESPrefer("SiStripDetVOffFakeESSource","siStripDetVOffFakeESSource") 0036 0037 0038 # ------------------------------------------------------------------------------ 0039 # This is the sequence for track refitting of the track saved by SiStripCalMinBias 0040 # to have access to transient objects produced during RECO step and not saved 0041 0042 from Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi import * 0043 ALCARECOCalibrationTracks = AlignmentTrackSelector.clone( 0044 # src = 'generalTracks', 0045 src = 'ALCARECOSiStripCalMinBias', 0046 filter = True, 0047 applyBasicCuts = True, 0048 ptMin = 0.8, 0049 nHitMin = 6, 0050 chi2nMax = 10., 0051 ) 0052 0053 # FIXME: the beam-spot should be kept in the AlCaReco (if not already there) and dropped from here 0054 from RecoVertex.BeamSpotProducer.BeamSpot_cff import * 0055 0056 from RecoTracker.IterativeTracking.InitialStep_cff import * 0057 from RecoTracker.Configuration.RecoTrackerP5_cff import * 0058 from RecoTracker.TrackProducer.TrackRefitter_cfi import * 0059 0060 ALCARECOCalibrationTracksRefit = TrackRefitter.clone(src = cms.InputTag("ALCARECOCalibrationTracks"), 0061 NavigationSchool = cms.string("") 0062 ) 0063 0064 # refit and BS can be dropped if done together with RECO. 0065 # track filter can be moved in acalreco if no otehr users 0066 ALCARECOTrackFilterRefit = cms.Sequence(ALCARECOCalibrationTracks + 0067 offlineBeamSpot + 0068 ALCARECOCalibrationTracksRefit ) 0069 0070 # ------------------------------------------------------------------------------ 0071 # This is the module actually doing the calibration 0072 from CalibTracker.SiStripChannelGain.SiStripGainsPCLWorker_cfi import SiStripGainsPCLWorker 0073 ALCARECOSiStripCalib = SiStripGainsPCLWorker.clone( 0074 tracks = cms.InputTag('ALCARECOCalibrationTracksRefit'), 0075 FirstSetOfConstants = cms.untracked.bool(False), 0076 DQMdir = cms.untracked.string('AlCaReco/SiStripGains'), 0077 calibrationMode = cms.untracked.string('StdBunch') 0078 ) 0079 # ---------------------------------------------------------------------------- 0080 0081 # **************************************************************************** 0082 # ** Conversion for the SiStripGain DQM dir not used for split statistics ** 0083 # **************************************************************************** 0084 MEtoEDMConvertSiStripGains = cms.EDProducer("MEtoEDMConverter", 0085 Name = cms.untracked.string('MEtoEDMConverter'), 0086 Verbosity = cms.untracked.int32(0), # 0 provides no output 0087 # 1 provides basic output 0088 # 2 provide more detailed output 0089 Frequency = cms.untracked.int32(50), 0090 MEPathToSave = cms.untracked.string('AlCaReco/SiStripGains'), 0091 ) 0092 0093 # The actual sequence 0094 seqALCARECOPromptCalibProdSiStripGains = cms.Sequence( 0095 ALCARECOCalMinBiasFilterForSiStripGains * 0096 ALCARECOTrackFilterRefit * 0097 ALCARECOSiStripCalib * 0098 MEtoEDMConvertSiStripGains 0099 )
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |