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

Fixes for800 #13142

Merged
merged 6 commits into from Feb 15, 2016
Merged

Fixes for800 #13142

merged 6 commits into from Feb 15, 2016

Conversation

fcavallo
Copy link
Contributor

@fcavallo fcavallo commented Feb 1, 2016

bug fix in occupancy summary

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 1, 2016

A new Pull Request was created by @fcavallo (Francesca Romana Cavallo) for CMSSW_8_0_X.

It involves the following packages:

DQM/DTMonitorClient

@cmsbuild, @vanbesien, @deguio, @davidlange6 can you please review it and eventually sign? Thanks.
@slava77, @Degano, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@deguio
Copy link
Contributor

deguio commented Feb 1, 2016

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 1, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/10881/console

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 1, 2016

@@ -283,7 +300,7 @@ int DTOccupancyTest::runOccupancyTest(TH2F *histo, const DTChamberId& chId,
bool failCells = false;

// Check that the chamber has digis
if(histo->Integral() == 0) {
if (getIntegral(histo,chId) == 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably a check on the maximum would be more efficient here.
referring to TH1::GetMaximum
https://root.cern.ch/doc/master/classTH1.html#acb53c99a65ab29a045cbdc2789e55250

the chId in the list of arguments passed to the function is not needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you're right. Is it still in time tomorrow for the integration in 800, if I make the change and check it again?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a simple fix. so yes, you are right.
thanks,
F.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 1, 2016

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2016

Pull request #13142 was updated. @cmsbuild, @vanbesien, @deguio, @davidlange6 can you please check and sign again.

@deguio
Copy link
Contributor

deguio commented Feb 2, 2016

please test

@deguio
Copy link
Contributor

deguio commented Feb 2, 2016

+1

@cmsbuild
Copy link
Contributor

Pull request #13142 was updated. @cmsbuild, @vanbesien, @deguio, @davidlange6 can you please check and sign again.

@@ -342,7 +360,7 @@ int DTOccupancyTest::runOccupancyTest(TH2F *histo, const DTChamberId& chId,

int binY = binYlow+(lay-1);

double layerInteg = histo->Integral(1,nBinsX,binY,binY);
double layerInteg = getIntegral(histo,1,nBinsX,binY,binY,true);
squaredLayerOccupSum += layerInteg*layerInteg;
totalChamberOccupp+= layerInteg;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

squaredLayerOccupSum and totalChamberOccupp are apparently not used.

@davidlange6
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/11209/console

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@deguio
Copy link
Contributor

deguio commented Feb 15, 2016

+1
better to have this in. further optimization will come with an additional PR.

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar

@davidlange6
Copy link
Contributor

+1

cmsbuild added a commit that referenced this pull request Feb 15, 2016
@cmsbuild cmsbuild merged commit bfcedd5 into cms-sw:CMSSW_8_0_X Feb 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants