Skip to content

CaloTools: Add missing .value() to fix non-string -> string -> non-string conversion.

Olli Lupton requested to merge olupton_calotools into master

I get the error below when running from the latest DaVinci release and the nightlies. This seems to be due to the Gaudi::Property conversion and a non-string -> string -> non-string conversion that is missing a .value() call.

cc: @ckhurewa

ToolSvc.CaloFra...  FATAL  Standard std::exception is caught
ToolSvc.CaloFra...  ERROR cannot parse ' 'Cluster2Digits':False' to bool
ToolSvc             ERROR Error initializing tool 'ToolSvc.CaloFragment2MCTool'
ToolSvc.Calo2MC...  FATAL Calo2MCTool:: Exception throw: tool():: Could not retrieve Tool 'Calo2MCTool/CaloFragment2MCTool' StatusCode=FAILURE
ToolSvc.Calo2MC...  FATAL  Exception with tag= is caught
ToolSvc.Calo2MC...  ERROR 	ToolSvc.Calo2MCTool:: tool():: Could not retrieve Tool 'Calo2MCTool/CaloFragment2MCTool'	 StatusCode=FAILURE
ToolSvc             ERROR Error initializing tool 'ToolSvc.Calo2MCTool'
HM.mum.TupleToo...  FATAL BackgroundCategory:: Exception throw: tool():: Could not retrieve Tool 'Calo2MCTool' StatusCode=FAILURE
HM.mum.TupleToo...  FATAL  Exception with tag= is caught
HM.mum.TupleToo...  ERROR 	HM.mum.TupleToolMCTruth.DaVinciSmartAssociator.BackgroundCategory:: tool():: Could not retrieve Tool 'Calo2MCTool'	 StatusCode=FAILURE
ToolSvc             ERROR Error initializing tool 'HM.mum.TupleToolMCTruth.DaVinciSmartAssociator.BackgroundCategory'
HM.mum.TupleToo...  FATAL DaVinciSmartAssociator:: Exception throw: tool():: Could not retrieve Tool 'BackgroundCategory' StatusCode=FAILURE
HM.mum.TupleToo...  FATAL  Exception with tag= is caught
HM.mum.TupleToo...  ERROR 	HM.mum.TupleToolMCTruth.DaVinciSmartAssociator:: tool():: Could not retrieve Tool 'BackgroundCategory'	 StatusCode=FAILURE
ToolSvc             ERROR Error initializing tool 'HM.mum.TupleToolMCTruth.DaVinciSmartAssociator'
HM.mum.TupleToo...  FATAL TupleToolMCTruth:: Exception throw: tool():: Could not retrieve Tool 'DaVinciSmartAssociator' StatusCode=FAILURE
HM.mum.TupleToo...  FATAL  Exception with tag= is caught
HM.mum.TupleToo...  ERROR 	HM.mum.TupleToolMCTruth:: tool():: Could not retrieve Tool 'DaVinciSmartAssociator'	 StatusCode=FAILURE
ToolSvc             ERROR Error initializing tool 'HM.mum.TupleToolMCTruth'
HM                  FATAL DecayTreeTuple:: Exception throw: tool():: Could not retrieve Tool 'TupleToolMCTruth' StatusCode=FAILURE
Edited by Marco Cattaneo

Merge request reports

Loading