-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Fixes for800 #13142
Conversation
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. cms-bot commands are list here #13028 |
please test |
The tests are being triggered in jenkins. |
@@ -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) { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
Pull request #13142 was updated. @cmsbuild, @vanbesien, @deguio, @davidlange6 can you please check and sign again. |
please test |
+1 |
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; |
There was a problem hiding this comment.
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.
please test |
The tests are being triggered in jenkins. |
+1 |
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 |
+1 |
bug fix in occupancy summary