CMS 3D CMS Logo

l1MuonRecoTree_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 l1MuonRecoTree = cms.EDAnalyzer("L1Muon2RecoTreeProducer",
4  maxMuon = cms.uint32(20),
5  MuonTag = cms.untracked.InputTag("muons"),
6  #---------------------------------------------------------------------
7  # TRIGGER MATCHING CONFIGURATION
8  #---------------------------------------------------------------------
9  # flag to turn trigger matching on / off
10  triggerMatching = cms.untracked.bool(True),
11  # maximum delta R between trigger object and muon
12  triggerMaxDeltaR = cms.double(0.1),
13  # trigger to match to, may use regexp wildcard as supported by ROOT's
14  # TString; up to now the first found match (per run) is used.
15  isoTriggerNames = cms.vstring(
16  "HLT_IsoMu18_v*",
17  "HLT_IsoMu20_v*",
18  "HLT_IsoMu22_v*",
19  "HLT_IsoMu24_v*",
20  "HLT_IsoMu27_v*",
21  ),
22  triggerNames = cms.vstring(
23  "HLT_Mu30_v*",
24  "HLT_Mu40_v*",
25  "HLT_Mu50_v*",
26  "HLT_Mu55_v*",
27  # pA triggers
28  "HLT_PAL3Mu12_v*",
29  "HLT_PAL3Mu15_v*",
30  "HLT_PAL2Mu12_v*",
31  "HLT_PAL2Mu15_v*",
32  ),
33 
34  # data best guess: change for MC!
35  triggerResults = cms.InputTag("TriggerResults", "", "HLT"),
36  triggerSummaryLabel = cms.InputTag("hltTriggerSummaryAOD", "", "HLT"),
37  # name of the hlt process (same as above):
38  triggerProcessLabel = cms.untracked.string("HLT"),
39 
40  # muon track extrapolation to 1st station
41  muProp1st = cms.PSet(
42  useTrack = cms.string("tracker"), # 'none' to use Candidate P4; or 'tracker', 'muon', 'global'
43  useState = cms.string("atVertex"), # 'innermost' and 'outermost' require the TrackExtra
44  useSimpleGeometry = cms.bool(True),
45  useStation2 = cms.bool(False),
46  ),
47  # muon track extrapolation to 2nd station
48  muProp2nd = cms.PSet(
49  useTrack = cms.string("tracker"), # 'none' to use Candidate P4; or 'tracker', 'muon', 'global'
50  useState = cms.string("atVertex"), # 'innermost' and 'outermost' require the TrackExtra
51  useSimpleGeometry = cms.bool(True),
52  useStation2 = cms.bool(True),
53  fallbackToME1 = cms.bool(False),
54  ),
55 )
56