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

ZeroDivisionError in SingleTopReconstruction #24

Open
marco-link opened this issue Nov 10, 2022 · 0 comments
Open

ZeroDivisionError in SingleTopReconstruction #24

marco-link opened this issue Nov 10, 2022 · 0 comments

Comments

@marco-link
Copy link
Member

== CMSSW: Processed    10000/   53459 entries, 18.71% (elapsed time    22.5s, curr speed    0.444 kHz, avg speed    0.444 kHz), accepted        4/   10001 events ( 0.04%)
== CMSSW: Processed    20000/   53459 entries, 37.41% (elapsed time    33.3s, curr speed    0.926 kHz, avg speed    0.600 kHz), accepted        8/   20001 events ( 0.04%)
== CMSSW: Processed    30000/   53459 entries, 56.12% (elapsed time    41.5s, curr speed    1.224 kHz, avg speed    0.723 kHz), accepted       11/   30001 events ( 0.04%)
== CMSSW: Traceback (most recent call last):
== CMSSW:   File "ST.py", line 454, in <module>
== CMSSW:     p.run()
== CMSSW:   File "/srv/CMSSW_11_1_7/python/PhysicsTools/NanoAODTools/postprocessing/framework/postprocessor.py", line 234, in run
== CMSSW:     eventRange=eventRange, maxEvents=self.maxEntries
== CMSSW:   File "/srv/CMSSW_11_1_7/python/PhysicsTools/NanoAODTools/postprocessing/framework/eventloop.py", line 78, in eventLoop
== CMSSW:     ret = m.analyze(e)
== CMSSW:   File "/srv/CMSSW_11_1_7/python/PhysicsTools/NanoAODTools/modules/SingleTopReconstruction.py", line 151, in analyze
== CMSSW:     cosWhel = leptonInWbosonRestframe.Vect().Dot(topInWbosonRestframe.Vect())/leptonInWbosonRestframe.Vect().Mag()/topInWbosonRestframe.Vect().Mag()
== CMSSW: ZeroDivisionError: float division by zero

when running over /store/user/mlink/WbChargeReco/2022-08-24_v12/mc_2017/QCD_Pt-800To1000_MuEnrichedPt5_TuneCP5_13TeV-pythia8/WbChargeReco_mc_2017_2022-08-24_v12/220824_154419/0000/nanox_823.root

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant