diff --git a/DataFormats/OnlineMetaData/test/BuildFile.xml b/DataFormats/OnlineMetaData/test/BuildFile.xml index cd45470346956..87db09c175f1b 100644 --- a/DataFormats/OnlineMetaData/test/BuildFile.xml +++ b/DataFormats/OnlineMetaData/test/BuildFile.xml @@ -1,5 +1,6 @@ + diff --git a/DataFormats/OnlineMetaData/test/onlineMetaDataRecord_t.cpp b/DataFormats/OnlineMetaData/test/onlineMetaDataRecord_t.cpp index 62fd298d45dc5..25366ec43f9a5 100644 --- a/DataFormats/OnlineMetaData/test/onlineMetaDataRecord_t.cpp +++ b/DataFormats/OnlineMetaData/test/onlineMetaDataRecord_t.cpp @@ -7,13 +7,12 @@ #include #include +#include #include #include #include #include -#include - class TestOnlineMetaDataRecord : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE(TestOnlineMetaDataRecord); CPPUNIT_TEST(testDCSRecord_v1); @@ -46,7 +45,7 @@ const unsigned char* TestOnlineMetaDataRecord::readPayload(const std::string& du const std::string CMSSW_BASE(std::getenv("CMSSW_BASE")); const std::string CMSSW_RELEASE_BASE(std::getenv("CMSSW_RELEASE_BASE")); const std::string dumpFilePath = "/src/DataFormats/OnlineMetaData/test/" + dumpFileName; - const std::string fullPath = boost::filesystem::exists((CMSSW_BASE + dumpFilePath).c_str()) + const std::string fullPath = std::filesystem::exists((CMSSW_BASE + dumpFilePath).c_str()) ? CMSSW_BASE + dumpFilePath : CMSSW_RELEASE_BASE + dumpFilePath; diff --git a/IORawData/CaloPatterns/BuildFile.xml b/IORawData/CaloPatterns/BuildFile.xml index b94b66a360191..c7b8216f21d0d 100644 --- a/IORawData/CaloPatterns/BuildFile.xml +++ b/IORawData/CaloPatterns/BuildFile.xml @@ -6,6 +6,6 @@ - + diff --git a/IORawData/CaloPatterns/src/HtrXmlPatternTool.cc b/IORawData/CaloPatterns/src/HtrXmlPatternTool.cc index 3e20fd1aab59c..e0d4e7da98ee7 100644 --- a/IORawData/CaloPatterns/src/HtrXmlPatternTool.cc +++ b/IORawData/CaloPatterns/src/HtrXmlPatternTool.cc @@ -4,9 +4,9 @@ #include "HtrXmlPatternWriter.h" #include "TFile.h" #include "TH1.h" -#include +#include #include -#include "boost/filesystem/operations.hpp" +#include HtrXmlPatternTool::HtrXmlPatternTool(HtrXmlPatternToolParameters* params) { m_params = params; @@ -107,7 +107,7 @@ void HtrXmlPatternTool::Fill(const HcalElectronicsId HEID, HODigiCollection::con std::cerr << "Bad (crate): (" << HEID.readoutVMECrateId() << ")" << std::endl; } -void HtrXmlPatternTool::prepareDirs() { boost::filesystem::create_directory(m_params->m_output_directory); } +void HtrXmlPatternTool::prepareDirs() { std::filesystem::create_directory(m_params->m_output_directory); } void HtrXmlPatternTool::writeXML() { std::cout << "Writing XML..." << std::endl; diff --git a/L1TriggerConfig/L1GtConfigProducers/BuildFile.xml b/L1TriggerConfig/L1GtConfigProducers/BuildFile.xml index d3bdb87eeaa4b..01d4b70937bea 100644 --- a/L1TriggerConfig/L1GtConfigProducers/BuildFile.xml +++ b/L1TriggerConfig/L1GtConfigProducers/BuildFile.xml @@ -7,6 +7,7 @@ + diff --git a/L1TriggerConfig/L1GtConfigProducers/src/L1GtVhdlWriter.cc b/L1TriggerConfig/L1GtConfigProducers/src/L1GtVhdlWriter.cc index 23d1501d95d8c..7bcaecf1fd299 100644 --- a/L1TriggerConfig/L1GtConfigProducers/src/L1GtVhdlWriter.cc +++ b/L1TriggerConfig/L1GtConfigProducers/src/L1GtVhdlWriter.cc @@ -16,12 +16,10 @@ #include "L1TriggerConfig/L1GtConfigProducers/interface/L1GtVhdlWriter.h" // system include files +#include #include #include -// user include files -#include "boost/filesystem.hpp" - // base class #include "FWCore/Framework/interface/EDAnalyzer.h" @@ -102,7 +100,7 @@ void L1GtVhdlWriter::analyze(const edm::Event& iEvent, const edm::EventSetup& ev channelVector.push_back("-- ca10: free"); // check, weather output directory exists and create it on the fly if not - if (boost::filesystem::is_directory(outputDir_)) { + if (std::filesystem::is_directory(outputDir_)) { std::cout << std::endl << "Ok - Output directory exists!" << std::endl; } else { if (!mkdir(outputDir_.c_str(), 0666))