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

Add track cluster impact angle plot #21023

Closed

Conversation

ssilvado
Copy link
Contributor

Added the track cluster impact angle plot

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/PR-21023/1650

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @ssilvado for master.

It involves the following packages:

DQM/SiPixelPhase1TrackClusters

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

cms-bot commands are listed here

@smuzaffar smuzaffar modified the milestones: CMSSW_9_4_X, CMSSW_10_0_X Oct 26, 2017
@cmsbuild cmsbuild modified the milestones: CMSSW_10_0_X, CMSSW_9_4_X Oct 26, 2017
@dmitrijus
Copy link
Contributor

@ssilvado Please introduce yourself.
@fioriNTU

@fioriNTU
Copy link
Contributor

@dmitrijus I asked Sheila to introduce herself, she is a brand new developer of TkDQM, both Online and Offline

@ssilvado
Copy link
Contributor Author

@dmitrijus I had introduced myself to the DQM core team. I am Sheila Amaral post-doc at Purdue University Northwest and I am starting to work as a developer for Tracker DQM (Online and Offline).

As Francesco asked me, I am working on the implementation of the Impact angle on DQM. So, I have it done on my GitHub area, and my username is @ssilvado.

@dmitrijus
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 2, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/24130/console Started: 2017/11/02 09:56

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 2, 2017

This pull request is fully signed and it will be integrated in one of the next master IBs after it passes the integration tests. This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar (and backports should be raised in the release meeting by the corresponding L2)

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2017

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2017

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/PR-21023/1803

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2017

Pull request #21023 was updated. @vazzolini, @kmaeshima, @dmitrijus, @cmsbuild, @jfernan2, @vanbesien can you please check and sign again.

@fioriNTU
Copy link
Contributor

fioriNTU commented Nov 7, 2017

@davidlange6 @VinInn @mtosi how do we proceed here? I can ask my technical student to make the Pixel DQM @ HLT completely independent by what used in Tracker DPG monitoring. Of course the code will stay as "property" of the Trigger group, other (more direct) solution would be to switch off the monitoring at HLT (who is looking to those plots?)

@davidlange6
Copy link
Contributor

davidlange6 commented Nov 7, 2017 via email

@mtosi
Copy link
Contributor

mtosi commented Nov 7, 2017 via email

@fioriNTU
Copy link
Contributor

fioriNTU commented Nov 7, 2017

@davidlange6 these are my thoughts about your points:

  1. This is more a matter of optimization, and we are working on it (with lower priority), however if HLT uses our plugin it is impossible to remove the many plots instantiated in the c++ code and not used in HLT monitoring ... we have to go to a separate plugin, let me say again that this is a super easy implementation

  2. I think anything is to stay in sync if we decide to go for a separate plugin (the risk that bugs are propagated to the HLT plugin are close to zero)

  3. This is in the TkDQM plans, @VinInn changed the structure of the code to add few plots which could have been added in a more natural way. With this PR Added Flipped and Outer Ladder Extractors #21048 we are able to add inner and outer ladders histograms without adding a single line in c++ and maintaning the basic structure of Phase 1 DQM

@mtosi, again I do not understand why you are against this? Having the code like it is, is a problem, for both of us, so what better solution you propose?

@davidlange6
Copy link
Contributor

davidlange6 commented Nov 7, 2017 via email

@fioriNTU
Copy link
Contributor

fioriNTU commented Nov 7, 2017

@davidlange6

" but thats my third point. just because the code can make a plot, doesn't mean that it should be required to make that plot for all modules instances (but that is basically the current design)"

this is not true, with a "enabled=False" in the cfg histograms are not booked. I think the design of the code is "smart" compared to what we use in Strip and/or Tracking DQM, it reduces a lot the code needed to monitor the different parts of the detector (Layers, Shells, Ladders, Blades, Modules, FEDs, ROCs ... etc). For sure we have to pay a prize for it, and having the c++ and python dependent (only on the order of PSets) is a fairly low price to pay in my opinion. The code is still clean and super readable (even if many, many newcomers have edited it), I would prefer to keep as it is.

@davidlange6
Copy link
Contributor

davidlange6 commented Nov 7, 2017 via email

@fioriNTU
Copy link
Contributor

fioriNTU commented Nov 7, 2017

@davidlange6 just a small clarification, then maybe we should meet (informally) to close this thread.
You are perfectly right about this:
"and set of things in python that _must_be the same is a big design problem"
but the original design was slightly better, please have a look to another random Phase 1 plugin, let's take the Clusters as an example, in the .h we have an enum with all the quantities the plugin is supposed to monitor https://github.com/cms-sw/cmssw/blob/master/DQM/SiPixelPhase1Clusters/interface/SiPixelPhase1Clusters.h#L16

then the python has only to respect the order (not really to contain the same strings), so in the cfi we have at first the PSet for charge, then size ... etc. This is what usually we pay.

Then let me point out that this kind of issue happens ONLY if we add a new quantity to monitor (if we want to add or remove plots with existing quantities it requires only deleting or adding one line of python), since this has been the first year with this new detector I believe that cases in which we want to add new quantities to the monitoring will be really rare.

Said that, I would be more than happy to discuss with you how to improve the code if you already have ideas.

@davidlange6
Copy link
Contributor

hi @fioriNTU -my suggestion is to expand on this

eb37333

[not so well tested, but in theory one just has to fill more if-else statements in the constructor to cover all of the possible cases]

this will break any strong ordering requirement between c++ and python as well as any requirement that all possible psets are needed in each module instance. The cost is a set of string->int lookups in the constructor and ifs to check against the validity of each histogram (which likely can be done better)

@fioriNTU
Copy link
Contributor

fioriNTU commented Nov 8, 2017

@davidlange6 thanks for the feedback, however I would like to think about it more. In this way you remove the order dependency but, as you point out, we have to add a lot more if statements, and we have to change the each plugin ... who knows how many bugs we can introduce in this. I am not 100% sure if this will make our life better. I plan to work on this after the run is over, will be back to you in few weeks.

@davidlange6
Copy link
Contributor

davidlange6 commented Nov 8, 2017 via email

@smuzaffar smuzaffar modified the milestones: CMSSW_10_0_X, CMSSW_10_1_X Jan 24, 2018
@davidlange6
Copy link
Contributor

Your PR is unmergeable. Please have a look and possibly rebase it.

@smuzaffar smuzaffar modified the milestones: CMSSW_10_1_X, CMSSW_10_2_X Mar 29, 2018
@fabiocos
Copy link
Contributor

@ssilvado what should we do with this PR, that in any case should be as a minimum be rebased?

@ssilvado
Copy link
Contributor Author

@fabiocos I believe that this PR should be in standby, am I right @fioriNTU ?

@boudoul
Copy link
Contributor

boudoul commented May 31, 2018

Hi @ssilvado , just close this PR for the moment to remove it from the github list - We should think and discuss all those issues calmy (maybe first remember them ) in a tkDQM meeting - Thanks

@fioriNTU
Copy link
Contributor

fioriNTU commented Jun 1, 2018

@ssilvado please close this PR, at this point for sure is not merge-able anymore. We will cook a new one, actually these plots have been mentioned in one of the last DPG meetings, so it is worth to add them.

@ssilvado ssilvado closed this Jun 6, 2018
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

10 participants