CMS 3D CMS Logo

ALCARECOTkAlJpsiMuMu_cff.py
Go to the documentation of this file.
1 # AlCaReco for track based alignment using J/Psi->MuMu events
2 import FWCore.ParameterSet.Config as cms
3 
5 ALCARECOTkAlJpsiMuMuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
6  andOr = True, ## choose logical OR between Triggerbits
7  eventSetupPathsKey = 'TkAlJpsiMuMu',
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 ALCARECOTkAlJpsiMuMuDCSFilter = 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 ALCARECOTkAlJpsiMuMuGoodMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlGoodIdMuonSelector.clone()
26 
28 ALCARECOTkAlJpsiMuMu = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
29 ALCARECOTkAlJpsiMuMu.filter = True ##do not store empty events
30 
31 ALCARECOTkAlJpsiMuMu.applyBasicCuts = True
32 ALCARECOTkAlJpsiMuMu.ptMin = 0.8 ##GeV
33 ALCARECOTkAlJpsiMuMu.etaMin = -3.5
34 ALCARECOTkAlJpsiMuMu.etaMax = 3.5
35 ALCARECOTkAlJpsiMuMu.nHitMin = 0
36 
37 ALCARECOTkAlJpsiMuMu.GlobalSelector.muonSource = 'ALCARECOTkAlJpsiMuMuGoodMuons'
38 # To not loose non-prompt J/Psi, do not apply any isolation
39 ALCARECOTkAlJpsiMuMu.GlobalSelector.applyIsolationtest = False
40 ALCARECOTkAlJpsiMuMu.GlobalSelector.applyGlobalMuonFilter = True
41 
42 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.applyMassrangeFilter = True
43 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.minXMass = 2.7 ##GeV
44 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.maxXMass = 3.4 ##GeV
45 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.daughterMass = 0.105 ##GeV (Muons)
46 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.applyChargeFilter = False
47 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.charge = 0
48 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.applyAcoplanarityFilter = False
49 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.acoplanarDistance = 1 ##radian
50 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.numberOfCandidates = 1
51 
52 seqALCARECOTkAlJpsiMuMu = cms.Sequence(ALCARECOTkAlJpsiMuMuHLT+ALCARECOTkAlJpsiMuMuDCSFilter+ALCARECOTkAlJpsiMuMuGoodMuons+ALCARECOTkAlJpsiMuMu)
dont throw on unknown path names