CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlJpsiMuMu_cff.py

Go to the documentation of this file.
00001 # AlCaReco for track based Alignment using J/Psi->MuMu events
00002 import FWCore.ParameterSet.Config as cms
00003 
00004 import HLTrigger.HLTfilters.hltHighLevel_cfi
00005 ALCARECOTkAlJpsiMuMuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
00006     andOr = True, ## choose logical OR between Triggerbits
00007     eventSetupPathsKey = 'TkAlJpsiMuMu',
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 ALCARECOTkAlJpsiMuMuDCSFilter = 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 ALCARECOTkAlJpsiMuMuGoodMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlGoodIdMuonSelector.clone()
00026 
00027 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
00028 ALCARECOTkAlJpsiMuMu = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
00029 ALCARECOTkAlJpsiMuMu.filter = True ##do not store empty events
00030 
00031 ALCARECOTkAlJpsiMuMu.applyBasicCuts = True
00032 ALCARECOTkAlJpsiMuMu.ptMin = 0.8 ##GeV
00033 ALCARECOTkAlJpsiMuMu.etaMin = -3.5
00034 ALCARECOTkAlJpsiMuMu.etaMax = 3.5
00035 ALCARECOTkAlJpsiMuMu.nHitMin = 0
00036 
00037 ALCARECOTkAlJpsiMuMu.GlobalSelector.muonSource = 'ALCARECOTkAlJpsiMuMuGoodMuons'
00038 # To not loose non-prompt J/Psi, do not apply any isolation
00039 ALCARECOTkAlJpsiMuMu.GlobalSelector.applyIsolationtest = False
00040 ALCARECOTkAlJpsiMuMu.GlobalSelector.applyGlobalMuonFilter = True
00041 
00042 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.applyMassrangeFilter = True
00043 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.minXMass = 2.7 ##GeV
00044 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.maxXMass = 3.4 ##GeV
00045 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.daughterMass = 0.105 ##GeV (Muons)
00046 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.applyChargeFilter = False
00047 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.charge = 0
00048 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.applyAcoplanarityFilter = False
00049 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.acoplanarDistance = 1 ##radian
00050 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.numberOfCandidates = 1         
00051 
00052 seqALCARECOTkAlJpsiMuMu = cms.Sequence(ALCARECOTkAlJpsiMuMuHLT+ALCARECOTkAlJpsiMuMuDCSFilter+ALCARECOTkAlJpsiMuMuGoodMuons+ALCARECOTkAlJpsiMuMu)