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
|
#ifndef DQMOFFLINE_TRIGGER_HLTInclusiveVBFClient
#define DQMOFFLINE_TRIGGER_HLTInclusiveVBFClient
// -*- C++ -*-
//
// Package: HLTInclusiveVBFClient
// Class: HLTInclusiveVBFClient
//
#include <memory>
#include <unistd.h>
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "DQMServices/Core/interface/DQMStore.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 HLTInclusiveVBFClient : public edm::one::EDAnalyzer<edm::one::SharedResources, edm::one::WatchLuminosityBlocks> {
public:
typedef dqm::legacy::MonitorElement MonitorElement;
typedef dqm::legacy::DQMStore DQMStore;
private:
DQMStore* dbe_; //dbe seems to be the standard name for this, I dont know why. We of course dont own it
edm::ParameterSet conf_;
bool debug_;
bool verbose_;
std::string dirName_;
std::string hltTag_;
std::string processname_;
public:
explicit HLTInclusiveVBFClient(const edm::ParameterSet&);
~HLTInclusiveVBFClient() override;
void analyze(const edm::Event&, const edm::EventSetup&) override;
void beginLuminosityBlock(edm::LuminosityBlock const&, edm::EventSetup const&) override {}
void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& c) override;
virtual void runClient_();
};
#endif
|