Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test #8

Closed
wants to merge 32 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
7bf1528
harness bug
martinunland Aug 26, 2024
840fd48
updated material handling
martinunland Aug 28, 2024
775673d
updated doc
martinunland Aug 28, 2024
6797c2d
doc test
martinunland Aug 28, 2024
480b758
updated nomenclature doc
martinunland Aug 28, 2024
59236a3
updated nomenclature
martinunland Aug 28, 2024
0af0e4f
updated doc
martinunland Aug 29, 2024
48ea4d7
updated multi doc
martinunland Aug 29, 2024
014c79c
corrected doc example
martinunland Aug 29, 2024
b6929ca
okamoto analysis notebook
martinunland Aug 29, 2024
2fe535b
okamoto scintillation data
martinunland Aug 29, 2024
d9178f1
updated nomenclature
martinunland Aug 29, 2024
16882b5
typos
martinunland Aug 29, 2024
fe5b1b5
effective area correct uncertainty
martinunland Aug 29, 2024
e3112d6
const properties always with unit
martinunland Aug 29, 2024
b7d6075
custom to extra
martinunland Aug 29, 2024
6445079
radioactive decays to 11.2.2
martinunland Aug 29, 2024
5c01798
changed simple / complex PMT logic
martinunland Aug 30, 2024
c6702eb
updated url
martinunland Aug 30, 2024
80db058
scan data matching
martinunland Aug 30, 2024
4303abc
doc typo
martinunland Aug 30, 2024
233b356
doc typo2
martinunland Aug 30, 2024
8f439a1
coated thickness unit inverted
martinunland Aug 30, 2024
e4af698
de matching notebook
martinunland Aug 30, 2024
a09f379
all pmts working
martinunland Sep 2, 2024
1e89506
follow name convention
martinunland Sep 2, 2024
1418262
fixed mdom
martinunland Sep 2, 2024
fcadd81
Adding #include <optional> to OMSimTools.hh
BeritSchlueter Sep 3, 2024
7124884
taking out blah
martinunland Sep 3, 2024
61c0893
changed location for getting eventid, no perfect
martinunland Sep 4, 2024
51afa7b
Added matching of LOM PMT + documentation
MarkusDittmer Sep 4, 2024
859eca0
Added matching of LOM PMT + documentation
MarkusDittmer Sep 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,34 +31,6 @@ find_package(OpenSSL REQUIRED)

# For logging with spdlog
find_package(spdlog REQUIRED)
if(NOT spdlog_FOUND)
message(STATUS "spdlog not found. Will download and build it.")

set(SPDLOG_INSTALL_DIR ${CMAKE_BINARY_DIR}/spdlog-install)

ExternalProject_Add(
spdlog_external
GIT_REPOSITORY https://github.com/gabime/spdlog.git
GIT_TAG v1.11.0 # Specify the version you want
CMAKE_ARGS
-DCMAKE_INSTALL_PREFIX=${SPDLOG_INSTALL_DIR}
-DSPDLOG_BUILD_EXAMPLES=OFF
-DSPDLOG_BUILD_TESTS=OFF
)

set(spdlog_INCLUDE_DIRS ${SPDLOG_INSTALL_DIR}/include)
set(spdlog_LIBRARIES ${SPDLOG_INSTALL_DIR}/lib/libspdlog.a)

add_library(spdlog::spdlog STATIC IMPORTED)
set_target_properties(spdlog::spdlog PROPERTIES
IMPORTED_LOCATION ${spdlog_LIBRARIES}
INTERFACE_INCLUDE_DIRECTORIES ${spdlog_INCLUDE_DIRS}
)
add_dependencies(spdlog::spdlog spdlog_external)
else()
message(STATUS "Found spdlog: ${spdlog_VERSION}")
endif()


# Include OpenSSL's headers in the project
include_directories(${OPENSSL_INCLUDE_DIR})
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,9 @@ For the latest updates and information, check our [GitHub repository](https://gi
Install the required dependencies using:

```bash
sudo apt-get -y install libxerces-c-dev libxmu-dev libxpm-dev libglu1-mesa-dev qtbase5-dev libmotif-dev libargtable2-0 libboost-all-dev libqt53dextras5 libfmt-dev
sudo apt-get -y install libxerces-c-dev libxmu-dev libxpm-dev libglu1-mesa-dev qtbase5-dev libmotif-dev libargtable2-0 libboost-all-dev libqt53dextras5 libfmt-dev spdlog-dev
```

Note: spdlog will be automatically installed by CMake if not found on your system.

### Installing ROOT

1. Download the latest ROOT binary from [ROOT's official website](https://root.cern/releases/) (e.g., version 6.28/04 at the time of writing), or compile from source.
Expand Down
1 change: 0 additions & 1 deletion common/data/Materials/NoOptic_Absorber.dat
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"jName": "NoOptic_Absorber",
"jDataType": "NoOptic",
"jComponents": {
"G4_C": 1.0
},
Expand Down
3 changes: 1 addition & 2 deletions common/data/Materials/NoOptic_Photocathode (copy).dat
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"jName": "NoOptic_Photocathode",
"jDataType": "NoOptic",
"jComponentName": [
"G4_Sb",
"G4_K",
Expand All @@ -16,4 +15,4 @@
"jUnit": "g/cm3"
},
"jState": "kStateSolid"
}
}
1 change: 0 additions & 1 deletion common/data/Materials/NoOptic_Reflector.dat
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"jName": "NoOptic_Reflector",
"jDataType": "NoOptic",
"jComponents": {
"G4_Al": 1.0
},
Expand Down
1 change: 0 additions & 1 deletion common/data/Materials/NoOptic_Stahl.dat
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"jName": "NoOptic_Stahl",
"jDataType": "NoOptic",
"jComponents": {
"G4_STAINLESS-STEEL": 1.0
},
Expand Down
39 changes: 22 additions & 17 deletions common/data/Materials/RiAbs_Absorber.dat
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"jName": "RiAbs_Absorber",
"jDataType": "RiAbs",
"jComponents": {
"G4_AIR": 1.0
},
Expand All @@ -9,20 +8,26 @@
"jUnit": "mg/cm3"
},
"jState": "kStateGas",
"jRefractiveIdx": [
1.0003,
1.0003
],
"jRefractiveIdxWavelength": [
150,
730
],
"jAbsLength": [
0.0000000000000000000000000001,
0.0000000000000000000000000001
],
"jAbsLengthWavelength": [
150,
730
]
"jProperties": {
"RINDEX": {
"jValue": [
1.0003,
1.0003
],
"jWavelength": [
150,
730
]
},
"ABSLENGTH": {
"jValue": [
1e-28,
1e-28
],
"jWavelength": [
150,
730
]
}
}
}
Loading
Loading