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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
#ifndef DQMOFFLINE_TRIGGER_JETMETHLTOFFLINECLIENT
#define DQMOFFLINE_TRIGGER_JETMETHLTOFFLINECLIENT
// -*- C++ -*-
//
// Package: JetMETHLTOffline
// Class: JetMETHLTOffline
//
/*
Description: This is a DQM client meant to plot high-level HLT trigger quantities
as stored in the HLT results object TriggerResults for the JetMET triggers
*/
//
// Originally create by: Kenichi Hatakeyama
// April 2009
//
// Migrated to use DQMEDHarvester by: Jyothsna Rani Komaragiri, Oct 2014
//
#include <memory>
#include <unistd.h>
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "DQMServices/Core/interface/DQMStore.h"
#include "DQMServices/Core/interface/DQMEDHarvester.h"
#include "DataFormats/Common/interface/Handle.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "DataFormats/Math/interface/LorentzVector.h"
#include "DataFormats/Common/interface/TriggerResults.h"
#include "DataFormats/HLTReco/interface/TriggerEvent.h"
#include "DataFormats/HLTReco/interface/TriggerObject.h"
#include "DataFormats/HLTReco/interface/TriggerTypeDefs.h"
#include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
#include "DataFormats/JetReco/interface/CaloJetCollection.h"
#include "DataFormats/METReco/interface/CaloMETCollection.h"
#include "DataFormats/METReco/interface/CaloMET.h"
#include <iostream>
#include <fstream>
#include <vector>
class JetMETHLTOfflineClient : public DQMEDHarvester {
private:
edm::ParameterSet conf_;
bool debug_;
bool verbose_;
std::string dirName_;
std::string hltTag_;
std::string processname_;
public:
explicit JetMETHLTOfflineClient(const edm::ParameterSet &);
~JetMETHLTOfflineClient() override;
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override; //performed in the endJob
};
#endif
|