CMS 3D CMS Logo

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

Go to the documentation of this file.
00001 # AlCaReco for track based Alignment using Upsilon->MuMu events
00002 import FWCore.ParameterSet.Config as cms
00003 
00004 import HLTrigger.HLTfilters.hltHighLevel_cfi
00005 ALCARECOTkAlUpsilonMuMuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
00006     andOr = True, ## choose logical OR between Triggerbits
00007     eventSetupPathsKey = 'TkAlUpsilonMuMu',
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 ALCARECOTkAlUpsilonMuMuDCSFilter = 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 ALCARECOTkAlUpsilonMuMuGoodMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlGoodIdMuonSelector.clone()
00026 ALCARECOTkAlUpsilonMuMuRelCombIsoMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlRelCombIsoMuonSelector.clone(
00027     src = 'ALCARECOTkAlUpsilonMuMuGoodMuons',
00028     cut = '(isolationR03().sumPt + isolationR03().emEt + isolationR03().hadEt)/pt  < 0.3'
00029 
00030 )
00031 
00032 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
00033 ALCARECOTkAlUpsilonMuMu = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
00034 ALCARECOTkAlUpsilonMuMu.filter = True ##do not store empty events
00035 
00036 ALCARECOTkAlUpsilonMuMu.applyBasicCuts = True
00037 ALCARECOTkAlUpsilonMuMu.ptMin = 3. ##GeV
00038 ALCARECOTkAlUpsilonMuMu.etaMin = -3.5
00039 ALCARECOTkAlUpsilonMuMu.etaMax = 3.5
00040 ALCARECOTkAlUpsilonMuMu.nHitMin = 0
00041 
00042 ALCARECOTkAlUpsilonMuMu.GlobalSelector.muonSource = 'ALCARECOTkAlUpsilonMuMuRelCombIsoMuons'
00043 # Isolation is shifted to the muon preselection, and then applied intrinsically if applyGlobalMuonFilter = True
00044 ALCARECOTkAlUpsilonMuMu.GlobalSelector.applyIsolationtest = False
00045 ALCARECOTkAlUpsilonMuMu.GlobalSelector.applyGlobalMuonFilter = True
00046 
00047 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.applyMassrangeFilter = True
00048 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.minXMass = 8.9 ##GeV
00049 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.maxXMass = 9.9 ##GeV
00050 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.daughterMass = 0.105 ##GeV (Muons)
00051 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.applyChargeFilter = True
00052 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.charge = 0
00053 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.applyAcoplanarityFilter = False
00054 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.acoplanarDistance = 1 ##radian
00055 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.numberOfCandidates = 1      
00056 
00057 seqALCARECOTkAlUpsilonMuMu = cms.Sequence(ALCARECOTkAlUpsilonMuMuHLT+ALCARECOTkAlUpsilonMuMuDCSFilter+ALCARECOTkAlUpsilonMuMuGoodMuons+ALCARECOTkAlUpsilonMuMuRelCombIsoMuons+ALCARECOTkAlUpsilonMuMu)