CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ALCARECOMuAlZMuMu_cff.py
Go to the documentation of this file.
1 # AlCaReco for muon based alignment using ZMuMu events
2 import FWCore.ParameterSet.Config as cms
3 
5 ALCARECOMuAlZMuMuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
6  andOr = True, ## choose logical OR between Triggerbits
7  eventSetupPathsKey = 'MuAlZMuMu',
8  throw = False # tolerate triggers 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 ALCARECOMuAlZMuMuDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
17  DetectorType = cms.vstring('TIBTID','TOB','DT0','DTp','DTm','CSCp','CSCm'),
18  ApplyFilter = cms.bool(True),
19  AndOr = cms.bool(True),
20  DebugOn = cms.untracked.bool(False)
21 )
22 
23 #________________________________Muon selection____________________________________
24 # AlCaReco selected muons for track based muon alignment
25 import Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi
26 ALCARECOMuAlZMuMu = Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi.AlignmentMuonSelector.clone(
27  src = cms.InputTag("muons"),
28  ptMin = cms.double(5.0),
29  etaMin = cms.double(-2.6),
30  etaMax = cms.double(2.6),
31  applyMassPairFilter = cms.bool(True),
32  minMassPair = cms.double(81.0), # 91 GeV - 10 GeV
33  maxMassPair = cms.double(101.0), # 91 GeV + 10 GeV
34 )
35 
36 #________________________________Track selection____________________________________
37 # AlCaReco selected general tracks for track based muon alignment
39 ALCARECOMuAlZMuMuGeneralTracks = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
40  src = cms.InputTag("generalTracks"),
41  filter = cms.bool(True),
42  ptMin = cms.double(5.0),
43  etaMin = cms.double(-2.6),
44  etaMax = cms.double(2.6),
45  nHitMin = cms.double(7),
46 )
47 
48 #________________________________Sequences____________________________________
49 seqALCARECOMuAlZMuMu = cms.Sequence(ALCARECOMuAlZMuMuHLT+ALCARECOMuAlZMuMuDCSFilter+ALCARECOMuAlZMuMu)
50 
51 seqALCARECOMuAlZMuMuGeneralTracks = cms.Sequence(ALCARECOMuAlZMuMuGeneralTracks)
dont throw on unknown path names