ATLAS Offline Software
Loading...
Searching...
No Matches
SimpleHypoJetVectorGenerator.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRIGHLTJETHYPOUNITTESTS_SimpleHypoJetVectorGenerator_H
6#define TRIGHLTJETHYPOUNITTESTS_SimpleHypoJetVectorGenerator_H
7
10#include <random>
11
12
13class SimpleHypoJetVectorGenerator: public extends<AthAlgTool,
14 IHypoJetVectorGenerator> {
15
16 public:
17
18 SimpleHypoJetVectorGenerator (const std::string& type,
19 const std::string& name,
20 const IInterface* parent);
21
23
24 virtual StatusCode initialize() override;
25 virtual HypoJetVector get() override;
26 virtual std::string toString() const override;
27
28 private:
29
30 Gaudi::Property<std::vector<double>>
31 m_es{this, "ets", {}, "jet E values"};
32
33 Gaudi::Property<std::vector<double>>
34 m_etas{this, "etas", {}, "jet eta values"};
35
36
37
38 Gaudi::Property<int>
39 m_nbkgd{this, "n_bkgd", 0, "No of background jets to generate "};
40
41 Gaudi::Property<double>
42 m_bkgd_etmax{this, "bkgd_etmax", 0., "Max Et background jets"};
43
44 Gaudi::Property<double>
45 m_bkgd_etamax{this, "bkgd_etamax", 5., "Lower limit Eta range background "};
46
47 Gaudi::Property<bool>
48 m_useEtaEtNotEtaE{this, "useEtaEtNotEtaE", true, "e values or et values "};
49
50
51 std::default_random_engine m_shuffle_re;
52};
53
54#endif
std::vector< pHypoJet > HypoJetVector
Definition HypoJetDefs.h:27
SimpleHypoJetVectorGenerator(const std::string &type, const std::string &name, const IInterface *parent)
virtual std::string toString() const override
virtual StatusCode initialize() override
Gaudi::Property< std::vector< double > > m_es
virtual HypoJetVector get() override
Gaudi::Property< std::vector< double > > m_etas
std::default_random_engine m_shuffle_re