Skip to content

Commit

Permalink
Remove using namespace directive
Browse files Browse the repository at this point in the history
Replaced use of string with std::string.
  • Loading branch information
rsreds committed Oct 11, 2023
1 parent b325ce8 commit 33715df
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions CondTools/CTPPS/plugins/WriteCTPPSTotemDAQMappingMask.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,13 @@ class WriteCTPPSTotemDAQMappingMask : public edm::one::EDAnalyzer<> {
void analyze(const edm::Event &e, const edm::EventSetup &es) override;
};

using namespace std;
using namespace edm;

//----------------------------------------------------------------------------------------------------

WriteCTPPSTotemDAQMappingMask::WriteCTPPSTotemDAQMappingMask(const edm::ParameterSet &ps)
: daqMappingIov_(ps.getParameter<unsigned long long>("daqMappingIov")),
recordMap_(ps.getParameter<string>("recordMap")),
recordMask_(ps.getParameter<string>("recordMask")),
label_(ps.getParameter<string>("label")),
recordMap_(ps.getParameter<std::string>("recordMap")),
recordMask_(ps.getParameter<std::string>("recordMask")),
label_(ps.getParameter<std::string>("label")),
tokenMapping_(esConsumes<TotemDAQMapping, TotemReadoutRcd>(edm::ESInputTag("", label_))),
tokenAnalysisMask_(esConsumes<TotemAnalysisMask, TotemReadoutRcd>(edm::ESInputTag("", label_))) {}

Expand Down Expand Up @@ -95,4 +92,4 @@ void WriteCTPPSTotemDAQMappingMask::analyze(const edm::Event &, edm::EventSetup

//----------------------------------------------------------------------------------------------------

DEFINE_FWK_MODULE(WriteCTPPSTotemDAQMappingMask);
DEFINE_FWK_MODULE(WriteCTPPSTotemDAQMappingMask);

0 comments on commit 33715df

Please sign in to comment.