u-eff-gee / nutr Goto Github PK
View Code? Open in Web Editor NEWnutr: new utr
License: GNU General Public License v3.0
nutr: new utr
License: GNU General Public License v3.0
The cmake-variable OUTPUT_FORMAT
selects the backend used for generating output files.
One can choose from root
, csv
and xml
.
The corresponding header files g4root.hh
, g4csv.hh
and g4xml.hh
that are included automatically were removed and no longer exist in geant4 11.0:
include/sensitive_detector/AnalysisManager.hh:37:10: fatal error: g4root.hh: No such file or directory
37 | #include "g4root.hh"
| ^~~~~~~~~~~
compilation terminated.
The TRACK_PRIMARY=ON
compile-time option is broken since ad55df2:
$ mkdir -p build && cmake -S . -B build -DTRACK_PRIMARY=ON && cmake --build build
[…]
[ 86%] Linking CXX executable ../../../../2021-02-16_to_2021-04-10/gps_2021-02-16_to_2021-04-10
/nfs/cloud/home/user/.local/share/conda/envs/g11/bin/../lib/gcc/x86_64-conda-linux-gnu/10.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: ../../../sensitive_detector/libanalysisManager.a(AnalysisManager.cc.o): in function `AnalysisManager::FillNtupleColumns(G4GenericAnalysisManager*, G4Event const*, std::vector<std::shared_ptr<G4VHit>, std::allocator<std::shared_ptr<G4VHit> > >&)':
AnalysisManager.cc:(.text._ZN15AnalysisManager17FillNtupleColumnsEP24G4GenericAnalysisManagerPK7G4EventRSt6vectorISt10shared_ptrI6G4VHitESaIS8_EE+0x7e): undefined reference to `G4PrimaryVertex::GetPrimary(int) const'
collect2: error: ld returned 1 exit status
gmake[2]: *** [src/geometry/clover_array/2021-02-16_to_2021-04-10/CMakeFiles/gps_2021-02-16_to_2021-04-10.dir/build.make:191: 2021-02-16_to_2021-04-10/gps_2021-02-16_to_2021-04-10] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:3762: src/geometry/clover_array/2021-02-16_to_2021-04-10/CMakeFiles/gps_2021-02-16_to_2021-04-10.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2
Tested for geant4 11.0.3 and 11.1.1.
I assume analysisManager has to be linked against Geant4::G4particles
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.