<commit_before>################################################################################
## Data analysis project based on J-PET Framework
## Created by J-PET Framework developers 2016-2018
##
## Description:
##   Basic data reconstruction for Large Barrel setup
################################################################################

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(projectName LargeBarrelAnalysis)

## Auxiliary files
set(AUXILIARY_FILES
  dummyCalibration.txt
  userParams.json
  conf_trb3.xml
  PARAMETERS.md
  README.md
  run.sh
)

################################################################################
## Binary, header and source files definitions
set(projectBinary ${projectName}.x)
project(${projectName} CXX)

set(HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/EventCategorizer.h
            ${CMAKE_CURRENT_SOURCE_DIR}/EventCategorizerTools.h
            ${CMAKE_CURRENT_SOURCE_DIR}/EventFinder.h
            ${CMAKE_CURRENT_SOURCE_DIR}/HitFinder.h
            ${CMAKE_CURRENT_SOURCE_DIR}/HitFinderTools.h
            ${CMAKE_CURRENT_SOURCE_DIR}/SignalFinder.h
            ${CMAKE_CURRENT_SOURCE_DIR}/SignalFinderTools.h
            ${CMAKE_CURRENT_SOURCE_DIR}/SignalTransformer.h
            ${CMAKE_CURRENT_SOURCE_DIR}/TimeWindowCreator.h
            ${CMAKE_CURRENT_SOURCE_DIR}/TimeWindowCreatorTools.h
            ${CMAKE_CURRENT_SOURCE_DIR}/UniversalFileLoader.h
            ${CMAKE_CURRENT_SOURCE_DIR}/EnergyConverter.h
            ${CMAKE_CURRENT_SOURCE_DIR}/ToTConverter.h
            ${CMAKE_CURRENT_SOURCE_DIR}/ToTEnergyConverter.h)

set(SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/EventCategorizer.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/EventCategorizerTools.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/EventFinder.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/HitFinder.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/HitFinderTools.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/SignalFinder.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/SignalFinderTools.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/SignalTransformer.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/TimeWindowCreator.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/TimeWindowCreatorTools.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/UniversalFileLoader.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/EnergyConverter.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/ToTConverter.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/ToTEnergyConverter.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp)


add_executable(${projectBinary} ${SOURCES} ${HEADERS})
target_link_libraries(${projectBinary} JPetFramework::JPetFramework
                                       Boost::program_options)

add_custom_target(clean_data_${projectName}
  COMMAND rm -f *.tslot.*.root *.phys.*.root *.sig.root)<commit_msg>Add missing file to CMakeList<commit_after>################################################################################
## Data analysis project based on J-PET Framework
## Created by J-PET Framework developers 2016-2018
##
## Description:
##   Basic data reconstruction for Large Barrel setup
################################################################################

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(projectName LargeBarrelAnalysis)

## Auxiliary files
set(AUXILIARY_FILES
  dummyCalibration.txt
  userParams.json
  conf_trb3.xml
  PARAMETERS.md
  README.md
  run.sh
)

################################################################################
## Binary, header and source files definitions
set(projectBinary ${projectName}.x)
project(${projectName} CXX)

set(HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/EventCategorizer.h
            ${CMAKE_CURRENT_SOURCE_DIR}/EventCategorizerTools.h
            ${CMAKE_CURRENT_SOURCE_DIR}/EventFinder.h
            ${CMAKE_CURRENT_SOURCE_DIR}/HitFinder.h
            ${CMAKE_CURRENT_SOURCE_DIR}/HitFinderTools.h
            ${CMAKE_CURRENT_SOURCE_DIR}/SignalFinder.h
            ${CMAKE_CURRENT_SOURCE_DIR}/SignalFinderTools.h
            ${CMAKE_CURRENT_SOURCE_DIR}/SignalTransformer.h
            ${CMAKE_CURRENT_SOURCE_DIR}/TimeWindowCreator.h
            ${CMAKE_CURRENT_SOURCE_DIR}/TimeWindowCreatorTools.h
            ${CMAKE_CURRENT_SOURCE_DIR}/UniversalFileLoader.h
            ${CMAKE_CURRENT_SOURCE_DIR}/EnergyConverter.h
            ${CMAKE_CURRENT_SOURCE_DIR}/ToTConverter.h
            ${CMAKE_CURRENT_SOURCE_DIR}/ToTEnergyConverterFactory.h)

set(SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/EventCategorizer.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/EventCategorizerTools.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/EventFinder.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/HitFinder.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/HitFinderTools.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/SignalFinder.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/SignalFinderTools.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/SignalTransformer.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/TimeWindowCreator.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/TimeWindowCreatorTools.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/UniversalFileLoader.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/EnergyConverter.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/ToTConverter.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/ToTEnergyConverterFactory.cpp
            ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp)


add_executable(${projectBinary} ${SOURCES} ${HEADERS})
target_link_libraries(${projectBinary} JPetFramework::JPetFramework
                                       Boost::program_options)

add_custom_target(clean_data_${projectName}
  COMMAND rm -f *.tslot.*.root *.phys.*.root *.sig.root)
{'fraction_non_alphanumeric': 0.19025825433148089, 'fraction_numerical': 0.006538084341288003, 'mean_word_length': 4.129086336965633, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1988602', 'n_tokens_mistral': 1847, 'n_tokens_neox': 1723, 'n_words': 203}