Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # AlCaReco for track based alignment using HLT tracks
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 import HLTrigger.HLTfilters.hltHighLevel_cfi
0005 
0006 ALCARECOTkAlHLTTracksHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
0007     andOr = True, ## choose logical OR between Triggerbits
0008     # eventSetupPathsKey = 'TkAlMinBias',
0009     HLTPaths = ['HLT_*'],
0010     throw = False # tolerate triggers stated above, but not available
0011     )
0012 
0013 # DCS partitions
0014 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
0015 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
0016 # "BPIX","FPIX","ESp","ESm"
0017 import DPGAnalysis.Skims.skim_detstatus_cfi
0018 ALCARECOTkAlHLTTracksDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
0019     DetectorType = cms.vstring('TIBTID','TOB','TECp','TECm','BPIX','FPIX'),
0020     ApplyFilter  = cms.bool(True),
0021     AndOr        = cms.bool(True),
0022     DebugOn      = cms.untracked.bool(False)
0023 )
0024 
0025 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
0026 ALCARECOTkAlHLTTracks = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
0027 ALCARECOTkAlHLTTracks.src = cms.InputTag("hltMergedTracks") # run on hltMergedTracks instead of generalTracks
0028 ALCARECOTkAlHLTTracks.filter = True ##do not store empty events 
0029 
0030 ALCARECOTkAlHLTTracks.applyBasicCuts = True
0031 ALCARECOTkAlHLTTracks.ptMin = 0.65 ##GeV
0032 ALCARECOTkAlHLTTracks.pMin = 1.5 ##GeV
0033 
0034 ALCARECOTkAlHLTTracks.etaMin = -3.5
0035 ALCARECOTkAlHLTTracks.etaMax = 3.5
0036 ALCARECOTkAlHLTTracks.nHitMin = 7 ## at least 7 hits required
0037 ALCARECOTkAlHLTTracks.GlobalSelector.applyIsolationtest = False
0038 ALCARECOTkAlHLTTracks.GlobalSelector.applyGlobalMuonFilter = False
0039 ALCARECOTkAlHLTTracks.TwoBodyDecaySelector.applyMassrangeFilter = False
0040 ALCARECOTkAlHLTTracks.TwoBodyDecaySelector.applyChargeFilter = False
0041 ALCARECOTkAlHLTTracks.TwoBodyDecaySelector.applyAcoplanarityFilter = False
0042 
0043 seqALCARECOTkAlHLTTracks = cms.Sequence(ALCARECOTkAlHLTTracksHLT+ALCARECOTkAlHLTTracksDCSFilter+ALCARECOTkAlHLTTracks)