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

iRPC_2D #17252

Merged
merged 11 commits into from Jan 25, 2017
Merged

iRPC_2D #17252

merged 11 commits into from Jan 25, 2017

Conversation

bapavlov
Copy link
Contributor

Small changes to the digitizer to enable 2D readout for iRPC. The option is configurable with a flag in the configuration file.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @bapavlov for CMSSW_9_0_X.

It involves the following packages:

SimMuon/RPCDigitizer

@cmsbuild, @civanch, @mdhildreth, @davidlange6 can you please review it and eventually sign? Thanks.
@jhgoh this is something you requested to watch as well.
@davidlange6, @smuzaffar you are the release manager for this.

cms-bot commands are listed here #13028

@bapavlov
Copy link
Contributor Author

@kpedro88
Dear Kevin, it's to inform you that we have make some minor changes in the iRPC digitizer to enable 2D readout.

// std::cout<<"deltaw\t"<<deltaw<<std::endl;
// std::cout<<"deltawL\t"<<deltawL<<std::endl;
// std::cout<<"deltawR\t"<<deltawR<<std::endl;

Copy link
Contributor

Choose a reason for hiding this comment

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

please remove commented lines of code if not needed

@cmsbuild
Copy link
Contributor

Pull request #17252 was updated. @cmsbuild, @civanch, @mdhildreth, @davidlange6 can you please check and sign again.

return -1;

// std::cout<<"((roll.centreOfStrip(strip)).x())\t"<<((roll.centreOfStrip(strip)).x())<<std::endl;
// std::cout<<"((hit_pos.x())\t"<<(hit_pos.x())<<std::endl;
Copy link
Contributor

Choose a reason for hiding this comment

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

please remove

// std::cout<<"((roll.centreOfStrip(strip)).x())\t"<<((roll.centreOfStrip(strip)).x())<<std::endl;
// std::cout<<"((hit_pos.x())\t"<<(hit_pos.x())<<std::endl;

// double deltaw = fabs((roll.centreOfStrip(strip)).x()-hit_pos.x());
Copy link
Contributor

Choose a reason for hiding this comment

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

please remove

positionY-=striplength/2;
adigi.hasY(true);
adigi.setY(positionY);
// adigi.setDeltaY(striplength/sqrt(12.));
Copy link
Contributor

Choose a reason for hiding this comment

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

please remove

double deltaw=roll->centreOfStrip(centralStrip).x()-entr.x();
if (deltaw<0.) {
int lr = LeftRightNeighbour(*roll, entr, centralStrip);
// std::cout<<"LeftRightNeighbour(*roll, entr, centralStrip)\t"<<lr<<std::endl;
Copy link
Contributor

Choose a reason for hiding this comment

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

please remove

@cmsbuild
Copy link
Contributor

Pull request #17252 was updated. @cmsbuild, @civanch, @mdhildreth, @davidlange6 can you please check and sign again.

@kpedro88
Copy link
Contributor

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 23, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/17387/console Started: 2017/01/23 17:21

@cmsbuild
Copy link
Contributor

-1

Tested at: 73690b4

You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-17252/17387/summary.html

I found follow errors while testing this PR

Failed tests: Build

  • Build:

I found an error when building:

>> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-01-23-1100/src/SimMuon/RPCDigitizer/test/RPCDigiReader.cc 
>> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-01-23-1100/src/SimMuon/RPCDigitizer/test/RPCFakeEvent.cc 
>> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_0_X_2017-01-23-1100/src/SimMuon/RPCDigitizer/test/RPCEventDump.cc 
>> Building edm plugin tmp/slc6_amd64_gcc530/src/SimMuon/RPCDigitizer/test/RPCEventDump/libRPCEventDump.so
/cvmfs/cms-ib.cern.ch/week0/slc6_amd64_gcc530/cms/cmssw-patch/CMSSW_9_0_X_2017-01-23-1100/external/slc6_amd64_gcc530/lib/libCore.so: file not recognized: File truncated
collect2: error: ld returned 1 exit status
gmake: *** [tmp/slc6_amd64_gcc530/src/SimMuon/RPCDigitizer/test/RPCEventDump/libRPCEventDump.so] Error 1
Leaving library rule at src/SimMuon/RPCDigitizer/test
>> Building edm plugin tmp/slc6_amd64_gcc530/src/SimMuon/RPCDigitizer/test/RPCFakeEvent/libRPCFakeEvent.so
>> Building edm plugin tmp/slc6_amd64_gcc530/src/SimMuon/RPCDigitizer/test/RPCDigiReader/libRPCDigiReader.so
/cvmfs/cms-ib.cern.ch/week0/slc6_amd64_gcc530/cms/cmssw-patch/CMSSW_9_0_X_2017-01-23-1100/external/slc6_amd64_gcc530/lib/libCore.so: file not recognized: File truncated


@cmsbuild
Copy link
Contributor

Comparison not run due to Build errors (RelVals and Igprof tests were also skipped)

@kpedro88
Copy link
Contributor

@smuzaffar can you check if there is a problematic node?

@civanch
Copy link
Contributor

civanch commented Jan 24, 2017

@bapavlov , there are std::cout and std::endl within the class constructor. They should be replaced by edm::LogInfo now

@kpedro88
Copy link
Contributor

please abort

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Pull request #17252 was updated. @cmsbuild, @civanch, @mdhildreth, @davidlange6 can you please check and sign again.

@cmsbuild
Copy link
Contributor

@civanch
Copy link
Contributor

civanch commented Jan 25, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 25, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/17432/console Started: 2017/01/25 12:38

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

@civanch
Copy link
Contributor

civanch commented Jan 25, 2017

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_9_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @smuzaffar

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 10d87d5 into cms-sw:CMSSW_9_0_X Jan 25, 2017
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