Giter Club home page Giter Club logo

Comments (4)

A-A-Abdelhamid avatar A-A-Abdelhamid commented on August 22, 2024

To solve this issue, I added this line to the functionand abs(particle.pid) == 13 to make it only go down the muon decay line:

def get_final_muon_descendant(particle):

    """
    Get the final state muon descendant of a given particle.
    """

    # Check if the particle itself is a final state muon

    if particle.status == 1 and abs(particle.pid) == 13:
        return particle

    # If the particle is a muon and has an end vertex, check its descendants recursively

    elif particle.end_vertex and abs(particle.pid) == 13:
        for p in particle.end_vertex.particles_out:
            final_muon = get_final_muon_descendant(p)
            if final_muon is not None:
                return final_muon

    # If the particle is not a final state muon and does not have an end vertex, return None

    return None

from llp_sleptons_rpv_susy.

A-A-Abdelhamid avatar A-A-Abdelhamid commented on August 22, 2024

This is the output after updating the code:

pt_NonSignal_Cut

We are still getting the same muons with high Pt. I looked into the event with muon_Pt ~ 500 GeV

from llp_sleptons_rpv_susy.

A-A-Abdelhamid avatar A-A-Abdelhamid commented on August 22, 2024

Here is the event:

event


And here is the muon with Pt ~ 0.49 TeV:

Screenshot 2023-07-25 at 2 08 49 PM

As strange as it seems, it is pair produced by a photon!
The actual muon from the smuon decay is marked in green, the suspicious 0.49 TeV muon is circled in red

from llp_sleptons_rpv_susy.

A-A-Abdelhamid avatar A-A-Abdelhamid commented on August 22, 2024

@trholmes
Could you please take a look at this issue? This is the weird muon with pt ~0.5 TeV

I will look at the events with the other 7 muons that were not produced directly by a smuon decay and have pt> 65 GeV

from llp_sleptons_rpv_susy.

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.