From 13ba479932f5b42790f17143873ec7a5045facf9 Mon Sep 17 00:00:00 2001 From: caruta <42809546+caruta@users.noreply.github.com> Date: Tue, 25 Jul 2023 06:59:18 +0200 Subject: [PATCH] Removing StringCutObjectSelector from Muon trigger DQM --- .../Trigger/interface/HLTMuonMatchAndPlot.h | 29 ++++++++++++------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/DQMOffline/Trigger/interface/HLTMuonMatchAndPlot.h b/DQMOffline/Trigger/interface/HLTMuonMatchAndPlot.h index 17bb7530b26c7..09e6b9b3adbd7 100644 --- a/DQMOffline/Trigger/interface/HLTMuonMatchAndPlot.h +++ b/DQMOffline/Trigger/interface/HLTMuonMatchAndPlot.h @@ -35,7 +35,7 @@ #include "DataFormats/BeamSpot/interface/BeamSpot.h" #include "DataFormats/Math/interface/deltaR.h" -#include "CommonTools/Utils/interface/StringCutObjectSelector.h" +//#include "CommonTools/Utils/interface/StringCutObjectSelector.h" #include #include "TFile.h" @@ -85,16 +85,18 @@ class HLTMuonMatchAndPlot { void book2D(DQMStore::IBooker &, const std::string &, const std::string &, const std::string &, const std::string &); reco::MuonCollection selectedMuons(const reco::MuonCollection &, const reco::BeamSpot &, + double, bool, - const StringCutObjectSelector &, + //const StringCutObjectSelector &, double, double); trigger::TriggerObjectCollection selectedTriggerObjects( const trigger::TriggerObjectCollection &, const trigger::TriggerEvent &, - bool hasTriggerCuts, - const StringCutObjectSelector &triggerSelector); + //bool hasTriggerCuts, + //const StringCutObjectSelector &triggerSelector); + double triggerEtaCut_); // Input from Configuration File std::string hltProcessName_; @@ -114,20 +116,25 @@ class HLTMuonMatchAndPlot { std::map hists_; // Selectors - bool hasTargetRecoCuts; - bool hasProbeRecoCuts; + //bool hasTargetRecoCuts; + //bool hasProbeRecoCuts; - StringCutObjectSelector targetMuonSelector_; + //StringCutObjectSelector targetMuonSelector_; + double targetMuonEta_; + bool targetIsMuonGlb_; double targetZ0Cut_; double targetD0Cut_; double targetptCutZ_; double targetptCutJpsi_; - StringCutObjectSelector probeMuonSelector_; + //StringCutObjectSelector probeMuonSelector_; + double probeMuonEta_; + bool probeIsMuonGlb_; double probeZ0Cut_; double probeD0Cut_; - - StringCutObjectSelector triggerSelector_; - bool hasTriggerCuts_; + + //StringCutObjectSelector triggerSelector_; + double triggerEtaCut_; + //bool hasTriggerCuts_; }; #endif