ATLAS Offline Software
DummyAnnealingMaker.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRKVERTEXADAPIVEFITTERTOOLS_DUMMYANNEALINGMAKER_H
6 #define TRKVERTEXADAPIVEFITTERTOOLS_DUMMYANNEALINGMAKER_H
7 
10 
11 
22 namespace Trk
23 {
24 
25  class DummyAnnealingMaker : public extends<AthAlgTool, IVertexAnnealingMaker>
26  {
27  public:
28  virtual StatusCode initialize() override;
29  virtual StatusCode finalize() override;
30 
34  using base_class::base_class;
35 
39  virtual void reset(AnnealingState& state) const override;
40 
44  virtual void anneal(AnnealingState& state) const override;
45 
49  virtual double getWeight(const AnnealingState& state,
50  double chisq) const override;
51 
55  virtual bool isEquilibrium(const AnnealingState& /*state*/) const override
56  {
57  return true;
58  };
59 
63  virtual double actualTemp(const AnnealingState& /*state*/) const override
64  {
65  return 0;
66  };
67 
71  virtual double getWeight(const AnnealingState& state,
72  double chisq,
73  const std::vector<double>& allchisq) const override;
74  };
75 }
76 #endif
Trk::DummyAnnealingMaker::actualTemp
virtual double actualTemp(const AnnealingState &) const override
Returns 0.
Definition: DummyAnnealingMaker.h:63
Trk::DummyAnnealingMaker
Definition: DummyAnnealingMaker.h:26
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
IVertexAnnealingMaker.h
Trk::DummyAnnealingMaker::finalize
virtual StatusCode finalize() override
Definition: DummyAnnealingMaker.cxx:22
Trk::DummyAnnealingMaker::getWeight
virtual double getWeight(const AnnealingState &state, double chisq) const override
Returns 0.5.
Definition: DummyAnnealingMaker.cxx:35
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::DummyAnnealingMaker::reset
virtual void reset(AnnealingState &state) const override
Meaningless.
Definition: DummyAnnealingMaker.cxx:28
Trk::DummyAnnealingMaker::anneal
virtual void anneal(AnnealingState &state) const override
Meaningless.
Definition: DummyAnnealingMaker.cxx:32
Trk::DummyAnnealingMaker::initialize
virtual StatusCode initialize() override
Definition: DummyAnnealingMaker.cxx:16
Trk::DummyAnnealingMaker::isEquilibrium
virtual bool isEquilibrium(const AnnealingState &) const override
Always true.
Definition: DummyAnnealingMaker.h:55