CMS 3D CMS Logo

ALCARECOTkAlWMuNu_cff.py
Go to the documentation of this file.
1 # AlCaReco for track based alignment using WMuNu events
2 import FWCore.ParameterSet.Config as cms
3 
5 ALCARECOTkAlWMuNuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
6  andOr = True,
7  HLTPaths = ['HLT_IsoMu11'],
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 ALCARECOTkAlWMuNuDCSFilter = 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 ALCARECOTkAlWMuNuGoodMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlGoodIdMuonSelector.clone()
26 ALCARECOTkAlWMuNuRelCombIsoMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlRelCombIsoMuonSelector.clone(
27  src = 'ALCARECOTkAlWMuNuGoodMuons'
28 )
29 
31 ALCARECOTkAlWMuNu = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
32 
33 ALCARECOTkAlWMuNu.filter = True
34 
35 ALCARECOTkAlWMuNu.applyBasicCuts = True
36 ALCARECOTkAlWMuNu.ptMin = 20.0
37 
38 ALCARECOTkAlWMuNu.etaMin = -3.5
39 ALCARECOTkAlWMuNu.etaMax = 3.5
40 ALCARECOTkAlWMuNu.nHitMin = 0
41 
42 ALCARECOTkAlWMuNu.GlobalSelector.muonSource = 'ALCARECOTkAlWMuNuRelCombIsoMuons'
43 # Isolation is shifted to the muon preselection, and then applied intrinsically if applyGlobalMuonFilter = True
44 ALCARECOTkAlWMuNu.GlobalSelector.applyIsolationtest = False
45 ALCARECOTkAlWMuNu.GlobalSelector.applyGlobalMuonFilter = True
46 ALCARECOTkAlWMuNu.GlobalSelector.applyJetCountFilter = True
47 ALCARECOTkAlWMuNu.GlobalSelector.minJetPt = 40
48 ALCARECOTkAlWMuNu.GlobalSelector.maxJetCount = 3
49 
50 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.applyMissingETFilter = True
51 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.applyMassrangeFilter = True
52 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.minXMass = 40.0
53 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.maxXMass = 200.0
54 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.daughterMass = 0.105
55 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.applyChargeFilter = True
56 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.charge = 1
57 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.useUnsignedCharge = True
58 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.applyAcoplanarityFilter = True
59 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.acoplanarDistance = 1
60 
61 seqALCARECOTkAlWMuNu = cms.Sequence(ALCARECOTkAlWMuNuHLT+ALCARECOTkAlWMuNuDCSFilter+ALCARECOTkAlWMuNuGoodMuons+ALCARECOTkAlWMuNuRelCombIsoMuons+ALCARECOTkAlWMuNu)
dont throw on unknown path names