Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DQM-HLT] Changes suggested by new llvm18 clang-format #45914

Merged
merged 1 commit into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions DQM/HLTEvF/plugins/FourVectorHLT.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class FourVectorHLT : public edm::one::EDAnalyzer<edm::one::SharedResources, edm

// helper class to store the data
class PathInfo {
PathInfo() : pathIndex_(-1), pathName_("unset"), objectType_(-1){};
PathInfo() : pathIndex_(-1), pathName_("unset"), objectType_(-1) {}

public:
void setHistos(MonitorElement* const et,
Expand All @@ -98,7 +98,7 @@ class FourVectorHLT : public edm::one::EDAnalyzer<edm::one::SharedResources, edm
MonitorElement* getPhiHisto() { return phi_; }
MonitorElement* getEtaVsPhiHisto() { return etavsphi_; }
const std::string getName(void) const { return pathName_; }
~PathInfo(){};
~PathInfo() {}
PathInfo(std::string pathName, size_t type, float ptmin, float ptmax)
: pathName_(pathName),
objectType_(type),
Expand All @@ -107,7 +107,7 @@ class FourVectorHLT : public edm::one::EDAnalyzer<edm::one::SharedResources, edm
phi_(nullptr),
etavsphi_(nullptr),
ptmin_(ptmin),
ptmax_(ptmax){};
ptmax_(ptmax) {}
PathInfo(std::string pathName,
size_t type,
MonitorElement* et,
Expand All @@ -123,7 +123,7 @@ class FourVectorHLT : public edm::one::EDAnalyzer<edm::one::SharedResources, edm
phi_(phi),
etavsphi_(etavsphi),
ptmin_(ptmin),
ptmax_(ptmax){};
ptmax_(ptmax) {}
bool operator==(const std::string v) { return v == pathName_; }

private:
Expand All @@ -147,7 +147,7 @@ class FourVectorHLT : public edm::one::EDAnalyzer<edm::one::SharedResources, edm
// simple collection - just
class PathInfoCollection : public std::vector<PathInfo> {
public:
PathInfoCollection() : std::vector<PathInfo>(){};
PathInfoCollection() : std::vector<PathInfo>() {}
std::vector<PathInfo>::iterator find(std::string pathName) { return std::find(begin(), end(), pathName); }
};
PathInfoCollection hltPaths_;
Expand Down
2 changes: 1 addition & 1 deletion DQM/HLTEvF/plugins/HLTObjectMonitor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ void HLTObjectMonitor::analyze(const edm::Event& iEvent, const edm::EventSetup&

firedMap[pathName] = true;
} //end if trigger accept
} //end loop over plots/paths
} //end loop over plots/paths

// sleep(1); //sleep for 1s, used to calibrate timing
double end = get_wall_time();
Expand Down
2 changes: 1 addition & 1 deletion DQM/HLTEvF/plugins/HLTObjectMonitorProtonLead.cc
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ void HLTObjectMonitorProtonLead::analyze(const edm::Event& iEvent, const edm::Ev

firedMap[pathName] = true;
} //end if trigger accept
} //end loop over plots/paths
} //end loop over plots/paths

// sleep(1); //sleep for 1s, used to calibrate timing
double end = get_wall_time();
Expand Down