uzzielperez / multiphoton-analysis

Generic multiphoton analyzer and analysis scripts
0 stars 0 forks source link

Event Weights Propagation for local samples #16

Open uzzielperez opened 4 years ago

uzzielperez commented 4 years ago

There are two ways to calculate the event weights for locally generated samples. The default one in the source code uses the custom cross-section provided in the runner code runAnalyzer_test.py.

I am thinking whether it is better to just go to the original default which is to hardcode cross-sections in CrossSections.h and keep this in a test branch or not. The current default could be prone to error because we don't have good tracking/documentation of what cross-section went in.

uzzielperez commented 4 years ago

I've decided that the less error-prone way is to stick with the original default of hardcoding the cross-sections in CrossSections.h. The outputfile name must be in correspondence to the datasetname. But I will keep the option of putting the cross-section in the runner file.. I just have to edit the function to Fill Event weights in the source file and then compile.