forked from HEP-FCC/FCCDetectors
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate SIM step to EDM4hep (HEP-FCC#11)
* take care corner cases of small # of rotations in phi * estimate numx & numy on-the-fly instead of saving them in CellID (overflow of field with small # of rotations) * fix readouts * workaround for HSF CMakeTools (for LCG >= 97a_FCC_4) * [WIP] edm4hep + alpha for DR calorimeter (1) * [WIP] edm4hep + alpha for DR calorimeter (1) * [WIP] edm4hep + alpha for DR calorimeter (2) * [WIP] edm4hep + alpha for DR calorimeter (2) * migrate to EDM4hep (G4 part only) * handle fiber allocation corner cases * use RawCalorimeterHit instead of SimCalorimeterHit * CMake clean-up * move to LCG_99 (LCG_97a_FCC4 not working) * CMake clean-up * fix segmentation fault * migrate to G4.10.07.p01 and fix for multithreading
- Loading branch information
1 parent
5894d92
commit 2c48b2d
Showing
10 changed files
with
57 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,20 @@ | ||
project(ddDRcalo) | ||
|
||
cmake_minimum_required(VERSION 3.12 FATAL_ERROR) | ||
|
||
include_directories( | ||
${CMAKE_CURRENT_SOURCE_DIR}/include | ||
) | ||
|
||
dd4hep_add_plugin(ddDRcalo SOURCES src/*.cpp | ||
USES DD4hep::DDCore DD4hep::DDCond ROOT::Core ROOT::Geom ROOT::GenVector ROOT::MathCore ddDRsegmentation) | ||
dd4hep_add_plugin(ddDRcalo SOURCES src/*.cpp USES | ||
DD4hep::DDCore | ||
DD4hep::DDCond | ||
ROOT::Core | ||
ROOT::Geom | ||
ROOT::GenVector | ||
ROOT::MathCore | ||
ddDRsegmentation | ||
) | ||
|
||
install(TARGETS ddDRcalo LIBRARY DESTINATION lib) | ||
install(DIRECTORY compact DESTINATION bin ) | ||
install(DIRECTORY compact DESTINATION bin) | ||
|
||
dd4hep_configure_scripts( ddDRcalo DEFAULT_SETUP WITH_TESTS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters