-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add3jets higgs 709patch3 #28
Conversation
#!/bin/env python | ||
from math import * | ||
import ROOT | ||
#from CMGTools.TTHAnalysis.signedSip import * | ||
from PhysicsTools.Heppy.analyzers.objects.autophobj import * | ||
#from CMGTools.TTHAnalysis.analyzers.ntupleObjects import * |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
questo lo puoi togliere?
I found it is necessary to define and not as an empty list |
?? il primo si ma gli altri due non e' possibile... sono liste perche' inizializzarle a un oggetto di qualche tipo?? |
@Andrea, adesso dovrebbe essere chiaro, e abbiamo tutte le variabile per la regression a la run1, se sei d'accordo fail il merge di questa pull e magari si fa una piccola produzione con i sample a disposizione |
tracks = filter ( lambda x : x.charge()!=0, self.daughterPtrVector() ) | ||
if len(tracks)>0: | ||
leadtrack = max( tracks , key = lambda x : x.pt() ) | ||
return max(0., leadtrack.pt() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
questo max(0, ... ) resta inutile cmq se vuoi mergio cosi
…Pointers Change pointer array to an array of unique_ptrs
add 3 jets Higgs case, and some variables to the
vhbb jet collection, which are usefull for b-jets energy regression