First implementation of ITS3 geometry - #3699
Conversation
|
I'll wait for #3702 to be merged, in order to implement the |
It should be sufficient to add the |
Some other parts of files, like the ones involved in extending the simulation tool have to be protected. Not a big deal at the moment. |
|
@mconcas I think you can go ahead and implement the updates using |
The |
4378eca to
f7d2a2c
Compare
|
Hi @sawenzel I think I adjusted the code. PS. I noticed that for loops on detectors ids usually go from Thanks and Cheers |
|
Taking a look now. I think the cmake is just offering the option ENABLE_UPGRADE but not yet setting the compiler definitions. |
|
@mconcas @qgp : This PR needs #3764 as well as alisw/alidist#2296. Thereafter you should be able to compile this with I would suggest to wait until these things are merged and then we can adjust this PR. |
There was a problem hiding this comment.
this is a bit long. Maybe there is a way to construct a list and pass the list to the function. @aphecetche ?
|
@mconcas For the targets that need the definition, you should add something like Or did I miss what you were asking for? |
32cad24 to
213766b
Compare
That is also something I was looking for (i tried now to put it here). Also the CI is complaining: CMake Error at run/CMakeLists.txt:16 (target_compile_definitions):
target_compile_definitions may only set INTERFACE properties on INTERFACE
targetsI'm trying by using the |
508789d to
0b4deb8
Compare
Please note that this is no longer necessary. Upgrade macro definitions are now enabled in the main CMake file. |
|
I guess it can and should be documented in a dedicated |
Sounds good, I will take care of adding such a file in |
|
So shall we go ahead merging this PR? |
|
Fine to me |
Tagging @shahor02 @sawenzel @qgp for knowledge.
This is a draft PR to better see what would be the addition to the code.
Simulation works with ITS and ITS3, I just would like to be sure not to break anything outside the
Upgradedirectory.