ATLAS Offline Software
Loading...
Searching...
No Matches
TrkDetDescrUnitTestBase.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6// TrkDetDescrUnitTestBase.h, (c) ATLAS Detector software
8
9#ifndef TRKDETDESCRUNITTESTS_TRKDETDESCRUNITTESTBASE_H
10#define TRKDETDESCRUNITTESTS_TRKDETDESCRUNITTESTBASE_H
11
12// Athena & Gaudi includes
14#include "GaudiKernel/RndmGenerators.h"
15
16namespace Trk {
17
18
26
28
29 public:
30
32 TrkDetDescrUnitTestBase(const std::string& name, ISvcLocator* pSvcLocator);
33
36
38 StatusCode initialize();
39
41 StatusCode execute();
42
44 StatusCode finalize();
45
46 /* specify the test here */
47 virtual StatusCode runTest() = 0;
48
49 /* book the TTree branches */
50 virtual StatusCode bookTree();
51
52 /* initalizeTest, this includes loading of tools */
53 virtual StatusCode initializeTest();
54
55 protected:
57 Rndm::Numbers* m_gaussDist;
58 Rndm::Numbers* m_flatDist;
59
61 size_t m_numTests;
62
63
64 };
65
66
67}
68
69#endif
70
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
StatusCode finalize()
standard Athena-Algorithm method
Rndm::Numbers * m_gaussDist
Random Number setup.
StatusCode execute()
standard Athena-Algorithm method
virtual ~TrkDetDescrUnitTestBase()
Default Destructor.
TrkDetDescrUnitTestBase(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
StatusCode initialize()
standard Athena-Algorithm method
virtual StatusCode runTest()=0
Ensure that the ATLAS eigen extensions are properly loaded.