<commit_before># **************************************************************************
# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
# *                                                                        *
# * Author: The ALICE Off-line Project.                                    *
# * Contributors are mentioned in the code where appropriate.              *
# *                                                                        *
# * Permission to use, copy, modify and distribute this software and its   *
# * documentation strictly for non-commercial purposes is hereby granted   *
# * without fee, provided that the above copyright notice appears in all   *
# * copies and that both the copyright notice and this permission notice   *
# * appear in the supporting documentation. The authors make no claims     *
# * about the suitability of this software for any purpose. It is          *
# * provided "as is" without express or implied warranty.                  *
# **************************************************************************

# Module
set(MODULE FASTJETAN)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/JETAN/${MODULE})

# Additional include folders in alphabetical order
include_directories(${AliPhysics_SOURCE_DIR}/JETAN/JETAN
                   )

# Sources in alphabetical order
set(SRCS
    AliAnalysisTaskJetBackgroundSubtract.cxx
    AliAnalysisTaskJetCluster.cxx
    AliAnalysisTaskJetClusterKine.cxx
    AliFastJetBkg.cxx
    AliFastJetFinder.cxx
    AliFastJetHeaderV1.cxx
    AliFastJetInput.cxx
    AliSISConeJetFinder.cxx
    AliSISConeJetHeader.cxx
   )

# Headers from sources
string(REPLACE ".cxx" ".h" HDRS "${SRCS}")

if(FASTJET_FOUND)
    include_directories(SYSTEM ${FASTJET_INCLUDE_DIR})
    link_directories(${FASTJET_LIBS_DIR})
    add_definitions(${FASTJET_DEFINITIONS})

    if(ROOT_VERSION_MAJOR EQUAL 6)
      set(EXTRADEFINITIONS "-I${FASTJET_INCLUDE_DIR} -rml libfastjetcontribfragile.so -rml libfastjetplugins.so -rml libsiscone_spherical.so -rml libsiscone.so -rml libfastjettools -rml libfastjet")
      if (";${FASTJET_LIBS};" MATCHES ";CGAL;")
	set(EXTRADEFINITIONS "${EXTRADEFINITIONS} -rml libCGAL")
      endif()
    endif(ROOT_VERSION_MAJOR EQUAL 6)
endif(FASTJET_FOUND)

# Generate the dictionary
# It will create G_ARG1.cxx and G_ARG1.h / ARG1 = function first argument
get_directory_property(incdirs INCLUDE_DIRECTORIES)
generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}" "${EXTRADEFINITIONS}")

# Generate the ROOT map
# Dependecies
set(LIBDEPS STEERBase ESD AOD ANALYSIS ANALYSISalice JETAN EG Net)
if(FASTJET_FOUND)
  set(LIBDEPS
    ${LIBDEPS}
    fastjetcontribfragile
    fastjetplugins
    siscone_spherical
    siscone
    fastjettools
    fastjet
    )
endif(FASTJET_FOUND)
generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h")

# Generate a PARfile target for this library
add_target_parfile(${MODULE} "${SRCS}" "${HDRS}" "${MODULE}LinkDef.h" "${LIBDEPS}")
<commit_msg>Fix hardcoded .so in JETAN ROOT6 stanza<commit_after># **************************************************************************
# * Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
# *                                                                        *
# * Author: The ALICE Off-line Project.                                    *
# * Contributors are mentioned in the code where appropriate.              *
# *                                                                        *
# * Permission to use, copy, modify and distribute this software and its   *
# * documentation strictly for non-commercial purposes is hereby granted   *
# * without fee, provided that the above copyright notice appears in all   *
# * copies and that both the copyright notice and this permission notice   *
# * appear in the supporting documentation. The authors make no claims     *
# * about the suitability of this software for any purpose. It is          *
# * provided "as is" without express or implied warranty.                  *
# **************************************************************************

# Module
set(MODULE FASTJETAN)
add_definitions(-D_MODULE_="${MODULE}")

# Module include folder
include_directories(${AliPhysics_SOURCE_DIR}/JETAN/${MODULE})

# Additional include folders in alphabetical order
include_directories(${AliPhysics_SOURCE_DIR}/JETAN/JETAN
                   )

# Sources in alphabetical order
set(SRCS
    AliAnalysisTaskJetBackgroundSubtract.cxx
    AliAnalysisTaskJetCluster.cxx
    AliAnalysisTaskJetClusterKine.cxx
    AliFastJetBkg.cxx
    AliFastJetFinder.cxx
    AliFastJetHeaderV1.cxx
    AliFastJetInput.cxx
    AliSISConeJetFinder.cxx
    AliSISConeJetHeader.cxx
   )

# Headers from sources
string(REPLACE ".cxx" ".h" HDRS "${SRCS}")

if(FASTJET_FOUND)
    include_directories(SYSTEM ${FASTJET_INCLUDE_DIR})
    link_directories(${FASTJET_LIBS_DIR})
    add_definitions(${FASTJET_DEFINITIONS})

    if(ROOT_VERSION_MAJOR EQUAL 6)
      set(EXTRADEFINITIONS "-I${FASTJET_INCLUDE_DIR} -rml libfastjetcontribfragile -rml libfastjetplugins -rml libsiscone_spherical -rml libsiscone -rml libfastjettools -rml libfastjet")
      if (";${FASTJET_LIBS};" MATCHES ";CGAL;")
	set(EXTRADEFINITIONS "${EXTRADEFINITIONS} -rml libCGAL")
      endif()
    endif(ROOT_VERSION_MAJOR EQUAL 6)
endif(FASTJET_FOUND)

# Generate the dictionary
# It will create G_ARG1.cxx and G_ARG1.h / ARG1 = function first argument
get_directory_property(incdirs INCLUDE_DIRECTORIES)
generate_dictionary("${MODULE}" "${MODULE}LinkDef.h" "${HDRS}" "${incdirs}" "${EXTRADEFINITIONS}")

# Generate the ROOT map
# Dependecies
set(LIBDEPS STEERBase ESD AOD ANALYSIS ANALYSISalice JETAN EG Net)
if(FASTJET_FOUND)
  set(LIBDEPS
    ${LIBDEPS}
    fastjetcontribfragile
    fastjetplugins
    siscone_spherical
    siscone
    fastjettools
    fastjet
    )
endif(FASTJET_FOUND)
generate_rootmap("${MODULE}" "${LIBDEPS}" "${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}LinkDef.h")

# Generate a PARfile target for this library
add_target_parfile(${MODULE} "${SRCS}" "${HDRS}" "${MODULE}LinkDef.h" "${LIBDEPS}")

{'fraction_non_alphanumeric': 0.13629083920563742, 'fraction_numerical': 0.0046444586803331194, 'mean_word_length': 3.505772005772006, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '219008', 'n_tokens_mistral': 1997, 'n_tokens_neox': 1891, 'n_words': 454}