32#include <TLorentzVector.h>
38#include "Framework/EventGen/GeomAnalyzerI.h"
39#include "Framework/EventGen/PathLengthList.h"
40#include "Framework/ParticleData/PDGCodeList.h"
46class IGeometryService;
72 std::string
const& top_volume,
G4Teardown teardown);
87 return max_path_lengths_;
101 TLorentzVector
const& x, TLorentzVector
const& p)
override;
103 TLorentzVector
const& p,
int tgtpdg)
override;
107 std::unique_ptr<Impl> impl_;
110 void init(std::unique_ptr<ship::IGeometryService> geometry,
111 std::string
const& top_volume);
112 static void teardown_geant4(Impl& impl);
114 genie::GFluxI* scanner_flux_ =
nullptr;
115 int scanner_particles_ = 10000;
116 double safety_factor_ = 1.1;
118 genie::PDGCodeList targets_;
119 genie::PathLengthList path_lengths_;
120 genie::PathLengthList max_path_lengths_;
Definition ship_geom_analyzer.hpp:51
ShipGeomAnalyzer(ShipGeomAnalyzer const &)=delete
genie::PDGCodeList const & ListOfTargetNuclei() override
Definition ship_geom_analyzer.hpp:98
void SetMaxPlSafetyFactor(double sf)
Definition ship_geom_analyzer.hpp:85
~ShipGeomAnalyzer() override
Definition ship_geom_analyzer.cpp:301
void SetScannerFlux(genie::GFluxI *flux)
Definition ship_geom_analyzer.hpp:83
Extents const & extents() const
Definition ship_geom_analyzer.hpp:95
void SetScannerNParticles(int n)
Definition ship_geom_analyzer.hpp:84
G4Teardown
Definition ship_geom_analyzer.hpp:53
genie::PathLengthList const & ComputeMaxPathLengths() override
Definition ship_geom_analyzer.cpp:331
TVector3 const & GenerateVertex(TLorentzVector const &x, TLorentzVector const &p, int tgtpdg) override
Definition ship_geom_analyzer.cpp:360
ShipGeomAnalyzer & operator=(ShipGeomAnalyzer const &)=delete
ShipGeomAnalyzer & operator=(ShipGeomAnalyzer &&)=delete
genie::PathLengthList const & ComputePathLengths(TLorentzVector const &x, TLorentzVector const &p) override
Definition ship_geom_analyzer.cpp:305
genie::PathLengthList const & GetMaxPathLengths() const
Definition ship_geom_analyzer.hpp:86
ShipGeomAnalyzer(ShipGeomAnalyzer &&)=delete
Definition genie_config.hpp:22
Definition genie_driver_setup.hpp:26
Definition ship_geom_analyzer.hpp:45
Definition ship_geom_analyzer.hpp:92
TVector3 hi
Definition ship_geom_analyzer.hpp:93
TVector3 lo
Definition ship_geom_analyzer.hpp:93