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
[10.0.x] Update of SiStrip PI classes #21265
Conversation
…ratio plot and rename partition to region
The code-checks are being triggered in jenkins. |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/PR-21265/1933 Code check has found code style and quality issues which could be resolved by applying a patch in https://cmssdt.cern.ch/SDT/code-checks/PR-21265/1933/git-diff.patch You can run |
The code-checks are being triggered in jenkins. |
type bug-fix |
+code-checks |
A new Pull Request was created by @mmusich (Marco Musich) for master. It involves the following packages: CondCore/SiStripPlugins @ggovi, @cmsbuild can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins. |
+1 The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). 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) |
Hello, |
case SiStripPI::TID3s: return "TID D3 stereo"; | ||
case SiStripPI::END_OF_REGIONS : return "undefined"; | ||
default : return "should never be here"; | ||
case SiStripPI::TIB1r: return std::make_pair(1 ,"TIB L1 r-#varphi"); |
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.
hi @mmusich - sorry for the delay - how do you plan to use this new index ? (I don't think its used below). The enum has an index already
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.
HI @davidlange6, I need it to get the bin number to fill in e.g. https://github.com/cms-sw/cmssw/pull/21265/files#diff-0eaa5baaa2c31b79f1f2bbf7573a8eb3R1454.
I cannot use the indexing already associated to the enum because that one is used to couple it to internal indexing used in SiStripDetSummary
if( layer <= stereo[subDet] ) valueMap_[1000*(subDet+1)+layer*10+1] = initValues; |
ah - thanks
… On Nov 20, 2017, at 11:52 AM, Marco Musich ***@***.***> wrote:
@mmusich commented on this pull request.
In CondCore/SiStripPlugins/interface/SiStripPayloadInspectorHelper.h:
> - case SiStripPI::TEC6s: return "TEC D6 stereo";
- case SiStripPI::TEC7r: return "TEC D7 r-#varphi";
- case SiStripPI::TEC7s: return "TEC D7 stereo";
- case SiStripPI::TEC8r: return "TEC D8 r-#varphi";
- case SiStripPI::TEC8s: return "TEC D8 stereo";
- case SiStripPI::TEC9r: return "TEC D9 r-#varphi";
- case SiStripPI::TEC9s: return "TEC D9 stereo";
- case SiStripPI::TID1r: return "TID D1 r-#varphi";
- case SiStripPI::TID1s: return "TID D1 stereo";
- case SiStripPI::TID2r: return "TID D2 r-#varphi";
- case SiStripPI::TID2s: return "TID D2 stereo";
- case SiStripPI::TID3r: return "TID D3 r-#varphi";
- case SiStripPI::TID3s: return "TID D3 stereo";
- case SiStripPI::END_OF_REGIONS : return "undefined";
- default : return "should never be here";
+ case SiStripPI::TIB1r: return std::make_pair(1 ,"TIB L1 r-#varphi");
HI @davidlange6, I need it to get the bin number to fill in e.g. https://github.com/cms-sw/cmssw/pull/21265/files#diff-0eaa5baaa2c31b79f1f2bbf7573a8eb3R1454.
I cannot use the indexing already associated to the enum because that one is used to couple it to internal indexing used in SiStripDetSummary
https://github.com/cms-sw/cmssw/blob/ee01ed60f0498e0ee4e4ce2fd3f70efe474c96b1/CondFormats/SiStripObjects/interface/SiStripDetSummary.h#L46
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
merge
… On Nov 20, 2017, at 11:52 AM, Marco Musich ***@***.***> wrote:
@mmusich commented on this pull request.
In CondCore/SiStripPlugins/interface/SiStripPayloadInspectorHelper.h:
> - case SiStripPI::TEC6s: return "TEC D6 stereo";
- case SiStripPI::TEC7r: return "TEC D7 r-#varphi";
- case SiStripPI::TEC7s: return "TEC D7 stereo";
- case SiStripPI::TEC8r: return "TEC D8 r-#varphi";
- case SiStripPI::TEC8s: return "TEC D8 stereo";
- case SiStripPI::TEC9r: return "TEC D9 r-#varphi";
- case SiStripPI::TEC9s: return "TEC D9 stereo";
- case SiStripPI::TID1r: return "TID D1 r-#varphi";
- case SiStripPI::TID1s: return "TID D1 stereo";
- case SiStripPI::TID2r: return "TID D2 r-#varphi";
- case SiStripPI::TID2s: return "TID D2 stereo";
- case SiStripPI::TID3r: return "TID D3 r-#varphi";
- case SiStripPI::TID3s: return "TID D3 stereo";
- case SiStripPI::END_OF_REGIONS : return "undefined";
- default : return "should never be here";
+ case SiStripPI::TIB1r: return std::make_pair(1 ,"TIB L1 r-#varphi");
HI @davidlange6, I need it to get the bin number to fill in e.g. https://github.com/cms-sw/cmssw/pull/21265/files#diff-0eaa5baaa2c31b79f1f2bbf7573a8eb3R1454.
I cannot use the indexing already associated to the enum because that one is used to couple it to internal indexing used in SiStripDetSummary
https://github.com/cms-sw/cmssw/blob/ee01ed60f0498e0ee4e4ce2fd3f70efe474c96b1/CondFormats/SiStripObjects/interface/SiStripDetSummary.h#L46
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Features added:
TrackerMaps
via class templates;Bug-fixes:
TrackerMap
of the maximum deviation of the ratio;SiStripApvAbsolute*
plots;