test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTAnalyser_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 hltanalysis = cms.EDAnalyzer("HLTAnalyzer",
4  ### GEN objects
5  mctruth = cms.InputTag("genParticles::HLT"),
6  # genEventScale = cms.InputTag("genEventScale"),
7  genEventInfo = cms.InputTag("generator::HLT"),
8 
9  ### SIM objects
10  simhits = cms.InputTag("g4SimHits"),
11 
12  ## Input x-section weight and filter efficiency
13  xSection = cms.untracked.double(1.),
14  filterEff = cms.untracked.double(1.),
15 
16  ## Cut on lumi section
17  firstLumi = cms.untracked.int32(0),
18  lastLumi = cms.untracked.int32(-1),
19 
20  ### Trigger objects
21  l1GctHFBitCounts = cms.InputTag("hltGctDigis"),
22  l1GctHFRingSums = cms.InputTag("hltGctDigis"),
23  l1GtObjectMapRecord = cms.InputTag("hltL1GtObjectMap::HLT"),
24  l1GtReadoutRecord = cms.InputTag("hltGtDigis::HLT"),
25 
26  l1extramc = cms.string('hltL1extraParticles'),
27  l1extramu = cms.string('hltL1extraParticles'),
28  hltresults = cms.InputTag("TriggerResults::HLT"),
29  HLTProcessName = cms.string("HLT"),
30 
31  ### reconstructed objects
32  genjets = cms.InputTag("ak4GenJets"),
33  genmet = cms.InputTag("genMet"),
34  hltjets = cms.InputTag("hltAntiKT5CaloJets"),
35  hltcorjets = cms.InputTag("hltCaloJetCorrected"),
36  hltcorL1L2L3jets = cms.InputTag("hltCaloJetL1FastJetCorrected"),
37  rho = cms.InputTag("hltKT6CaloJets"),
38  recjets = cms.InputTag("ak4CaloJets"),
39  reccorjets = cms.InputTag("ak4CaloCorJets"),
40  recmet = cms.InputTag("hltMet"),
41  pfmet = cms.InputTag("pfMet"),
42  ht = cms.InputTag("hltJet40Ht"),
43  recoPFJets = cms.InputTag("ak4PFJets"),
44  calotowers = cms.InputTag("hltTowerMakerForAll"),
45  calotowersUpperR45 = cms.InputTag("hltHcalTowerNoiseCleanerUpper"),
46  calotowersLowerR45 = cms.InputTag("hltHcalTowerNoiseCleanerLower"),
47  calotowersNoR45 = cms.InputTag("hltHcalTowerNoiseCleanerNoR45"),
48  muon = cms.InputTag("muons"),
49  pfmuon = cms.InputTag("pfAllMuons"),
50  Electron = cms.InputTag("gsfElectrons"),
51  Photon = cms.InputTag("photons"),
52 
53  ### muon OpenHLT objects
54  MuCandTag2 = cms.InputTag("hltL2MuonCandidates"),
55  MuCandTag3 = cms.InputTag("hltL3MuonCandidates"),
56  MuIsolTag3 = cms.InputTag("hltL3MuonCombRelIsolations"),
57  MuIsolTag2 = cms.InputTag("hltL2MuonIsolations"),
58  MuTrkIsolTag3 = cms.InputTag("hltL3MuonTkIsolations10"),
59  MuNoVtxCandTag2 = cms.InputTag("hltL2MuonCandidatesNoVtx"),
60  OniaPixelTag = cms.InputTag("hltMuTrackJpsiPixelTrackCands"),
61  OniaTrackTag = cms.InputTag("hltMuTrackJpsiCtfTrackCands"),
62  TrackerMuonTag = cms.InputTag("hltGlbTrkMuons"),
63  DiMuVtx = cms.InputTag("hltDisplacedmumuVtxProducerLowMass"),
64 
65  ### egamma OpenHLT objects
66  CandIso = cms.InputTag("hltL1SeededRecoEcalCandidate"),
67  CandNonIso = cms.InputTag("hltL1NonIsoRecoEcalCandidate"),
68  EcalIso = cms.InputTag("hltL1SeededPhotonEcalIsol"),
69  EcalNonIso = cms.InputTag("hltL1NonIsolatedPhotonEcalIsol"),
70  HcalIsoPho = cms.InputTag("hltL1SeededPhotonHcalIsol"),
71  HcalNonIsoPho = cms.InputTag("hltL1NonIsolatedPhotonHcalIsol"),
72  IsoPhoTrackIsol = cms.InputTag("hltL1SeededPhotonHollowTrackIsol"),
73  NonIsoPhoTrackIsol = cms.InputTag("hltL1NonIsolatedPhotonHollowTrackIsol"),
74  HcalIsoEle = cms.InputTag("hltL1SeededPhotonHcalIsol"),
75  HcalNonIsoEle = cms.InputTag("hltL1NonIsolatedPhotonHcalIsol"),
76  SpikeCleaningIsol = cms.InputTag("hltL1SeededR9shape"),
77  SpikeCleaningNonIsol = cms.InputTag("hltL1NonIsoR9shape"),
78  HcalForHoverEIsol = cms.InputTag("hltL1SeededPhotonHcalForHE"),
79  HcalForHoverENonIsol = cms.InputTag("hltL1NonIsolatedPhotonHcalForHE"),
80  R9IDIsol = cms.InputTag("hltL1SeededR9ID"),
81  R9IDNonIsol = cms.InputTag("hltL1NonIsoR9ID"),
82  HFElectrons = cms.InputTag("hltHFRecoEcalTightCandidate"),
83  HFECALClusters = cms.InputTag("hltHFEMClusters"),
84  ECALActivity = cms.InputTag("hltRecoEcalSuperClusterActivityCandidate"),
85  ActivityEcalIso = cms.InputTag("hltActivityPhotonEcalIsol"),
86  ActivityHcalIso = cms.InputTag("hltActivityPhotonHcalIsol"),
87  ActivityTrackIso = cms.InputTag("hltActivityPhotonHollowTrackIsolWithId"),
88  ActivityR9 = cms.InputTag("hltUnseededR9shape"), # spike cleaning
89  ActivityR9ID = cms.InputTag("hltActivityR9ID"),
90  ActivityHcalForHoverE = cms.InputTag("hltActivityPhotonHcalForHE"),
91 
92  ### egamma - standard or startup windows
93  IsoElectrons = cms.InputTag("hltPixelMatchElectronsL1Seeded"),
94  NonIsoElectrons = cms.InputTag("hltPixelMatchElectronsL1NonIso"),
95  PixelSeedL1Iso = cms.InputTag("hltL1SeededStartUpElectronPixelSeeds"),
96  PixelSeedL1NonIso = cms.InputTag("hltL1NonIsoStartUpElectronPixelSeeds"),
97  IsoEleTrackIsol = cms.InputTag("hltL1SeededElectronTrackIsol"),
98  NonIsoEleTrackIsol = cms.InputTag("hltL1NonIsoElectronTrackIsol"),
99 
100  ### tau OpenHLT related objects
101  L2Tau = cms.InputTag("openhltL2TauJets"),
102  HLTTau = cms.InputTag("TauOpenHLT"),
103  HLTPFTau = cms.InputTag("hltPFTaus"),
104  HLTPFTauTightCone = cms.InputTag("hltPFTausTightIso"),
105  minPtChargedHadronsForTaus = cms.double(1.5),
106  minPtGammassForTaus = cms.double(1.5),
107 
108  ### particle flow jets OpenHLT related objects
109  HLTPFJet = cms.InputTag("hltAntiKT5PFJets"),
110 
111  ### reco offline particle flow tau related objects
112  RecoPFTau = cms.InputTag("shrinkingConePFTauProducer"),
113  RecoPFTauAgainstMuon = cms.InputTag("shrinkingConePFTauDiscriminationAgainstMuon"),
114  RecoPFTauAgainstElec = cms.InputTag("shrinkingConePFTauDiscriminationAgainstElectron"),
115  RecoPFTauDiscrByIso = cms.InputTag("shrinkingConePFTauDiscriminationByIsolation"),
116  RecoPFTauDiscrByTanCOnePercent = cms.InputTag("shrinkingConePFTauDiscriminationByTaNCfrOnePercent"),
117  RecoPFTauDiscrByTanCHalfPercent = cms.InputTag("shrinkingConePFTauDiscriminationByTaNCfrHalfPercent"),
118  RecoPFTauDiscrByTanCQuarterPercent = cms.InputTag("shrinkingConePFTauDiscriminationByTaNCfrQuarterPercent"),
119  RecoPFTauDiscrByTanCTenthPercent = cms.InputTag("shrinkingConePFTauDiscriminationByTaNCfrTenthPercent"),
120 
121  ### b-jet OpenHLT related objects
122  CommonBJetsL2 = cms.InputTag("hltAntiKT5CaloJets"),
123  CorrectedBJetsL2 = cms.InputTag("hltCaloJetCorrected"),
124  CorrectedBJetsL2L1FastJet = cms.InputTag("hltCaloJetL1FastJetCorrected"),
125  PFlowBJetsL2 = cms.InputTag("hltAntiKT5PFJets"),
126  LifetimeBJetsL25 = cms.InputTag("openHltBLifetimeL25BJetTags"),
127  LifetimeBJetsL3 = cms.InputTag("openHltBLifetimeL3BJetTags"),
128  LifetimeBJetsL25L1FastJet = cms.InputTag("openHltBLifetimeL25BJetTagsL1FastJet"),
129  LifetimeBJetsL3L1FastJet = cms.InputTag("openHltBLifetimeL3BJetTagsL1FastJet"),
130  LifetimePFlowBJetsL3 = cms.InputTag("openHltBLifetimeL3BJetTagsPF"),
131  LifetimeBJetsL25SingleTrack = cms.InputTag("openHltBLifetimeL25BJetTagsSingleTrack"),
132  LifetimeBJetsL3SingleTrack = cms.InputTag("openHltBLifetimeL3BJetTagsSingleTrack"),
133  LifetimeBJetsL25SingleTrackL1FastJet = cms.InputTag("openHltBLifetimeL25BJetTagsSingleTrackL1FastJet"),
134  LifetimeBJetsL3SingleTrackL1FastJet = cms.InputTag("openHltBLifetimeL3BJetTagsSingleTrackL1FastJet"),
135  PerformanceBJetsL25 = cms.InputTag("openHltBSoftmuonL25BJetTags"),
136  PerformanceBJetsL3 = cms.InputTag("openHltBPerfMeasL3BJetTags"),
137  PerformanceBJetsL25L1FastJet = cms.InputTag("openHltBSoftmuonL25BJetTagsL1FastJet"),
138  PerformanceBJetsL3L1FastJet = cms.InputTag("openHltBPerfMeasL3BJetTagsL1FastJet"),
139 
140  ### AlCa OpenHLT related objects
141  EERecHits = cms.InputTag("hltEcalRecHitAll","EcalRecHitsEE"),
142  EBRecHits = cms.InputTag("hltEcalRecHitAll","EcalRecHitsEB"),
143  pi0EBRecHits = cms.InputTag("hltEcalRegionalPi0EtaRecHit","EcalRecHitsEB"),
144  pi0EERecHits = cms.InputTag("hltEcalRegionalPi0EtaRecHit","EcalRecHitsEE"),
145  HBHERecHits = cms.InputTag("hltHbhereco"),
146  HORecHits = cms.InputTag("hltHoreco"),
147  HFRecHits = cms.InputTag("hltHfreco"),
148  IsoPixelTracksL3 = cms.InputTag("hltHITIPTCorrector1E31"),
149  IsoPixelTracksL2 = cms.InputTag("hltIsolPixelTrackProd1E31"),
150  IsoPixelTrackVertices = cms.InputTag("hltPixelVertices"),
151 
152  ### Track settings
153  PixelTracksL3 = cms.InputTag("hltPixelCandsForMinBias"),
154  PixelFEDSize = cms.InputTag("rawDataCollector"),
155  PixelClusters = cms.InputTag("hltSiPixelClusters"),
156 
157  ### Calo tower settings
158  caloTowerThreshold = cms.double( 5.0 ),
159 
160  ### AlCa pi0 settings
161  clusSeedThr = cms.double( 0.5 ),
162  clusSeedThrEndCap = cms.double( 1.0 ),
163  clusEtaSize = cms.int32( 3 ),
164  clusPhiSize = cms.int32( 3 ),
165  seleXtalMinEnergy = cms.double( 0.0 ),
166  ParameterLogWeighted = cms.bool( True ),
167  ParameterX0 = cms.double( 0.89 ),
168  ParameterT0_barl = cms.double( 7.4 ),
169  ParameterT0_endc = cms.double( 3.1 ),
170  ParameterT0_endcPresh = cms.double( 1.2 ),
171  ParameterW0 = cms.double( 4.2 ),
172  RegionalMatch = cms.untracked.bool( True ),
173  ptMinEMObj = cms.double( 2.0 ),
174  EMregionEtaMargin = cms.double( 0.25 ),
175  EMregionPhiMargin = cms.double( 0.4 ),
176  Jets = cms.untracked.bool( False ),
177 
178  ## reco vertices
179  OfflinePrimaryVertices0 = cms.InputTag('offlinePrimaryVertices'),
180 
181  # HLT vertices
182  PrimaryVertices = cms.InputTag("hltPixelVertices"),
183  PrimaryVerticesHLT = cms.InputTag('pixelVertices'),
184 
185  ### Run parameters
186  RunParameters = cms.PSet(
187  HistogramFile = cms.untracked.string('openhlt.root'),
188  EtaMin = cms.untracked.double(-5.2),
189  EtaMax = cms.untracked.double( 5.2),
190  CalJetMin = cms.double(0.0),
191  GenJetMin = cms.double(0.0),
192  Monte = cms.bool(True),
193  Debug = cms.bool(False)
194  ),
195 
196  JetIDParams = cms.PSet(
197  useRecHits = cms.bool(True),
198  hbheRecHitsColl = cms.InputTag("hltHbhereco"),
199  hoRecHitsColl = cms.InputTag("hltHoreco"),
200  hfRecHitsColl = cms.InputTag("hltHfreco"),
201  #ebRecHitsColl = cms.InputTag("EcalRecHitsEB"),
202  #eeRecHitsColl = cms.InputTag("EcalRecHitsEE")
203  ebRecHitsColl = cms.InputTag("hltEcalRecHitAll", "EcalRecHitsEB"),
204  eeRecHitsColl = cms.InputTag("hltEcalRecHitAll", "EcalRecHitsEE")
205  )
206 )