Skip to content

Commit

Permalink
ONLINE Only modification - turn off the HF uniformity for online
Browse files Browse the repository at this point in the history
  • Loading branch information
vkhristenko committed Apr 21, 2016
1 parent 0922482 commit 2efc201
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions DQM/HcalTasks/plugins/DigiTask.cc
Expand Up @@ -769,10 +769,14 @@ DigiTask::DigiTask(edm::ParameterSet const& ps):
_vflags[fDigiSize]._state = flag::fGOOD;
if (utilities::isFEDHF(eid))
{
if (_xUni.get(eid)>0)
_vflags[fUni]._state = flag::fBAD;
else
_vflags[fUni]._state = flag::fGOOD;
if (_runkeyVal==0 || _runkeyVal==4)
{
// only for pp or hi
if (_xUni.get(eid)>0)
_vflags[fUni]._state = flag::fBAD;
else
_vflags[fUni]._state = flag::fGOOD;
}
if (_xNChs.get(eid)!=(_xNChsNominal.get(eid)*_evsPerLS))
_vflags[fNChsHF]._state = flag::fBAD;
else
Expand Down
2 changes: 1 addition & 1 deletion DQM/HcalTasks/plugins/RecHitTask.cc
Expand Up @@ -720,7 +720,7 @@ RecHitTask::RecHitTask(edm::ParameterSet const& ps):
}

// FED is @cDAQ
if (utilities::isFEDHF(eid))
if (utilities::isFEDHF(eid) && (_runkeyVal==0 || _runkeyVal==4))
{
if (_xUni.get(eid)>0)
_vflags[fUni]._state = flag::fBAD;
Expand Down

0 comments on commit 2efc201

Please sign in to comment.