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

dqm plot, pixel endcap roc occupancy in 81x #15237

Merged
merged 1 commit into from Aug 8, 2016

Conversation

gouskos
Copy link
Contributor

@gouskos gouskos commented Jul 19, 2016

No description provided.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @gouskos for CMSSW_8_1_X.

It involves the following packages:

DQM/SiPixelMonitorTrack

@cmsbuild, @dmitrijus, @vanbesien, @davidlange6 can you please review it and eventually sign? Thanks.
@idebruyn, @threus, @fioriNTU, @hdelanno this is something you requested to watch as well.
@slava77, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@boudoul
Copy link
Contributor

boudoul commented Jul 26, 2016

hello @dmitrijus , could you please trigger the tests ? Thanks

@dmitrijus
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 26, 2016

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

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_1_X IBs after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @smuzaffar

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

}
if (pxfblade>0) { clu_roc_biny = clu_roc_biny+144; }

meRocBladevsDiskEndcap->setBinContent(clu_roc_binx,clu_roc_biny, meRocBladevsDiskEndcap->getBinContent(clu_roc_binx,clu_roc_biny)+1);
Copy link
Contributor

Choose a reason for hiding this comment

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

@gouskos - is this not the same as meRocBladevsDiskEndcap->Fill(....)?

Copy link
Contributor

Choose a reason for hiding this comment

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

@gouskos - to answer my question, "no" - but the appropriate function call is meRocBladevsDiskEndcap->AddBinContent(clu_roc_binx,clu_roc_biny)
could you have a look. Thanks

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi, there is no function "AddBinContent" for the MonitorElement class.

Copy link
Contributor

Choose a reason for hiding this comment

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

@gouskos if you use the correct function from here http://cmslxr.fnal.gov/source/DQMServices/Core/interface/MonitorElement.h#0337 you can get the root object (TH2) and use the AddBinContent function on it. Hope this helps.

@gouskos
Copy link
Contributor Author

gouskos commented Jul 28, 2016

Ok - I will update the code asap

@gouskos
Copy link
Contributor Author

gouskos commented Aug 3, 2016

@davidlange6 , @dmitrijus I tried following your suggestion by implementing the code below:

Int_t bin = meRocBladevsDiskEndcap->getTH2F()->GetBin(clu_roc_binx,clu_roc_biny);
Int_t binp = meRocBladevsDiskEndcap->getTH2F()->GetBin(clu_roc_binx,clu_roc_biny+1);
meRocBladevsDiskEndcap->getTH2F()->AddBinContent(bin,1);
meRocBladevsDiskEndcap->getTH2F()->AddBinContent(binp,1);

However the histograms are not filled. I spent some time debugging this but without success. Given that this PR is quite urgent for the tracker, you it be possible to consider staying with the initial version of the code and then try to improve the code with your suggestions? The same holds also for the 80X version of this PR [15236]

@fioriNTU
Copy link
Contributor

fioriNTU commented Aug 3, 2016

@davidlange6 and @dmitrijus I confirm what @gouskos said, we had a try to implement the changes suggested by David but it doesn't seem to work properly. If you think that what we did is wrong please give a suggestion on what should be changed. However this PR is quite urgent to have merged, it will allow to build a monitor of inefficienct ROCS in Pixels. I would like this to be merged and we can continue searching for a more efficient way to do the same thing.

@davidlange6
Copy link
Contributor

+1

weird - maybe a bug in root - will try to test

@cmsbuild cmsbuild merged commit efd09d7 into cms-sw:CMSSW_8_1_X Aug 8, 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

6 participants