Add Box volume class
In this MR, I have done following changes:
- Add a
Box
class that works similar toSphere
class. But one thing special is that the cubic can have its own orientation. Thus an local coordinate systemBox::cs_
whose origin has the same location asBox::center_
is introduced to represent orientation. - Add
TEST_CASE("Geometry Box")
intestGeometry.cpp
. - Fix a bug in
ObservationPlane
that use the wrong position of the particle. AddObservationCubic
andObservationCubicWriterParquet
that works similar toObservationPlane
. During development, I found that instead of theObservationCubic
has-aCubic
,ObservationCubic
is-aCubic
might be more straight forward.Addtracking_line::Tracking::intersect(TParticle const& particle, Cubic const& cubic)
to evaluate the intersection point of straight track and theCubic
.Temporarily fix a problem in PROPOSAL 7.0.5 that absorb EM particles when photonuclear process happens. It seems that this problem have been fixed in new version of PROPOSAL, which will be implemented by !396 (closed)
Edited by Fan Hu