Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:56:15

0001 # AlCaReco for track based alignment using isolated muon tracks - relaxed cuts for pA collisions
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 import HLTrigger.HLTfilters.hltHighLevel_cfi
0005 ALCARECOTkAlMuonIsolatedPAHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
0006     andOr = True, ## choose logical OR between Triggerbits
0007     eventSetupPathsKey = 'TkAlMuonIsolatedPA',
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 ALCARECOTkAlMuonIsolatedPADCSFilter = 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.AlignmentTrackSelector_cfi
0025 ALCARECOTkAlMuonIsolatedPA = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
0026     filter = True, ##do not store empty events
0027     applyBasicCuts = True,
0028     ptMin = 2.0, ##GeV 
0029     etaMin = -3.5,
0030     etaMax = 3.5,
0031     nHitMin = 0
0032 )
0033 
0034 # isolation cuts are relaxed compared to pp version
0035 ALCARECOTkAlMuonIsolatedPA.GlobalSelector.applyIsolationtest = False
0036 ALCARECOTkAlMuonIsolatedPA.GlobalSelector.minJetDeltaR = 0. # pp version has 0.1
0037 ALCARECOTkAlMuonIsolatedPA.GlobalSelector.applyGlobalMuonFilter = True
0038 
0039 ALCARECOTkAlMuonIsolatedPA.TwoBodyDecaySelector.applyMassrangeFilter = False
0040 ALCARECOTkAlMuonIsolatedPA.TwoBodyDecaySelector.applyChargeFilter = False
0041 ALCARECOTkAlMuonIsolatedPA.TwoBodyDecaySelector.applyAcoplanarityFilter = False
0042 
0043 # also here no furtehr cuts on muon collection as in pp version
0044 seqALCARECOTkAlMuonIsolatedPA = cms.Sequence(ALCARECOTkAlMuonIsolatedPAHLT
0045                                              +ALCARECOTkAlMuonIsolatedPADCSFilter
0046                                              +ALCARECOTkAlMuonIsolatedPA)