Skip to content

Commit

Permalink
- fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe Della Ricca committed Jun 24, 2008
1 parent ca24cb3 commit 7843702
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions DQM/EcalBarrelMonitorModule/src/EcalBarrelMonitorModule.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* \file EcalBarrelMonitorModule.cc
*
* $Date: 2008/05/11 09:50:51 $
* $Revision: 1.180 $
* $Date: 2008/05/17 07:59:57 $
* $Revision: 1.181 $
* \author G. Della Ricca
* \author G. Franzoni
*
Expand Down Expand Up @@ -420,7 +420,7 @@ void EcalBarrelMonitorModule::analyze(const Event& e, const EventSetup& c){
if ( evtType_ >= 0 && evtType_ <= 22 ) {
if ( meEvtType_ ) meEvtType_->Fill(evtType_+0.5);
} else {
LogWarning("EcalBarrelMonitorModule") << "Unknown event type = " << evtType_ << " at event: " << ievt_;
if ( evtType_ != -1 ) LogWarning("EcalBarrelMonitorModule") << "Unknown event type = " << evtType_ << " at event: " << ievt_;
if ( meEvtType_ ) meEvtType_->Fill(-1);
}

Expand Down
6 changes: 3 additions & 3 deletions DQM/EcalEndcapMonitorModule/src/EcalEndcapMonitorModule.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* \file EcalEndcapMonitorModule.cc
*
* $Date: 2008/05/11 09:50:52 $
* $Revision: 1.56 $
* $Date: 2008/05/17 07:59:57 $
* $Revision: 1.57 $
* \author G. Della Ricca
* \author G. Franzoni
*
Expand Down Expand Up @@ -420,7 +420,7 @@ void EcalEndcapMonitorModule::analyze(const Event& e, const EventSetup& c){
if ( evtType_ >= 0 && evtType_ <= 22 ) {
if ( meEvtType_ ) meEvtType_->Fill(evtType_+0.5);
} else {
LogWarning("EcalEndcapMonitorModule") << "Unknown event type = " << evtType_ << " at event: " << ievt_;
if ( evtType_ != -1 ) LogWarning("EcalEndcapMonitorModule") << "Unknown event type = " << evtType_ << " at event: " << ievt_;
if ( meEvtType_ ) meEvtType_->Fill( -1 );
}

Expand Down

0 comments on commit 7843702

Please sign in to comment.