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

Fraction noisy channels #13595

Merged
merged 2 commits into from May 2, 2016
Merged

Conversation

fcavallo
Copy link
Contributor

@fcavallo fcavallo commented Mar 4, 2016

Normalize the number of noisy channels to the total number of wires per chamber or sector

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 4, 2016

A new Pull Request was created by @fcavallo (Francesca Romana Cavallo) for CMSSW_8_1_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 Mar 7, 2016

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 7, 2016

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 7, 2016

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 7, 2016

@fcavallo
Copy link
Contributor Author

can this PR be closed or are there problems?

const DTSuperLayer * SL = (muonGeom->chamber(chID))->superLayer(isl);
for (int ilay=1; ilay<5; ilay++) {
int nw = ((SL->layer(ilay))->specificTopology()).channels();
NwCh[3][3]+=nw;
Copy link
Contributor

Choose a reason for hiding this comment

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

this numbers ([3][3]) look like magic numbers to me. is this wanted?

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, sorry I took so long!
Yes: it is wanted. And also: NwCh[9][3]+=nw; at line 123!
[3][3] means: sector 4, station 4. This DT station (and also MB4/Sect10, i.e. [9][3] here) is actually a pair of stations and in the software the twins are often treated as one, as it is the case in this class. You see for instance:
if(sector == 13) {
sector = 4;
} else if(sector == 14) {
sector = 10;
}
https://github.com/cms-sw/cmssw/blob/CMSSW_8_1_X/DQM/DTMonitorClient/src/DTNoiseAnalysisTest.cc#L140

13 and 14 are the fictitious sector numbers of the twins. So here I am adding the wires of MB4/Sect13 to MB4/Sect4 and MB4/Sect14 to MB4/Sec10, to properly handle them as one, as they are in the rest of the code.

@deguio
Copy link
Contributor

deguio commented Apr 19, 2016

+1

@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 (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 cmsbuild merged commit 0fe4e8d into cms-sw:CMSSW_8_1_X May 2, 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

4 participants