Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ it in future.
- Update Python code in shipDigiReco.py to use modern constructors
- Bump ClassDef versions to 2 for schema evolution
- Add TrackInfo to RNTuple I/O test suite
* Fixed the weird cut on P in the script that produces P and P-Pt histograms for neutrinos

### Removed

Expand Down
4 changes: 2 additions & 2 deletions macro/makeDecay.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@
if par.id()<0: idhnu+=1000
pt2=par.px()**2+par.py()**2
ptot=ROOT.TMath.Sqrt(pt2+par.pz()**2)
l10ptot=min(max(ROOT.TMath.Log10(ptot),-0.3),1.69999)
l10pt=min(max(ROOT.TMath.Log10(ROOT.TMath.Sqrt(pt2)),-2.),0.4999)
l10ptot= max(ROOT.TMath.Log10(ptot),-0.3)
l10pt= max(ROOT.TMath.Log10(ROOT.TMath.Sqrt(pt2)),-2.)
h[str(idhnu)].Fill(ptot,wspill)
h[str(idhnu+100)].Fill(l10ptot,l10pt,wspill)
h[str(idhnu+200)].Fill(l10ptot,l10pt,wspill)
Expand Down
Loading