CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlWMuNu_cff.py

Go to the documentation of this file.
00001 # AlCaReco for track based Alignment using WMuNu events
00002 import FWCore.ParameterSet.Config as cms
00003 
00004 import HLTrigger.HLTfilters.hltHighLevel_cfi
00005 ALCARECOTkAlWMuNuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
00006     andOr = True, ## choose logical OR between Triggerbits
00007     HLTPaths = ['HLT_IsoMu11'], ##these need further studies
00008     throw = False # tolerate triggers stated above, but not available
00009 )
00010 
00011 # DCS partitions
00012 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
00013 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
00014 # "BPIX","FPIX","ESp","ESm"
00015 import DPGAnalysis.Skims.skim_detstatus_cfi
00016 ALCARECOTkAlWMuNuDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
00017     DetectorType = cms.vstring('TIBTID','TOB','TECp','TECm','BPIX','FPIX',
00018                                'DT0','DTp','DTm','CSCp','CSCm'),
00019     ApplyFilter  = cms.bool(True),
00020     AndOr        = cms.bool(True),
00021     DebugOn      = cms.untracked.bool(False)
00022 )
00023 
00024 import Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi
00025 ALCARECOTkAlWMuNuGoodMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlGoodIdMuonSelector.clone()
00026 ALCARECOTkAlWMuNuRelCombIsoMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlRelCombIsoMuonSelector.clone(
00027     src = 'ALCARECOTkAlWMuNuGoodMuons'
00028 )
00029 
00030 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
00031 ALCARECOTkAlWMuNu = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
00032 
00033 ALCARECOTkAlWMuNu.filter = True ##do not store empty events
00034 
00035 ALCARECOTkAlWMuNu.applyBasicCuts = True
00036 ALCARECOTkAlWMuNu.ptMin = 20.0 ##GeV
00037 
00038 ALCARECOTkAlWMuNu.etaMin = -3.5
00039 ALCARECOTkAlWMuNu.etaMax = 3.5
00040 ALCARECOTkAlWMuNu.nHitMin = 0
00041 
00042 ALCARECOTkAlWMuNu.GlobalSelector.muonSource = 'ALCARECOTkAlWMuNuRelCombIsoMuons'
00043 # Isolation is shifted to the muon preselection, and then applied intrinsically if applyGlobalMuonFilter = True
00044 ALCARECOTkAlWMuNu.GlobalSelector.applyIsolationtest = False
00045 ALCARECOTkAlWMuNu.GlobalSelector.applyGlobalMuonFilter = True
00046 ALCARECOTkAlWMuNu.GlobalSelector.applyJetCountFilter = True
00047 ALCARECOTkAlWMuNu.GlobalSelector.minJetPt = 40 ##GeV
00048 ALCARECOTkAlWMuNu.GlobalSelector.maxJetCount = 3
00049 
00050 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.applyMissingETFilter = True
00051 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.applyMassrangeFilter = True
00052 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.minXMass = 40.0 ##GeV
00053 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.maxXMass = 200.0 ##GeV
00054 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.daughterMass = 0.105 ##GeV (Muons)
00055 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.applyChargeFilter = True
00056 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.charge = 1
00057 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.useUnsignedCharge = True
00058 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.applyAcoplanarityFilter = True
00059 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.acoplanarDistance = 1 ##radian
00060 
00061 seqALCARECOTkAlWMuNu = cms.Sequence(ALCARECOTkAlWMuNuHLT+ALCARECOTkAlWMuNuDCSFilter+ALCARECOTkAlWMuNuGoodMuons+ALCARECOTkAlWMuNuRelCombIsoMuons+ALCARECOTkAlWMuNu)