Skip to content

Commit

Permalink
Removal of StringCutObjectSelector from Muon trigger DQM
Browse files Browse the repository at this point in the history
  • Loading branch information
caruta authored Jul 27, 2023
1 parent ea4709c commit 937d736
Showing 1 changed file with 15 additions and 23 deletions.
38 changes: 15 additions & 23 deletions DQMOffline/Trigger/interface/HLTMuonMatchAndPlot.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
#include "DataFormats/BeamSpot/interface/BeamSpot.h"
#include "DataFormats/Math/interface/deltaR.h"

#include "CommonTools/Utils/interface/StringCutObjectSelector.h"

#include <vector>
#include "TFile.h"
#include "TNtuple.h"
Expand Down Expand Up @@ -83,18 +81,13 @@ class HLTMuonMatchAndPlot {
// Internal Methods
void book1D(DQMStore::IBooker &, std::string, const std::string &, std::string);
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 &,
bool,
const StringCutObjectSelector<reco::Muon> &,
double,
double);

trigger::TriggerObjectCollection selectedTriggerObjects(
const trigger::TriggerObjectCollection &,
const trigger::TriggerEvent &,
bool hasTriggerCuts,
const StringCutObjectSelector<trigger::TriggerObject> &triggerSelector);
reco::MuonCollection selectedMuons(
const reco::MuonCollection &, const reco::BeamSpot &, double, double, bool, double, double);

trigger::TriggerObjectCollection selectedTriggerObjects(const trigger::TriggerObjectCollection &,
const trigger::TriggerEvent &,
double,
double);

// Input from Configuration File
std::string hltProcessName_;
Expand All @@ -113,21 +106,20 @@ class HLTMuonMatchAndPlot {
bool isLastFilter_;
std::map<std::string, MonitorElement *> hists_;

// Selectors
bool hasTargetRecoCuts;
bool hasProbeRecoCuts;

StringCutObjectSelector<reco::Muon> targetMuonSelector_;
double targetMuonEtaMax_;
double targetMuonEtaMin_;
bool targetIsMuonGlb_;
double targetZ0Cut_;
double targetD0Cut_;
double targetptCutZ_;
double targetptCutJpsi_;
StringCutObjectSelector<reco::Muon> probeMuonSelector_;
double probeMuonEtaMax_;
double probeMuonEtaMin_;
bool probeIsMuonGlb_;
double probeZ0Cut_;
double probeD0Cut_;

StringCutObjectSelector<trigger::TriggerObject> triggerSelector_;
bool hasTriggerCuts_;
double triggerEtaMaxCut_;
double triggerEtaMinCut_;
};

#endif

0 comments on commit 937d736

Please sign in to comment.