Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ma5 v2.0.4-beta can not produce expert mode files in reco level #164

Open
fortuneteller-y opened this issue Dec 29, 2022 · 3 comments
Open
Assignees
Labels
🐛bug Something isn't working 🦾ExpertMode Expert Mode ❓question Further information is requested

Comments

@fortuneteller-y
Copy link

Question

I am interested in using ma5 to carried out jet substructure analysis, so I march to ma5 in v2.0.4-beta version. But I didn't successfully generate expert mode files in reconstructed level. The error report in the screen is shown as below. Additionally, I found that the generated main.cc file is not completed. I know v2 version is a beta version. If you could do me a favor, I would be grateful. I use ubuntu20 with python3.8. The delphes and the fastjet are installed by ma5 install options.

MA5: Writing a 'Makefile'...
Traceback (most recent call last):
File "./bin/ma5", line 75, in
madanalysis.core.launcher.LaunchMA5(version, date, ma5dir)
File "/home/ys/work/MA5-2/madanalysis5-2.0.4_beta/madanalysis/core/launcher.py", line 430, in LaunchMA5
repeat = MainSession(mode,arglist,ma5dir,version,date)
File "/home/ys/work/MA5-2/madanalysis5-2.0.4_beta/madanalysis/core/launcher.py", line 306, in MainSession
if not expert.Copy(dirname,config=config_file):
File "/home/ys/work/MA5-2/madanalysis5-2.0.4_beta/madanalysis/core/expert_mode.py", line 152, in Copy
if not jobber.CreateBldDir(analysisName=title,outputName="user.saf"):
File "/home/ys/work/MA5-2/madanalysis5-2.0.4_beta/madanalysis/IOinterface/job_writer.py", line 625, in CreateBldDir
self.CreateMainFct(file,analysisName,outputName)
File "/home/ys/work/MA5-2/madanalysis5-2.0.4_beta/madanalysis/IOinterface/job_writer.py", line 560, in CreateMainFct
for item in self.main.multiparticles.Get("invisible"):
File "/home/ys/work/MA5-2/madanalysis5-2.0.4_beta/madanalysis/multiparticle/multiparticle_collection.py", line 84, in Get
return self.table[name]
KeyError: 'invisible

@fortuneteller-y fortuneteller-y added the ❓question Further information is requested label Dec 29, 2022
@jackaraz
Copy link
Member

jackaraz commented Dec 29, 2022

Hi @fortuneteller-y, please tell me the commands you run so that I can try to reproduce your issue on my end.

@jackaraz jackaraz added the 🦾ExpertMode Expert Mode label Dec 29, 2022
@fortuneteller-y
Copy link
Author

fortuneteller-y commented Dec 29, 2022

Hi, Jack. Thanks a lot! The command "ma5 -e " is ok. But the command "ma5 -Re" run across the problem as reported.

@jackaraz
Copy link
Member

jackaraz commented Dec 29, 2022

Hi @fortuneteller-y, I'll look into it, but for the time being, if you are not providing an SFS card, running expert mode in reco mode does not make sense since you are not providing any information regarding the reconstruction. So it should not work, but it should not crash as well, so that needs fixing. Thanks for letting me know.

@jackaraz jackaraz added the 🐛bug Something isn't working label Jan 1, 2023
@jackaraz jackaraz self-assigned this Jan 1, 2023
@jackaraz jackaraz changed the title My ma5 in v2.0.4-beta version can not successfully produce expert mode files in reconstructed level. ma5 v2.0.4-beta can not produce expert mode files in reco level Jan 1, 2023
@jackaraz jackaraz moved this to Todo in Jet Substructure Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working 🦾ExpertMode Expert Mode ❓question Further information is requested
Projects
Status: Todo
Development

No branches or pull requests

2 participants