5#ifndef BEAMEFFECTS_LRAVERTEXPOSITIONER_H
6#define BEAMEFFECTS_LRAVERTEXPOSITIONER_H 1
38 virtual StatusCode
initialize() override final;
41 virtual StatusCode
finalize() override final;
49 Gaudi::Property<std::string>
m_HistName{
this,
"HistName",
"<<Unset>>",
"LRA input histogram name."};
57 Gaudi::Property<std::string>
m_RNGStream{
this,
"RNGStream",
"LRAVertexPositioner",
"Stream name for the RNG service."};
A wrapper class for event-slot-local random engines.
Support class for PropertyMgr.
Gaudi::Property< std::string > m_RNGStream
Stream name for the RNG service.
virtual StatusCode initialize() override final
AthAlgTool initialization.
ServiceHandle< IAthRNGSvc > m_RNGService
Handle to the Athena RNG service.
virtual ~LRAVertexPositioner()=default
Destructor.
const TAxis * m_zAxis
Non-owning TAxis * to the histograms z-Axis.
Gaudi::Property< std::string > m_FileName
LRA input file name.
std::tuple< Int_t, Int_t, Int_t, Double_t > IntegralTuple
Tuple for [xBin, yBin, zBin, Integral].
const TH3F * m_LRAHist
Non-owning TH3F * to the LRA histogram.
virtual StatusCode finalize() override final
AthAlgTool finalization.
ATHRNG::RNGWrapper *m_RNGEngine ATLAS_THREAD_SAFE
Non-owning RNGWrapper * to the RNG engine.
Gaudi::Property< std::string > m_HistName
LRA input histogram name.
const TAxis * m_yAxis
Non-owning TAxis * to the histograms y-Axis.
std::vector< IntegralTuple > m_Integral
Vector to hold the running integral over bins.
std::unique_ptr< TFile > m_LRAFile
Owning TFile * to the LRA file.
LRAVertexPositioner(const std::string &t, const std::string &n, const IInterface *p)
Constructor.
const TAxis * m_xAxis
Non-owning TAxis * to the histograms x-Axis.
=============================================================================