![]() |
ATLAS Offline Software
|
#include <LRAVertexPositioner.h>
Public Member Functions | |
| LRAVertexPositioner (const std::string &t, const std::string &n, const IInterface *p) | |
| Constructor. More... | |
| virtual | ~LRAVertexPositioner ()=default |
| Destructor. More... | |
| virtual StatusCode | initialize () override final |
| AthAlgTool initialization. More... | |
| virtual StatusCode | finalize () override final |
| AthAlgTool finalization. More... | |
| virtual CLHEP::HepLorentzVector * | generate (const EventContext &ctx) const override final |
| Generate a vertex position from the LRA input. More... | |
Private Types | |
| using | IntegralTuple = std::tuple< Int_t, Int_t, Int_t, Double_t > |
| Tuple for [xBin, yBin, zBin, Integral]. More... | |
Private Attributes | |
| Gaudi::Property< std::string > | m_FileName {this, "FileName", "<<Unset>>", "LRA input file name."} |
| LRA input file name. More... | |
| Gaudi::Property< std::string > | m_HistName {this, "HistName", "<<Unset>>", "LRA input histogram name."} |
| LRA input histogram name. More... | |
| std::unique_ptr< TFile > | m_LRAFile |
| Owning TFile * to the LRA file. More... | |
| const TH3F * | m_LRAHist = nullptr |
| Non-owning TH3F * to the LRA histogram. More... | |
| ServiceHandle< IAthRNGSvc > | m_RNGService {this, "RNGService", "AthRNGSvc"} |
| Handle to the Athena RNG service. More... | |
| Gaudi::Property< std::string > | m_RNGStream {this, "RNGStream", "LRAVertexPositioner", "Stream name for the RNG service."} |
| Stream name for the RNG service. More... | |
| ATHRNG::RNGWrapper *m_RNGEngine | ATLAS_THREAD_SAFE {} |
| Non-owning RNGWrapper * to the RNG engine. More... | |
| std::vector< IntegralTuple > | m_Integral |
| Vector to hold the running integral over bins. More... | |
| const TAxis * | m_xAxis = nullptr |
| Non-owning TAxis * to the histograms x-Axis. More... | |
| const TAxis * | m_yAxis = nullptr |
| Non-owning TAxis * to the histograms y-Axis. More... | |
| const TAxis * | m_zAxis = nullptr |
| Non-owning TAxis * to the histograms z-Axis. More... | |
Generates vertex positions based on a LRA histogram.
Definition at line 26 of file LRAVertexPositioner.h.
|
private |
Tuple for [xBin, yBin, zBin, Integral].
Definition at line 62 of file LRAVertexPositioner.h.
| Simulation::LRAVertexPositioner::LRAVertexPositioner | ( | const std::string & | t, |
| const std::string & | n, | ||
| const IInterface * | p | ||
| ) |
Constructor.
Definition at line 19 of file LRAVertexPositioner.cxx.
|
virtualdefault |
Destructor.
|
finaloverridevirtual |
AthAlgTool finalization.
Definition at line 121 of file LRAVertexPositioner.cxx.
|
finaloverridevirtual |
Generate a vertex position from the LRA input.
Definition at line 128 of file LRAVertexPositioner.cxx.
|
finaloverridevirtual |
AthAlgTool initialization.
Definition at line 26 of file LRAVertexPositioner.cxx.
|
private |
Non-owning RNGWrapper * to the RNG engine.
Definition at line 58 of file LRAVertexPositioner.h.
|
private |
LRA input file name.
Definition at line 48 of file LRAVertexPositioner.h.
|
private |
LRA input histogram name.
Definition at line 49 of file LRAVertexPositioner.h.
|
private |
Vector to hold the running integral over bins.
Definition at line 63 of file LRAVertexPositioner.h.
|
private |
Owning TFile * to the LRA file.
Definition at line 51 of file LRAVertexPositioner.h.
|
private |
Non-owning TH3F * to the LRA histogram.
Definition at line 52 of file LRAVertexPositioner.h.
|
private |
Handle to the Athena RNG service.
Definition at line 56 of file LRAVertexPositioner.h.
|
private |
Stream name for the RNG service.
Definition at line 57 of file LRAVertexPositioner.h.
|
private |
Non-owning TAxis * to the histograms x-Axis.
Definition at line 65 of file LRAVertexPositioner.h.
|
private |
Non-owning TAxis * to the histograms y-Axis.
Definition at line 66 of file LRAVertexPositioner.h.
|
private |
Non-owning TAxis * to the histograms z-Axis.
Definition at line 67 of file LRAVertexPositioner.h.
1.8.18