Skip to content

Commit

Permalink
- cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe Della Ricca committed Apr 25, 2007
1 parent 88db3f9 commit 3d77623
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions DQM/EcalBarrelMonitorClient/src/EcalBarrelMonitorClient.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* \file EcalBarrelMonitorClient.cc
*
* $Date: 2007/04/11 05:55:50 $
* $Revision: 1.252 $
* $Date: 2007/04/11 06:21:38 $
* $Revision: 1.253 $
* \author G. Della Ricca
* \author F. Cossutti
*
Expand Down Expand Up @@ -281,13 +281,14 @@ void EcalBarrelMonitorClient::initialize(const ParameterSet& ps){
serverPort_ = ps.getUntrackedParameter<int>("serverPort", 9900);

if ( enableServer_ ) {
cout << " enableServer switch is ON" << endl;
if ( enableMonitorDaemon_ && hostPort_ != serverPort_ ) {
cout << " Forcing the same port for Collector and Server" << endl;
serverPort_ = hostPort_;
}
cout << " Server on port '" << serverPort_ << "' is ON" << endl;
cout << " Running server on port '" << serverPort_ << "'" << endl;
} else {
cout << " Server is OFF" << endl;
cout << " enableServer switch is OFF" << endl;
}

// vector of selected Super Modules (Defaults to all 36).
Expand Down
9 changes: 5 additions & 4 deletions DQM/EcalEndcapMonitorClient/src/EcalEndcapMonitorClient.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* \file EcalEndcapMonitorClient.cc
*
* $Date: 2007/04/11 05:55:52 $
* $Revision: 1.9 $
* $Date: 2007/04/11 06:21:41 $
* $Revision: 1.10 $
* \author G. Della Ricca
* \author F. Cossutti
*
Expand Down Expand Up @@ -281,13 +281,14 @@ void EcalEndcapMonitorClient::initialize(const ParameterSet& ps){
serverPort_ = ps.getUntrackedParameter<int>("serverPort", 9900);

if ( enableServer_ ) {
cout << " enableServer switch is ON" << endl;
if ( enableMonitorDaemon_ && hostPort_ != serverPort_ ) {
cout << " Forcing the same port for Collector and Server" << endl;
serverPort_ = hostPort_;
}
cout << " Server on port '" << serverPort_ << "' is ON" << endl;
cout << " Running server on port '" << serverPort_ << "'" << endl;
} else {
cout << " Server is OFF" << endl;
cout << " enableServer switch is OFF" << endl;
}

// vector of selected Super Modules (Defaults to all 36).
Expand Down

0 comments on commit 3d77623

Please sign in to comment.