Update on TMVA Regression with weight:2

 This blog post is to illustrate what the pJetPt spectra looks like when weighing it with the associated partonicWeight that is given by Pythia that comes from the skim event. Drawing it seems to be fairly easy as it just requires: 

tree->Draw("pJetPt","partonicWeight");

 

Where pJetPt and partonicWeight are branches on the TTree "tree" that is created and saved in the embedding. A follow up blog post will be made once I figure out how to properly save a TBranch in the TTree with the correct weight. Here is what it looks like with the "partonicWeight" applied as the weight:

The thing that excites me the most about this is that it is a linearly falling particle pt spectrum! This might not be the correct weight ( still to be looked into) but at least this is step in the right direction.