Conversation
Add a constructor from Run3ScoutingElectron that populates kinematics, shower shapes, ID variables, track parameters, isolation, and ECAL crystal-level information. Scouting-derived quantities are stored as userFloats/userInts where GsfElectron members are not directly writable, and as dedicated private members for track and ECAL data. Provide universal accessors (trkEta, trkPhi, trkpMode, trketaMode, trkphiMode, trkqoverpModeError, seedId, nClusters, nCrystals) that dispatch to gsfTrack()/superCluster() for standard electrons and to the stored scouting values for scouting electrons, controlled by an isScoutingElectron() flag. Scouting-only quantities with no standard equivalent (energyMatrix, timingMatrix, detIds, rechitZeroSuppression) keep their scouting-prefixed accessors.
Add a constructor from Run3ScoutingPhoton that populates kinematics, shower shapes, energy variables, and isolation. Scouting-derived quantities are stored as userFloats where reco::Photon members are not directly writable, and as dedicated private members for ECAL crystal data. Provide universal accessors (seedId, nClusters, nCrystals) that dispatch to superCluster() for standard photons and to stored scouting values for scouting photons, controlled by an isScoutingPhoton() flag. Scouting-only quantities with no standard equivalent (energyMatrix, timingMatrix, detIds, rechitZeroSuppression) keep their scouting- prefixed accessors.
… since scouting jets don't have constituent indices filled. Still can be useful in the future.
…it to fill PackedCandidate tracking info
…it to fill PackedCandidate tracking info
|
@ftorrresd, @battibass, how can we proceed with the PR? We would like to start integrating it with BPHNano and it will be cleaner to keep the two as separate PRs if possible. |
|
please test with cms-sw/cms-bot#2712 |
|
@drkovalskyi The code-checks looks unrelated to the addition of the new package. Can you run the usual |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-50307/48791
|
|
Pull request #50307 was updated. @Moanwar, @battibass, @cmsbuild, @davidlange6, @fabiocos, @ftenchini, @ftorrresd, @jfernan2, @mandrenguyen, @srimanob can you please check and sign again. |
|
please test |
|
+1 Size: This PR adds an extra 28KB to repository Comparison SummarySummary:
Nano size comparison Summary:
NANO Comparison SummarySummary:
|
|
@cms-sw/xpog-l2 @cms-sw/reconstruction-l2 Can you please have a look? Would like to get this in before building a pre-release. |
|
+1 |
PR description:
Convert Run3 scouting data to standard MiniAOD format so that analysts can use the same accessors regardless of whether objects came from standard reconstruction or scouting.
What this PR does:
For details on motivation and content optimization see https://indico.cern.ch/event/1646385/#4-proposal-for-miniaod-from-hl
PR validation: