Add Box volume class
In this MR, I have done following changes:
- Add a
Boxclass that works similar toSphereclass. 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
ObservationPlanethat use the wrong position of the particle. AddObservationCubicandObservationCubicWriterParquetthat works similar toObservationPlane. During development, I found that instead of theObservationCubichas-aCubic,ObservationCubicis-aCubicmight 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