Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe Della Ricca committed Aug 23, 2009
1 parent 0f2e682 commit 7447910
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
9 changes: 5 additions & 4 deletions DQM/EcalBarrelMonitorClient/src/EBSummaryClient.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* \file EBSummaryClient.cc
*
* $Date: 2009/08/13 18:12:38 $
* $Revision: 1.188 $
* $Date: 2009/08/21 02:10:36 $
* $Revision: 1.189 $
* \author G. Della Ricca
*
*/
Expand Down Expand Up @@ -1461,8 +1461,9 @@ void EBSummaryClient::analyze(void) {
}

float xval = 6;
if( mean01 <= 0 ) xval = 2;
else {
if( mean01 <= 0 ) {
xval = 2;
} else {

h2 = ebtttc->l01_[ism-1];

Expand Down
11 changes: 7 additions & 4 deletions DQM/EcalBarrelMonitorClient/src/EBTriggerTowerClient.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* \file EBTriggerTowerClient.cc
*
* $Date: 2009/02/27 13:54:06 $
* $Revision: 1.116 $
* $Date: 2009/08/13 18:12:38 $
* $Revision: 1.117 $
* \author G. Della Ricca
* \author F. Cossutti
*
Expand Down Expand Up @@ -252,8 +252,11 @@ void EBTriggerTowerClient::analyze(void) {
total += sampleEntries;
}
if ( max > 0 ) {
if ( index == 0 ) me_o01_[ism-1]->setBinContent(ie, ip, -1);
else me_o01_[ism-1]->setBinContent(ie, ip, index );
if ( index == 0 ) {
me_o01_[ism-1]->setBinContent(ie, ip, -1);
} else {
me_o01_[ism-1]->setBinContent(ie, ip, index );
}
}
double fraction = (total > 0) ? 1.0 - max/total : 0.;
if ( me_o02_[ism-1] ) me_o02_[ism-1]->setBinContent(ie, ip, fraction);
Expand Down
11 changes: 7 additions & 4 deletions DQM/EcalEndcapMonitorClient/src/EETriggerTowerClient.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* \file EETriggerTowerClient.cc
*
* $Date: 2009/08/20 17:20:24 $
* $Revision: 1.86 $
* $Date: 2009/08/21 02:13:06 $
* $Revision: 1.87 $
* \author G. Della Ricca
* \author F. Cossutti
*
Expand Down Expand Up @@ -255,8 +255,11 @@ void EETriggerTowerClient::analyze(void) {
total += sampleEntries;
}
if ( max > 0 ) {
if ( index == 0 ) me_o01_[ism-1]->setBinContent(ix, iy, -1);
else me_o01_[ism-1]->setBinContent(ix, iy, index );
if ( index == 0 ) {
me_o01_[ism-1]->setBinContent(ix, iy, -1);
} else {
me_o01_[ism-1]->setBinContent(ix, iy, index );
}
}
double fraction = (total > 0) ? 1.0 - max/total : 0.;
if ( me_o02_[ism-1] ) me_o02_[ism-1]->setBinContent(ix, iy, fraction);
Expand Down

0 comments on commit 7447910

Please sign in to comment.