HLTInspect

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
// -*- C++ -*-
//
// Package:   PhysDecl
// Class:     PhysDecl
//
// Original Author:  Luca Malgeri

#ifndef HLTINSPECT_H
#define HLTINSPECT_H

// system include files
#include <memory>
#include <vector>
#include <map>
#include <set>

// user include files
#include "FWCore/Utilities/interface/InputTag.h"
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

//
// class declaration
//

class HLTInspect : public edm::one::EDAnalyzer<> {
public:
  explicit HLTInspect(const edm::ParameterSet&);
  ~HLTInspect() override;

private:
  void analyze(const edm::Event& e, const edm::EventSetup& c) override;
  std::vector<std::string> hlNames_;  // name of each HLT algorithm
  edm::InputTag hlTriggerResults_;
  bool init_;
};

#endif