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

Totem Timing RecHit Producer #23101

Merged
merged 32 commits into from May 14, 2018
Merged

Conversation

nminafra
Copy link
Contributor

@nminafra nminafra commented May 1, 2018

This RP introduces recHits for TotemTiming detector in vertical Roman Pots (90m dedicated run).

  • The existing object CTPPSDiamondRecHit was generalized to CTPPSTimingRecHit from which CTPPSDiamondRecHit and TotemTimingRecHit inherit.
  • Geometry of the new detector added to VeryForwardGeometry: everything new was added in a dedicated directory TotemTiming, small changes in the existing code.
  • RecHitProducer uses CFD to compute time of arrival from SAMPIC samples in the digis

NOTES:

  • the geometry will be added to the DB as soon as it is approved. In the meanwhile it is important to point the reconstruction to the xml geometry. A working example is available here.
  • With previous hardware configuration, only 2/3 of the detector is connected. The rest will be connected during TS1.
  • Suggested run with good statistics: 314276.

NEXT IN LINE:

  • fine tuning of the CFD parameters: the parameters in this PR were chosen doing a scan, however a small tuning could be required in the future.
  • check cabling (on going).
  • DQM (almost ready).
  • add SAMPIC calibration: TotemTimingConversions was designed to be extensible to read
    calibration values without changing the rest of the code. We aspect a small difference on the performance, tests still on going.

Many thanks for your review!
@forthommel

@cmsbuild
Copy link
Contributor

cmsbuild commented May 1, 2018

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 1, 2018

@cmsbuild
Copy link
Contributor

cmsbuild commented May 1, 2018

A new Pull Request was created by @nminafra (Nicola Minafra) for master.

It involves the following packages:

DataFormats/CTPPSReco
EventFilter/CTPPSRawToDigi
Geometry/VeryForwardData
Geometry/VeryForwardGeometry
Geometry/VeryForwardGeometryBuilder
RecoCTPPS/Configuration
RecoCTPPS/TotemRPLocal

@perrotta, @civanch, @Dr15Jones, @ianna, @mdhildreth, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @forthommel, @rovere this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@slava77
Copy link
Contributor

slava77 commented May 1, 2018

@cmsbuild please test

@nminafra
please confirm that it is possible to still correctly read the CTPPSDiamondRecHit from old files with the new code.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 1, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/27727/console Started: 2018/05/01 14:12

@nminafra
Copy link
Contributor Author

nminafra commented May 1, 2018

@slava77 I've tested from raw and everything is fine: the interface of CTPPSDiamondRecHit didn't change.
Then I've run the DQM in a release with the packages changed as in this PR, starting from AOD (with "old" rechits) and everything is fine.
Do you propose any other test?
Thanks

@slava77
Copy link
Contributor

slava77 commented May 1, 2018 via email

@nminafra
Copy link
Contributor Author

nminafra commented May 1, 2018

@slava77 Yes:
process.path = cms.Path(
process.ctppsDQM
)

For future reference, this is the test I used:
diamond_dqm_test_cfg.py

@cmsbuild
Copy link
Contributor

cmsbuild commented May 1, 2018

-1

Tested at: 2a7296d

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
a2efcfb
b5d5881
aa11fed
445ccd0
2eea6e5
You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-23101/27727/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-23101/27727/git-merge-result

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

I found follow errors while testing this PR

Failed tests: RelVals AddOn

  • RelVals:

When I ran the RelVals I found an error in the following worklfows:
135.4 step1

runTheMatrix-results/135.4_ZEE_13+ZEEFS_13+HARVESTUP15FS+MINIAODMCUP15FS/step1_ZEE_13+ZEEFS_13+HARVESTUP15FS+MINIAODMCUP15FS.log

  • AddOn:

I found errors in the following addon tests:

cmsDriver.py TTbar_13TeV_TuneCUETP8M1_cfi --conditions auto:run2_mc --fast -n 100 --eventcontent AODSIM,DQM --relval 100000,1000 -s GEN,SIM,RECOBEFMIX,DIGI:pdigi_valid,L1,DIGI2RAW,L1Reco,RECO,EI,VALIDATION --customise=HLTrigger/Configuration/CustomConfigs.L1THLT --datatier GEN-SIM-DIGI-RECO,DQMIO --beamspot NominalCollision2015 --era Run2_2016 : FAILED - time: date Tue May 1 15:36:35 2018-date Tue May 1 15:33:06 2018 s - exit: 17920

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
a2efcfb
b5d5881
aa11fed
445ccd0
2eea6e5
You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-23101/27727/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-23101/27727/git-merge-result

@cmsbuild
Copy link
Contributor

cmsbuild commented May 1, 2018

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

@perrotta
Copy link
Contributor

perrotta commented May 10, 2018

+1

  • totemTimingLocalReconstruction added to recoCTPPSdets: this adds TotemTimingRecHitedmDetSetVector_totemTimingRecHits_* to the event. In the test run this adds just 39 Bytes/Event to the FEVT/RECO/AOD output
  • The previous CTPPSDiamondRecHit is still there and with the same interface: it now derives from a base CTPPSTimingRecHit class, from which also the new TotemTimingRecHit derives

@perrotta
Copy link
Contributor

@ianna : you already signed once this PR. Please signi it again, if you agree with the updates integrated since then

@ianna
Copy link
Contributor

ianna commented May 11, 2018

+1

@fabiocos
Copy link
Contributor

@nminafra do I understand correctly that this code is supposed to be valid for the whole 2018 data taking? Clearly, as it is modifying the event content, for its backport in 101X we will need to be careful to manage it though an era, so as not to interfere with the already existing setup. But I would like to understand the situation for 102X

@nminafra
Copy link
Contributor Author

@fabiocos Unless required by you, we do not plan to remove this code. If the detector is not in use, the collections will not be created anyways, so it creates no harm to us.
Actually, in this regard: I was planning to extend also CTPPSDiamondLocalTracks in a similar way (mother class CTPPSTimingLocalTrack, inheriting CTPPSDiamondLocalTrack and TotemTimingLocalTrack). I didn't do it because I'm not sure when the track producer will be ready. However, if you want, I can do it now in a way that, for the backport, both changements can be done in the same era.
Thanks

@slava77
Copy link
Contributor

slava77 commented May 11, 2018 via email

@nminafra
Copy link
Contributor Author

BTW, regarding "If the detector is not in use, the collections will not
be created ": all configured reco producer modules should produce a
collection every event. It can be empty.

True! thanks for the clarification @slava77

@fabiocos
Copy link
Contributor

@slava77 I am thinking to the strategy to be adopted for the 90 m beta* data taking of end of June, when the full 10_2_X will not still fully at production quality.

@fabiocos
Copy link
Contributor

+operations

@fabiocos
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

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 be automatically merged.

@cmsbuild cmsbuild merged commit cc9e4be into cms-sw:master May 14, 2018
@nminafra
Copy link
Contributor Author

Thanks everyone for the review!

@slava77
Copy link
Contributor

slava77 commented May 14, 2018 via email

@nminafra
Copy link
Contributor Author

@slava77 @fabiocos this PR (and the connected ones) is needed for the dedicated run for both DQM and prompt reco: we don't need the rechits in any other (past) run.

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

8 participants