Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # AlCaReco for track based alignment using WMuNu events
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 import HLTrigger.HLTfilters.hltHighLevel_cfi
0005 ALCARECOTkAlWMuNuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
0006     andOr = True, ## choose logical OR between Triggerbits
0007     HLTPaths = ['HLT_IsoMu11'], ##these need further studies
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 ALCARECOTkAlWMuNuDCSFilter = 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 ALCARECOTkAlWMuNuGoodMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlGoodIdMuonSelector.clone()
0026 ALCARECOTkAlWMuNuRelCombIsoMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlRelCombIsoMuonSelector.clone(
0027     src = 'ALCARECOTkAlWMuNuGoodMuons'
0028 )
0029 
0030 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
0031 ALCARECOTkAlWMuNu = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
0032 
0033 ALCARECOTkAlWMuNu.filter = True ##do not store empty events
0034 
0035 ALCARECOTkAlWMuNu.applyBasicCuts = True
0036 ALCARECOTkAlWMuNu.ptMin = 20.0 ##GeV
0037 
0038 ALCARECOTkAlWMuNu.etaMin = -3.5
0039 ALCARECOTkAlWMuNu.etaMax = 3.5
0040 ALCARECOTkAlWMuNu.nHitMin = 0
0041 
0042 ALCARECOTkAlWMuNu.GlobalSelector.muonSource = 'ALCARECOTkAlWMuNuRelCombIsoMuons'
0043 # Isolation is shifted to the muon preselection, and then applied intrinsically if applyGlobalMuonFilter = True
0044 ALCARECOTkAlWMuNu.GlobalSelector.applyIsolationtest = False
0045 ALCARECOTkAlWMuNu.GlobalSelector.applyGlobalMuonFilter = True
0046 ALCARECOTkAlWMuNu.GlobalSelector.applyJetCountFilter = True
0047 ALCARECOTkAlWMuNu.GlobalSelector.minJetPt = 40 ##GeV
0048 ALCARECOTkAlWMuNu.GlobalSelector.maxJetCount = 3
0049 
0050 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.applyMissingETFilter = True
0051 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.applyMassrangeFilter = True
0052 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.minXMass = 40.0 ##GeV
0053 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.maxXMass = 200.0 ##GeV
0054 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.daughterMass = 0.105 ##GeV (Muons)
0055 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.applyChargeFilter = True
0056 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.charge = 1
0057 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.useUnsignedCharge = True
0058 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.applyAcoplanarityFilter = True
0059 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.acoplanarDistance = 1 ##radian
0060 
0061 seqALCARECOTkAlWMuNu = cms.Sequence(ALCARECOTkAlWMuNuHLT+ALCARECOTkAlWMuNuDCSFilter+ALCARECOTkAlWMuNuGoodMuons+ALCARECOTkAlWMuNuRelCombIsoMuons+ALCARECOTkAlWMuNu)