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_IsoMu27_v*",
17  "HLT_IsoMu30_v*",
18  ),
19  triggerNames = cms.vstring(
20  "HLT_Mu50_v*",
21  "HLT_Mu55_v*",
22  # pA triggers
23  "HLT_PAL3Mu12_v*",
24  "HLT_PAL3Mu15_v*",
25  "HLT_PAL2Mu12_v*",
26  "HLT_PAL2Mu15_v*",
27  ),
28 
29  # data best guess: change for MC!
30  triggerResults = cms.InputTag("TriggerResults", "", "HLT"),
31  triggerSummaryLabel = cms.InputTag("hltTriggerSummaryAOD", "", "HLT"),
32  # name of the hlt process (same as above):
33  triggerProcessLabel = cms.untracked.string("HLT"),
34 
35  # muon track extrapolation to 1st station
36  muProp1st = cms.PSet(
37  useTrack = cms.string("tracker"), # 'none' to use Candidate P4; or 'tracker', 'muon', 'global'
38  useState = cms.string("atVertex"), # 'innermost' and 'outermost' require the TrackExtra
39  useSimpleGeometry = cms.bool(True),
40  useStation2 = cms.bool(False),
41  ),
42  # muon track extrapolation to 2nd station
43  muProp2nd = cms.PSet(
44  useTrack = cms.string("tracker"), # 'none' to use Candidate P4; or 'tracker', 'muon', 'global'
45  useState = cms.string("atVertex"), # 'innermost' and 'outermost' require the TrackExtra
46  useSimpleGeometry = cms.bool(True),
47  useStation2 = cms.bool(True),
48  fallbackToME1 = cms.bool(False),
49  ),
50 )
51