-
in order to make the analysis faster when using non-nptool detectors with large array/vectors. This new method works similarly to npanalysis but using npreader instead of npanalysis. This method is currently supported for MUST2, CATS and MUSETT and it still under testing/developpment.
in order to make the analysis faster when using non-nptool detectors with large array/vectors. This new method works similarly to npanalysis but using npreader instead of npanalysis. This method is currently supported for MUST2, CATS and MUSETT and it still under testing/developpment.
CMakeLists.txt 956 B
add_custom_command(OUTPUT TCATSPhysicsDict.cxx COMMAND ${CMAKE_BINARY_DIR}/scripts/build_dict.sh TCATSPhysics.h TCATSPhysicsDict.cxx TCATSPhysics.rootmap libNPCATS.dylib DEPENDS TCATSPhysics.h)
add_custom_command(OUTPUT TCATSDataDict.cxx COMMAND ${CMAKE_BINARY_DIR}/scripts/build_dict.sh TCATSData.h TCATSDataDict.cxx TCATSData.rootmap libNPCATS.dylib DEPENDS TCATSData.h)
add_custom_command(OUTPUT TCATSPhysicsReaderDict.cxx COMMAND ${CMAKE_BINARY_DIR}/scripts/build_dict.sh TCATSPhysicsReader.h TCATSPhysicsReaderDict.cxx TCATSPhysicsReader.rootmap libNPCATS.dylib DEPENDS TCATSPhysicsReader.h)
add_library(NPCATS SHARED TCATSData.cxx TCATSPhysics.cxx TCATSPhysicsReader.cxx TCATSDataDict.cxx TCATSPhysicsDict.cxx TCATSPhysicsReaderDict.cxx TCATSSpectra.cxx)
target_link_libraries(NPCATS ${ROOT_LIBRARIES} -lTreePlayer NPCore)
install(FILES TCATSData.h TCATSPhysics.h TCATSSpectra.h TCATSPhysicsReader.h DESTINATION ${CMAKE_INCLUDE_OUTPUT_DIRECTORY})