Code Monkey home page Code Monkey logo

reweight's People

Contributors

candreop avatar chenel avatar dytman avatar gnperdue avatar hrgallagher avatar mastbaum avatar mroda88 avatar nusense avatar sjgardiner avatar steverdennis avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

reweight's Issues

Crash when attempting to reweight a CCQE-strange event

A MicroBooNE user reports a fatal error when running the MaCCQE weight calculator over a sample containing a CCQE-strange event. The error message was
1588038661 FATAL KineLimits : [s] <Jacobian (255)> : *** Can not compute Jacobian for transforming: <QELEvGen> --> <{Q2}|E>

Segfault when reweighting decay branching ratios for P33(1600)

Recent fixes on the Generator master branch allow RES events involving production of P33(1600) to be simulated correctly (see GENIE docDB #153 for a description of the issue discovered in R-3_00_06). When either of the two Reweight knobs varying resonance decay branching ratios (RDecBR1gamma and RDecBR1eta) are used with these events, however, a segfault occurs in GReWeightResonanceDecay::RewBR().

The segfault occurs because kPdgP33m1600_DeltaP (and the other ฮ”(1600) PDG codes) are missing from a hard-coded list of resonances in GReWeightResonanceDecay.cxx. As a result, a TH1D needed for the branching ratio calculations is not produced and leads to an attempt to dereference a nullptr.

At a minimum, the resonance PDG code list in Reweight/src/RwCalculators/GReWeightResonanceDecay.cxx should be brought up to date with the master branch of Generator. It would be better to remove the hard-coded list in favor of a solution that is easier to maintain.

Z-expansion reweight

An Issue has been reported by Kirk from NOvA during the forum (March 2020). They discovered that the z-expansion re-weight knobs which are supposed to take into account the correlations between the 4 parameters of the standard z-expansion are not taking into account the correlation at all.

Compile needs a header file spec moved from .cxx to .h

Oh, this might be mistaken, haven't deleted it yet. My installation had not created an include directory (which is sometimes optional, but possibly not optional for using this package).

Simple fix:

The src/RwCalculators/GReWeightINuke.h
needs
#include "Framework/GHEP/GHepParticle.h"
because its part of the method CalcDeltaAZ specified in the .h file

Having it in the .cxx file is not enough, compiler gives unknown type name

Using AlmaLinux 9.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.