CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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, ## choose logical OR between Triggerbits
7  HLTPaths = ['HLT_IsoMu11'], ##these need further studies
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 ##do not store empty events
34 
35 ALCARECOTkAlWMuNu.applyBasicCuts = True
36 ALCARECOTkAlWMuNu.ptMin = 20.0 ##GeV
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 ##GeV
48 ALCARECOTkAlWMuNu.GlobalSelector.maxJetCount = 3
49 
50 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.applyMissingETFilter = True
51 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.applyMassrangeFilter = True
52 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.minXMass = 40.0 ##GeV
53 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.maxXMass = 200.0 ##GeV
54 ALCARECOTkAlWMuNu.TwoBodyDecaySelector.daughterMass = 0.105 ##GeV (Muons)
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 ##radian
60 
61 seqALCARECOTkAlWMuNu = cms.Sequence(ALCARECOTkAlWMuNuHLT+ALCARECOTkAlWMuNuDCSFilter+ALCARECOTkAlWMuNuGoodMuons+ALCARECOTkAlWMuNuRelCombIsoMuons+ALCARECOTkAlWMuNu)
dont throw on unknown path names