ATLAS Offline Software
Loading...
Searching...
No Matches
mc.StarlightEG_gammaA2Psi2SallCoherent_CTFlt_CA.py
Go to the documentation of this file.
1# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2
3from EvgenJobTransforms.EvgenCAConfig import EvgenConfig
4
5class Sample(EvgenConfig):
6
7 def setupFlags(self, flags):
8 self.description = "Starlight+EvtGen coherent gamma + A UPC collisions to Psi(2S) -> all decays, breakup mode 5, pT(trk)>0.9GeV, |eta(trk)|<2.6"
9 self.keywords = ["coherent","resonance"]
10 self.contact = ["pawel.rybczynski@cern.ch"]
11 self.nEventsPerJob = 10000
12
13 def setupProcess(self, flags):
14
15 slightIn = [
16 "nmbWBins 200", #Bins n w
17 "maxRapidity 3.", #max y
18 "nmbRapidityBins 200", #Bins n y
19 "productionMode 2", #(1=2-phot,2=vmeson(narrow),3=vmeson(wide))
20 "prodParticleId 444011", #Channel of interest
21 "beamBreakupMode 5", #Controls the nuclear breakup
22 ]
23
24 # Set up Starlight with vector meson decays from EvtGen
25 from Starlight_i.StarlightConfig import Starlight_EvtGen_Common_Cfg
26 sampleConfig = Starlight_EvtGen_Common_Cfg(flags, Initialize=slightIn)
27
28 # Add filter
29 from GeneratorFilters.GeneratorFiltersConfig import xAODChargedTracksFilterCommonCfg
30 sampleConfig.merge(xAODChargedTracksFilterCommonCfg(
31 flags,
32 NTracks=1,
33 Ptcut=900.,
34 Etacut=2.6,
35 ))
36
37 return sampleConfig
setupProcess(self, flags)
setupFlags(self, flags)