File indexing completed on 2023-03-17 10:58:36
0001 #ifndef DQMOffline_Trigger_HMesonGammaDQM_h
0002 #define DQMOffline_Trigger_HMesonGammaDQM_h
0003
0004 #include <vector>
0005 #include "TLorentzVector.h"
0006
0007 #include "DQMOffline/Trigger/plugins/TriggerDQMBase.h"
0008 #include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
0009 #include "DQMServices/Core/interface/DQMStore.h"
0010 #include "DataFormats/JetReco/interface/PFJet.h"
0011 #include "DataFormats/METReco/interface/PFMET.h"
0012 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0013
0014 #include "DataFormats/EgammaCandidates/interface/Photon.h"
0015 #include "DataFormats/EgammaCandidates/interface/PhotonFwd.h"
0016
0017 class HMesonGammaDQM : public TriggerDQMBase {
0018 public:
0019 HMesonGammaDQM();
0020 ~HMesonGammaDQM() override;
0021
0022 void initialise(const edm::ParameterSet& iConfig);
0023 void bookHistograms(DQMStore::IBooker&);
0024 void fillHistograms(const reco::PhotonCollection& photons,
0025 const std::vector<TLorentzVector>& mesons,
0026 const int ls,
0027 const bool passCond);
0028 static void fillHmgDescription(edm::ParameterSetDescription& histoPSet);
0029
0030 private:
0031 std::vector<double> gammapt_variable_binning_;
0032 std::vector<double> mesonpt_variable_binning_;
0033
0034 MEbinning eta_binning_;
0035 MEbinning ls_binning_;
0036
0037
0038 ObjME gammaptME_;
0039 ObjME mesonptME_;
0040 ObjME gammaetaME_;
0041 ObjME mesonetaME_;
0042 ObjME gammaetaVsLS_;
0043 };
0044
0045 #endif