Skip to content

Commit

Permalink
Removing StringCutObjectSelector from Muon trigger DQM
Browse files Browse the repository at this point in the history
  • Loading branch information
caruta authored Jul 25, 2023
1 parent 348a14a commit 13ba479
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions DQMOffline/Trigger/interface/HLTMuonMatchAndPlot.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <vector>
#include "TFile.h"
Expand Down Expand Up @@ -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<reco::Muon> &,
//const StringCutObjectSelector<reco::Muon> &,
double,
double);

trigger::TriggerObjectCollection selectedTriggerObjects(
const trigger::TriggerObjectCollection &,
const trigger::TriggerEvent &,
bool hasTriggerCuts,
const StringCutObjectSelector<trigger::TriggerObject> &triggerSelector);
//bool hasTriggerCuts,
//const StringCutObjectSelector<trigger::TriggerObject> &triggerSelector);
double triggerEtaCut_);

// Input from Configuration File
std::string hltProcessName_;
Expand All @@ -114,20 +116,25 @@ class HLTMuonMatchAndPlot {
std::map<std::string, MonitorElement *> hists_;

// Selectors
bool hasTargetRecoCuts;
bool hasProbeRecoCuts;
//bool hasTargetRecoCuts;
//bool hasProbeRecoCuts;

StringCutObjectSelector<reco::Muon> targetMuonSelector_;
//StringCutObjectSelector<reco::Muon> targetMuonSelector_;
double targetMuonEta_;
bool targetIsMuonGlb_;
double targetZ0Cut_;
double targetD0Cut_;
double targetptCutZ_;
double targetptCutJpsi_;
StringCutObjectSelector<reco::Muon> probeMuonSelector_;
//StringCutObjectSelector<reco::Muon> probeMuonSelector_;
double probeMuonEta_;
bool probeIsMuonGlb_;
double probeZ0Cut_;
double probeD0Cut_;

StringCutObjectSelector<trigger::TriggerObject> triggerSelector_;
bool hasTriggerCuts_;

//StringCutObjectSelector<trigger::TriggerObject> triggerSelector_;
double triggerEtaCut_;
//bool hasTriggerCuts_;
};

#endif

0 comments on commit 13ba479

Please sign in to comment.