|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #include "../src/ITLorentzVectorFactory.h"
7 #include "../src/TLorentzVectorFactoryEtaE.h"
8 #include "../src/TLorentzVectorFactory.h"
9 #include "../src/TLorentzVectorAsIJet.h"
18 const std::string&
name,
19 const IInterface*
parent) :
28 ATH_MSG_ERROR(
"Config error: no of Et values != no of Eta values"
30 return StatusCode::FAILURE;
33 return StatusCode::SUCCESS;
40 for(
const auto&
e :
m_es){
ss <<
e <<
", ";}
53 auto factory = std::unique_ptr<ITLorentzVectorFactory>(
nullptr);
62 for(std::size_t
i = 0;
i <
m_es.size(); ++
i){
65 auto tlv = factory->make(
eta,
et);
71 std::uniform_real_distribution<double> eta_distribution(-
m_bkgd_etamax,
74 std::uniform_real_distribution<double> en_distribution(5.,
83 auto tlv = factory->make(
eta,
en);
Gaudi::Property< std::vector< double > > m_es
Extra patterns decribing particle interation process.
Scalar eta() const
pseudorapidity method
Gaudi::Property< double > m_bkgd_etamax
SimpleHypoJetVectorGenerator(const std::string &type, const std::string &name, const IInterface *parent)
TLorentzVectorAsIJet(const TLorentzVector &tl)
Gaudi::Property< bool > m_useEtaEtNotEtaE
Gaudi::Property< double > m_bkgd_etmax
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual std::string toString() const override
std::default_random_engine m_shuffle_re
std::vector< pHypoJet > HypoJetVector
Gaudi::Property< int > m_nbkgd
virtual HypoJetVector get() override
Gaudi::Property< std::vector< double > > m_etas
virtual StatusCode initialize() override
generator
Configure Herwig7 These are the commands corresponding to what would go into the regular Herwig infil...