Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:09:51

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/ParameterSet/interface/ParameterSet.h"
0024 #include "DQMServices/Core/interface/DQMStore.h"
0025 #include "DQMServices/Core/interface/DQMEDHarvester.h"
0026 
0027 #include "DataFormats/Common/interface/Handle.h"
0028 #include "FWCore/Framework/interface/Event.h"
0029 #include "FWCore/Framework/interface/EventSetup.h"
0030 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0031 #include "FWCore/ServiceRegistry/interface/Service.h"
0032 #include "DataFormats/Math/interface/LorentzVector.h"
0033 
0034 #include "DataFormats/Common/interface/TriggerResults.h"
0035 #include "DataFormats/HLTReco/interface/TriggerEvent.h"
0036 #include "DataFormats/HLTReco/interface/TriggerObject.h"
0037 #include "DataFormats/HLTReco/interface/TriggerTypeDefs.h"
0038 #include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
0039 
0040 #include "DataFormats/JetReco/interface/CaloJetCollection.h"
0041 #include "DataFormats/METReco/interface/CaloMETCollection.h"
0042 #include "DataFormats/METReco/interface/CaloMET.h"
0043 
0044 #include <iostream>
0045 #include <fstream>
0046 #include <vector>
0047 
0048 class JetMETHLTOfflineClient : public DQMEDHarvester {
0049 private:
0050   edm::ParameterSet conf_;
0051 
0052   bool debug_;
0053   bool verbose_;
0054 
0055   std::string dirName_;
0056   std::string hltTag_;
0057   std::string processname_;
0058 
0059 public:
0060   explicit JetMETHLTOfflineClient(const edm::ParameterSet &);
0061   ~JetMETHLTOfflineClient() override;
0062 
0063   void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override;  //performed in the endJob
0064 };
0065 
0066 #endif