ATLAS Offline Software
Loading...
Searching...
No Matches
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
14FitTool::FitTool(const std::string& type, const std::string& name, const IInterface* parent) :
15 AthAlgTool(type, name, parent)
16
17{
18 declareInterface<IFitTool>(this);
19}
20
22{
23 msg(MSG::INFO) << "initialize()" << endmsg;
24 return StatusCode::SUCCESS;
25}
26
27bool 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
#define endmsg
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
MsgStream & msg() const
virtual StatusCode initialize()
Definition FitTool.cxx:21
virtual bool fit(std::vector< IdentifierProfileHistogram * > &histograms, std::vector< FloatArrayStore > &results)
Definition FitTool.cxx:27
FitTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition FitTool.cxx:14