CMS 3D CMS Logo

ALCARECOTkAlZMuMu_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 # AlCaReco for track based alignment using ZMuMu events
5 ALCARECOTkAlZMuMuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
6  andOr = True, ## choose logical OR between Triggerbits
7  eventSetupPathsKey = 'TkAlZMuMu',
8  throw = False # tolerate triggers stated above, but not available
9  )
10 
11 # DCS partitions
12 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
13 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
14 # "BPIX","FPIX","ESp","ESm"
15 import DPGAnalysis.Skims.skim_detstatus_cfi
16 ALCARECOTkAlZMuMuDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
17  DetectorType = cms.vstring('TIBTID','TOB','TECp','TECm','BPIX','FPIX',
18  'DT0','DTp','DTm','CSCp','CSCm'),
19  ApplyFilter = cms.bool(True),
20  AndOr = cms.bool(True),
21  DebugOn = cms.untracked.bool(False)
22 )
23 
24 import Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi
25 ALCARECOTkAlZMuMuGoodMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlGoodIdMuonSelector.clone()
26 ALCARECOTkAlZMuMuRelCombIsoMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlRelCombIsoMuonSelector.clone(
27  src = 'ALCARECOTkAlZMuMuGoodMuons'
28 )
29 
31 ALCARECOTkAlZMuMu = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
32 ALCARECOTkAlZMuMu.filter = True ##do not store empty events
33 
34 ALCARECOTkAlZMuMu.applyBasicCuts = True
35 ALCARECOTkAlZMuMu.ptMin = 15.0 ##GeV
36 ALCARECOTkAlZMuMu.etaMin = -3.5
37 ALCARECOTkAlZMuMu.etaMax = 3.5
38 ALCARECOTkAlZMuMu.nHitMin = 0
39 
40 ALCARECOTkAlZMuMu.GlobalSelector.muonSource = 'ALCARECOTkAlZMuMuRelCombIsoMuons'
41 # Isolation is shifted to the muon preselection, and then applied intrinsically if applyGlobalMuonFilter = True
42 ALCARECOTkAlZMuMu.GlobalSelector.applyIsolationtest = False
43 ALCARECOTkAlZMuMu.GlobalSelector.applyGlobalMuonFilter = True
44 
45 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.applyMassrangeFilter = True
46 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.minXMass = 65.0 ##GeV
47 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.maxXMass = 115.0 ##GeV
48 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.daughterMass = 0.105 ##GeV (Muons)
49 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.applyChargeFilter = True
50 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.charge = 0
51 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.applyAcoplanarityFilter = False
52 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.numberOfCandidates = 1
53 
54 seqALCARECOTkAlZMuMu = cms.Sequence(ALCARECOTkAlZMuMuHLT+ALCARECOTkAlZMuMuDCSFilter+ALCARECOTkAlZMuMuGoodMuons+ALCARECOTkAlZMuMuRelCombIsoMuons+ALCARECOTkAlZMuMu)
dont throw on unknown path names