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 import HLTrigger.HLTfilters.hltHighLevel_cfi
0004 # AlCaReco for track based alignment using ZMuMu events
0005 ALCARECOTkAlHLTTracksZMuMuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
0006     andOr = True, ## choose logical OR between Triggerbits
0007     # eventSetupPathsKey = 'TkAlZMuMu',
0008     HLTPaths = ['HLT_*Mu*'],
0009     throw = False # tolerate triggers stated above, but not available
0010     )
0011 
0012 # DCS partitions
0013 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
0014 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
0015 # "BPIX","FPIX","ESp","ESm"
0016 import DPGAnalysis.Skims.skim_detstatus_cfi
0017 ALCARECOTkAlHLTTracksZMuMuDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
0018     DetectorType = cms.vstring('TIBTID','TOB','TECp','TECm','BPIX','FPIX',
0019                                'DT0','DTp','DTm','CSCp','CSCm'),
0020     ApplyFilter  = cms.bool(True),
0021     AndOr        = cms.bool(True),
0022     DebugOn      = cms.untracked.bool(False)
0023 )
0024 
0025 import Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi
0026 ALCARECOTkAlHLTTracksZMuMuGoodMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlGoodIdMuonSelector.clone(
0027     #    src =  cms.InputTag("hltPFMuonMerging") # TODO type cast to muon ???
0028 )
0029 ALCARECOTkAlHLTTracksZMuMuRelCombIsoMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlRelCombIsoMuonSelector.clone(
0030     src = 'ALCARECOTkAlHLTTracksZMuMuGoodMuons'
0031 )
0032 
0033 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
0034 ALCARECOTkAlHLTTracksZMuMu = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
0035 ALCARECOTkAlHLTTracksZMuMu.src = cms.InputTag("hltMergedTracks") 
0036 ALCARECOTkAlHLTTracksZMuMu.filter = True ##do not store empty events
0037 
0038 ALCARECOTkAlHLTTracksZMuMu.applyBasicCuts = True
0039 ALCARECOTkAlHLTTracksZMuMu.ptMin = 15.0 ##GeV
0040 ALCARECOTkAlHLTTracksZMuMu.etaMin = -3.5
0041 ALCARECOTkAlHLTTracksZMuMu.etaMax = 3.5
0042 ALCARECOTkAlHLTTracksZMuMu.nHitMin = 0
0043 
0044 ALCARECOTkAlHLTTracksZMuMu.GlobalSelector.muonSource = 'ALCARECOTkAlHLTTracksZMuMuRelCombIsoMuons'
0045 # Isolation is shifted to the muon preselection, and then applied intrinsically if applyGlobalMuonFilter = True
0046 ALCARECOTkAlHLTTracksZMuMu.GlobalSelector.applyIsolationtest = False
0047 ALCARECOTkAlHLTTracksZMuMu.GlobalSelector.applyGlobalMuonFilter = True
0048 
0049 ALCARECOTkAlHLTTracksZMuMu.TwoBodyDecaySelector.applyMassrangeFilter = True
0050 ALCARECOTkAlHLTTracksZMuMu.TwoBodyDecaySelector.minXMass = 65.0 ##GeV
0051 ALCARECOTkAlHLTTracksZMuMu.TwoBodyDecaySelector.maxXMass = 115.0 ##GeV
0052 ALCARECOTkAlHLTTracksZMuMu.TwoBodyDecaySelector.daughterMass = 0.105 ##GeV (Muons)
0053 ALCARECOTkAlHLTTracksZMuMu.TwoBodyDecaySelector.applyChargeFilter = True
0054 ALCARECOTkAlHLTTracksZMuMu.TwoBodyDecaySelector.charge = 0
0055 ALCARECOTkAlHLTTracksZMuMu.TwoBodyDecaySelector.applyAcoplanarityFilter = False
0056 ALCARECOTkAlHLTTracksZMuMu.TwoBodyDecaySelector.numberOfCandidates = 1
0057 
0058 seqALCARECOTkAlHLTTracksZMuMu = cms.Sequence(ALCARECOTkAlHLTTracksZMuMuHLT+ALCARECOTkAlHLTTracksZMuMuDCSFilter+ALCARECOTkAlHLTTracksZMuMuGoodMuons+ALCARECOTkAlHLTTracksZMuMuRelCombIsoMuons+ALCARECOTkAlHLTTracksZMuMu)
0059 
0060