Commit 5e2bf269 authored by Andrea Petrucci's avatar Andrea Petrucci
Browse files

references #260: set the CMS_ACTIVE as the first nibble run_active value

parent 8a5c160a
......@@ -5,8 +5,8 @@
#define WORKSUITE_OMS_VERSION_MAJOR 1
#define WORKSUITE_OMS_VERSION_MINOR 1
#define WORKSUITE_OMS_VERSION_PATCH 1
#define WORKSUITE_OMS_PREVIOUS_VERSIONS "1.0.0,1.0.1,1.0.2,1.0.3,1.1.0"
#define WORKSUITE_OMS_VERSION_PATCH 2
#define WORKSUITE_OMS_PREVIOUS_VERSIONS "1.0.0,1.0.1,1.0.2,1.0.3,1.1.0,1.1.1"
#define WORKSUITE_OMS_VERSION_CODE PACKAGE_VERSION_CODE(WORKSUITE_OMS_VERSION_MAJOR,WORKSUITE_OMS_VERSION_MINOR,WORKSUITE_OMS_VERSION_PATCH)
#ifndef WORKSUITE_OMS_PREVIOUS_VERSIONS
......
......@@ -46,7 +46,7 @@ void oms::LumisectionHandler::processTCDSrecord(const TCDSrecordPtr& tcdsRecord)
if ( tcdsRecord->ls == ongoingLumisection_->ls &&
tcdsRecord->run == ongoingLumisection_->run )
{ // update values for ongoing LS
ongoingLumisection_->cmsActive &= tcdsRecord->runActive; // runActive must be true for the whole LS
//ongoingLumisection_->cmsActive &= tcdsRecord->runActive; // no need to update the CMS Active, keep the value of the first nibble for all lumisection
ongoingLumisection_->stopTime = tcdsRecord->nibbleEndTime;
ongoingLumisection_->sumDeadtime += tcdsRecord->deadtime;
ongoingLumisection_->tcdsUpdates++;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment