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  EcalRecHitEB = cms.InputTag("hltEcalRegionalEgammaRecHit","EcalRecHitsEB"),
92  EcalRecHitEE = cms.InputTag("hltEcalRegionalEgammaRecHit","EcalRecHitsEE"),
93 
94  ### egamma - standard or startup windows
95  IsoElectrons = cms.InputTag("hltPixelMatchElectronsL1Seeded"),
96  NonIsoElectrons = cms.InputTag("hltPixelMatchElectronsL1NonIso"),
97  PixelSeedL1Iso = cms.InputTag("hltL1SeededStartUpElectronPixelSeeds"),
98  PixelSeedL1NonIso = cms.InputTag("hltL1NonIsoStartUpElectronPixelSeeds"),
99  IsoEleTrackIsol = cms.InputTag("hltL1SeededElectronTrackIsol"),
100  NonIsoEleTrackIsol = cms.InputTag("hltL1NonIsoElectronTrackIsol"),
101 
102  ### tau OpenHLT related objects
103  L2Tau = cms.InputTag("openhltL2TauJets"),
104  HLTTau = cms.InputTag("TauOpenHLT"),
105  HLTPFTau = cms.InputTag("hltPFTaus"),
106  HLTPFTauTightCone = cms.InputTag("hltPFTausTightIso"),
107  minPtChargedHadronsForTaus = cms.double(1.5),
108  minPtGammassForTaus = cms.double(1.5),
109 
110  ### particle flow jets OpenHLT related objects
111  HLTPFJet = cms.InputTag("hltAntiKT5PFJets"),
112 
113  ### reco offline particle flow tau related objects
114  RecoPFTau = cms.InputTag("shrinkingConePFTauProducer"),
115  RecoPFTauAgainstMuon = cms.InputTag("shrinkingConePFTauDiscriminationAgainstMuon"),
116  RecoPFTauAgainstElec = cms.InputTag("shrinkingConePFTauDiscriminationAgainstElectron"),
117  RecoPFTauDiscrByIso = cms.InputTag("shrinkingConePFTauDiscriminationByIsolation"),
118  RecoPFTauDiscrByTanCOnePercent = cms.InputTag("shrinkingConePFTauDiscriminationByTaNCfrOnePercent"),
119  RecoPFTauDiscrByTanCHalfPercent = cms.InputTag("shrinkingConePFTauDiscriminationByTaNCfrHalfPercent"),
120  RecoPFTauDiscrByTanCQuarterPercent = cms.InputTag("shrinkingConePFTauDiscriminationByTaNCfrQuarterPercent"),
121  RecoPFTauDiscrByTanCTenthPercent = cms.InputTag("shrinkingConePFTauDiscriminationByTaNCfrTenthPercent"),
122 
123  ### b-jet OpenHLT related objects
124  CommonBJetsL2 = cms.InputTag("hltAntiKT5CaloJets"),
125  CorrectedBJetsL2 = cms.InputTag("hltCaloJetCorrected"),
126  CorrectedBJetsL2L1FastJet = cms.InputTag("hltCaloJetL1FastJetCorrected"),
127  PFlowBJetsL2 = cms.InputTag("hltAntiKT5PFJets"),
128  LifetimeBJetsL25 = cms.InputTag("openHltBLifetimeL25BJetTags"),
129  LifetimeBJetsL3 = cms.InputTag("openHltBLifetimeL3BJetTags"),
130  LifetimeBJetsL25L1FastJet = cms.InputTag("openHltBLifetimeL25BJetTagsL1FastJet"),
131  LifetimeBJetsL3L1FastJet = cms.InputTag("openHltBLifetimeL3BJetTagsL1FastJet"),
132  LifetimePFlowBJetsL3 = cms.InputTag("openHltBLifetimeL3BJetTagsPF"),
133  LifetimeBJetsL25SingleTrack = cms.InputTag("openHltBLifetimeL25BJetTagsSingleTrack"),
134  LifetimeBJetsL3SingleTrack = cms.InputTag("openHltBLifetimeL3BJetTagsSingleTrack"),
135  LifetimeBJetsL25SingleTrackL1FastJet = cms.InputTag("openHltBLifetimeL25BJetTagsSingleTrackL1FastJet"),
136  LifetimeBJetsL3SingleTrackL1FastJet = cms.InputTag("openHltBLifetimeL3BJetTagsSingleTrackL1FastJet"),
137  PerformanceBJetsL25 = cms.InputTag("openHltBSoftmuonL25BJetTags"),
138  PerformanceBJetsL3 = cms.InputTag("openHltBPerfMeasL3BJetTags"),
139  PerformanceBJetsL25L1FastJet = cms.InputTag("openHltBSoftmuonL25BJetTagsL1FastJet"),
140  PerformanceBJetsL3L1FastJet = cms.InputTag("openHltBPerfMeasL3BJetTagsL1FastJet"),
141 
142  ### AlCa OpenHLT related objects
143  EERecHits = cms.InputTag("hltEcalRecHitAll","EcalRecHitsEE"),
144  EBRecHits = cms.InputTag("hltEcalRecHitAll","EcalRecHitsEB"),
145  pi0EBRecHits = cms.InputTag("hltEcalRegionalPi0EtaRecHit","EcalRecHitsEB"),
146  pi0EERecHits = cms.InputTag("hltEcalRegionalPi0EtaRecHit","EcalRecHitsEE"),
147  HBHERecHits = cms.InputTag("hltHbhereco"),
148  HORecHits = cms.InputTag("hltHoreco"),
149  HFRecHits = cms.InputTag("hltHfreco"),
150  IsoPixelTracksL3 = cms.InputTag("hltHITIPTCorrector1E31"),
151  IsoPixelTracksL2 = cms.InputTag("hltIsolPixelTrackProd1E31"),
152  IsoPixelTrackVertices = cms.InputTag("hltPixelVertices"),
153 
154  ### Track settings
155  PixelTracksL3 = cms.InputTag("hltPixelCandsForMinBias"),
156  PixelFEDSize = cms.InputTag("rawDataCollector"),
157  PixelClusters = cms.InputTag("hltSiPixelClusters"),
158 
159  ### Calo tower settings
160  caloTowerThreshold = cms.double( 5.0 ),
161 
162  ### AlCa pi0 settings
163  clusSeedThr = cms.double( 0.5 ),
164  clusSeedThrEndCap = cms.double( 1.0 ),
165  clusEtaSize = cms.int32( 3 ),
166  clusPhiSize = cms.int32( 3 ),
167  seleXtalMinEnergy = cms.double( 0.0 ),
168  ParameterLogWeighted = cms.bool( True ),
169  ParameterX0 = cms.double( 0.89 ),
170  ParameterT0_barl = cms.double( 7.4 ),
171  ParameterT0_endc = cms.double( 3.1 ),
172  ParameterT0_endcPresh = cms.double( 1.2 ),
173  ParameterW0 = cms.double( 4.2 ),
174  RegionalMatch = cms.untracked.bool( True ),
175  ptMinEMObj = cms.double( 2.0 ),
176  EMregionEtaMargin = cms.double( 0.25 ),
177  EMregionPhiMargin = cms.double( 0.4 ),
178  Jets = cms.untracked.bool( False ),
179 
180  ## reco vertices
181  OfflinePrimaryVertices0 = cms.InputTag('offlinePrimaryVertices'),
182 
183  # HLT vertices
184  PrimaryVertices = cms.InputTag("hltPixelVertices"),
185  PrimaryVerticesHLT = cms.InputTag('pixelVertices'),
186 
187  BSProducer = cms.InputTag("hltOnlineBeamSpot"),
188 
189  ### Run parameters
190  RunParameters = cms.PSet(
191  HistogramFile = cms.untracked.string('openhlt.root'),
192  EtaMin = cms.untracked.double(-5.2),
193  EtaMax = cms.untracked.double( 5.2),
194  CalJetMin = cms.double(0.0),
195  GenJetMin = cms.double(0.0),
196  Monte = cms.bool(True),
197  Debug = cms.bool(False)
198  ),
199 
200  JetIDParams = cms.PSet(
201  useRecHits = cms.bool(True),
202  hbheRecHitsColl = cms.InputTag("hltHbhereco"),
203  hoRecHitsColl = cms.InputTag("hltHoreco"),
204  hfRecHitsColl = cms.InputTag("hltHfreco"),
205  #ebRecHitsColl = cms.InputTag("EcalRecHitsEB"),
206  #eeRecHitsColl = cms.InputTag("EcalRecHitsEE")
207  ebRecHitsColl = cms.InputTag("hltEcalRecHitAll", "EcalRecHitsEB"),
208  eeRecHitsColl = cms.InputTag("hltEcalRecHitAll", "EcalRecHitsEE")
209  )
210 )