ATLAS Offline Software
Tracking
TrkVertexFitter
TrkVertexFitterUtils
src
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
9
#include "
TrkVertexFitterUtils/DummyAnnealingMaker.h
"
10
11
namespace
Trk
12
{
13
14
StatusCode
DummyAnnealingMaker::initialize
()
15
{
16
ATH_MSG_DEBUG
(
"Initialize successful"
);
17
return
StatusCode::SUCCESS;
18
}
19
20
StatusCode
DummyAnnealingMaker::finalize
()
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
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition:
AthMsgStreamMacros.h:29
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
DummyAnnealingMaker.h
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
Generated on Thu Nov 7 2024 21:13:51 for ATLAS Offline Software by
1.8.18