Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gcc7 compilation warning(s) fix(es) in DQM/TrackerCommon pkg #19900

Merged
merged 1 commit into from Jul 26, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions DQM/TrackerCommon/bin/TrackerRunCertification.C
Expand Up @@ -954,7 +954,7 @@ void certifyRun()
Bool_t flagDet( fCertificates_[ "SiStripReportSummary" ] > minGood_ );
Bool_t flagDAQ( fCertificates_[ "SiStripDAQSummary" ] == ( Double_t )EXCL || fCertificates_[ "SiStripDAQSummary" ] > minGood_ );
Bool_t flagDCS( fCertificates_[ "SiStripDCSSummary" ] == ( Double_t )EXCL || fCertificates_[ "SiStripDCSSummary" ] == ( Double_t )GOOD );
Bool_t flagDQM( flagDet * flagDAQ * flagDCS );
Bool_t flagDQM( (flagDet * flagDAQ * flagDCS) != 0 );
Bool_t flagCert( iFlagsRRTracker_[ sSubSys_[ SiStrip ] ] );
// iFlags[ sSubSys_[ SiStrip ] ] = ( Int_t )( flagDQM * bSiStripOn_ * flagCert );
iFlags[ sSubSys_[ SiStrip ] ] = ( Int_t )( flagDQM * flagCert );
Expand Down Expand Up @@ -1019,7 +1019,7 @@ void certifyRun()
Bool_t flagChi2( fCertificates_[ "ReportTrackChi2" ] > maxBad_ );
Bool_t flagRate( fCertificates_[ "ReportTrackRate" ] > maxBad_ );
Bool_t flagRecHits( fCertificates_[ "ReportTrackRecHits" ] > maxBad_ );
flagDQM = flagChi2 * flagRate * flagRecHits;
flagDQM = (flagChi2 * flagRate * flagRecHits) != 0 ;
if ( ! flagChi2 ) comments.push_back( "Chi2/DoF too low" );
if ( ! flagRate ) comments.push_back( "Track rate too low" );
if ( ! flagRecHits ) comments.push_back( "Too few RecHits" );
Expand Down