Coder Social home page Coder Social logo

Systematics about factorytools HOT 7 CLOSED

rsmith54 avatar rsmith54 commented on July 20, 2024
Systematics

from factorytools.

Comments (7)

lawrenceleejr avatar lawrenceleejr commented on July 20, 2024

This doesn't look like it'll as simple as it looked. It would be great to just tack on some other algorithms but the way SUSYTools is set up it might be hard to do. See:

https://svnweb.cern.ch/trac/atlasoff/browser/PhysicsAnalysis/SUSYPhys/SUSYAnalysisExample/trunk/Root/MyxAODAnalysis.cxx#L337

I'm trying to think of the best way. The ZL factory has a lot of machinery in place for this for adding a weight branch in the systematic just affects the overall weight, e.g.

Also is there a way to incorporate this AthAnalysisBase alg into this rc setup somehow? Seems like the thing everyone would want/need..

https://svnweb.cern.ch/trac/atlasoff/browser/PhysicsAnalysis/SUSYPhys/SUSYTools/trunk/src/SUSYToolsAlg.cxx

from factorytools.

rsmith54 avatar rsmith54 commented on July 20, 2024

I think we can do the loop in the run script. I can try and set up the way
I was thinking sometime today.

On Tuesday, January 26, 2016, Lawrence Lee [email protected] wrote:

This doesn't look like it'll as simple as it looked. It would be great to
just tack on some other algorithms but the way SUSYTools is set up it might
be hard to do. See:

https://svnweb.cern.ch/trac/atlasoff/browser/PhysicsAnalysis/SUSYPhys/SUSYAnalysisExample/trunk/Root/MyxAODAnalysis.cxx#L337

I'm trying to think of the best way. The ZL factory has a lot of machinery
in place for this for adding a weight branch in the systematic just affects
the overall weight, e.g.

Also is there a way to incorporate this AthAnalysisBase alg into this rc
setup somehow? Seems like the thing everyone would want/need..

https://svnweb.cern.ch/trac/atlasoff/browser/PhysicsAnalysis/SUSYPhys/SUSYTools/trunk/src/SUSYToolsAlg.cxx


Reply to this email directly or view it on GitHub
#28 (comment)
.

from factorytools.

lawrenceleejr avatar lawrenceleejr commented on July 20, 2024

Yeah, so I think we can do that too, but there's two annoying things about that.

  1. SUSYTools has a nice feature where it can give you a list of all the possible systematics, and it would be nice to just loop over that list. But we'd be unable to if the loop is in the run script, right? (The function which creates the list requires SUSYTools to be initialized)
  2. This is maybe non-optimal for systematics that lead to just a new weight? But maybe that's not a huge deal?

I'll be in r1 for much of the day probably so maybe we can "hack-a-thon" or "code jam" or whatever the kids are saying these days.

from factorytools.

rsmith54 avatar rsmith54 commented on July 20, 2024

okay so everything is basically set up, but the systematics are not actually applied, so I need to figure out exactly why.

from factorytools.

rsmith54 avatar rsmith54 commented on July 20, 2024

Things work now with the applySystematicVariation calling in the execute function. The only problem is the setup relies on being able to set property from the python run script and also SystematicRegistry being available in python. I have submitted an ASG JIRA ticket to get the SystematicRegistry added to the LinkDef (see link below). This probably isn't strictly necessary though (we could access through ST indirectly)

The bigger deal is the SettingDataSource problem, since right now we need to set the DataSource from PyROOT to initialize SUSYTools. I just sent an email about this so hopefully it can be changed or solvable with a new version of SUSYTools.

https://its.cern.ch/jira/browse/ATLASG-365?jql=project%20%3D%20ATLASG%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20%3D%20PyROOT%20ORDER%20BY%20priority%20DESC

from factorytools.

rsmith54 avatar rsmith54 commented on July 20, 2024

The other code has been updated enough, so we can do this finally. I'll add the code, update the readme and merge sometime today.

from factorytools.

rsmith54 avatar rsmith54 commented on July 20, 2024

Completed by #64 and #65 .

from factorytools.

Related Issues (20)

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.