4 #ifndef __KVGEOIMPORT_H
5 #define __KVGEOIMPORT_H
7 #include "KVGeoNavigator.h"
8 #include "KVGeoDNTrajectory.h"
9 #include "KVNucleusEvent.h"
10 #include <KVSegmentedDetector.h>
75 TString fDetectorPlugin;
77 std::unique_ptr<TVector3> fOrigin;
80 KVDetector* BuildDetector(TString det_name, TGeoVolume* det_vol,
bool segment =
false);
84 Bool_t fCheckDetVolNames;
92 void ImportGeometry_init_import();
93 void ImportGeometry_test_trajectory(
double theta,
double phi);
94 void ImportGeometry_setup_geo();
96 virtual KVDetector* instantiate_new_detector(
const TString& det_name,
bool segmented =
false);
103 Double_t ThetaMin = 0.0, Double_t PhiMin = 0.0,
104 Double_t ThetaMax = 180.0, Double_t PhiMax = 360.0);
113 fDetectorPlugin = name;
123 fOrigin = std::make_unique<TVector3>(x, y, z);
Base class for detector geometry description, interface to energy-loss calculations.
Abstract base class container for multi-particle events.
Path taken by particles through multidetector geometry.
Import detector array described by ROOT geometry and set up corresponding KVMultiDetArray object.
void ParticleEntersNewVolume(KVNucleus *) override
All detectors crossed by the particle's trajectory are added to the multidetector.
KVGeoImport(TGeoManager *, KVIonRangeTable *, KVMultiDetArray *, Bool_t create=kTRUE)
void AddAcceptedDetectorName(const char *name)
void SetLastDetector(KVDetector *d)
void SetOrigin(double x, double y, double z)
void SetDetectorPlugin(const TString &name)
void PropagateParticle(KVNucleus *, TVector3 *TheOrigin=nullptr) override
void ImportGeometry(Double_t dTheta=0.1, Double_t dPhi=1.0, Double_t ThetaMin=0.0, Double_t PhiMin=0.0, Double_t ThetaMax=180.0, Double_t PhiMax=360.0)
Base class for propagation of particles through array geometry.
Group of detectors which can be treated independently of all others in array.
Material for use in energy loss & range calculations.
Abstract base class for calculation of range & energy loss of charged particles in matter.
Base class for describing the geometry of a detector array.
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
An event container for KVNucleus objects.
Description of properties and kinematics of atomic nuclei.
A position-sensitive detector made up of several or many numbered sub-detector segments.