Skip to content

WIP: Beam remnants#6

Open
jstupak wants to merge 22 commits intojstupak:masterfrom
cwaits:beamRemnants
Open

WIP: Beam remnants#6
jstupak wants to merge 22 commits intojstupak:masterfrom
cwaits:beamRemnants

Conversation

@jstupak
Copy link
Copy Markdown
Owner

@jstupak jstupak commented Feb 7, 2022

No description provided.

@@ -0,0 +1,227 @@
#! /usr/bin/env python3
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't want to commit this file. You should be able to git rm it

Comment thread test.sh
@@ -0,0 +1,8 @@
#!/bin/bash -x

git clone -b cleanUp https://github.com/jstupak/aQGC.git
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

once this is merged, folks can use master branch again. So you should remove -b cleanUp

Comment thread analyzeDelphes.py Outdated
particle={
11:"e",
13:"mu",
21:"gamma", #using this for all jets
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I introduced this bug, but 21 is a gluon, 22 is the photon

Comment thread analyzeDelphes.py

#-------------------------------------------------------------------------------------------------
leptons=electrons+muons

Copy link
Copy Markdown
Owner Author

@jstupak jstupak Feb 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is where we want to add some code. First, lets define a new kind of object, a "W jet." W jets should have mass in the 50-100 GeV range (just looking at your leading jet mass plot).

Then, you should check and make sure you found exactly two beam remnant muons and 2 W jets. If not, you can just skip to the next event with a continue statement. This is the "object selection" we want to apply.

Comment thread analyzeDelphes.py Outdated
DEBUG=True
DEBUG=False

jetType='KTjet'
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets switch to the large cone (12?) that mayuri showed here (with N=2)

Comment thread analyzeDelphes.py
#-------------------------------------------------------------------------------------------------
leptons=electrons+muons

Zs={}
Copy link
Copy Markdown
Owner Author

@jstupak jstupak Feb 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that we decided to focus on the case with 2 BR remnants and no additional leptons, you can comment out this chunk of code (through line 332). Just make the Z candidate from your two BR muons

Comment thread analyzeDelphes.py
truthPhotons =selector(event.Particle,'abs(x.Status)==1 and abs(x.PID)==22')
truthNeutrinos=selector(event.Particle,'x.Status==1 and (abs(x.PID)==12 or abs(x.PID)==14 or abs(x.PID)==16)')

beamRemnantMuons =selector(truthMuons,'isBeamRemnant(x)')
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probably rename this truthBeamRemnantMuons

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

Successfully merging this pull request may close these issues.

1 participant