Skip to content
Snippets Groups Projects
Commit 8499c2a6 authored by Baptiste Ravina's avatar Baptiste Ravina Committed by Johannes Elmsheuser
Browse files

CPAlgorithms: add the option to print out the list of systematics to the output

CPAlgorithms: add the option to print out the list of systematics to the output
parent cf3c9b62
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@ class OutputAnalysisConfig (ConfigBlock):
self.addOption ('containers', {}, type=None)
self.addOption ('treeName', 'analysis', type=str)
self.addOption ('metTermName', 'Final', type=str)
self.addOption ('systematicsHistogram', None , type=str)
def makeAlgs (self, config) :
......@@ -71,3 +72,7 @@ class OutputAnalysisConfig (ConfigBlock):
treeFiller = config.createAlgorithm( 'CP::TreeFillerAlg', 'TreeFiller' + postfix )
treeFiller.TreeName = self.treeName
if self.systematicsHistogram is not None:
sysDumper = config.createAlgorithm( 'CP::SysListDumperAlg', 'SystematicsPrinter' )
sysDumper.histogramName = self.systematicsHistogram
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment