Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 27, 2025
1 parent 832002e commit 4285a6d
Show file tree
Hide file tree
Showing 360 changed files with 339,307 additions and 330,277 deletions.
350 changes: 178 additions & 172 deletions CMakeLists.txt

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions CTestConfig.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Dashboard is opened for submissions for a 24 hour period starting at
# the specified NIGHLY_START_TIME. Time is specified in 24 hour format.
# Dashboard is opened for submissions for a 24 hour period starting at the
# specified NIGHLY_START_TIME. Time is specified in 24 hour format.
set(CTEST_PROJECT_NAME "PandaRoot")
set(CTEST_NIGHTLY_START_TIME "00:00:00 CEST")

set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "cdash.gsi.de")
set(CTEST_DROP_LOCATION "/CDash/submit.php?project=PandaRoot")
set(CTEST_DROP_SITE_CDASH TRUE)
#set(CTEST_TRIGGER_SITE "")
# set(CTEST_TRIGGER_SITE "")

set(CTEST_TESTING_TIMEOUT 300)
181 changes: 81 additions & 100 deletions CTestCustom.cmake
Original file line number Diff line number Diff line change
@@ -1,124 +1,105 @@
# -*- mode: cmake -*-

#message(" -- Read CTestCustom.cmake --")
# message(" -- Read CTestCustom.cmake --")

# -----------------------------------------------------------
# -- Number of warnings to display
# -----------------------------------------------------------

set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS "500" )
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS "500")

# -----------------------------------------------------------
# -- Number of errors to display
# -----------------------------------------------------------

set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS "50" )
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS "50")

set(CTEST_CUSTOM_ERROR_EXCEPTION
${CTEST_CUSTOM_ERROR_EXCEPTION}
"Warnung: "
"Anmerkung: "
)
set(CTEST_CUSTOM_ERROR_EXCEPTION ${CTEST_CUSTOM_ERROR_EXCEPTION} "Warnung: "
"Anmerkung: ")

# -----------------------------------------------------------
# -- Warning execptions
# -----------------------------------------------------------

set(CTEST_CUSTOM_WARNING_EXCEPTION
${CTEST_CUSTOM_WARNING_EXCEPTION}

# -- doxygen warnings
# "of command \@param is not found in the argument list of"
# "for \\link command"
# "for \\ref command"
# "\\class statement"
# "\\file statement"
# "are not documented:"
# "Skipping documentation"
# "has a brief description"

# -- CLHEP and Pluto warnings
"/include/CLHEP/"
"PParticle.h"
"PDataBase.h"
"PMesh.h"
"PStaticData.h"
"PUtils.h"

# -- warnings from ubuntu systems which are a little to much
# -- probably defined warn-unused-result. ignoring the result
# -- of fgets is common practice. A work around would be to
# -- store the return value in a dummy variable
"ignoring return value of 'char* fgets(char*, int, FILE*)'"
"ignoring return value of 'char* fscanf(char*, int, FILE*)'"

# -- boost warnings
"/include/boost/exception/exception.hpp:"
"/include/boost/smart_ptr/detail/sp_convertible.hpp:"
"/include/boost/smart_ptr/shared_ptr.hpp:"

# -- Root warnings when installed in installation dir
"/include/root/"
# -- Root warnings which should not show up in the test setup
"/include/G__ci.h:"
"/include/TAttImage.h:"
"/include/TBuffer.h"
"/include/TChainElement.h"
"/include/TCollectionProxyInfo.h"
"/include/TCut.h:"
"/include/TEveBoxSet.h:"
"/include/TEveTrackPropagator.h:"
"/include/TEveTrackPropagator.h:"
"/include/TEveVector.h:"
"/include/TFcnAdapter.h:"
"/include/TFitterMinuit.h:"
"/include/TGeoMatrix.h:"
"/include/TGeoPainter.h:"
"/include/TGDMLParse.h"
"/include/TList.h:"
"/include/TMap.h:"
"/include/TMatrixT.h:"
"/include/TMatrixTSym.h:"
"/include/TMemberInspector.h:"
"/include/TObjArray.h:"
"/include/TRefArray.h:"
"/include/TString.h"
"/include/Minuit2/BasicFunctionGradient.h:"
"/include/Minuit2/MnUserParameterState.h:"
"/include/Minuit2/StackAllocator.h:"
"/include/TMVA/ClassInfo.h:"
"/include/TMVA/Config.h:"
"/include/TMVA/Configurable.h:"
"/include/TMVA/DataInputHandler.h:"
"/include/TMVA/DataSet.h:"
"/include/TMVA/DataSetInfo.h:"
"/include/TMVA/DataSetManager.h:"
"/include/TMVA/Event.h:"
"/include/TMVA/Factory.h:"
"/include/TMVA/KDEKernel.h:"
"/include/TMVA/Option.h:"
"/include/TMVA/PDF.h:"
"/include/TMVA/Reader.h:"
"/include/TMVA/Types.h:"

# -- Geant3 warnings
"TGeant3/TGeant3.h:"
"TGeant3/TGeant3TGeo.h:"

# -- Errors which are filtered for the time being
# -- MbsAPI is only a copy from elsewhere so don't know what to do
# -- FairTSBufferFunctional.h has to be fixed by Tobias
"MbsAPI"
# "FairTSBufferFunctional.h"
)
${CTEST_CUSTOM_WARNING_EXCEPTION}
# -- doxygen warnings
# "of command \@param is not found in the argument list of" "for \\link
# command" "for \\ref command" "\\class statement" "\\file statement" "are
# not documented:" "Skipping documentation" "has a brief description"
# -- CLHEP and Pluto warnings
"/include/CLHEP/"
"PParticle.h"
"PDataBase.h"
"PMesh.h"
"PStaticData.h"
"PUtils.h"
# -- warnings from ubuntu systems which are a little to much -- probably
# defined warn-unused-result. ignoring the result -- of fgets is common
# practice. A work around would be to -- store the return value in a dummy
# variable
"ignoring return value of 'char* fgets(char*, int, FILE*)'"
"ignoring return value of 'char* fscanf(char*, int, FILE*)'"
# -- boost warnings
"/include/boost/exception/exception.hpp:"
"/include/boost/smart_ptr/detail/sp_convertible.hpp:"
"/include/boost/smart_ptr/shared_ptr.hpp:"
# -- Root warnings when installed in installation dir
"/include/root/"
# -- Root warnings which should not show up in the test setup
"/include/G__ci.h:"
"/include/TAttImage.h:"
"/include/TBuffer.h"
"/include/TChainElement.h"
"/include/TCollectionProxyInfo.h"
"/include/TCut.h:"
"/include/TEveBoxSet.h:"
"/include/TEveTrackPropagator.h:"
"/include/TEveTrackPropagator.h:"
"/include/TEveVector.h:"
"/include/TFcnAdapter.h:"
"/include/TFitterMinuit.h:"
"/include/TGeoMatrix.h:"
"/include/TGeoPainter.h:"
"/include/TGDMLParse.h"
"/include/TList.h:"
"/include/TMap.h:"
"/include/TMatrixT.h:"
"/include/TMatrixTSym.h:"
"/include/TMemberInspector.h:"
"/include/TObjArray.h:"
"/include/TRefArray.h:"
"/include/TString.h"
"/include/Minuit2/BasicFunctionGradient.h:"
"/include/Minuit2/MnUserParameterState.h:"
"/include/Minuit2/StackAllocator.h:"
"/include/TMVA/ClassInfo.h:"
"/include/TMVA/Config.h:"
"/include/TMVA/Configurable.h:"
"/include/TMVA/DataInputHandler.h:"
"/include/TMVA/DataSet.h:"
"/include/TMVA/DataSetInfo.h:"
"/include/TMVA/DataSetManager.h:"
"/include/TMVA/Event.h:"
"/include/TMVA/Factory.h:"
"/include/TMVA/KDEKernel.h:"
"/include/TMVA/Option.h:"
"/include/TMVA/PDF.h:"
"/include/TMVA/Reader.h:"
"/include/TMVA/Types.h:"
# -- Geant3 warnings
"TGeant3/TGeant3.h:"
"TGeant3/TGeant3TGeo.h:"
# -- Errors which are filtered for the time being -- MbsAPI is only a copy
# from elsewhere so don't know what to do -- FairTSBufferFunctional.h has to
# be fixed by Tobias
"MbsAPI"
# "FairTSBufferFunctional.h"
)

# -----------------------------------------------------------
# -- Warning addon's
# -----------------------------------------------------------
set(CTEST_CUSTOM_WARNING_MATCH ${CTEST_CUSTOM_WARNING_MATCH}
)
set(CTEST_CUSTOM_WARNING_MATCH ${CTEST_CUSTOM_WARNING_MATCH})

Set (CTEST_CUSTOM_COVERAGE_EXCLUDE
"Dict.h"
"Dict.cxx"
)
set(CTEST_CUSTOM_COVERAGE_EXCLUDE "Dict.h" "Dict.cxx")
41 changes: 15 additions & 26 deletions TimeDet/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,35 +1,24 @@
# Create a library called "libTimeDet" which includes the source files given in
# the array .
# The extension is already found. Any number of sources could be listed here.
# the array . The extension is already found. Any number of sources could be
# listed here.

set(INCLUDE_DIRECTORIES
${CMAKE_SOURCE_DIR}/shipdata
${CMAKE_SOURCE_DIR}/TimeDet
${genfit2_INCDIR}
)
set(INCLUDE_DIRECTORIES ${CMAKE_SOURCE_DIR}/shipdata
${CMAKE_SOURCE_DIR}/TimeDet ${genfit2_INCDIR})

include_directories(${INCLUDE_DIRECTORIES} ${VMC_INCLUDE_DIRS} ${FAIRROOT_INCLUDE_DIR})
include_directories(${INCLUDE_DIRECTORIES} ${VMC_INCLUDE_DIRS}
${FAIRROOT_INCLUDE_DIR})
include_directories(SYSTEM ${SYSTEM_INCLUDE_DIRECTORIES})

set(LINK_DIRECTORIES
${ROOT_LIBRARY_DIR}
${FAIRROOT_LIBRARY_DIR}
${genfit2_LIBDIR}
)
set(LINK_DIRECTORIES ${ROOT_LIBRARY_DIR} ${FAIRROOT_LIBRARY_DIR}
${genfit2_LIBDIR})

link_directories( ${LINK_DIRECTORIES})
link_directories(${LINK_DIRECTORIES})

set(SRCS
#Put here your sourcefiles
TimeDetPoint.cxx
TimeDetHit.cxx
TimeDet.cxx
)
set(SRCS # Put here your sourcefiles
TimeDetPoint.cxx TimeDetHit.cxx TimeDet.cxx)

Set(LINKDEF TimeDetLinkDef.h)
Set(LIBRARY_NAME TimeDet)
Set(DEPENDENCIES
Base ShipData FairLogger::FairLogger
)
set(LINKDEF TimeDetLinkDef.h)
set(LIBRARY_NAME TimeDet)
set(DEPENDENCIES Base ShipData FairLogger::FairLogger)

GENERATE_LIBRARY()
generate_library()
Loading

0 comments on commit 4285a6d

Please sign in to comment.