Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef DQMOFFLINE_TRIGGER_JETMETHLTOFFLINECLIENT
0002 #define DQMOFFLINE_TRIGGER_JETMETHLTOFFLINECLIENT
0003 
0004 // -*- C++ -*-
0005 //
0006 // Package:    JetMETHLTOffline
0007 // Class:      JetMETHLTOffline
0008 //
0009 /*
0010  Description: This is a DQM client meant to plot high-level HLT trigger quantities 
0011  as stored in the HLT results object TriggerResults for the JetMET triggers
0012 */
0013 
0014 //
0015 // Originally create by:  Kenichi Hatakeyama
0016 //                        April 2009
0017 //
0018 // Migrated to use DQMEDHarvester by: Jyothsna Rani Komaragiri, Oct 2014
0019 //
0020 
0021 #include <memory>
0022 #include <unistd.h>
0023 #include <FWCore/Framework/interface/EDAnalyzer.h>
0024 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0025 #include "DQMServices/Core/interface/DQMStore.h"
0026 #include "DQMServices/Core/interface/DQMEDHarvester.h"
0027 
0028 #include "DataFormats/Common/interface/Handle.h"
0029 #include "FWCore/Framework/interface/Event.h"
0030 #include "FWCore/Framework/interface/EventSetup.h"
0031 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0032 #include "FWCore/ServiceRegistry/interface/Service.h"
0033 #include "DataFormats/Math/interface/LorentzVector.h"
0034 
0035 #include "DataFormats/Common/interface/TriggerResults.h"
0036 #include "DataFormats/HLTReco/interface/TriggerEvent.h"
0037 #include "DataFormats/HLTReco/interface/TriggerObject.h"
0038 #include "DataFormats/HLTReco/interface/TriggerTypeDefs.h"
0039 #include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
0040 
0041 #include "DataFormats/JetReco/interface/CaloJetCollection.h"
0042 #include "DataFormats/METReco/interface/CaloMETCollection.h"
0043 #include "DataFormats/METReco/interface/CaloMET.h"
0044 
0045 #include <iostream>
0046 #include <fstream>
0047 #include <vector>
0048 
0049 class JetMETHLTOfflineClient : public DQMEDHarvester {
0050 private:
0051   edm::ParameterSet conf_;
0052 
0053   bool debug_;
0054   bool verbose_;
0055 
0056   std::string dirName_;
0057   std::string hltTag_;
0058   std::string processname_;
0059 
0060 public:
0061   explicit JetMETHLTOfflineClient(const edm::ParameterSet &);
0062   ~JetMETHLTOfflineClient() override;
0063 
0064   void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;  //performed in the endJob
0065 };
0066 
0067 #endif