ATLAS Offline Software
FitTool.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /********************************************************************
6 
7 
8 ********************************************************************/
9 
10 // INCLUDES:
11 #include "FitTool.h"
13 
14 FitTool::FitTool(const std::string& type, const std::string& name, const IInterface* parent) :
16 
17 {
18  declareInterface<IFitTool>(this);
19 }
20 
22 {
23  msg(MSG::INFO) << "initialize()" << endmsg;
24  return StatusCode::SUCCESS;
25 }
26 
27 bool FitTool::fit(std::vector<IdentifierProfileHistogram*>& histograms, std::vector<FloatArrayStore>& results) {
28  msg(MSG::INFO) << "dummy fit" << endmsg;
29  if (histograms.size()==0) {};
30  if (results.size()==0) {};
31  return true;
32 }
33 
FloatArrayStore.h
verify_menu_config.results
results
Definition: verify_menu_config.py:67
covarianceTool.histograms
dictionary histograms
Definition: covarianceTool.py:53
FitTool::FitTool
FitTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: FitTool.cxx:14
FitTool::initialize
virtual StatusCode initialize()
Definition: FitTool.cxx:21
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
FitTool::fit
virtual bool fit(std::vector< IdentifierProfileHistogram * > &histograms, std::vector< FloatArrayStore > &results)
Definition: FitTool.cxx:27
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
FitTool.h
AthCommonMsg< AlgTool >::msg
MsgStream & msg() const
Definition: AthCommonMsg.h:24
AthAlgTool
Definition: AthAlgTool.h:26