You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[g4star] Miscellaneous updates to StarAgmlLib (#308)
* Add map of GEANT3 paramaters and cuts associated to volumes.
* AgMLExtension inherits from TGeoExtension, which allows user and/or
framework information to be attached to TGeoVolumes. The VMC framework
utlizes the "framework" extensions, so we will utilize the "user"
extensions in AgML.
- Attach user-defined hit scoring functions to sensitive volumes.
When the MC application's hit scoring is invoked in a given
volume, the general hit scoring function can invoke any user
functions stored on the volume.
- Store the number of volume branchings for each volume, allowing
us to define a unique volume ID to each volume defined within
an AgML module.
* Cleanup memory.
* General cleanup, and moving mixture component to protected.
* AgML: Introduce a namespace, and uncomment a few trig functions
AgMath provides math functions used by AgML codes. A few of these are
functions defined in FORtran. A few defines have been made to prevent
AgML variables from being mistaken for c-math routines.
* Attach AgMLExtensions to the modules
* Cleanup and replace ROOT types with basic types
* WARN: Disables misalignment when run under ROOT6. Still
enabled under ROOT5.
* We don't even need a classdef here...
* We don't need to access most of this interactively... so comment out pragmas...
* Responsible for setting up the AgMLExtensions in the TGeoVolumes,
which connect user codes and volume IDs from the AgML source code
to the TGeo geometry model.
* Back to standard StMessMgr... ENDL-->endm
* Back to standard StMessMgr... ENDL-->endm
* The sanity check on the main branch is newer than the geant4star version.
* Expose pi to geoemtry modules
* Cleanup linkdef
* There is a pretty strong guarentee that table entries are not null
here b/c AgML would not be filling / creating null entries. Plus...
it should be safe to delete a nullptr...
* Cautionary comments for future code maintainers...
* Rid ourselves of that commented-out classdef...
* Update StarVMC/StarAgmlLib/AgMath.h
* Apply suggestions from code review
* Fix memory leak in AgMLExtension
* Let's confirm the problem with ROOT6 first and then fix
https://github.com/star-bnl/star-sw/pull/308/files#r882223665
Co-authored-by: Dmitri Smirnov <[email protected]>
0 commit comments