diff --git a/EventFilter/Utilities/plugins/DaqFakeReader.cc b/EventFilter/Utilities/plugins/DaqFakeReader.cc index f1ed5cb8d56c4..60fd1ace513ea 100644 --- a/EventFilter/Utilities/plugins/DaqFakeReader.cc +++ b/EventFilter/Utilities/plugins/DaqFakeReader.cc @@ -48,7 +48,8 @@ DaqFakeReader::DaqFakeReader(const edm::ParameterSet& pset) << " TCDS FED ID lower than " << FEDNumbering::MINTCDSuTCAFEDID; if (fillRandom_) { //intialize random seed - auto time_count = static_cast(std::chrono::high_resolution_clock::now().time_since_epoch().count()); + auto time_count = + static_cast(std::chrono::high_resolution_clock::now().time_since_epoch().count()); srand(time_count & 0xffffffff); } produces(); @@ -113,7 +114,7 @@ void DaqFakeReader::fillFEDs( if (fillRandom_) { //fill FED with random values size_t size_ui = size - size % sizeof(unsigned int); - for (size_t i=0; i < size_ui; i += sizeof(unsigned int)) { + for (size_t i = 0; i < size_ui; i += sizeof(unsigned int)) { *((unsigned int*)(feddata.data() + i)) = (unsigned int)rand(); } //remainder diff --git a/EventFilter/Utilities/src/EvFDaqDirector.cc b/EventFilter/Utilities/src/EvFDaqDirector.cc index a04aa88104c02..415a630e265a0 100644 --- a/EventFilter/Utilities/src/EvFDaqDirector.cc +++ b/EventFilter/Utilities/src/EvFDaqDirector.cc @@ -950,7 +950,8 @@ namespace evf { bool found = (stat(fuEoLS.c_str(), &buf) == 0); if (!found) { if (doCreateEoLS) { - int eol_fd = open(fuEoLS.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); + int eol_fd = + open(fuEoLS.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); close(eol_fd); } if (doCreateBoLS) @@ -1778,7 +1779,6 @@ namespace evf { if (fileBrokerUseLocalLock_) unlockFULocal(); return noFile; - } //handle creation of BoLS files if lumisection has changed diff --git a/EventFilter/Utilities/src/FedRawDataInputSource.cc b/EventFilter/Utilities/src/FedRawDataInputSource.cc index 9384e504f66a3..78332f0f8502e 100644 --- a/EventFilter/Utilities/src/FedRawDataInputSource.cc +++ b/EventFilter/Utilities/src/FedRawDataInputSource.cc @@ -686,7 +686,7 @@ void FedRawDataInputSource::read(edm::EventPrincipal& eventPrincipal) { return; } -edm::Timestamp FedRawDataInputSource::fillFEDRawDataCollection(FEDRawDataCollection& rawData, bool &tcdsInRange) { +edm::Timestamp FedRawDataInputSource::fillFEDRawDataCollection(FEDRawDataCollection& rawData, bool& tcdsInRange) { edm::TimeValue_t time; timeval stv; gettimeofday(&stv, nullptr); @@ -716,7 +716,7 @@ edm::Timestamp FedRawDataInputSource::fillFEDRawDataCollection(FEDRawDataCollect selectedTCDSFed = fedId; tcds_pointer_ = event + eventSize; if (fedId >= FEDNumbering::MINTCDSuTCAFEDID && fedId <= FEDNumbering::MAXTCDSuTCAFEDID) { - tcdsInRange = true; + tcdsInRange = true; } } else throw cms::Exception("FedRawDataInputSource::fillFEDRawDataCollection")