Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico De Guio committed Jun 5, 2013
1 parent 75431c3 commit 4527682
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions DQMServices/Components/plugins/MEtoEDMConverter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*
* See header file for description of class
*
* $Date: 2013/05/17 21:56:01 $
* $Revision: 1.33 $
* $Date: 2013/05/28 20:26:04 $
* $Revision: 1.34 $
* \author M. Strang SUNY-Buffalo
*/

Expand Down Expand Up @@ -382,8 +382,10 @@ MEtoEDMConverter::putData(T& iPutTo, bool iLumiOnly)

MonitorElement *me = *mmi;

// store only flagged ME
// store only flagged ME at endLumi transition, and Run-based
// histo at endRun transition
if (iLumiOnly && !me->getLumiFlag()) continue;
if (!iLumiOnly && me->getLumiFlag()) continue;

switch (me->kind())
{
Expand Down Expand Up @@ -461,8 +463,10 @@ MEtoEDMConverter::putData(T& iPutTo, bool iLumiOnly)

MonitorElement *me = *mmi;

// store only flagged ME
// store only flagged ME at endLumi transition, and Run-based
// histo at endRun transition
if (iLumiOnly && !me->getLumiFlag()) continue;
if (!iLumiOnly && me->getLumiFlag()) continue;

// get monitor elements
switch (me->kind())
Expand Down

0 comments on commit 4527682

Please sign in to comment.