CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ALCARECOTkAlUpsilonMuMu_cff.py
Go to the documentation of this file.
1 # AlCaReco for track based alignment using Upsilon->MuMu events
2 import FWCore.ParameterSet.Config as cms
3 
5 ALCARECOTkAlUpsilonMuMuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
6  andOr = True, ## choose logical OR between Triggerbits
7  eventSetupPathsKey = 'TkAlUpsilonMuMu',
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 ALCARECOTkAlUpsilonMuMuDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
17  DetectorType = cms.vstring('TIBTID','TOB','TECp','TECm','BPIX','FPIX'),
18  ApplyFilter = cms.bool(True),
19  AndOr = cms.bool(True),
20  DebugOn = cms.untracked.bool(False)
21 )
22 
23 ALCARECOTkAlUpsilonMuMuGoodMuonSelector = cms.EDFilter("MuonSelector",
24  src = cms.InputTag("muons"),
25  cut = cms.string('isGlobalMuon = 1'),
26  filter = cms.bool(True)
27 )
28 
29 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
30 ALCARECOTkAlUpsilonMuMu = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
31 ALCARECOTkAlUpsilonMuMu.filter = True ##do not store empty events
32 
33 ALCARECOTkAlUpsilonMuMu.applyBasicCuts = True
34 ALCARECOTkAlUpsilonMuMu.ptMin = 0.8 ##GeV
35 ALCARECOTkAlUpsilonMuMu.etaMin = -3.5
36 ALCARECOTkAlUpsilonMuMu.etaMax = 3.5
37 ALCARECOTkAlUpsilonMuMu.nHitMin = 0
38 
39 ALCARECOTkAlUpsilonMuMu.GlobalSelector.muonSource = 'ALCARECOTkAlUpsilonMuMuGoodMuonSelector'
40 ALCARECOTkAlUpsilonMuMu.GlobalSelector.applyIsolationtest = False
41 ALCARECOTkAlUpsilonMuMu.GlobalSelector.applyGlobalMuonFilter = True
42 
43 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.applyMassrangeFilter = True
44 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.minXMass = 8.9 ##GeV
45 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.maxXMass = 9.9 ##GeV
46 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.daughterMass = 0.105 ##GeV (Muons)
47 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.applyChargeFilter = True
48 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.charge = 0
49 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.applyAcoplanarityFilter = False
50 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.acoplanarDistance = 1 ##radian
51 
52 seqALCARECOTkAlUpsilonMuMu = cms.Sequence(ALCARECOTkAlUpsilonMuMuHLT+ALCARECOTkAlUpsilonMuMuDCSFilter+ALCARECOTkAlUpsilonMuMuGoodMuonSelector+ALCARECOTkAlUpsilonMuMu)