4 #ifndef __KVGEOIMPORT_H
5 #define __KVGEOIMPORT_H
7 #include "KVGeoNavigator.h"
8 #include "KVGeoDNTrajectory.h"
9 #include "KVNucleusEvent.h"
10 #include <KVSegmentedDetector.h>
123 fOrigin = std::make_unique<TVector3>(
x,
y, z);
#define ClassDefOverride(name, id)
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.
KVDetector * AddSubDetector(KVSegmentedDetector *, TGeoVolume *, Int_t node_number)
KVNameValueList fAcceptedDetectorNames
KVDetector * GetCurrentDetector()
KVDetector * BuildDetector(TString det_name, TGeoVolume *det_vol, bool segment=false)
virtual KVDetector * instantiate_new_detector(const TString &det_name, bool segmented=false)
KVGeoImport(TGeoManager *, KVIonRangeTable *, KVMultiDetArray *, Bool_t create=kTRUE)
KVGeoDNTrajectory fCurrentTrajectory
void ImportGeometry_test_trajectory(double theta, double phi)
void AddAcceptedDetectorName(const char *name)
void SetLastDetector(KVDetector *d)
KVDetector * fLastDetector
KVIonRangeTable * fRangeTable
void SetOrigin(double x, double y, double z)
std::unique_ptr< TVector3 > fOrigin
void SetDetectorPlugin(const TString &name)
void AddLayer(KVDetector *, TGeoVolume *)
void ImportGeometry_setup_geo()
void ImportGeometry_init_import()
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.