All steps except HLT should be run on 10_6_4.
cmsrel CMSSW_10_6_4
cd CMSSW_10_6_4/src/
git clone https://github.com/lathomas/PhotonInducedGeneration -b ul17
cmsenv
To run:
cmsRun MakeX.py
where X=LHEGENSIM_forcrab,RAWnoHLT,AOD,MINIAOD. The output of the previous step should be provided as input to the next step (obviously...). For LHEGENSIM you need to update the inputFiles to a valid LHE file.
Important note: the HLT step MUST be run on 9_4_14_UL_patch1. It will crash on 10_6. Crab submission: Use the following script: sh SubmitX.py