CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTAnalyzer.cc
Go to the documentation of this file.
1 // File: HLTAnalyzer.cc
2 // Description: Example of Analysis driver originally from Jeremy Mans,
3 // Date: 13-October-2006
4 
5 #include <boost/foreach.hpp>
6 
8 #include "HLTMessages.h"
9 
10 typedef std::pair<const char *, const edm::InputTag *> MissingCollectionInfo;
11 
12 template <class T>
13 static inline
14 bool getCollection(const edm::Event & event, std::vector<MissingCollectionInfo> & missing, edm::Handle<T> & handle, const edm::InputTag & name, const char * description)
15 {
16  event.getByLabel(name, handle);
17  bool valid = handle.isValid();
18  if (not valid) {
19  missing.push_back( std::make_pair(description, & name) );
20  handle.clear();
21  // std::cout << "not valid "<< description << " " << name << std::endl;
22  }
23  return valid;
24 }
25 
26 // Boiler-plate constructor definition of an analyzer module:
28 
29  // If your module takes parameters, here is where you would define
30  // their names and types, and access them to initialize internal
31  // variables. Example as follows:
32  std::cout << " Beginning HLTAnalyzer Analysis " << std::endl;
33 
34  hltjets_ = conf.getParameter<edm::InputTag> ("hltjets");
35  hltcorjets_ = conf.getParameter<edm::InputTag> ("hltcorjets");
36  hltcorL1L2L3jets_ = conf.getParameter<edm::InputTag> ("hltcorL1L2L3jets");
37  rho_ = edm::InputTag("hltKT6CaloJets", "rho");
38  recjets_ = conf.getParameter<edm::InputTag> ("recjets");
39  reccorjets_ = conf.getParameter<edm::InputTag> ("reccorjets");
40  genjets_ = conf.getParameter<edm::InputTag> ("genjets");
41  recmet_ = conf.getParameter<edm::InputTag> ("recmet");
42  recoPFMet_ = conf.getParameter<edm::InputTag> ("pfmet");
43  genmet_ = conf.getParameter<edm::InputTag> ("genmet");
44  ht_ = conf.getParameter<edm::InputTag> ("ht");
45  recoPFJets_ = conf.getParameter<edm::InputTag> ("recoPFJets");
46  calotowers_ = conf.getParameter<edm::InputTag> ("calotowers");
47  calotowersUpperR45_ = conf.getParameter<edm::InputTag> ("calotowersUpperR45");
48  calotowersLowerR45_ = conf.getParameter<edm::InputTag> ("calotowersLowerR45");
49  calotowersNoR45_ = conf.getParameter<edm::InputTag> ("calotowersNoR45");
50  muon_ = conf.getParameter<edm::InputTag> ("muon");
51  pfmuon_ = conf.getParameter<edm::InputTag> ("pfmuon");
52  mctruth_ = conf.getParameter<edm::InputTag> ("mctruth");
53  genEventInfo_ = conf.getParameter<edm::InputTag> ("genEventInfo");
54  simhits_ = conf.getParameter<edm::InputTag> ("simhits");
55  xSection_ = conf.getUntrackedParameter<double> ("xSection",1.);
56  filterEff_ = conf.getUntrackedParameter<double> ("filterEff",1.);
57  firstLumi_ = conf.getUntrackedParameter<int> ("firstLumi",0);
58  lastLumi_ = conf.getUntrackedParameter<int> ("lastLumi",-1);
59  towerThreshold_ = conf.getParameter<double>("caloTowerThreshold");
60 
61  // keep this separate from l1extramc_ as needed by FastSim:
62  // This is purposefully done this way to allow FastSim to run with OpenHLT:
63  // The {FastSim+OpenHLT} package runs on the head of HLTrigger/HLTanalyzers
64  // where there is purposefully this duplication because FastSim does the
65  // simulation of muons seperately, and needs the same collection.
66  l1extramu_ = conf.getParameter<std::string> ("l1extramu");
67  m_l1extramu = edm::InputTag(l1extramu_, "");
68 
69  // read the L1Extra collection name, and add the instance names as needed
70  l1extramc_ = conf.getParameter<std::string> ("l1extramc");
71  m_l1extraemi = edm::InputTag(l1extramc_, "Isolated");
72  m_l1extraemn = edm::InputTag(l1extramc_, "NonIsolated");
75  m_l1extrajet = edm::InputTag("gctInternJetProducer","Internal","ANALYSIS");
79 
80  hltresults_ = conf.getParameter<edm::InputTag> ("hltresults");
81  gtReadoutRecord_ = conf.getParameter<edm::InputTag> ("l1GtReadoutRecord");
82 
83  gctBitCounts_ = edm::InputTag( conf.getParameter<edm::InputTag>("l1GctHFBitCounts").label(), "" );
84  gctRingSums_ = edm::InputTag( conf.getParameter<edm::InputTag>("l1GctHFRingSums").label(), "" );
85 
86  MuCandTag2_ = conf.getParameter<edm::InputTag> ("MuCandTag2");
87  MuIsolTag2_ = conf.getParameter<edm::InputTag> ("MuIsolTag2");
88  MuNoVtxCandTag2_ = conf.getParameter<edm::InputTag> ("MuNoVtxCandTag2");
89  MuCandTag3_ = conf.getParameter<edm::InputTag> ("MuCandTag3");
90  MuIsolTag3_ = conf.getParameter<edm::InputTag> ("MuIsolTag3");
91  MuTrkIsolTag3_ = conf.getParameter<edm::InputTag> ("MuTrkIsolTag3");
92  TrackerMuonTag_ = conf.getParameter<edm::InputTag> ("TrackerMuonTag");
93  oniaPixelTag_ = conf.getParameter<edm::InputTag> ("OniaPixelTag");
94  oniaTrackTag_ = conf.getParameter<edm::InputTag> ("OniaTrackTag");
95  DiMuVtx_ = conf.getParameter<edm::InputTag> ("DiMuVtx");
96  L2Tau_ = conf.getParameter<edm::InputTag> ("L2Tau");
97  HLTTau_ = conf.getParameter<edm::InputTag> ("HLTTau");
98  PFTau_ = conf.getParameter<edm::InputTag> ("HLTPFTau");
99  PFTauTightCone_ = conf.getParameter<edm::InputTag> ("HLTPFTauTightCone");
100  _MinPtChargedHadrons = conf.getParameter<double>("minPtChargedHadronsForTaus");
101  _MinPtGammas = conf.getParameter<double>("minPtGammassForTaus");
102 
103  PFJets_ = conf.getParameter<edm::InputTag> ("HLTPFJet");
104 
105  // offline reco tau collection and discriminators
106  RecoPFTau_ = conf.getParameter<edm::InputTag> ("RecoPFTau");
107  RecoPFTauDiscrByTanCOnePercent_ = conf.getParameter<edm::InputTag> ("RecoPFTauDiscrByTanCOnePercent");
108  RecoPFTauDiscrByTanCHalfPercent_ = conf.getParameter<edm::InputTag> ("RecoPFTauDiscrByTanCHalfPercent");
109  RecoPFTauDiscrByTanCQuarterPercent_ = conf.getParameter<edm::InputTag> ("RecoPFTauDiscrByTanCQuarterPercent");
110  RecoPFTauDiscrByTanCTenthPercent_ = conf.getParameter<edm::InputTag> ("RecoPFTauDiscrByTanCTenthPercent");
111  RecoPFTauDiscrByIso_ = conf.getParameter<edm::InputTag> ("RecoPFTauDiscrByIso");
112  RecoPFTauAgainstMuon_ = conf.getParameter<edm::InputTag> ("RecoPFTauAgainstMuon");
113  RecoPFTauAgainstElec_ = conf.getParameter<edm::InputTag> ("RecoPFTauAgainstElec");
114 
115 
116  // btag OpenHLT input collections
117  m_rawBJets = conf.getParameter<edm::InputTag>("CommonBJetsL2");
118  m_correctedBJets = conf.getParameter<edm::InputTag>("CorrectedBJetsL2");
119  m_correctedBJetsL1FastJet = conf.getParameter<edm::InputTag>("CorrectedBJetsL2L1FastJet");
120  m_pfBJets = conf.getParameter<edm::InputTag>("PFlowBJetsL2");
121  m_lifetimeBJetsL25 = conf.getParameter<edm::InputTag>("LifetimeBJetsL25");
122  m_lifetimeBJetsL3 = conf.getParameter<edm::InputTag>("LifetimeBJetsL3");
123  m_lifetimeBJetsL25L1FastJet = conf.getParameter<edm::InputTag>("LifetimeBJetsL25L1FastJet");
124  m_lifetimeBJetsL3L1FastJet = conf.getParameter<edm::InputTag>("LifetimeBJetsL3L1FastJet");
125  m_lifetimePFBJetsL3 = conf.getParameter<edm::InputTag>("LifetimePFlowBJetsL3");
126  m_lifetimeBJetsL25SingleTrack = conf.getParameter<edm::InputTag>("LifetimeBJetsL25SingleTrack");
127  m_lifetimeBJetsL3SingleTrack = conf.getParameter<edm::InputTag>("LifetimeBJetsL3SingleTrack");
128  m_lifetimeBJetsL25SingleTrackL1FastJet = conf.getParameter<edm::InputTag>("LifetimeBJetsL25SingleTrackL1FastJet");
129  m_lifetimeBJetsL3SingleTrackL1FastJet = conf.getParameter<edm::InputTag>("LifetimeBJetsL3SingleTrackL1FastJet");
130  m_performanceBJetsL25 = conf.getParameter<edm::InputTag>("PerformanceBJetsL25");
131  m_performanceBJetsL3 = conf.getParameter<edm::InputTag>("PerformanceBJetsL3");
132  m_performanceBJetsL25L1FastJet = conf.getParameter<edm::InputTag>("PerformanceBJetsL25L1FastJet");
133  m_performanceBJetsL3L1FastJet = conf.getParameter<edm::InputTag>("PerformanceBJetsL3L1FastJet");
134 
135  // egamma OpenHLT input collections
136  Electron_ = conf.getParameter<edm::InputTag> ("Electron");
137  Photon_ = conf.getParameter<edm::InputTag> ("Photon");
138  CandIso_ = conf.getParameter<edm::InputTag> ("CandIso");
139  CandNonIso_ = conf.getParameter<edm::InputTag> ("CandNonIso");
140  EcalIso_ = conf.getParameter<edm::InputTag> ("EcalIso");
141  EcalNonIso_ = conf.getParameter<edm::InputTag> ("EcalNonIso");
142  HcalIsoPho_ = conf.getParameter<edm::InputTag> ("HcalIsoPho");
143  HcalNonIsoPho_ = conf.getParameter<edm::InputTag> ("HcalNonIsoPho");
144  IsoPhoTrackIsol_ = conf.getParameter<edm::InputTag> ("IsoPhoTrackIsol");
145  NonIsoPhoTrackIsol_ = conf.getParameter<edm::InputTag> ("NonIsoPhoTrackIsol");
146  IsoElectron_ = conf.getParameter<edm::InputTag> ("IsoElectrons");
147  NonIsoElectron_ = conf.getParameter<edm::InputTag> ("NonIsoElectrons");
148  IsoEleHcal_ = conf.getParameter<edm::InputTag> ("HcalIsoEle");
149  NonIsoEleHcal_ = conf.getParameter<edm::InputTag> ("HcalNonIsoEle");
150  IsoEleTrackIsol_ = conf.getParameter<edm::InputTag> ("IsoEleTrackIsol");
151  NonIsoEleTrackIsol_ = conf.getParameter<edm::InputTag> ("NonIsoEleTrackIsol");
152  L1IsoPixelSeeds_ = conf.getParameter<edm::InputTag> ("PixelSeedL1Iso");
153  L1NonIsoPixelSeeds_ = conf.getParameter<edm::InputTag> ("PixelSeedL1NonIso");
154  IsoR9_ = conf.getParameter<edm::InputTag> ("SpikeCleaningIsol");
155  NonIsoR9_ = conf.getParameter<edm::InputTag> ("SpikeCleaningNonIsol");
156  IsoHoverEH_ = conf.getParameter<edm::InputTag> ("HcalForHoverEIsol");
157  NonIsoHoverEH_ = conf.getParameter<edm::InputTag> ("HcalForHoverENonIsol");
158  IsoR9ID_ = conf.getParameter<edm::InputTag> ("R9IDIsol");
159  NonIsoR9ID_ = conf.getParameter<edm::InputTag> ("R9IDNonIsol");
160  HFECALClusters_ = conf.getParameter<edm::InputTag> ("HFECALClusters");
161  HFElectrons_ = conf.getParameter<edm::InputTag> ("HFElectrons");
162 
163  // Add ECAL Activity
164  ECALActivity_ = conf.getParameter<edm::InputTag> ("ECALActivity");
165  ActivityEcalIso_ = conf.getParameter<edm::InputTag> ("ActivityEcalIso");
166  ActivityHcalIso_ = conf.getParameter<edm::InputTag> ("ActivityHcalIso");
167  ActivityTrackIso_ = conf.getParameter<edm::InputTag> ("ActivityTrackIso");
168  ActivityR9_ = conf.getParameter<edm::InputTag> ("ActivityR9"); // spike cleaning
169  ActivityR9ID_ = conf.getParameter<edm::InputTag> ("ActivityR9ID");
170  ActivityHoverEH_ = conf.getParameter<edm::InputTag> ("ActivityHcalForHoverE");
171 
172 
173  // AlCa OpenHLT input collections
174  /*
175  EERecHitTag_ = conf.getParameter<edm::InputTag> ("EERecHits");
176  EBRecHitTag_ = conf.getParameter<edm::InputTag> ("EBRecHits");
177  pi0EBRecHitTag_ = conf.getParameter<edm::InputTag> ("pi0EBRecHits");
178  pi0EERecHitTag_ = conf.getParameter<edm::InputTag> ("pi0EERecHits");
179  HBHERecHitTag_ = conf.getParameter<edm::InputTag> ("HBHERecHits");
180  HORecHitTag_ = conf.getParameter<edm::InputTag> ("HORecHits");
181  HFRecHitTag_ = conf.getParameter<edm::InputTag> ("HFRecHits");
182  IsoPixelTrackTagL3_ = conf.getParameter<edm::InputTag> ("IsoPixelTracksL3");
183  IsoPixelTrackTagL2_ = conf.getParameter<edm::InputTag> ("IsoPixelTracksL2");
184  IsoPixelTrackVerticesTag_ = conf.getParameter<edm::InputTag> ("IsoPixelTrackVertices");
185  */
186 
187  // Track OpenHLT input collections
188  PixelTracksTagL3_ = conf.getParameter<edm::InputTag> ("PixelTracksL3");
189  PixelFEDSizeTag_ = conf.getParameter<edm::InputTag> ("PixelFEDSize");
190  PixelClustersTag_ = conf.getParameter<edm::InputTag> ("PixelClusters");
191 
192  // Reco Vertex collection
193  VertexTagHLT_ = conf.getParameter<edm::InputTag> ("PrimaryVertices");
194  VertexTagOffline0_ = conf.getParameter<edm::InputTag> ("OfflinePrimaryVertices0");
195 
196  m_file = 0; // set to null
197  errCnt = 0;
198 
199  // read run parameters with a default value
201  _HistName = runParameters.getUntrackedParameter<std::string>("HistogramFile", "test.root");
202  _EtaMin = runParameters.getUntrackedParameter<double>("EtaMin", -5.2);
203  _EtaMax = runParameters.getUntrackedParameter<double>("EtaMax", 5.2);
204 
205 
206 
207  // open the tree file
208  m_file = new TFile(_HistName.c_str(), "RECREATE");
209  if (m_file)
210  m_file->cd();
211 
212  // Initialize the tree
213  HltTree = new TTree("HltTree", "");
214 
215  treeWeight=xSection_*filterEff_;
216  std::cout << "\n Setting HltTree weight to " << treeWeight << " = " << xSection_ << "*" << filterEff_ << " (cross section * gen filter efficiency)\n" << std::endl;
217 
218  // Setup the different analysis
219  jet_analysis_.setup(conf, HltTree);
221  elm_analysis_.setup(conf, HltTree);
224  mct_analysis_.setup(conf, HltTree);
225  hlt_analysis_.setup(conf, HltTree);
226  vrt_analysisHLT_.setup(conf, HltTree, "HLT");
227  vrt_analysisOffline0_.setup(conf, HltTree, "Offline0");
229 }
230 
232 
233  hlt_analysis_.beginRun(run, c);
234 }
235 
236 // Boiler-plate "analyze" method declaration for an analyzer module.
238 
239  // To get information from the event setup, you must request the "Record"
240  // which contains it and then extract the object you need
241  //edm::ESHandle<CaloGeometry> geometry;
242  //iSetup.get<IdealGeometryRecord>().get(geometry);
243 
244  int iLumi = iEvent.luminosityBlock();
245  if (iLumi<firstLumi_) return;
246  if (lastLumi_ != -1 && iLumi>lastLumi_) return;
247 
248  // These declarations create handles to the types of records that you want
249  // to retrieve from event "iEvent".
252  edm::Handle<reco::CaloJetCollection> hltcorL1L2L3jets;
258  edm::Handle<CaloTowerCollection> caloTowersCleanerUpperR45;
259  edm::Handle<CaloTowerCollection> caloTowersCleanerLowerR45;
260  edm::Handle<CaloTowerCollection> caloTowersCleanerNoR45;
275  edm::Handle<l1extra::L1JetParticleCollection> l1extjetc, l1extjetf, l1extjet, l1exttaujet;
276  //edm::Handle<l1extra::L1JetParticleCollection> l1extjetc, l1extjetf, l1exttaujet;
281 
282  edm::Handle<reco::RecoChargedCandidateCollection> mucands2, mucands3, munovtxcands2;
283  edm::Handle<reco::RecoChargedCandidateCollection> oniaPixelCands, oniaTrackCands;
286  edm::Handle<edm::ValueMap<bool> > isoMap2, isoMap3, isoTrk10Map3;
290  edm::Handle<reco::PFTauCollection> pftausTightCone;
292 
293  // offline reco tau collection and discriminators
295  edm::Handle<reco::PFTauDiscriminator> theRecoPFTauDiscrByTanCOnePercent;
296  edm::Handle<reco::PFTauDiscriminator> theRecoPFTauDiscrByTanCHalfPercent;
297  edm::Handle<reco::PFTauDiscriminator> theRecoPFTauDiscrByTanCQuarterPercent;
298  edm::Handle<reco::PFTauDiscriminator> theRecoPFTauDiscrByTanCTenthPercent;
299  edm::Handle<reco::PFTauDiscriminator> theRecoPFTauDiscrByIsolation;
300  edm::Handle<reco::PFTauDiscriminator> theRecoPFTauDiscrAgainstMuon;
301  edm::Handle<reco::PFTauDiscriminator> theRecoPFTauDiscrAgainstElec;
302 
303 
304  // btag OpenHLT input collections
306  edm::Handle<edm::View<reco::Jet> > hCorrectedBJets;
307  edm::Handle<edm::View<reco::Jet> > hCorrectedBJetsL1FastJet;
309  edm::Handle<reco::JetTagCollection> hLifetimeBJetsL25;
310  edm::Handle<reco::JetTagCollection> hLifetimeBJetsL3L1FastJet;
311  edm::Handle<reco::JetTagCollection> hLifetimeBJetsL25L1FastJet;
312  edm::Handle<reco::JetTagCollection> hLifetimeBJetsL3;
313  edm::Handle<reco::JetTagCollection> hLifetimePFBJetsL3;
314  edm::Handle<reco::JetTagCollection> hLifetimeBJetsL25SingleTrack;
315  edm::Handle<reco::JetTagCollection> hLifetimeBJetsL3SingleTrack;
316  edm::Handle<reco::JetTagCollection> hLifetimeBJetsL25SingleTrackL1FastJet;
317  edm::Handle<reco::JetTagCollection> hLifetimeBJetsL3SingleTrackL1FastJet;
318  edm::Handle<reco::JetTagCollection> hPerformanceBJetsL25;
319  edm::Handle<reco::JetTagCollection> hPerformanceBJetsL3;
320  edm::Handle<reco::JetTagCollection> hPerformanceBJetsL25L1FastJet;
321  edm::Handle<reco::JetTagCollection> hPerformanceBJetsL3L1FastJet;
322 
323  // egamma OpenHLT input collections
330  edm::Handle<reco::RecoEcalCandidateIsolationMap> photonHoverEHIsoHandle;
331  edm::Handle<reco::RecoEcalCandidateIsolationMap> photonHoverEHNonIsoHandle;
332  edm::Handle<reco::ElectronCollection> electronIsoHandle;
333  edm::Handle<reco::ElectronCollection> electronNonIsoHandle;
335  edm::Handle<reco::RecoEcalCandidateIsolationMap> electronR9NonIsoHandle;
337  edm::Handle<reco::RecoEcalCandidateIsolationMap> electronR9IDNonIsoHandle;
338  edm::Handle<reco::ElectronIsolationMap> NonIsoTrackEleIsolMap;
341  edm::Handle<reco::ElectronSeedCollection> L1NonIsoPixelSeedsMap;
352  edm::Handle<reco::SuperClusterCollection> electronHFClusterHandle;
353  edm::Handle<reco::RecoEcalCandidateCollection> electronHFElectronHandle;
354  // ECAL Activity
362 
363 
364  // AlCa OpenHLT input collections
365  /*
366  edm::Handle<EBRecHitCollection> ebrechits;
367  edm::Handle<EERecHitCollection> eerechits;
368  edm::Handle<EBRecHitCollection> pi0ebrechits;
369  edm::Handle<EERecHitCollection> pi0eerechits;
370  edm::Handle<HBHERecHitCollection> hbherechits;
371  edm::Handle<HORecHitCollection> horechits;
372  edm::Handle<HFRecHitCollection> hfrechits;
373  */
374 
377  edm::Handle<reco::VertexCollection> isopixeltrackPixVertices;
381 
382  // Reco vertex collection
384  edm::Handle<reco::VertexCollection> recoVertexsOffline0;
385 
386  // new stuff for the egamma EleId
387  edm::InputTag ecalRechitEBTag (std::string("hltEcalRegionalEgammaRecHit:EcalRecHitsEB"));
388  edm::InputTag ecalRechitEETag (std::string("hltEcalRegionalEgammaRecHit:EcalRecHitsEE"));
389  EcalClusterLazyTools lazyTools( iEvent, iSetup, ecalRechitEBTag, ecalRechitEETag);
390 
391  edm::Handle<reco::HFEMClusterShapeAssociationCollection> electronHFClusterAssociation;
392  iEvent.getByLabel(edm::InputTag("hltHFEMClusters"),electronHFClusterAssociation);
393 
394  edm::ESHandle<MagneticField> theMagField;
395  iSetup.get<IdealMagneticFieldRecord>().get(theMagField);
396 
397  edm::Handle<reco::BeamSpot> recoBeamSpotHandle;
398  edm::InputTag BSProducer_(std::string("hltOnlineBeamSpot"));
399 
400  // get EventSetup stuff needed for the AlCa pi0 path
401  // edm::ESHandle< EcalElectronicsMapping > ecalmapping;
402  // iSetup.get< EcalMappingRcd >().get(ecalmapping);
403 
404  // edm::ESHandle<CaloGeometry> geoHandle;
405  // iSetup.get<CaloGeometryRecord>().get(geoHandle);
406 
407  // edm::ESHandle<CaloTopology> pTopology;
408  // iSetup.get<CaloTopologyRecord>().get(pTopology);
409 
410  // edm::ESHandle<L1CaloGeometry> l1CaloGeom ;
411  // iSetup.get<L1CaloGeometryRecord>().get(l1CaloGeom) ;
412 
413  edm::ESHandle<LumiCorrectionParam> lumicorrdatahandle; //get LumiCorrectionParam object from event setup
414  iSetup.getData(lumicorrdatahandle);
415 
417 
418 
419  // extract the collections from the event, check their validity and log which are missing
420  std::vector<MissingCollectionInfo> missing;
421 
422  //get the BeamSpot
423  getCollection( iEvent, missing, recoBeamSpotHandle, BSProducer_ , "Beam Spot handle");
424  // gets its position
425  reco::BeamSpot::Point BSPosition(0,0,0);
426  BSPosition = recoBeamSpotHandle->position();
427 
428  getCollection( iEvent, missing, hltjets, hltjets_, kHLTjets );
429  getCollection( iEvent, missing, hltcorjets, hltcorjets_, kHLTCorjets );
430  getCollection( iEvent, missing, hltcorL1L2L3jets,hltcorL1L2L3jets_, kHLTCorL1L2L3jets );
431  getCollection( iEvent, missing, rho, rho_, kRho );
432  getCollection( iEvent, missing, recjets, recjets_, kRecjets );
433  getCollection( iEvent, missing, reccorjets, reccorjets_, kRecCorjets );
434  getCollection( iEvent, missing, genjets, genjets_, kGenjets );
435  getCollection( iEvent, missing, recmet, recmet_, kRecmet );
436  getCollection( iEvent, missing, recoPFMet, recoPFMet_, kPFMet );
437  getCollection( iEvent, missing, genmet, genmet_, kGenmet );
438  getCollection( iEvent, missing, caloTowers, calotowers_, kCaloTowers );
439  getCollection( iEvent, missing, caloTowersCleanerUpperR45, calotowersUpperR45_, kCaloTowersUpperR45 );
440  getCollection( iEvent, missing, caloTowersCleanerLowerR45, calotowersLowerR45_, kCaloTowersLowerR45 );
441  getCollection( iEvent, missing, caloTowersCleanerNoR45, calotowersNoR45_, kCaloTowersNoR45 );
442  getCollection( iEvent, missing, ht, ht_, kHt );
443  getCollection( iEvent, missing, recoPFJets, recoPFJets_, kRecoPFJets );
444  getCollection( iEvent, missing, muon, muon_, kMuon );
445  getCollection( iEvent, missing, pfmuon, pfmuon_, kpfMuon );
446  getCollection( iEvent, missing, l2taus, L2Tau_, kTaus );
447  getCollection( iEvent, missing, taus, HLTTau_, kTaus );
448  getCollection( iEvent, missing, pftaus, PFTau_, kPFTaus );
449  getCollection( iEvent, missing, pftausTightCone, PFTauTightCone_, kPFTausTightCone );
450  getCollection( iEvent, missing, pfjets, PFJets_, kPFJets );
451  getCollection( iEvent, missing, recoPftaus, RecoPFTau_, kRecoPFTaus );
452  getCollection( iEvent, missing, theRecoPFTauDiscrByTanCOnePercent, RecoPFTauDiscrByTanCOnePercent_, ktheRecoPFTauDiscrByTanCOnePercent);
453  getCollection( iEvent, missing, theRecoPFTauDiscrByTanCHalfPercent, RecoPFTauDiscrByTanCHalfPercent_, ktheRecoPFTauDiscrByTanCHalfPercent);
454  getCollection( iEvent, missing, theRecoPFTauDiscrByTanCQuarterPercent, RecoPFTauDiscrByTanCQuarterPercent_, ktheRecoPFTauDiscrByTanCQuarterPercent);
455  getCollection( iEvent, missing, theRecoPFTauDiscrByTanCTenthPercent, RecoPFTauDiscrByTanCTenthPercent_, ktheRecoPFTauDiscrByTanCTenthPercent);
456  getCollection( iEvent, missing, theRecoPFTauDiscrByIsolation, RecoPFTauDiscrByIso_, ktheRecoPFTauDiscrByIsolation);
457  getCollection( iEvent, missing, theRecoPFTauDiscrAgainstMuon, RecoPFTauAgainstMuon_, ktheRecoPFTauDiscrAgainstMuon);
458  getCollection( iEvent, missing, theRecoPFTauDiscrAgainstElec, RecoPFTauAgainstElec_, ktheRecoPFTauDiscrAgainstElec);
459  getCollection( iEvent, missing, hltresults, hltresults_, kHltresults );
460  getCollection( iEvent, missing, l1extemi, m_l1extraemi, kL1extemi );
461  getCollection( iEvent, missing, l1extemn, m_l1extraemn, kL1extemn );
462  getCollection( iEvent, missing, l1extmu, m_l1extramu, kL1extmu );
463  getCollection( iEvent, missing, l1extjetc, m_l1extrajetc, kL1extjetc );
464  getCollection( iEvent, missing, l1extjetf, m_l1extrajetf, kL1extjetf );
465  getCollection( iEvent, missing, l1extjet, m_l1extrajet, kL1extjet );
466  getCollection( iEvent, missing, l1exttaujet, m_l1extrataujet, kL1exttaujet );
467  getCollection( iEvent, missing, l1extmet, m_l1extramet, kL1extmet );
468  getCollection( iEvent, missing, l1extmht, m_l1extramht, kL1extmht );
469  getCollection( iEvent, missing, l1GtRR, gtReadoutRecord_, kL1GtRR );
470  getCollection( iEvent, missing, gctBitCounts, gctBitCounts_, kL1GctBitCounts );
471  getCollection( iEvent, missing, gctRingSums, gctRingSums_, kL1GctRingSums );
472  getCollection( iEvent, missing, mctruth, mctruth_, kMctruth );
473  getCollection( iEvent, missing, simTracks, simhits_, kSimhit );
474  getCollection( iEvent, missing, simVertices, simhits_, kSimhit );
475  getCollection( iEvent, missing, genEventInfo, genEventInfo_, kGenEventInfo );
476  getCollection( iEvent, missing, mucands2, MuCandTag2_, kMucands2 );
477  getCollection( iEvent, missing, munovtxcands2, MuNoVtxCandTag2_, kMunovtxcands2 );
478  getCollection( iEvent, missing, mucands3, MuCandTag3_, kMucands3 );
479  getCollection( iEvent, missing, oniaPixelCands, oniaPixelTag_, kOniaPixelCands );
480  getCollection( iEvent, missing, oniaTrackCands, oniaTrackTag_, kOniaTrackCands );
481  getCollection( iEvent, missing, trkmucands, TrackerMuonTag_, kTrkMucands );
482  getCollection( iEvent, missing, dimuvtxcands3, DiMuVtx_, kDimuvtxcands3 );
483  getCollection( iEvent, missing, isoMap2, MuIsolTag2_, kIsoMap2 );
484  getCollection( iEvent, missing, isoMap3, MuIsolTag3_, kIsoMap3 );
485  getCollection( iEvent, missing, isoTrk10Map3, MuTrkIsolTag3_, kIsoTrk10Map3 );
486  getCollection( iEvent, missing, hRawBJets, m_rawBJets, kBTagJets );
487  getCollection( iEvent, missing, hCorrectedBJets, m_correctedBJets, kBTagCorrectedJets );
488  getCollection( iEvent, missing, hCorrectedBJetsL1FastJet, m_correctedBJetsL1FastJet, kBTagCorrectedJetsL1FastJet );
489  getCollection( iEvent, missing, hPFBJets, m_pfBJets, kBTagPFJets );
490  getCollection( iEvent, missing, hLifetimeBJetsL25, m_lifetimeBJetsL25, kBTagLifetimeBJetsL25 );
491  getCollection( iEvent, missing, hLifetimeBJetsL3, m_lifetimeBJetsL3, kBTagLifetimeBJetsL3 );
492  getCollection( iEvent, missing, hLifetimeBJetsL25L1FastJet, m_lifetimeBJetsL25L1FastJet, kBTagLifetimeBJetsL25L1FastJet );
493  getCollection( iEvent, missing, hLifetimeBJetsL3L1FastJet, m_lifetimeBJetsL3L1FastJet, kBTagLifetimeBJetsL3L1FastJet );
494  getCollection( iEvent, missing, hLifetimePFBJetsL3, m_lifetimePFBJetsL3, kBTagLifetimePFBJetsL3 );
495  getCollection( iEvent, missing, hLifetimeBJetsL25SingleTrack, m_lifetimeBJetsL25SingleTrack, kBTagLifetimeBJetsL25SingleTrack );
496  getCollection( iEvent, missing, hLifetimeBJetsL3SingleTrack, m_lifetimeBJetsL3SingleTrack, kBTagLifetimeBJetsL3SingleTrack );
497  getCollection( iEvent, missing, hLifetimeBJetsL25SingleTrackL1FastJet, m_lifetimeBJetsL25SingleTrackL1FastJet, kBTagLifetimeBJetsL25SingleTrackL1FastJet );
498  getCollection( iEvent, missing, hLifetimeBJetsL3SingleTrackL1FastJet, m_lifetimeBJetsL3SingleTrackL1FastJet, kBTagLifetimeBJetsL3SingleTrackL1FastJet );
499  getCollection( iEvent, missing, hPerformanceBJetsL25, m_performanceBJetsL25, kBTagPerformanceBJetsL25 );
500  getCollection( iEvent, missing, hPerformanceBJetsL3, m_performanceBJetsL3, kBTagPerformanceBJetsL3 );
501  getCollection( iEvent, missing, hPerformanceBJetsL25L1FastJet,m_performanceBJetsL25L1FastJet, kBTagPerformanceBJetsL25L1FastJet );
502  getCollection( iEvent, missing, hPerformanceBJetsL3L1FastJet, m_performanceBJetsL3L1FastJet, kBTagPerformanceBJetsL3L1FastJet );
503  getCollection( iEvent, missing, electrons, Electron_, kElectrons );
504  getCollection( iEvent, missing, photons, Photon_, kPhotons );
505  getCollection( iEvent, missing, ActivityCandsHandle, ECALActivity_, kECALActivity);
506  getCollection( iEvent, missing, ActivityEcalIsoHandle, ActivityEcalIso_, kECALActivityEcalIso);
507  getCollection( iEvent, missing, ActivityHcalIsoHandle, ActivityHcalIso_, kECALActivityHcalIso);
508  getCollection( iEvent, missing, ActivityTrackIsoHandle, ActivityTrackIso_, kECALActivityTrackIso);
509  getCollection( iEvent, missing, ActivityR9Handle, ActivityR9_, kECALActivityR9);
510  getCollection( iEvent, missing, ActivityR9IDHandle, ActivityR9ID_, kECALActivityR9ID);
511  getCollection( iEvent, missing, ActivityHoverEHHandle, ActivityHoverEH_, kECALActivityHoverEH);
512 
513  //Read offline eleID results
514  std::vector<edm::Handle<edm::ValueMap<float> > > eIDValueMap(4);
515  // edm::InputTag electronLabelRobustTight_(std::string("eidRobustTight"));
516  // edm::InputTag electronLabelTight_(std::string("eidTight"));
517  // edm::InputTag electronLabelRobustLoose_(std::string("eidRobustLoose"));
518  // edm::InputTag electronLabelLoose_(std::string("eidLoose"));
519  // getCollection( iEvent, missing, eIDValueMap[0], electronLabelRobustLoose_ , "EleId Robust-Loose");
520  // getCollection( iEvent, missing, eIDValueMap[1], electronLabelRobustTight_ , "EleId Robust-Tight");
521  // getCollection( iEvent, missing, eIDValueMap[2], electronLabelLoose_ , "EleId Loose");
522  // getCollection( iEvent, missing, eIDValueMap[3], electronLabelTight_ , "EleId Tight");
523 
524  //read all the OpenHLT egamma collections
525  getCollection( iEvent, missing, recoIsolecalcands, CandIso_, kCandIso);
526  getCollection( iEvent, missing, recoNonIsolecalcands, CandNonIso_, kCandNonIso);
527  getCollection( iEvent, missing, EcalIsolMap, EcalIso_, kEcalIso);
528  getCollection( iEvent, missing, EcalNonIsolMap, EcalNonIso_, kEcalNonIso);
529  getCollection( iEvent, missing, HcalIsolMap, HcalIsoPho_, kHcalIsoPho);
530  getCollection( iEvent, missing, HcalNonIsolMap, HcalNonIsoPho_, kHcalNonIsoPho);
531  getCollection( iEvent, missing, photonR9IsoHandle, IsoR9_, kIsoR9);
532  getCollection( iEvent, missing, photonR9NonIsoHandle, NonIsoR9_, kNonIsoR9);
533  getCollection( iEvent, missing, photonR9IDIsoHandle, IsoR9ID_, kIsoR9ID);
534  getCollection( iEvent, missing, photonR9IDNonIsoHandle, NonIsoR9ID_, kNonIsoR9ID);
535  getCollection( iEvent, missing, photonHoverEHIsoHandle, IsoHoverEH_, kIsoHoverEH);
536  getCollection( iEvent, missing, photonHoverEHNonIsoHandle,NonIsoHoverEH_, kNonIsoHoverEH);
537  getCollection( iEvent, missing, electronIsoHandle, IsoElectron_, kIsoElectron);
538  getCollection( iEvent, missing, HcalEleIsolMap, IsoEleHcal_, kIsoEleHcal);
539  getCollection( iEvent, missing, TrackEleIsolMap, IsoEleTrackIsol_, kIsoEleTrackIsol);
540  getCollection( iEvent, missing, L1IsoPixelSeedsMap, L1IsoPixelSeeds_, kL1IsoPixelSeeds);
541  getCollection( iEvent, missing, L1NonIsoPixelSeedsMap, L1NonIsoPixelSeeds_, kL1NonIsoPixelSeeds);
542  getCollection( iEvent, missing, electronNonIsoHandle, NonIsoElectron_, kNonIsoElectron);
543  getCollection( iEvent, missing, HcalEleNonIsolMap, NonIsoEleHcal_, kIsoEleHcal);
544  getCollection( iEvent, missing, NonIsoTrackEleIsolMap, NonIsoEleTrackIsol_, kNonIsoEleTrackIsol);
545  getCollection( iEvent, missing, TrackNonIsolMap, NonIsoPhoTrackIsol_, kNonIsoPhoTrackIsol);
546  getCollection( iEvent, missing, TrackIsolMap, IsoPhoTrackIsol_, kIsoPhoTrackIsol);
547  getCollection( iEvent, missing, electronR9IsoHandle, IsoR9_, kIsoR9);
548  getCollection( iEvent, missing, electronR9NonIsoHandle, NonIsoR9_, kNonIsoR9);
549  getCollection( iEvent, missing, electronR9IDIsoHandle, IsoR9ID_, kIsoR9ID);
550  getCollection( iEvent, missing, electronR9IDNonIsoHandle, NonIsoR9ID_, kNonIsoR9ID);
551  getCollection( iEvent, missing, electronHFClusterHandle, HFECALClusters_, kHFECALClusters);
552  getCollection( iEvent, missing, electronHFElectronHandle, HFElectrons_, kHFElectrons);
553  /*
554  getCollection( iEvent, missing, eerechits, EERecHitTag_, kEErechits );
555  getCollection( iEvent, missing, ebrechits, EBRecHitTag_, kEBrechits );
556  getCollection( iEvent, missing, pi0eerechits, pi0EERecHitTag_, kpi0EErechits );
557  getCollection( iEvent, missing, pi0ebrechits, pi0EBRecHitTag_, kpi0EBrechits );
558  getCollection( iEvent, missing, hbherechits, HBHERecHitTag_, kHBHErechits );
559  getCollection( iEvent, missing, horechits, HORecHitTag_, kHOrechits );
560  getCollection( iEvent, missing, hfrechits, HFRecHitTag_, kHFrechits );
561  */
562  getCollection( iEvent, missing, isopixeltracksL3, IsoPixelTrackTagL3_, kIsoPixelTracksL3 );
563  getCollection( iEvent, missing, isopixeltracksL2, IsoPixelTrackTagL2_, kIsoPixelTracksL2 );
564  getCollection( iEvent, missing, isopixeltrackPixVertices, IsoPixelTrackVerticesTag_, kIsoPixelTrackVertices );
565  getCollection( iEvent, missing, pixeltracksL3, PixelTracksTagL3_, kPixelTracksL3 );
566  getCollection( iEvent, missing, pixelfedsize, PixelFEDSizeTag_, kPixelFEDSize );
567  getCollection( iEvent, missing, pixelclusters, PixelClustersTag_, kPixelClusters );
568  getCollection( iEvent, missing, recoVertexsHLT, VertexTagHLT_, kRecoVerticesHLT );
569  getCollection( iEvent, missing, recoVertexsOffline0, VertexTagOffline0_, kRecoVerticesOffline0 );
570 
571  getCollection( iEvent, missing, pupInfo, pileupInfo_, kPileupInfo );
572 
573  double ptHat=-1.;
574  if (genEventInfo.isValid()) {ptHat=genEventInfo->qScale();}
575 
576 
577  // print missing collections
578  if (not missing.empty() and (errCnt < errMax())) {
579  errCnt++;
580  std::stringstream out;
581  out << "OpenHLT analyser - missing collections (This message is for information only. RECO collections will always be missing when running on RAW, MC collections will always be missing when running on data):";
582  BOOST_FOREACH(const MissingCollectionInfo & entry, missing)
583  out << "\n\t" << entry.first << ": " << entry.second->encode();
584  edm::LogPrint("OpenHLT") << out.str() << std::endl;
585  if (errCnt == errMax())
586  edm::LogWarning("OpenHLT") << "Maximum error count reached -- No more messages will be printed.";
587  }
588 
589  // run the analysis, passing required event fragments
590  jet_analysis_.analyze(iEvent,
591  hltjets,
592  hltcorjets,
593  hltcorL1L2L3jets,
594  rho,
595  recjets,
596  reccorjets,
597  genjets,
598  recmet,
599  genmet,
600  ht,
601  l2taus,
602  taus,
603  pftaus,
604  pftausTightCone,
605  pfjets,
606  recoPftaus,
607  theRecoPFTauDiscrByTanCOnePercent,
608  theRecoPFTauDiscrByTanCHalfPercent,
609  theRecoPFTauDiscrByTanCQuarterPercent,
610  theRecoPFTauDiscrByTanCTenthPercent,
611  theRecoPFTauDiscrByIsolation,
612  theRecoPFTauDiscrAgainstMuon,
613  theRecoPFTauDiscrAgainstElec,
614  recoPFJets,
615  caloTowers,
616  caloTowersCleanerUpperR45,
617  caloTowersCleanerLowerR45,
618  caloTowersCleanerNoR45,
619  recoPFMet,
621  _MinPtGammas,
623  HltTree);
624 
626  muon,
627  pfmuon,
628  l1extmu,
629  mucands2,
630  isoMap2,
631  mucands3,
632  isoMap3,
633  isoTrk10Map3,
634  oniaPixelCands,
635  oniaTrackCands,
636  dimuvtxcands3,
637  munovtxcands2,
638  trkmucands,
639  theMagField,
640  recoBeamSpotHandle,
641  // BSPosition,
642  HltTree);
643 
645  electrons,
646  photons,
647  electronIsoHandle,
648  electronNonIsoHandle,
649  NonIsoTrackEleIsolMap,
650  TrackEleIsolMap,
651  L1IsoPixelSeedsMap,
652  L1NonIsoPixelSeedsMap,
653  recoIsolecalcands,
654  recoNonIsolecalcands,
655  EcalIsolMap,
656  EcalNonIsolMap,
657  HcalEleIsolMap,
658  HcalEleNonIsolMap,
659  HcalIsolMap,
660  HcalNonIsolMap,
661  TrackIsolMap,
662  TrackNonIsolMap,
663  lazyTools,
664  theMagField,
665  BSPosition,
666  eIDValueMap,
667  photonR9IsoHandle,
668  photonR9NonIsoHandle,
669  electronR9IsoHandle,
670  electronR9NonIsoHandle,
671  photonHoverEHIsoHandle,
672  photonHoverEHNonIsoHandle,
673  photonR9IDIsoHandle,
674  photonR9IDNonIsoHandle,
675  electronR9IDIsoHandle,
676  electronR9IDNonIsoHandle,
677  electronHFClusterHandle,
678  electronHFElectronHandle,
679  electronHFClusterAssociation,
680  ActivityCandsHandle,
681  ActivityEcalIsoHandle,
682  ActivityHcalIsoHandle,
683  ActivityTrackIsoHandle,
684  ActivityR9Handle,
685  ActivityR9IDHandle,
686  ActivityHoverEHHandle,
687  HltTree);
688 
690  mctruth,
691  ptHat,
692  simTracks,
693  simVertices,
694  pupInfo,
695  HltTree);
697  isopixeltracksL3,
698  isopixeltracksL2,
699  isopixeltrackPixVertices,
700  pixeltracksL3,
701  pixelfedsize,
702  pixelclusters,
703  HltTree);
704 
706  hltresults,
707  l1extemi,
708  l1extemn,
709  l1extmu,
710  l1extjetc,
711  l1extjetf,
712  l1extjet,
713  l1exttaujet,
714  l1extmet,
715  l1extmht,
716  l1GtRR,
717  gctBitCounts,
718  gctRingSums,
719  iSetup,
720  iEvent,
721  HltTree);
722 
724  hRawBJets,
725  hCorrectedBJets,
726  hCorrectedBJetsL1FastJet,
727  hPFBJets,
728  hLifetimeBJetsL25,
729  hLifetimeBJetsL3,
730  hLifetimeBJetsL25L1FastJet,
731  hLifetimeBJetsL3L1FastJet,
732  hLifetimePFBJetsL3,
733  hLifetimeBJetsL25SingleTrack,
734  hLifetimeBJetsL3SingleTrack,
735  hLifetimeBJetsL25SingleTrackL1FastJet,
736  hLifetimeBJetsL3SingleTrackL1FastJet,
737  hPerformanceBJetsL25,
738  hPerformanceBJetsL3,
739  hPerformanceBJetsL25L1FastJet,
740  hPerformanceBJetsL3L1FastJet,
741  HltTree);
742 
744  recoVertexsHLT,
745  HltTree);
746 
748  recoVertexsOffline0,
749  HltTree);
750 
751  evt_header_.analyze(iEvent, lumicorrdatahandle, HltTree);
752  //evt_header_.analyze(iEvent, HltTree);
753 
754 
755  // std::cout << " Ending Event Analysis" << std::endl;
756  // After analysis, fill the variables tree
757  if (m_file)
758  m_file->cd();
759  HltTree->Fill();
760 }
761 
762 // "endJob" is an inherited method that you may implement to do post-EOF processing and produce final output.
764 
765  if (m_file)
766  m_file->cd();
767 
769  TList *list = HltTree->GetUserInfo();
770  list->Add(new TObjString(thepset.dump().c_str()));
771 
772  HltTree->SetWeight(treeWeight);
773  HltTree->Write();
774  delete HltTree;
775  HltTree = 0;
776 
777  if (m_file) { // if there was a tree file...
778  m_file->Write(); // write out the branches
779  delete m_file; // close and delete the file
780  m_file = 0; // set to zero to clean up
781  }
782 
783 }
const char * kL1extjet
Definition: HLTMessages.cc:40
edm::InputTag L1IsoPixelSeeds_
Definition: HLTAnalyzer.h:153
const char * kDimuvtxcands3
Definition: HLTMessages.cc:60
const char * kECALActivityR9ID
Definition: HLTMessages.cc:133
HLTInfo hlt_analysis_
Definition: HLTAnalyzer.h:74
const char * kGenmet
Definition: HLTMessages.cc:13
TFile * m_file
Definition: HLTAnalyzer.h:205
T getParameter(std::string const &) const
dictionary missing
Definition: combine.py:4
T getUntrackedParameter(std::string const &, T const &) const
const char * kECALActivityR9
Definition: HLTMessages.cc:132
const char * kBTagLifetimeBJetsL25SingleTrack
Definition: HLTMessages.cc:72
edm::InputTag IsoEleHcal_
Definition: HLTAnalyzer.h:149
edm::InputTag L1NonIsoPixelSeeds_
Definition: HLTAnalyzer.h:154
const char * kIsoMap3
Definition: HLTMessages.cc:55
const char * kElectrons
Definition: HLTMessages.cc:83
edm::InputTag MuTrkIsolTag3_
Definition: HLTAnalyzer.h:101
const char * kNonIsoR9
Definition: HLTMessages.cc:103
edm::InputTag gctRingSums_
Definition: HLTAnalyzer.h:99
static bool getCollection(const edm::Event &event, std::vector< MissingCollectionInfo > &missing, edm::Handle< T > &handle, const edm::InputTag &name, const char *description)
Definition: HLTAnalyzer.cc:14
edm::InputTag MuIsolTag3_
Definition: HLTAnalyzer.h:101
edm::InputTag genmet_
Definition: HLTAnalyzer.h:81
edm::InputTag ActivityR9_
Definition: HLTAnalyzer.h:168
edm::InputTag m_lifetimeBJetsL3SingleTrack
Definition: HLTAnalyzer.h:128
edm::InputTag calotowersUpperR45_
Definition: HLTAnalyzer.h:82
const char * kHLTjets
Definition: HLTMessages.cc:4
edm::InputTag m_performanceBJetsL25L1FastJet
Definition: HLTAnalyzer.h:133
const char * kL1exttaujet
Definition: HLTMessages.cc:41
double treeWeight
Definition: HLTAnalyzer.h:79
const char * kNonIsoPhoTrackIsol
Definition: HLTMessages.cc:92
edm::InputTag pileupInfo_
Definition: HLTAnalyzer.h:197
const char * kCaloTowersNoR45
Definition: HLTMessages.cc:17
edm::InputTag PFJets_
Definition: HLTAnalyzer.h:104
edm::InputTag HFElectrons_
Definition: HLTAnalyzer.h:162
const char * kHltresults
Definition: HLTMessages.cc:34
const char * kHcalIsoPho
Definition: HLTMessages.cc:89
edm::InputTag PixelFEDSizeTag_
Definition: HLTAnalyzer.h:190
const char * kPixelClusters
Definition: HLTMessages.cc:124
edm::InputTag Photon_
Definition: HLTAnalyzer.h:138
const char * kPFTaus
Definition: HLTMessages.cc:23
void setup(const edm::ParameterSet &pSet, TTree *tree)
Definition: HLTInfo.cc:55
const char * kPhotons
Definition: HLTMessages.cc:84
edm::InputTag hltcorL1L2L3jets_
Definition: HLTAnalyzer.h:83
const char * kOniaPixelCands
Definition: HLTMessages.cc:58
const char * kL1extmht
Definition: HLTMessages.cc:43
edm::InputTag RecoPFTauDiscrByTanCQuarterPercent_
Definition: HLTAnalyzer.h:110
edm::InputTag m_l1extramet
Definition: HLTAnalyzer.h:94
edm::InputTag VertexTagHLT_
Definition: HLTAnalyzer.h:194
edm::InputTag HcalIsoPho_
Definition: HLTAnalyzer.h:143
edm::InputTag EcalIso_
Definition: HLTAnalyzer.h:141
std::string dump(unsigned int indent=0) const
TTree * HltTree
Definition: HLTAnalyzer.h:57
const char * kNonIsoElectron
Definition: HLTMessages.cc:96
edm::InputTag calotowersNoR45_
Definition: HLTAnalyzer.h:82
EventHeader evt_header_
Default analyses.
Definition: HLTAnalyzer.h:64
const char * kECALActivityTrackIso
Definition: HLTMessages.cc:131
const char * kSimhit
Definition: HLTMessages.cc:49
edm::InputTag IsoEleTrackIsol_
Definition: HLTAnalyzer.h:151
void analyze(const edm::Handle< edm::TriggerResults > &hltresults, const edm::Handle< l1extra::L1EmParticleCollection > &l1extemi, const edm::Handle< l1extra::L1EmParticleCollection > &l1extemn, const edm::Handle< l1extra::L1MuonParticleCollection > &l1extmu, const edm::Handle< l1extra::L1JetParticleCollection > &l1extjetc, const edm::Handle< l1extra::L1JetParticleCollection > &l1extjetf, const edm::Handle< l1extra::L1JetParticleCollection > &l1extjet, const edm::Handle< l1extra::L1JetParticleCollection > &l1exttaujet, const edm::Handle< l1extra::L1EtMissParticleCollection > &l1extmet, const edm::Handle< l1extra::L1EtMissParticleCollection > &l1extmht, const edm::Handle< L1GlobalTriggerReadoutRecord > &l1GTRR, const edm::Handle< L1GctHFBitCountsCollection > &gctBitCounts, const edm::Handle< L1GctHFRingEtSumsCollection > &gctRingSums, edm::EventSetup const &eventSetup, edm::Event const &iEvent, TTree *tree)
Definition: HLTInfo.cc:191
edm::InputTag m_pfBJets
Definition: HLTAnalyzer.h:121
const char * kIsoPixelTrackVertices
Definition: HLTMessages.cc:121
Definition: DDAxes.h:10
virtual void endJob()
Definition: HLTAnalyzer.cc:763
void analyze(const edm::Handle< reco::IsolatedPixelTrackCandidateCollection > &IsoPixelTrackL3, const edm::Handle< reco::IsolatedPixelTrackCandidateCollection > &IsoPixelTrackL2, const edm::Handle< reco::VertexCollection > &pixelVertices, const edm::Handle< reco::RecoChargedCandidateCollection > &PixelTracksL3, const edm::Handle< FEDRawDataCollection > hfedraw, const edm::Handle< edmNew::DetSetVector< SiPixelCluster > > &pixelClusters, TTree *tree)
Definition: HLTTrack.cc:77
edm::InputTag Electron_
Definition: HLTAnalyzer.h:137
const char * kNonIsoEleTrackIsol
Definition: HLTMessages.cc:100
const char * ktheRecoPFTauDiscrAgainstElec
Definition: HLTMessages.cc:33
const char * kHLTCorL1L2L3jets
Definition: HLTMessages.cc:6
edm::InputTag hltresults_
Definition: HLTAnalyzer.h:81
const char * kCaloTowersLowerR45
Definition: HLTMessages.cc:16
edm::InputTag TrackerMuonTag_
Definition: HLTAnalyzer.h:102
const char * kCandIso
Definition: HLTMessages.cc:85
edm::InputTag m_rawBJets
Definition: HLTAnalyzer.h:118
double _EtaMax
Definition: HLTAnalyzer.h:203
edm::LuminosityBlockNumber_t luminosityBlock() const
Definition: EventBase.h:59
const char * kL1GctRingSums
Definition: HLTMessages.cc:47
edm::InputTag IsoPixelTrackTagL2_
Definition: HLTAnalyzer.h:183
std::string l1extramc_
Definition: HLTAnalyzer.h:86
const char * kBTagLifetimeBJetsL3SingleTrackL1FastJet
Definition: HLTMessages.cc:75
edm::InputTag DiMuVtx_
Definition: HLTAnalyzer.h:102
const char * kPixelTracksL3
Definition: HLTMessages.cc:122
math::XYZPoint Point
point in the space
Definition: BeamSpot.h:30
edm::InputTag IsoR9ID_
Definition: HLTAnalyzer.h:158
const char * ktheRecoPFTauDiscrByTanCHalfPercent
Definition: HLTMessages.cc:28
const char * kL1extemi
Definition: HLTMessages.cc:35
const char * kIsoElectron
Definition: HLTMessages.cc:95
const char * kTrkMucands
Definition: HLTMessages.cc:61
const char * kBTagLifetimeBJetsL25SingleTrackL1FastJet
Definition: HLTMessages.cc:74
const char * kL1extmet
Definition: HLTMessages.cc:42
edm::InputTag CandIso_
Definition: HLTAnalyzer.h:139
const char * kPixelFEDSize
Definition: HLTMessages.cc:123
const char * kIsoPhoTrackIsol
Definition: HLTMessages.cc:91
edm::InputTag m_l1extrajet
Definition: HLTAnalyzer.h:92
const char * kECALActivity
Definition: HLTMessages.cc:128
const char * kNonIsoR9ID
Definition: HLTMessages.cc:105
const char * ktheRecoPFTauDiscrByTanCQuarterPercent
Definition: HLTMessages.cc:29
const char * kBTagLifetimeBJetsL3SingleTrack
Definition: HLTMessages.cc:73
const char * kBTagCorrectedJets
Definition: HLTMessages.cc:64
edm::InputTag NonIsoHoverEH_
Definition: HLTAnalyzer.h:160
const char * kL1extemn
Definition: HLTMessages.cc:36
edm::InputTag m_lifetimePFBJetsL3
Definition: HLTAnalyzer.h:126
edm::InputTag IsoPhoTrackIsol_
Definition: HLTAnalyzer.h:145
const char * kIsoMap2
Definition: HLTMessages.cc:54
edm::InputTag m_performanceBJetsL3
Definition: HLTAnalyzer.h:132
HLTTrack track_analysis_
Definition: HLTAnalyzer.h:73
double _MinPtGammas
Definition: HLTAnalyzer.h:204
edm::InputTag RecoPFTauDiscrByTanCOnePercent_
Definition: HLTAnalyzer.h:108
edm::InputTag ActivityHcalIso_
Definition: HLTAnalyzer.h:166
edm::InputTag HFECALClusters_
Definition: HLTAnalyzer.h:161
void getData(T &iHolder) const
Definition: EventSetup.h:67
const char * kBTagPerformanceBJetsL25
Definition: HLTMessages.cc:78
const char * ktheRecoPFTauDiscrAgainstMuon
Definition: HLTMessages.cc:32
edm::InputTag m_performanceBJetsL25
Definition: HLTAnalyzer.h:131
double xSection_
Definition: HLTAnalyzer.h:79
edm::InputTag RecoPFTauDiscrByTanCHalfPercent_
Definition: HLTAnalyzer.h:109
double filterEff_
Definition: HLTAnalyzer.h:79
edm::InputTag m_lifetimeBJetsL3SingleTrackL1FastJet
Definition: HLTAnalyzer.h:130
edm::InputTag reccorjets_
Definition: HLTAnalyzer.h:81
const char * kIsoTrk10Map3
Definition: HLTMessages.cc:56
const char * kBTagCorrectedJetsL1FastJet
Definition: HLTMessages.cc:65
const char * kECALActivityEcalIso
Definition: HLTMessages.cc:129
edm::InputTag ECALActivity_
Definition: HLTAnalyzer.h:164
const char * kRecjets
Definition: HLTMessages.cc:8
const char * kMucands2
Definition: HLTMessages.cc:51
void setup(const edm::ParameterSet &pSet, TTree *tree)
Definition: HLTEgamma.cc:38
void setup(const edm::ParameterSet &pSet, TTree *tree)
Definition: HLTMuon.cc:23
edm::InputTag CandNonIso_
Definition: HLTAnalyzer.h:140
edm::InputTag mctruth_
Definition: HLTAnalyzer.h:97
int iEvent
Definition: GenABIO.cc:243
HLTJets jet_analysis_
Definition: HLTAnalyzer.h:65
edm::InputTag m_l1extramht
Definition: HLTAnalyzer.h:95
std::string _HistName
Definition: HLTAnalyzer.h:202
const char * kIsoR9
Definition: HLTMessages.cc:104
const char * kBTagLifetimeBJetsL25
Definition: HLTMessages.cc:67
edm::InputTag IsoR9_
Definition: HLTAnalyzer.h:156
edm::InputTag NonIsoPhoTrackIsol_
Definition: HLTAnalyzer.h:146
void setup(TTree *tree)
Definition: EventHeader.cc:26
virtual void analyze(edm::Event const &e, edm::EventSetup const &iSetup)
Definition: HLTAnalyzer.cc:237
void setup(const edm::ParameterSet &pSet, TTree *tree, std::string vertexType)
Definition: RECOVertex.cc:49
edm::InputTag m_l1extramu
Definition: HLTAnalyzer.h:87
double _MinPtChargedHadrons
Definition: HLTAnalyzer.h:204
const char * kBTagLifetimeBJetsL25L1FastJet
Definition: HLTMessages.cc:69
edm::InputTag hltcorjets_
Definition: HLTAnalyzer.h:83
std::pair< std::string, MonitorElement * > entry
Definition: ME_MAP.h:8
const char * kCandNonIso
Definition: HLTMessages.cc:86
void analyze(const edm::Handle< reco::GsfElectronCollection > &electrons, const edm::Handle< reco::PhotonCollection > &photons, const edm::Handle< reco::ElectronCollection > &electronIsoHandle, const edm::Handle< reco::ElectronCollection > &electronNonIsoHandle, const edm::Handle< reco::ElectronIsolationMap > &NonIsoTrackEleIsolMap, const edm::Handle< reco::ElectronIsolationMap > &TrackEleIsolMap, const edm::Handle< reco::ElectronSeedCollection > &L1IsoPixelSeedsMap, const edm::Handle< reco::ElectronSeedCollection > &L1NonIsoPixelSeedsMap, const edm::Handle< reco::RecoEcalCandidateCollection > &recoIsolecalcands, const edm::Handle< reco::RecoEcalCandidateCollection > &recoNonIsolecalcands, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &EcalIsolMap, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &EcalNonIsolMap, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &HcalEleIsolMap, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &HcalEleNonIsolMap, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &HcalIsolMap, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &HcalNonIsolMap, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &TrackIsolMap, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &TrackNonIsolMap, EcalClusterLazyTools &lazyTools, const edm::ESHandle< MagneticField > &theMagField, reco::BeamSpot::Point &BSPosition, std::vector< edm::Handle< edm::ValueMap< float > > > &eIDValueMap, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &photonR9IsoMap, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &photonR9NonIsoMap, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &electronR9IsoMap, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &electronR9NonIsoMap, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &photonHoverEHIsoMap, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &photonHoverEHNonIsoMap, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &photonR9IDIsoMap, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &photonR9IDNonIsoMap, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &electronR9IDIsoMap, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &electronR9IDNonIsoMap, const edm::Handle< reco::SuperClusterCollection > &electronHFClusterHandle, const edm::Handle< reco::RecoEcalCandidateCollection > &electronHFElectronHandle, const edm::Handle< reco::HFEMClusterShapeAssociationCollection > &electronHFClusterAssociation, const edm::Handle< reco::RecoEcalCandidateCollection > &activityECAL, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &activityEcalIsoMap, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &activityHcalIsoMap, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &activityTrackIsoMap, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &activityR9Map, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &activityR9IDMap, const edm::Handle< reco::RecoEcalCandidateIsolationMap > &activityHoverEHMap, TTree *tree)
Definition: HLTEgamma.cc:319
edm::InputTag gctBitCounts_
Definition: HLTAnalyzer.h:99
edm::InputTag NonIsoElectron_
Definition: HLTAnalyzer.h:148
edm::InputTag VertexTagOffline0_
Definition: HLTAnalyzer.h:195
const char * kRecoPFJets
Definition: HLTMessages.cc:19
edm::InputTag NonIsoR9ID_
Definition: HLTAnalyzer.h:157
edm::InputTag m_correctedBJets
Definition: HLTAnalyzer.h:119
tuple handle
Definition: patZpeak.py:22
void analyze(edm::Event const &iEvent, const edm::Handle< reco::CaloJetCollection > &ohjets, const edm::Handle< reco::CaloJetCollection > &ohcorjets, const edm::Handle< reco::CaloJetCollection > &ohcorL1L2L3jets, const edm::Handle< double > &rho, const edm::Handle< reco::CaloJetCollection > &recojets, const edm::Handle< reco::CaloJetCollection > &recocorjets, const edm::Handle< reco::GenJetCollection > &gjets, const edm::Handle< reco::CaloMETCollection > &rmets, const edm::Handle< reco::GenMETCollection > &gmets, const edm::Handle< reco::METCollection > &ht, const edm::Handle< reco::CaloJetCollection > &myHLTL2Tau, const edm::Handle< reco::HLTTauCollection > &myHLTTau, const edm::Handle< reco::PFTauCollection > &myHLTPFTau, const edm::Handle< reco::PFTauCollection > &myHLTPFTauTightCone, const edm::Handle< reco::PFJetCollection > &myHLTPFJets, const edm::Handle< reco::PFTauCollection > &myRecoPFTau, const edm::Handle< reco::PFTauDiscriminator > &theRecoPFTauDiscrByTanCOnePercent, const edm::Handle< reco::PFTauDiscriminator > &theRecoPFTauDiscrByTanCHalfPercent, const edm::Handle< reco::PFTauDiscriminator > &theRecoPFTauDiscrByTanCQuarterPercent, const edm::Handle< reco::PFTauDiscriminator > &theRecoPFTauDiscrByTanCTenthPercent, const edm::Handle< reco::PFTauDiscriminator > &theRecoPFTauDiscrByIsolation, const edm::Handle< reco::PFTauDiscriminator > &theRecoPFTauDiscrAgainstElec, const edm::Handle< reco::PFTauDiscriminator > &theRecoPFTauDiscrAgainstMuon, const edm::Handle< reco::PFJetCollection > &recoPFJets, const edm::Handle< CaloTowerCollection > &caloTowers, const edm::Handle< CaloTowerCollection > &caloTowersCleanerUpperR45, const edm::Handle< CaloTowerCollection > &caloTowersCleanerLowerR45, const edm::Handle< CaloTowerCollection > &caloTowersCleanerNoR45, const edm::Handle< reco::PFMETCollection > &pfmets, double thresholdForSavingTowers, double minPtCH, double minPtGamma, TTree *tree)
Definition: HLTJets.cc:400
const char * kIsoPixelTracksL3
Definition: HLTMessages.cc:119
const char * kMctruth
Definition: HLTMessages.cc:48
const char * kRho
Definition: HLTMessages.cc:7
int firstLumi_
Definition: HLTAnalyzer.h:78
const char * kTaus
Definition: HLTMessages.cc:22
void analyze(edm::Handle< reco::VertexCollection > recoVertexs, TTree *tree)
Definition: RECOVertex.cc:92
edm::InputTag ActivityEcalIso_
Definition: HLTAnalyzer.h:165
edm::InputTag RecoPFTauAgainstMuon_
Definition: HLTAnalyzer.h:113
edm::InputTag ActivityTrackIso_
Definition: HLTAnalyzer.h:167
void beginRun(const edm::Run &, const edm::EventSetup &)
Definition: HLTInfo.cc:34
const char * kBTagLifetimeBJetsL3
Definition: HLTMessages.cc:68
const char * kBTagPerformanceBJetsL3
Definition: HLTMessages.cc:79
void setup(const edm::ParameterSet &pSet, TTree *tree)
Definition: HLTTrack.cc:24
const char * kIsoHoverEH
Definition: HLTMessages.cc:107
edm::InputTag MuNoVtxCandTag2_
Definition: HLTAnalyzer.h:101
const char * kHcalNonIsoPho
Definition: HLTMessages.cc:90
edm::InputTag PixelClustersTag_
Definition: HLTAnalyzer.h:191
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
const char * kBTagPerformanceBJetsL25L1FastJet
Definition: HLTMessages.cc:80
edm::InputTag L2Tau_
Definition: HLTAnalyzer.h:103
bool isValid() const
Definition: HandleBase.h:76
edm::InputTag m_correctedBJetsL1FastJet
Definition: HLTAnalyzer.h:120
std::pair< const char *, const edm::InputTag * > MissingCollectionInfo
Definition: HLTAnalyzer.cc:10
edm::InputTag recoPFMet_
Definition: HLTAnalyzer.h:81
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:361
std::string l1extramu_
Definition: HLTAnalyzer.h:86
edm::InputTag gtReadoutRecord_
Definition: HLTAnalyzer.h:98
edm::InputTag PFTauTightCone_
Definition: HLTAnalyzer.h:103
const char * ktheRecoPFTauDiscrByTanCOnePercent
Definition: HLTMessages.cc:27
tuple conf
Definition: dbtoconf.py:185
edm::InputTag IsoPixelTrackVerticesTag_
Definition: HLTAnalyzer.h:184
edm::InputTag EcalNonIso_
Definition: HLTAnalyzer.h:142
const char * kL1extmu
Definition: HLTMessages.cc:37
edm::InputTag IsoElectron_
Definition: HLTAnalyzer.h:147
const char * ktheRecoPFTauDiscrByTanCTenthPercent
Definition: HLTMessages.cc:30
edm::InputTag ActivityR9ID_
Definition: HLTAnalyzer.h:169
edm::InputTag oniaPixelTag_
Definition: HLTAnalyzer.h:102
edm::InputTag MuCandTag3_
Definition: HLTAnalyzer.h:101
tuple out
Definition: dbtoconf.py:99
const char * kECALActivityHoverEH
Definition: HLTMessages.cc:134
void analyze(const edm::Handle< reco::CandidateView > &mctruth, const double &pthat, const edm::Handle< std::vector< SimTrack > > &simTracks, const edm::Handle< std::vector< SimVertex > > &simVertices, const edm::Handle< std::vector< PileupSummaryInfo > > &PupInfo, TTree *tree)
Definition: HLTMCtruth.cc:70
edm::InputTag MuIsolTag2_
Definition: HLTAnalyzer.h:101
void analyze(const edm::Handle< reco::MuonCollection > &muon, const edm::Handle< reco::PFCandidateCollection > &pfmuon, const edm::Handle< l1extra::L1MuonParticleCollection > &mucands1, const edm::Handle< reco::RecoChargedCandidateCollection > &mucands2, const edm::Handle< edm::ValueMap< bool > > &isoMap2, const edm::Handle< reco::RecoChargedCandidateCollection > &mucands3, const edm::Handle< edm::ValueMap< bool > > &isoMap3, const edm::Handle< edm::ValueMap< bool > > &isoTrk10Map3, const edm::Handle< reco::RecoChargedCandidateCollection > &oniaPixelCands, const edm::Handle< reco::RecoChargedCandidateCollection > &oniaTrackCands, const edm::Handle< reco::VertexCollection > &dimuvtxcands3, const edm::Handle< reco::RecoChargedCandidateCollection > &munovtxcands2, const edm::Handle< reco::MuonCollection > &trkmucands, const edm::ESHandle< MagneticField > &theMagField, const edm::Handle< reco::BeamSpot > &recoBeamSpotHandle, TTree *tree)
Definition: HLTMuon.cc:281
const char * kBTagPerformanceBJetsL3L1FastJet
Definition: HLTMessages.cc:81
tuple description
Definition: idDealer.py:66
const char * kpfMuon
Definition: HLTMessages.cc:21
edm::InputTag oniaTrackTag_
Definition: HLTAnalyzer.h:102
static int errMax()
Definition: HLTAnalyzer.h:200
const char * kGenjets
Definition: HLTMessages.cc:10
edm::InputTag MuCandTag2_
Definition: HLTAnalyzer.h:101
HLTEgamma elm_analysis_
Definition: HLTAnalyzer.h:68
RECOVertex vrt_analysisOffline0_
Definition: HLTAnalyzer.h:76
const char * kBTagLifetimeBJetsL3L1FastJet
Definition: HLTMessages.cc:70
const char * kBTagLifetimePFBJetsL3
Definition: HLTMessages.cc:71
edm::InputTag RecoPFTauDiscrByTanCTenthPercent_
Definition: HLTAnalyzer.h:111
const char * kCaloTowersUpperR45
Definition: HLTMessages.cc:15
edm::InputTag RecoPFTauAgainstElec_
Definition: HLTAnalyzer.h:114
const char * kHt
Definition: HLTMessages.cc:18
ParameterSet const & getProcessParameterSet()
Definition: Registry.cc:34
const char * kECALActivityHcalIso
Definition: HLTMessages.cc:130
const char * kNonIsoHoverEH
Definition: HLTMessages.cc:108
HLTBJet bjet_analysis_
Definition: HLTAnalyzer.h:66
const char * kBTagPFJets
Definition: HLTMessages.cc:66
const char * kHFElectrons
Definition: HLTMessages.cc:94
const char * kHFECALClusters
Definition: HLTMessages.cc:93
const char * kIsoR9ID
Definition: HLTMessages.cc:106
const char * kHLTCorjets
Definition: HLTMessages.cc:5
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
Definition: HLTAnalyzer.cc:231
const char * kEcalIso
Definition: HLTMessages.cc:87
const T & get() const
Definition: EventSetup.h:55
edm::InputTag IsoPixelTrackTagL3_
Definition: HLTAnalyzer.h:182
const char * kL1extjetc
Definition: HLTMessages.cc:38
edm::InputTag m_lifetimeBJetsL25SingleTrackL1FastJet
Definition: HLTAnalyzer.h:129
edm::InputTag HcalNonIsoPho_
Definition: HLTAnalyzer.h:144
edm::InputTag PFTau_
Definition: HLTAnalyzer.h:103
const char * kL1GtRR
Definition: HLTMessages.cc:44
const char * kL1GctBitCounts
Definition: HLTMessages.cc:46
edm::InputTag m_lifetimeBJetsL3
Definition: HLTAnalyzer.h:123
edm::InputTag hltjets_
Definition: HLTAnalyzer.h:83
edm::InputTag calotowers_
Definition: HLTAnalyzer.h:81
void analyze(const edm::Handle< edm::View< reco::Jet > > &rawBJets, const edm::Handle< edm::View< reco::Jet > > &correctedBJets, const edm::Handle< edm::View< reco::Jet > > &correctedBJetsL1FastJet, const edm::Handle< edm::View< reco::Jet > > &pfBJets, const edm::Handle< reco::JetTagCollection > &lifetimeBJetsL25, const edm::Handle< reco::JetTagCollection > &lifetimeBJetsL3, const edm::Handle< reco::JetTagCollection > &lifetimeBJetsL25L1FastJet, const edm::Handle< reco::JetTagCollection > &lifetimeBJetsL3L1FastJet, const edm::Handle< reco::JetTagCollection > &lifetimePFBJetsL3, const edm::Handle< reco::JetTagCollection > &lifetimeBJetsL25SingleTrack, const edm::Handle< reco::JetTagCollection > &lifetimeBJetsL3SingleTrack, const edm::Handle< reco::JetTagCollection > &lifetimeBJetsL25SingleTrackL1FastJet, const edm::Handle< reco::JetTagCollection > &lifetimeBJetsL3SingleTrackL1FastJet, const edm::Handle< reco::JetTagCollection > &performanceBJetsL25, const edm::Handle< reco::JetTagCollection > &performanceBJetsL3, const edm::Handle< reco::JetTagCollection > &performanceBJetsL25L1FastJet, const edm::Handle< reco::JetTagCollection > &performanceBJetsL3L1FastJet, TTree *tree)
Definition: HLTBJet.cc:216
edm::InputTag simhits_
Definition: HLTAnalyzer.h:97
edm::InputTag recoPFJets_
Definition: HLTAnalyzer.h:81
std::string const & label() const
Definition: InputTag.h:42
edm::InputTag m_l1extraemi
Definition: HLTAnalyzer.h:88
const char * kCaloTowers
Definition: HLTMessages.cc:14
void setup(const edm::ParameterSet &pSet, TTree *tree)
Definition: HLTJets.cc:28
const char * kRecoVerticesHLT
Definition: HLTMessages.cc:126
edm::InputTag HLTTau_
Definition: HLTAnalyzer.h:103
const char * kRecoVerticesOffline0
Definition: HLTMessages.cc:127
const char * kL1extjetf
Definition: HLTMessages.cc:39
HLTMCtruth mct_analysis_
Definition: HLTAnalyzer.h:69
edm::InputTag genjets_
Definition: HLTAnalyzer.h:81
const char * kGenEventInfo
Definition: HLTMessages.cc:50
HLTMuon muon_analysis_
Definition: HLTAnalyzer.h:67
edm::InputTag pfmuon_
Definition: HLTAnalyzer.h:85
HLTAnalyzer(edm::ParameterSet const &conf)
Definition: HLTAnalyzer.cc:27
RECOVertex vrt_analysisHLT_
Definition: HLTAnalyzer.h:75
const char * kRecmet
Definition: HLTMessages.cc:11
const char * kMunovtxcands2
Definition: HLTMessages.cc:53
double _EtaMin
Definition: HLTAnalyzer.h:203
edm::InputTag m_lifetimeBJetsL3L1FastJet
Definition: HLTAnalyzer.h:125
const char * kL1NonIsoPixelSeeds
Definition: HLTMessages.cc:102
edm::InputTag IsoHoverEH_
Definition: HLTAnalyzer.h:159
const char * kEcalNonIso
Definition: HLTMessages.cc:88
const char * kPFJets
Definition: HLTMessages.cc:25
const char * kMucands3
Definition: HLTMessages.cc:52
void setup(const edm::ParameterSet &pSet, TTree *tree)
Definition: HLTMCtruth.cc:23
edm::InputTag NonIsoR9_
Definition: HLTAnalyzer.h:155
tuple cout
Definition: gather_cfg.py:121
edm::InputTag ActivityHoverEH_
Definition: HLTAnalyzer.h:170
edm::InputTag NonIsoEleHcal_
Definition: HLTAnalyzer.h:150
edm::InputTag NonIsoEleTrackIsol_
Definition: HLTAnalyzer.h:152
const char * kPFTausTightCone
Definition: HLTMessages.cc:24
const char * kIsoPixelTracksL2
Definition: HLTMessages.cc:120
edm::InputTag RecoPFTau_
Definition: HLTAnalyzer.h:107
edm::InputTag PixelTracksTagL3_
Definition: HLTAnalyzer.h:189
void setup(const edm::ParameterSet &config, TTree *tree)
Definition: HLTBJet.cc:166
edm::InputTag muon_
Definition: HLTAnalyzer.h:84
edm::InputTag genEventInfo_
Definition: HLTAnalyzer.h:81
edm::InputTag recjets_
Definition: HLTAnalyzer.h:81
edm::InputTag m_l1extrajetf
Definition: HLTAnalyzer.h:91
void analyze(edm::Event const &iEvent, const edm::ESHandle< LumiCorrectionParam > &lumiCorr, TTree *tree)
Definition: EventHeader.cc:44
edm::InputTag m_lifetimeBJetsL25
Definition: HLTAnalyzer.h:122
edm::InputTag recmet_
Definition: HLTAnalyzer.h:81
edm::InputTag m_lifetimeBJetsL25SingleTrack
Definition: HLTAnalyzer.h:127
const char * kIsoEleHcal
Definition: HLTMessages.cc:97
const char * ktheRecoPFTauDiscrByIsolation
Definition: HLTMessages.cc:31
const char * kOniaTrackCands
Definition: HLTMessages.cc:59
edm::InputTag m_performanceBJetsL3L1FastJet
Definition: HLTAnalyzer.h:134
edm::InputTag m_l1extrajetc
Definition: HLTAnalyzer.h:90
Definition: Run.h:36
const char * kIsoEleTrackIsol
Definition: HLTMessages.cc:99
const char * kRecCorjets
Definition: HLTMessages.cc:9
const char * kBTagJets
Definition: HLTMessages.cc:63
const char * kPFMet
Definition: HLTMessages.cc:12
int towerThreshold_
Definition: HLTAnalyzer.h:78
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run
edm::InputTag m_l1extraemn
Definition: HLTAnalyzer.h:89
const char * kRecoPFTaus
Definition: HLTMessages.cc:26
edm::InputTag calotowersLowerR45_
Definition: HLTAnalyzer.h:82
const char * kPileupInfo
Definition: HLTMessages.cc:136
edm::InputTag ht_
Definition: HLTAnalyzer.h:81
edm::InputTag m_lifetimeBJetsL25L1FastJet
Definition: HLTAnalyzer.h:124
edm::InputTag m_l1extrataujet
Definition: HLTAnalyzer.h:93
edm::InputTag RecoPFTauDiscrByIso_
Definition: HLTAnalyzer.h:112
edm::InputTag rho_
Definition: HLTAnalyzer.h:83
const char * kL1IsoPixelSeeds
Definition: HLTMessages.cc:101