ATLAS Offline Software
Loading...
Searching...
No Matches
DummyAnnealingMaker.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5/*********************************************************************
6 DummyAnnealingMaker.cxx - Description in header file
7*********************************************************************/
8
10
11namespace Trk
12{
13
15 {
16 ATH_MSG_DEBUG( "Initialize successful" );
17 return StatusCode::SUCCESS;
18 }
19
21 {
22 ATH_MSG_DEBUG( "Initialize successful" );
23 return StatusCode::SUCCESS;
24 }
25
26 void DummyAnnealingMaker::reset(AnnealingState& state) const {
27 state = 0;
28 }
29
30 void DummyAnnealingMaker::anneal(AnnealingState& /*state*/) const {
31 }
32
33 double DummyAnnealingMaker::getWeight(const AnnealingState& /*state*/,
34 double /* chisq */) const {
35 return 0.5;
36 }
37
38 double DummyAnnealingMaker::getWeight(const AnnealingState& /*state*/,
39 double /* chisq */,
40 const std::vector<double>& /* allchisq */) const {
41 return 0.5;
42 }
43
44
45}
46
47
#define ATH_MSG_DEBUG(x)
virtual StatusCode initialize() override
virtual double getWeight(const AnnealingState &state, double chisq) const override
Returns 0.5.
virtual StatusCode finalize() override
virtual void reset(AnnealingState &state) const override
Meaningless.
virtual void anneal(AnnealingState &state) const override
Meaningless.
Ensure that the ATLAS eigen extensions are properly loaded.