Displaced Particle Gun#51006
Conversation
|
type ngt |
|
cms-bot internal usage |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51006/49427
|
|
A new Pull Request was created by @bfonta for master. It involves the following packages:
@AdrianoDee, @DickyChant, @antoniovagnerini, @cmsbuild, @kfjack, @lviliani, @miquork, @mkirsano, @sensrcn, @sroychow, @theofil can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
test parameters:
|
|
@cmsbuild, please test |
mmusich
left a comment
There was a problem hiding this comment.
from a first cursory review.
|
+1 Size: This PR adds an extra 116KB to repository DAS Queries: The DAS query tests failed, see the summary page for details. Comparison SummarySummary:
|
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-51006/49429
|
|
Pull request #51006 was updated. @AdrianoDee, @DickyChant, @antoniovagnerini, @cmsbuild, @kfjack, @lviliani, @miquork, @mkirsano, @sensrcn, @sroychow, @theofil can you please check and sign again. |
|
@cmsbuild, please test |
|
+1 Size: This PR adds an extra 116KB to repository DAS Queries: The DAS query tests failed, see the summary page for details. Comparison SummarySummary:
|
PR description:
This PR introduces a displaced particle gun producer, and adds corresponding workflows.
The producer is useful for studies considering displaced topologies.
The producer selects a vertex position by randomly generating a set of$R>0$ , $\phi_{\text{Vtx}} \in [0;2\pi[$ , and $z>0$ coordinates. The momentum of the particle is then randomly generated using $p_{\text{T}}$ , $\theta \in [0, \pi[$ and $\phi \in [-\pi; \pi[$ coordinates. The vertex displacement $R$ can be generated uniformly along $R$ , or uniformly along the area of an annulus of radius $R_{\text{max}}-R_{\text{min}}$ .
The gun can be forced to only generate particles reaching the surface of HGCAL via the$\theta$ and $\phi$ are generated multiple times until a configuration enables the particle to lie within $\theta$ range is not sufficient to guarantee that a particle is produced in the right direction. By default, $R=200\text{cm}$ traverse the entirety of the CE-E. The
PointingToHGCALflag. In this case,RminFrontSurfaceHGCALandRmaxFrontSurfaceHGCAL. Note that, given a displaced vertex, setting only aRminFrontSurfaceHGCALandRmaxFrontSurfaceHGCALdelimit the inner third of HGCAL's front surface, ensuring virtually all showers produced up toPointingToHGCALflag cannot be used with charged particles, since their curved trajectories under the magnetic field breaks the implemented logic.PR validation
Inspecting the output of$R$ values, and always pointing towards the positive endcap.
step2withcmsShowshows photons produced at the rightRunning the workflows produces the intended commands:
$ runTheMatrix.py -l 34554.0 -w upgrade ... Preparing to run 34554.0 DisplacedPGun+Run4D121 # in: /cms-hlt-nfs/user/bfontana/DisplacedSamples/src going to execute cd 34554.0_DisplacedPGun+Run4D121 cmsDriver.py DisplacedParticleGun_cfi -s GEN,SIM -n 10 --conditions auto:phase2_realistic_T35_13TeV --beamspot DBrealisticHLLHC --datatier GEN-SIM --eventcontent FEVTDEBUG --geometry ExtendedRun4D121 --era Pha se2C22I13M9 --relval 9000,100 --fileout file:step1.root > step1_DisplacedPGun+Run4D121.log 2>&1 # in: /cms-hlt-nfs/user/bfontana/DisplacedSamples/src going to execute cd 34554.0_DisplacedPGun+Run4D121 cmsDriver.py step2 -s DIGI:pdigi_valid,L1TrackTrigger,L1,L1P2GT,DIGI2RAW,HLT:@relvalRun4 --conditions auto:phase2_realistic_T35 --datatier GEN-SIM-DIGI-RAW -n 10 --eventcontent FEVTDEBUGHLT --geometry Extended Run4D121 --era Phase2C22I13M9 --filein file:step1.root --fileout file:step2.root > step2_DisplacedPGun+Run4D121.log 2>&1 # in: /cms-hlt-nfs/user/bfontana/DisplacedSamples/src going to execute cd 34554.0_DisplacedPGun+Run4D121 cmsDriver.py step3 -s RAW2DIGI,RECO,RECOSIM,PAT,VALIDATION:@phase2Validation+@miniAODValidation,DQM:@phase2+@miniAODDQM --conditions auto:phase2_realistic_T35 --datatier GEN-SIM-RECO,MINIAODSIM,DQMIO -n 10 --e ventcontent FEVTDEBUGHLT,MINIAODSIM,DQM --geometry ExtendedRun4D121 --era Phase2C22I13M9 --filein file:step2.root --fileout file:step3.root > step3_DisplacedPGun+Run4D121.log 2>&1 # in: /cms-hlt-nfs/user/bfontana/DisplacedSamples/src going to execute cd 34554.0_DisplacedPGun+Run4D121 cmsDriver.py step4 -s HARVESTING:@phase2Validation+@phase2+@miniAODValidation+@miniAODDQM --conditions auto:phase2_realistic_T35 --mc --geometry ExtendedRun4D121 --scenario pp --filetype DQM --era Phase2C22I1 3M9 -n 100 --filein file:step3_inDQM.root --fileout file:step4.root > step4_DisplacedPGun+Run4D121.log 2>&1 # in: /cms-hlt-nfs/user/bfontana/DisplacedSamples/src going to execute cd 34554.0_DisplacedPGun+Run4D121 cmsDriver.py step5 -s ALCA:SiPixelCalSingleMuonLoose+SiPixelCalSingleMuonTight+TkAlMuonIsolated+TkAlMinBias+MuAlOverlaps+EcalESAlign+TkAlZMuMu+TkAlDiMuonAndVertex+HcalCalHBHEMuonProducerFilter+TkAlUpsilonMuMu+ TkAlJpsiMuMu --conditions auto:phase2_realistic_T35 --datatier ALCARECO -n 10 --eventcontent ALCARECO --geometry ExtendedRun4D121 --era Phase2C22I13M9 --filein file:step3.root --fileout file:step5.root > step5_ DisplacedPGun+Run4D121.log 2>&1 34554.0_DisplacedPGun+Run4D121 Step0-PASSED Step1-PASSED Step2-PASSED Step3-PASSED Step4-PASSED - time date Thu May 21 01:14:13 2026-date Thu May 21 01:07:37 2026; exit: 0 0 0 0 0 1 1 1 1 1 tests passed, 0 0 0 0 0 failed