cms-analysis / flashgg

19 stars 159 forks source link

pileupConfiguration_cfi.py is not found when running flashgg #1305

Open castanee opened 1 year ago

castanee commented 1 year ago

Hello,

I'm trying to produce TnP ntuples using flashgg, but it seems there is not pileupConfiguration_cfi.py, only there is pileupConfiguration_cff.py, see the error message below.

Where this file (pileupConfiguration_cfi.py) can be found?


unknown python problem occurred. ImportError: No module named pileupConfiguration_cfi

At: /pool/condor/dir_19195/CMSSW_10_6_29/python/flashgg/Validation/treeMakerOptionsHLT_cfi.py(13): setModules /afs/cern.ch/user/c/castanee/EgammaCodeTnP/PhotonEffi/NewVersion/CMSSW_10_6_29/src/flashgg/Validation/test/SEED_UL17_Folder/makeHltTreePhotons.py(123):

youyingli commented 1 year ago

Sorry, TnP package is no longer used in flashgg from long time ago (see https://github.com/cms-analysis/flashgg/commit/c18c90d0a37d8a34aa6a3864be0f2c0ffec2cf32) and TnP package seems not to be updated. Do you want to use it for HLT SF calculation or other things?

castanee commented 1 year ago

Hello,

Thanks for your message!

I'm trying to obtain the photon trigger efficiencies, but first I need to produce the TnP ntuples using the script from flashgg "makeHltTreePhotons.py.

I'll try to contact the people in charge of the TnP package to see if I can have some help from them.

Many thanks!