Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:21:00

0001 #ifndef SUSY_HLT_alphaT_H
0002 #define SUSY_HLT_alphaT_H
0003 
0004 // event
0005 #include "FWCore/Framework/interface/Event.h"
0006 #include "FWCore/Framework/interface/EventSetup.h"
0007 
0008 // DQM
0009 #include "DQMServices/Core/interface/DQMEDAnalyzer.h"
0010 #include "DQMServices/Core/interface/DQMStore.h"
0011 
0012 // Muon
0013 #include "DataFormats/MuonReco/interface/Muon.h"
0014 #include "DataFormats/MuonReco/interface/MuonFwd.h"
0015 
0016 // MET
0017 #include "DataFormats/METReco/interface/CaloMET.h"
0018 #include "DataFormats/METReco/interface/CaloMETCollection.h"
0019 #include "DataFormats/METReco/interface/PFMET.h"
0020 #include "DataFormats/METReco/interface/PFMETCollection.h"
0021 
0022 // Jets
0023 #include "DataFormats/JetReco/interface/CaloJet.h"
0024 #include "DataFormats/JetReco/interface/PFJet.h"
0025 
0026 // Trigger
0027 #include "DataFormats/Common/interface/TriggerResults.h"
0028 #include "DataFormats/HLTReco/interface/TriggerEvent.h"
0029 #include "DataFormats/HLTReco/interface/TriggerEventWithRefs.h"
0030 #include "DataFormats/HLTReco/interface/TriggerObject.h"
0031 #include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
0032 
0033 #include "HLTrigger/JetMET/interface/AlphaT.h"
0034 
0035 class SUSY_HLT_alphaT : public DQMEDAnalyzer {
0036 public:
0037   SUSY_HLT_alphaT(const edm::ParameterSet &ps);
0038   ~SUSY_HLT_alphaT() override;
0039 
0040 protected:
0041   void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override;
0042   void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
0043   void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override;
0044 
0045 private:
0046   // histos booking function
0047   void bookHistos(DQMStore::IBooker &);
0048 
0049   // variables from config file
0050   edm::EDGetTokenT<reco::PFJetCollection> thePfJetCollection_;
0051   // edm::EDGetTokenT<reco::CaloJetCollection> theCaloJetCollection_;
0052   edm::EDGetTokenT<edm::TriggerResults> triggerResults_;
0053   edm::EDGetTokenT<trigger::TriggerEvent> theTrigSummary_;
0054 
0055   HLTConfigProvider fHltConfig;
0056 
0057   std::string HLTProcess_;
0058   std::string triggerPath_;
0059   std::string triggerPathAuxiliaryForMuon_;
0060   std::string triggerPathAuxiliaryForHadronic_;
0061   edm::InputTag triggerPreFilter_;
0062   edm::InputTag triggerFilter_;
0063   double ptThrJet_;
0064   double etaThrJet_;
0065   double pfAlphaTThrTurnon_;
0066   double pfHtThrTurnon_;
0067   /* double caloAlphaTThrTurnon_; */
0068   /* double caloHtThrTurnon_; */
0069 
0070   // Histograms
0071   /* MonitorElement* h_triggerCaloHt; */
0072   /* MonitorElement* h_triggerCaloAlphaT; */
0073   /* MonitorElement* h_triggerCaloAlphaT_triggerCaloHt; */
0074   /* MonitorElement* h_caloAlphaTTurnOn_num; */
0075   /* MonitorElement* h_caloAlphaTTurnOn_den; */
0076   /* MonitorElement* h_caloHtTurnOn_num; */
0077   /* MonitorElement* h_caloHtTurnOn_den; */
0078 
0079   MonitorElement *h_triggerPfHt;
0080   MonitorElement *h_triggerPfAlphaT;
0081   MonitorElement *h_triggerPfAlphaT_triggerPfHt;
0082   MonitorElement *h_pfAlphaTTurnOn_num;
0083   MonitorElement *h_pfAlphaTTurnOn_den;
0084   MonitorElement *h_pfHtTurnOn_num;
0085   MonitorElement *h_pfHtTurnOn_den;
0086 };
0087 
0088 #endif