Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:13:19

0001 #ifndef DQMOFFLINE_TRIGGER_HLTInclusiveVBFClient
0002 #define DQMOFFLINE_TRIGGER_HLTInclusiveVBFClient
0003 
0004 // -*- C++ -*-
0005 //
0006 // Package:    HLTInclusiveVBFClient
0007 // Class:      HLTInclusiveVBFClient
0008 //
0009 
0010 #include <memory>
0011 #include <unistd.h>
0012 #include <FWCore/Framework/interface/EDAnalyzer.h>
0013 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0014 #include "DQMServices/Core/interface/DQMStore.h"
0015 #include "DataFormats/Common/interface/Handle.h"
0016 #include "FWCore/Framework/interface/Event.h"
0017 #include "FWCore/Framework/interface/EventSetup.h"
0018 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0019 #include "FWCore/ServiceRegistry/interface/Service.h"
0020 #include "DataFormats/Math/interface/LorentzVector.h"
0021 
0022 #include "DataFormats/Common/interface/TriggerResults.h"
0023 #include "DataFormats/HLTReco/interface/TriggerEvent.h"
0024 #include "DataFormats/HLTReco/interface/TriggerObject.h"
0025 #include "DataFormats/HLTReco/interface/TriggerTypeDefs.h"
0026 #include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
0027 
0028 #include "DataFormats/JetReco/interface/CaloJetCollection.h"
0029 #include "DataFormats/METReco/interface/CaloMETCollection.h"
0030 #include "DataFormats/METReco/interface/CaloMET.h"
0031 
0032 #include <iostream>
0033 #include <fstream>
0034 #include <vector>
0035 
0036 class HLTInclusiveVBFClient : public edm::EDAnalyzer {
0037 public:
0038   typedef dqm::legacy::MonitorElement MonitorElement;
0039   typedef dqm::legacy::DQMStore DQMStore;
0040 
0041 private:
0042   DQMStore* dbe_;  //dbe seems to be the standard name for this, I dont know why. We of course dont own it
0043 
0044   edm::ParameterSet conf_;
0045 
0046   bool debug_;
0047   bool verbose_;
0048 
0049   std::string dirName_;
0050   std::string hltTag_;
0051   std::string processname_;
0052 
0053 public:
0054   explicit HLTInclusiveVBFClient(const edm::ParameterSet&);
0055   ~HLTInclusiveVBFClient() override;
0056 
0057   void beginRun(const edm::Run& run, const edm::EventSetup& c) override;
0058   void endRun(const edm::Run& run, const edm::EventSetup& c) override;
0059   void analyze(const edm::Event&, const edm::EventSetup&) override;
0060   void endLuminosityBlock(const edm::LuminosityBlock& lumiSeg, const edm::EventSetup& c) override;
0061   virtual void runClient_();
0062 };
0063 
0064 #endif