forked from JPETTomography/j-pet-framework-examples
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
copying ops analisis from the fallen server
- Loading branch information
Showing
9 changed files
with
2,199 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,87 @@ | ||
################################################################################ | ||
## Data analysis project based on J-PET Framework | ||
## Created by J-PET Framework developers 2016-2018 | ||
## | ||
## Description: | ||
## Builds template for new analysis project | ||
################################################################################ | ||
|
||
cmake_minimum_required(VERSION 3.1...3.14) | ||
|
||
if(${CMAKE_VERSION} VERSION_LESS 3.14) | ||
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}) | ||
else() | ||
cmake_policy(VERSION 3.14) | ||
endif() | ||
|
||
###################################################################### | ||
## Project name - set this section appropriately for your project | ||
## (please remove this comment in your template-derived analysis) | ||
###################################################################### | ||
set(projectName opsAnalysis) | ||
|
||
## Auxiliary files are copied to build directory after CMake | ||
## You can add any files to this list | ||
set(AUXILLIARY_FILES | ||
README.md | ||
) | ||
|
||
################################################################################ | ||
## Binary, header and source files definitions | ||
set(projectBinary ${projectName}.x) | ||
project(${projectName} CXX) # using only C++ | ||
|
||
## Using source files of modules from LargeBarrelAnalysis | ||
set(use_modules_from ../ModularDetectorAnalysis) | ||
###################################################################### | ||
## If you are using your own version of some module which is also present | ||
## in LargeBarrelAnalysis, comment out the respective lines below | ||
## so as not to use this module's source from LargeBarrelAnalysis. | ||
## (please remove this comment in your template-derived analysis) | ||
## Add your own HEADERS/SOURCES | ||
set(HEADERS ${use_modules_from}/TimeWindowCreator.h | ||
${use_modules_from}/TimeWindowCreatorTools.h | ||
#${use_modules_from}/UniversalFileLoader.h | ||
${use_modules_from}/SignalFinder.h | ||
${use_modules_from}/SignalFinderTools.h | ||
${use_modules_from}/SignalTransformer.h | ||
${use_modules_from}/SignalTransformerTools.h | ||
#${use_modules_from}/ToTEnergyConverter.h | ||
#${use_modules_from}/ToTEnergyConverterFactory.h | ||
${use_modules_from}/HitFinder.h | ||
${use_modules_from}/HitFinderTools.h | ||
${use_modules_from}/EventFinder.h | ||
${use_modules_from}/EventCategorizerTools.h | ||
EventCategorizer.h | ||
reconstructor.h | ||
NTupler.h) | ||
|
||
set(SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp | ||
${use_modules_from}/TimeWindowCreator.cpp | ||
${use_modules_from}/TimeWindowCreatorTools.cpp | ||
#${use_modules_from}/UniversalFileLoader.cpp | ||
${use_modules_from}/SignalFinder.cpp | ||
${use_modules_from}/SignalFinderTools.cpp | ||
${use_modules_from}/SignalTransformer.cpp | ||
${use_modules_from}/SignalTransformerTools.cpp | ||
#${use_modules_from}/ToTEnergyConverter.cpp | ||
#${use_modules_from}/ToTEnergyConverterFactory.cpp | ||
${use_modules_from}/HitFinder.cpp | ||
${use_modules_from}/HitFinderTools.cpp | ||
${use_modules_from}/EventFinder.cpp | ||
${use_modules_from}/EventCategorizerTools.cpp | ||
EventCategorizer.cpp | ||
reconstructor.cpp | ||
NTupler.cpp | ||
main.cpp) | ||
|
||
add_executable(${projectBinary} ${SOURCES} ${HEADERS}) | ||
target_link_libraries(${projectBinary} JPetFramework::JPetFramework) | ||
|
||
add_custom_target(clean_data_${projectName} | ||
COMMAND rm -f *.tslot.*.root *.phys.*.root *.sig.root | ||
) | ||
|
||
################################################################################ | ||
## Copy the example auxiliary files | ||
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/${AUXILIARY_FILES} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/) |
Oops, something went wrong.