You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, this code also looks for generator information in the data, which is not there. Need to fix.
More information
In data, we don't have generator-level information.
If you pick a data root file and try to run. Then, the code will try to find the generator-level information in the data root file, which is not there. And then it will, through error, say that no branch exists.
Possible solution
Utilize the variable isMCTrueFalse defined in post-proc (its better to rename isMCTrueFalse -> isMC):
Currently, this code also looks for generator information in the data, which is not there. Need to fix.
More information
In data, we don't have generator-level information.
If you pick a data root file and try to run. Then, the code will try to find the generator-level information in the data root file, which is not there. And then it will, through error, say that no branch exists.
Possible solution
Utilize the variable
isMCTrueFalse
defined in post-proc (its better to rename isMCTrueFalse -> isMC):nanoAOD_skim/post_proc.py
Line 40 in 7e7653d
and pass it to module
HZZAnalysisCppProducer
. Furthermore it would be good if it does this automatically. It can be achieved like:Then use this to skip all gen related part. something like this:
The text was updated successfully, but these errors were encountered: