ATLAS Offline Software
Loading...
Searching...
No Matches
AtlasCLHEP_RandomGenerators_test.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef RNDTEST_H
6#define RNDTEST_H
7
9#include "GaudiKernel/IChronoStatSvc.h"
10#include <GaudiKernel/ITHistSvc.h>
11#include "CLHEP/Random/RandomEngine.h"
13
14#include <string>
15#include <vector>
16#include "TH1.h"
17
19
21
22 public:
24 AtlasCLHEP_RandomGenerators_test(const std::string& name, ISvcLocator* pSvcLocator);
26
27 StatusCode initialize();
28 StatusCode execute();
29 StatusCode finalize();
30
31 private:
33 IChronoStatSvc* m_chrono;
34
35 CLHEP::HepRandomEngine* m_ranlux64;
36 CLHEP::HepRandomEngine* m_ranecu;
37 CLHEP::HepRandomEngine* m_mtwist;
38 ITHistSvc* m_histSvc;
39
41 CLHEP::HepRandomEngine* m_randomEngine1;
42 std::string m_randomEngineName1;
44 CLHEP::HepRandomEngine* m_randomEngine2;
45 std::string m_randomEngineName2;
46
47 TH1* m_hflat=nullptr;
48
49 TH1* m_hgauss1=nullptr;
50 TH1* m_hgauss2=nullptr;
51 TH1* m_hgauss3=nullptr;
52
53 TH1* m_hexp1=nullptr;
54 TH1* m_hexp2=nullptr;
55
56 TH1* m_hbin1=nullptr;
57 TH1* m_hbin2=nullptr;
58
59 int m_ntest=10000000;
60
61 int m_ievent = 0;
62 };
63
64} // end of namespace bracket
65#endif
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
AtlasCLHEP_RandomGenerators_test(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.