ATLAS Offline Software
Public Member Functions | List of all members
Trk::DummyAnnealingMaker Class Reference

#include <DummyAnnealingMaker.h>

Inheritance diagram for Trk::DummyAnnealingMaker:
Collaboration diagram for Trk::DummyAnnealingMaker:

Public Member Functions

virtual StatusCode initialize () override
 
virtual StatusCode finalize () override
 
virtual void reset (AnnealingState &state) const override
 Meaningless. More...
 
virtual void anneal (AnnealingState &state) const override
 Meaningless. More...
 
virtual double getWeight (const AnnealingState &state, double chisq) const override
 Returns 0.5. More...
 
virtual bool isEquilibrium (const AnnealingState &) const override
 Always true. More...
 
virtual double actualTemp (const AnnealingState &) const override
 Returns 0. More...
 
virtual double getWeight (const AnnealingState &state, double chisq, const std::vector< double > &allchisq) const override
 Returns 0.5. More...
 

Detailed Description

This class implements an annealing maker but it's a DUMMY one! weight is always 0.5! Class required for technical reasons only. Most of methods are therefore menaningless.

Author
N. Giacinto Piacquadio (for the Freiburg Group)

Definition at line 25 of file DummyAnnealingMaker.h.

Member Function Documentation

◆ actualTemp()

virtual double Trk::DummyAnnealingMaker::actualTemp ( const AnnealingState &  ) const
inlineoverridevirtual

Returns 0.

Definition at line 63 of file DummyAnnealingMaker.h.

64  {
65  return 0;
66  };

◆ anneal()

void Trk::DummyAnnealingMaker::anneal ( AnnealingState &  state) const
overridevirtual

Meaningless.

Definition at line 32 of file DummyAnnealingMaker.cxx.

34  {

◆ finalize()

StatusCode Trk::DummyAnnealingMaker::finalize ( )
overridevirtual

Definition at line 22 of file DummyAnnealingMaker.cxx.

26  {

◆ getWeight() [1/2]

double Trk::DummyAnnealingMaker::getWeight ( const AnnealingState &  state,
double  chisq 
) const
overridevirtual

Returns 0.5.

Definition at line 35 of file DummyAnnealingMaker.cxx.

◆ getWeight() [2/2]

double Trk::DummyAnnealingMaker::getWeight ( const AnnealingState &  state,
double  chisq,
const std::vector< double > &  allchisq 
) const
overridevirtual

Returns 0.5.

Definition at line 40 of file DummyAnnealingMaker.cxx.

40  {
41  return 0.5;
42  }
43 
44 

◆ initialize()

StatusCode Trk::DummyAnnealingMaker::initialize ( )
overridevirtual

Definition at line 16 of file DummyAnnealingMaker.cxx.

21  {

◆ isEquilibrium()

virtual bool Trk::DummyAnnealingMaker::isEquilibrium ( const AnnealingState &  ) const
inlineoverridevirtual

Always true.

Definition at line 55 of file DummyAnnealingMaker.h.

56  {
57  return true;
58  };

◆ reset()

void Trk::DummyAnnealingMaker::reset ( AnnealingState &  state) const
overridevirtual

Meaningless.

Definition at line 28 of file DummyAnnealingMaker.cxx.

30  {

The documentation for this class was generated from the following files: