Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-10-28 23:10:50

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 import HLTrigger.HLTfilters.hltHighLevel_cfi
0004 # AlCaReco for track based alignment using ZMuMu events
0005 ALCARECOTkAlZMuMuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
0006     andOr = True, ## choose logical OR between Triggerbits
0007     eventSetupPathsKey = 'TkAlZMuMu',
0008     throw = False # tolerate triggers stated above, but not available
0009     )
0010 
0011 # DCS partitions
0012 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
0013 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
0014 # "BPIX","FPIX","ESp","ESm"
0015 import DPGAnalysis.Skims.skim_detstatus_cfi
0016 ALCARECOTkAlZMuMuDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
0017     DetectorType = cms.vstring('TIBTID','TOB','TECp','TECm','BPIX','FPIX',
0018                                'DT0','DTp','DTm','CSCp','CSCm'),
0019     ApplyFilter  = cms.bool(True),
0020     AndOr        = cms.bool(True),
0021     DebugOn      = cms.untracked.bool(False)
0022 )
0023 
0024 import Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi
0025 ALCARECOTkAlZMuMuGoodMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlGoodIdMuonSelector.clone()
0026 ALCARECOTkAlZMuMuRelCombIsoMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlRelCombIsoMuonSelector.clone(
0027     src = 'ALCARECOTkAlZMuMuGoodMuons'
0028 )
0029 
0030 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
0031 ALCARECOTkAlZMuMu = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
0032 ALCARECOTkAlZMuMu.filter = True ##do not store empty events
0033 
0034 ALCARECOTkAlZMuMu.applyBasicCuts = True
0035 ALCARECOTkAlZMuMu.ptMin = 15.0 ##GeV
0036 ALCARECOTkAlZMuMu.etaMin = -3.5
0037 ALCARECOTkAlZMuMu.etaMax = 3.5
0038 ALCARECOTkAlZMuMu.nHitMin = 0
0039 
0040 ALCARECOTkAlZMuMu.GlobalSelector.muonSource = 'ALCARECOTkAlZMuMuRelCombIsoMuons'
0041 # Isolation is shifted to the muon preselection, and then applied intrinsically if applyGlobalMuonFilter = True
0042 ALCARECOTkAlZMuMu.GlobalSelector.applyIsolationtest = False
0043 ALCARECOTkAlZMuMu.GlobalSelector.applyGlobalMuonFilter = True
0044 
0045 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.applyMassrangeFilter = True
0046 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.minXMass = 65.0 ##GeV
0047 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.maxXMass = 115.0 ##GeV
0048 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.daughterMass = 0.105 ##GeV (Muons)
0049 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.applyChargeFilter = True
0050 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.charge = 0
0051 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.applyAcoplanarityFilter = False
0052 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.numberOfCandidates = 1
0053 
0054 seqALCARECOTkAlZMuMu = cms.Sequence(ALCARECOTkAlZMuMuHLT+ALCARECOTkAlZMuMuDCSFilter+ALCARECOTkAlZMuMuGoodMuons+ALCARECOTkAlZMuMuRelCombIsoMuons+ALCARECOTkAlZMuMu)
0055 
0056 ## customizations for the pp_on_AA eras
0057 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
0058 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0059 (pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOTkAlZMuMuHLT,
0060                                       eventSetupPathsKey='TkAlZMuMuHI'
0061 )
0062 
0063 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
0064 phase2_tracker.toModify(ALCARECOTkAlZMuMu, etaMin = -4, etaMax = 4)