-
Notifications
You must be signed in to change notification settings - Fork 4.4k
[NGT] Adding SimDoublets
class for Pixel Tracking Validation including corresponding EDProducers and EDAnalyzers
#47441
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
[NGT] Adding SimDoublets
class for Pixel Tracking Validation including corresponding EDProducers and EDAnalyzers
#47441
Conversation
cms-bot internal usage |
type ngt |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47441/43856 |
A new Pull Request was created by @JanGerritSchulz for master. It involves the following packages:
@AdrianoDee, @Moanwar, @antoniovagnerini, @bbilin, @civanch, @cmsbuild, @DickyChant, @jfernan2, @kpedro88, @lviliani, @mandrenguyen, @mdhildreth, @menglu21, @miquork, @mkirsano, @rseidita, @srimanob, @subirsarkar can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild please test |
-1 Failed Tests: RelVals RelVals-INPUT RelValsValueError: Undefined workflows: 29696.0, 29634.0, 24834.911, 29634.911, 29700.0, 29634.75, 29834.999 RelVals-INPUT
|
Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py
Outdated
Show resolved
Hide resolved
387a08e
to
f1d6ef3
Compare
+1 |
+Upgrade |
+simulation |
+generators |
+pdmv |
@cms-sw/dqm-l2 can you have a look? |
+dqm |
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. @sextonkennedy, @mandrenguyen, @antoniovilela, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
I think this PR has lead to compilation issues in the UBSAN IB log. |
PR description:
This PR proposes the addition of a new class of truth information for Pixel Tracking called
SimDoublets
.Description of the class
SimDoublets
The purpose of$\phi$ , $z$ and cluster sizes. Each of those cuts has one cut parameter that should be tuned for achieving optimal performance. The new
SimDoublets
is to improve the validation of Patatrack Pixel Tracking and to facilitate its optimization. The focus lies on the first step of Patatrack Pixel Tracking which is connecting Pixel RecHits from close by layers to form doublets of compatible hits. The compatibility of two RecHits is defined by a number of cuts onSimDoublets
are the true doublets of RecHits coming from the same TrackingParticle and, therefore in this context, represent the ideal target outcome of the doublet creation. Hence, having theSimDoublets
at hand, one can plot the distributions of all variables that are cut on during the doublet creation and apply those cuts on the true doublets alone. This enables efficiency determination on the doublet level, helping quantifying the performance and optimizing the cut values according to the true distributions.Additional material: Presentation on SimDoublets.
Proposed code changes
In order to implement this new class of
SimDoublets
, we propose the following changes:SiPixelRecHit
inSiPixelRecHitFwd.h
:Since the
SimDoublets
are essentially pairs ofSiPixelRecHit
s, we would like to store two persistent references to the RecHit objects in theSiPixelRecHitCollection
. The reason why we prefer RecHits over clusters is that this is what is used in the Patatrack reconstruction.SimDoublets
underSimDataFormats/TrackingAnalysis
including EDProducer and EDAnalyzer:The new class that stores references to the RecHits of a TrackingParticle and is able to produce of vector of RecHit doublets on the fly. The class comes alongside its own EDProducer (under
SimTracker/TrackerHitAssociation
) and DQM EDAnalyzer (underValidation/TrackingMCTruth
). There is one producer and one analyzer for Phase 1 and Phase 2 respectively. We also added respective config files for testing the developments inValidation/TrackingMCTruth/test
.SingleMuPt15Eta0_0p4_cfi
workflow:For testing purposes, we added this useful workflow to produce a pair of back-to-back muons of
Expected output changes
SimDoublets
are not part of any sequence or workflow.Dependencies
PR validation:
The following tests were performed succesfully.
1. SimDoublets
The added test files in
Validation/TrackingMCTruth/test
were used to validate theSimDoublets
code. For this the used data files were step-2 output files forSingleMu
andTTbar
. You can test the e.g. by producingTTbar
samples with:Afterwards, go in
cd 29634.0_TTbar_14TeV+Run4D110
and run first:And then:
2. Single muons workflow
Generate a
step1.root
file with the newSingleMuPt15Eta0_0p4_cfi
workflow:Credits:
Authored together with with @elenavernazza, @Parsifal-2045 and @mmusich.