diff --git a/Generators/PowhegControl/python/PowhegDecorators.py b/Generators/PowhegControl/python/PowhegDecorators.py index a4f540f0fccb9a8ace7fde79a3aef90187f706f1..c49d8d31f79057c07e89f55f691ec447e09bcad7 100644 --- a/Generators/PowhegControl/python/PowhegDecorators.py +++ b/Generators/PowhegControl/python/PowhegDecorators.py @@ -367,7 +367,7 @@ class V2Decorator : if self.decorated.PDF_info_type == 1 : f.write( 'storeinfo_rwgt 1 ! enable new-style PDF information: nominal\n' ) f.write( 'compute_rwgt 0 ! enable new-style PDF information: nominal\n' ) - elif self.decoratedPDF_info_type == 2 : + elif self.decorated.PDF_info_type == 2 : f.write( 'storeinfo_rwgt 0 ! enable new-style PDF information: reweight to new PDF\n' ) f.write( 'compute_rwgt 1 ! enable new-style PDF information: reweight to new PDF\n' ) f.write( 'doublefsr '+str(self.decorated.doublefsr)+' ! fix problem with spikes in final observables, see arXiv:1303.3922\n' )