clhep/2.4.7.1

Class Library for High Energy Physics.
Recipe info
LGPL-3.0-only
2023-12-26

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
clhep/2.4.7.1

Using clhep

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
clhep/2.4.7.1
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("clhep/2.4.7.1")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): CLHEP
  • CMake target name(s): CLHEP::CLHEPS
  • cast => CLHEP::CastS
    matrix => CLHEP::MatrixS
    random => CLHEP::RandomS
    vector => CLHEP::VectorS
    clheplib => CLHEP::CLHEPS
    geometry => CLHEP::GeometryS
    refcount => CLHEP::RefCountS
    evaluator => CLHEP::EvaluatorS
    exceptions => CLHEP::ExceptionsS
    randomobjects => CLHEP::RandomObjectsS
    genericfunctions => CLHEP::GenericFunctionsS
    
  • pkg-config file name(s): clhep.pc
  • cast => clhep-cast.pc
    matrix => clhep-matrix.pc
    random => clhep-random.pc
    vector => clhep-vector.pc
    clheplib => clhep.pc
    geometry => clhep-geometry.pc
    refcount => clhep-refcount.pc
    evaluator => clhep-evaluator.pc
    exceptions => clhep-exceptions.pc
    randomobjects => clhep-randomobjects.pc
    genericfunctions => clhep-genericfunctions.pc
    

A simple use case using the CMake file name and the global target:

# ...
find_package(CLHEP REQUIRED)
# ...
target_link_libraries(YOUR_TARGET CLHEP::CLHEPS)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the clhep homepage listed above:

#include "CLHEP/Cast/defs.h"
#include "CLHEP/Cast/itos.h"
#include "CLHEP/ClhepVersion.h"
#include "CLHEP/Evaluator/Evaluator.h"
#include "CLHEP/Evaluator/defs.h"
#include "CLHEP/Exceptions/ZMerrno.h"
#include "CLHEP/Exceptions/ZMerrno.icc"
#include "CLHEP/Exceptions/ZMexAction.h"
#include "CLHEP/Exceptions/ZMexClassInfo.h"
#include "CLHEP/Exceptions/ZMexClassInfo.icc"
#include "CLHEP/Exceptions/ZMexHandler.h"
#include "CLHEP/Exceptions/ZMexHandler.icc"
#include "CLHEP/Exceptions/ZMexLogResult.h"
#include "CLHEP/Exceptions/ZMexLogger.h"
#include "CLHEP/Exceptions/ZMexSeverity.h"
#include "CLHEP/Exceptions/ZMexception.h"
#include "CLHEP/Exceptions/ZMexception.icc"
#include "CLHEP/Exceptions/ZMthrow.h"
#include "CLHEP/Exceptions/arch_spec_Exceptions.mk"
#include "CLHEP/Exceptions/defs.h"
#include "CLHEP/Exceptions/link_Exceptions.mk"
#include "CLHEP/GenericFunctions/ACos.hh"
#include "CLHEP/GenericFunctions/ASin.hh"
#include "CLHEP/GenericFunctions/ATan.hh"
#include "CLHEP/GenericFunctions/Abs.hh"
#include "CLHEP/GenericFunctions/AbsFunction.hh"
#include "CLHEP/GenericFunctions/AbsFunctional.hh"
#include "CLHEP/GenericFunctions/AbsParameter.hh"
#include "CLHEP/GenericFunctions/AdaptiveRKStepper.hh"
#include "CLHEP/GenericFunctions/Airy.hh"
#include "CLHEP/GenericFunctions/Airy.icc"
#include "CLHEP/GenericFunctions/AnalyticConvolution.hh"
#include "CLHEP/GenericFunctions/Argument.hh"
#include "CLHEP/GenericFunctions/ArgumentList.hh"
#include "CLHEP/GenericFunctions/ArrayFunction.hh"
#include "CLHEP/GenericFunctions/AssociatedLaguerre.hh"
#include "CLHEP/GenericFunctions/AssociatedLegendre.hh"
#include "CLHEP/GenericFunctions/AssociatedLegendre.icc"
#include "CLHEP/GenericFunctions/Bessel.hh"
#include "CLHEP/GenericFunctions/Bessel.icc"
#include "CLHEP/GenericFunctions/BetaDistribution.hh"
#include "CLHEP/GenericFunctions/BivariateGaussian.hh"
#include "CLHEP/GenericFunctions/ButcherTableau.hh"
#include "CLHEP/GenericFunctions/ButcherTableau.icc"
#include "CLHEP/GenericFunctions/ClassicalSolver.hh"
#include "CLHEP/GenericFunctions/ClebschGordanCoefficientSet.hh"
#include "CLHEP/GenericFunctions/ConstMinusFunction.hh"
#include "CLHEP/GenericFunctions/ConstMinusParameter.hh"
#include "CLHEP/GenericFunctions/ConstOverFunction.hh"
#include "CLHEP/GenericFunctions/ConstOverParameter.hh"
#include "CLHEP/GenericFunctions/ConstPlusFunction.hh"
#include "CLHEP/GenericFunctions/ConstPlusParameter.hh"
#include "CLHEP/GenericFunctions/ConstTimesFunction.hh"
#include "CLHEP/GenericFunctions/ConstTimesParameter.hh"
#include "CLHEP/GenericFunctions/Cos.hh"
#include "CLHEP/GenericFunctions/CumulativeChiSquare.hh"
#include "CLHEP/GenericFunctions/CutBase.hh"
#include "CLHEP/GenericFunctions/CutBase.icc"
#include "CLHEP/GenericFunctions/DefiniteIntegral.hh"
#include "CLHEP/GenericFunctions/DoubleParamToArgAdaptor.hh"
#include "CLHEP/GenericFunctions/DoubleParamToArgAdaptor.icc"
#include "CLHEP/GenericFunctions/EfficiencyFunctional.hh"
#include "CLHEP/GenericFunctions/EllipticIntegral.hh"
#include "CLHEP/GenericFunctions/EllipticIntegral.icc"
#include "CLHEP/GenericFunctions/EmbeddedRKStepper.hh"
#include "CLHEP/GenericFunctions/Erf.hh"
#include "CLHEP/GenericFunctions/Exp.hh"
#include "CLHEP/GenericFunctions/Exponential.hh"
#include "CLHEP/GenericFunctions/ExtendedButcherTableau.hh"
#include "CLHEP/GenericFunctions/ExtendedButcherTableau.icc"
#include "CLHEP/GenericFunctions/FixedConstant.hh"
#include "CLHEP/GenericFunctions/FloatingConstant.hh"
#include "CLHEP/GenericFunctions/FourierFit.hh"
#include "CLHEP/GenericFunctions/FourierFit.icc"
#include "CLHEP/GenericFunctions/FunctionComposition.hh"
#include "CLHEP/GenericFunctions/FunctionConvolution.hh"
#include "CLHEP/GenericFunctions/FunctionDifference.hh"
#include "CLHEP/GenericFunctions/FunctionDirectProduct.hh"
#include "CLHEP/GenericFunctions/FunctionNegation.hh"
#include "CLHEP/GenericFunctions/FunctionNoop.hh"
#include "CLHEP/GenericFunctions/FunctionNumDeriv.hh"
#include "CLHEP/GenericFunctions/FunctionPlusParameter.hh"
#include "CLHEP/GenericFunctions/FunctionProduct.hh"
#include "CLHEP/GenericFunctions/FunctionQuotient.hh"
#include "CLHEP/GenericFunctions/FunctionSum.hh"
#include "CLHEP/GenericFunctions/FunctionTimesParameter.hh"
#include "CLHEP/GenericFunctions/Gamma.hh"
#include "CLHEP/GenericFunctions/GammaDistribution.hh"
#include "CLHEP/GenericFunctions/Gaussian.hh"
#include "CLHEP/GenericFunctions/GenericFunctions.hh"
#include "CLHEP/GenericFunctions/IncompleteGamma.hh"
#include "CLHEP/GenericFunctions/InterpolatingPolynomial.hh"
#include "CLHEP/GenericFunctions/KroneckerDelta.hh"
#include "CLHEP/GenericFunctions/Landau.hh"
#include "CLHEP/GenericFunctions/Legendre.hh"
#include "CLHEP/GenericFunctions/Legendre.icc"
#include "CLHEP/GenericFunctions/LegendreCoefficientSet.hh"
#include "CLHEP/GenericFunctions/LegendreCoefficientSet.icc"
#include "CLHEP/GenericFunctions/LegendreExpansion.hh"
#include "CLHEP/GenericFunctions/LegendreExpansion.icc"
#include "CLHEP/GenericFunctions/LegendreFit.hh"
#include "CLHEP/GenericFunctions/LegendreFit.icc"
#include "CLHEP/GenericFunctions/LikelihoodFunctional.hh"
#include "CLHEP/GenericFunctions/Ln.hh"
#include "CLHEP/GenericFunctions/LogGamma.hh"
#include "CLHEP/GenericFunctions/LogisticFunction.hh"
#include "CLHEP/GenericFunctions/Mod.hh"
#include "CLHEP/GenericFunctions/NonrelativisticBW.hh"
#include "CLHEP/GenericFunctions/ParamToArgAdaptor.hh"
#include "CLHEP/GenericFunctions/ParamToArgAdaptor.icc"
#include "CLHEP/GenericFunctions/Parameter.hh"
#include "CLHEP/GenericFunctions/ParameterComposition.hh"
#include "CLHEP/GenericFunctions/ParameterDifference.hh"
#include "CLHEP/GenericFunctions/ParameterNegation.hh"
#include "CLHEP/GenericFunctions/ParameterProduct.hh"
#include "CLHEP/GenericFunctions/ParameterQuotient.hh"
#include "CLHEP/GenericFunctions/ParameterSum.hh"
#include "CLHEP/GenericFunctions/PeriodicRectangular.hh"
#include "CLHEP/GenericFunctions/PhaseSpace.hh"
#include "CLHEP/GenericFunctions/Power.hh"
#include "CLHEP/GenericFunctions/Psi2Hydrogen.hh"
#include "CLHEP/GenericFunctions/Psi2Hydrogen.icc"
#include "CLHEP/GenericFunctions/PtRelFcn.hh"
#include "CLHEP/GenericFunctions/PuncturedSmearedExp.hh"
#include "CLHEP/GenericFunctions/RCBase.hh"
#include "CLHEP/GenericFunctions/RKIntegrator.hh"
#include "CLHEP/GenericFunctions/Rectangular.hh"
#include "CLHEP/GenericFunctions/RelativisticBW.hh"
#include "CLHEP/GenericFunctions/ReverseExponential.hh"
#include "CLHEP/GenericFunctions/RungeKuttaClassicalSolver.hh"
#include "CLHEP/GenericFunctions/Sigma.hh"
#include "CLHEP/GenericFunctions/SimpleRKStepper.hh"
#include "CLHEP/GenericFunctions/Sin.hh"
#include "CLHEP/GenericFunctions/SphericalBessel.hh"
#include "CLHEP/GenericFunctions/SphericalBessel.icc"
#include "CLHEP/GenericFunctions/SphericalHarmonicCoefficientSet.hh"
#include "CLHEP/GenericFunctions/SphericalHarmonicCoefficientSet.icc"
#include "CLHEP/GenericFunctions/SphericalHarmonicExpansion.hh"
#include "CLHEP/GenericFunctions/SphericalHarmonicExpansion.icc"
#include "CLHEP/GenericFunctions/SphericalHarmonicFit.hh"
#include "CLHEP/GenericFunctions/SphericalHarmonicFit.icc"
#include "CLHEP/GenericFunctions/SphericalNeumann.hh"
#include "CLHEP/GenericFunctions/SphericalNeumann.icc"
#include "CLHEP/GenericFunctions/Sqrt.hh"
#include "CLHEP/GenericFunctions/Square.hh"
#include "CLHEP/GenericFunctions/StepDoublingRKStepper.hh"
#include "CLHEP/GenericFunctions/SymToArgAdaptor.hh"
#include "CLHEP/GenericFunctions/SymToArgAdaptor.icc"
#include "CLHEP/GenericFunctions/Tan.hh"
#include "CLHEP/GenericFunctions/Theta.hh"
#include "CLHEP/GenericFunctions/TrivariateGaussian.hh"
#include "CLHEP/GenericFunctions/Variable.hh"
#include "CLHEP/GenericFunctions/VoigtProfile.hh"
#include "CLHEP/GenericFunctions/X.hh"
#include "CLHEP/GenericFunctions/defs.h"
#include "CLHEP/Geometry/BasicVector3D.h"
#include "CLHEP/Geometry/Normal3D.h"
#include "CLHEP/Geometry/Plane3D.h"
#include "CLHEP/Geometry/Point3D.h"
#include "CLHEP/Geometry/Transform3D.h"
#include "CLHEP/Geometry/Transform3D.icc"
#include "CLHEP/Geometry/Vector3D.h"
#include "CLHEP/Geometry/defs.h"
#include "CLHEP/Matrix/DiagMatrix.h"
#include "CLHEP/Matrix/DiagMatrix.icc"
#include "CLHEP/Matrix/GenMatrix.h"
#include "CLHEP/Matrix/GenMatrix.icc"
#include "CLHEP/Matrix/Matrix.h"
#include "CLHEP/Matrix/Matrix.icc"
#include "CLHEP/Matrix/Pile.h"
#include "CLHEP/Matrix/SymMatrix.h"
#include "CLHEP/Matrix/SymMatrix.icc"
#include "CLHEP/Matrix/Vector.h"
#include "CLHEP/Matrix/Vector.icc"
#include "CLHEP/Matrix/defs.h"
#include "CLHEP/Random/DRand48Engine.h"
#include "CLHEP/Random/DoubConv.h"
#include "CLHEP/Random/DualRand.h"
#include "CLHEP/Random/EngineFactory.h"
#include "CLHEP/Random/Hurd160Engine.h"
#include "CLHEP/Random/Hurd288Engine.h"
#include "CLHEP/Random/JamesRandom.h"
#include "CLHEP/Random/MTwistEngine.h"
#include "CLHEP/Random/MixMaxRng.h"
#include "CLHEP/Random/NonRandomEngine.h"
#include "CLHEP/Random/RandBinomial.h"
#include "CLHEP/Random/RandBinomial.icc"
#include "CLHEP/Random/RandBit.h"
#include "CLHEP/Random/RandBit.icc"
#include "CLHEP/Random/RandBreitWigner.h"
#include "CLHEP/Random/RandBreitWigner.icc"
#include "CLHEP/Random/RandChiSquare.h"
#include "CLHEP/Random/RandChiSquare.icc"
#include "CLHEP/Random/RandEngine.h"
#include "CLHEP/Random/RandExpZiggurat.h"
#include "CLHEP/Random/RandExponential.h"
#include "CLHEP/Random/RandExponential.icc"
#include "CLHEP/Random/RandFlat.h"
#include "CLHEP/Random/RandFlat.icc"
#include "CLHEP/Random/RandGamma.h"
#include "CLHEP/Random/RandGamma.icc"
#include "CLHEP/Random/RandGauss.h"
#include "CLHEP/Random/RandGauss.icc"
#include "CLHEP/Random/RandGaussQ.h"
#include "CLHEP/Random/RandGaussQ.icc"
#include "CLHEP/Random/RandGaussT.h"
#include "CLHEP/Random/RandGaussT.icc"
#include "CLHEP/Random/RandGaussZiggurat.h"
#include "CLHEP/Random/RandGeneral.h"
#include "CLHEP/Random/RandGeneral.icc"
#include "CLHEP/Random/RandLandau.h"
#include "CLHEP/Random/RandLandau.icc"
#include "CLHEP/Random/RandPoisson.h"
#include "CLHEP/Random/RandPoisson.icc"
#include "CLHEP/Random/RandPoissonQ.h"
#include "CLHEP/Random/RandPoissonQ.icc"
#include "CLHEP/Random/RandPoissonT.h"
#include "CLHEP/Random/RandPoissonT.icc"
#include "CLHEP/Random/RandSkewNormal.h"
#include "CLHEP/Random/RandSkewNormal.icc"
#include "CLHEP/Random/RandStudentT.h"
#include "CLHEP/Random/RandStudentT.icc"
#include "CLHEP/Random/Random.h"
#include "CLHEP/Random/Random.icc"
#include "CLHEP/Random/RandomEngine.h"
#include "CLHEP/Random/RandomEngine.icc"
#include "CLHEP/Random/RandomFunc.h"
#include "CLHEP/Random/Randomize.h"
#include "CLHEP/Random/RanecuEngine.h"
#include "CLHEP/Random/Ranlux64Engine.h"
#include "CLHEP/Random/RanluxEngine.h"
#include "CLHEP/Random/RanluxppEngine.h"
#include "CLHEP/Random/RanshiEngine.h"
#include "CLHEP/Random/SeedTable.h"
#include "CLHEP/Random/Stat.h"
#include "CLHEP/Random/StaticRandomStates.h"
#include "CLHEP/Random/TripleRand.h"
#include "CLHEP/Random/defs.h"
#include "CLHEP/Random/engineIDulong.h"
#include "CLHEP/Random/mixmax_skip_N17.icc"
#include "CLHEP/RandomObjects/RandMultiGauss.h"
#include "CLHEP/RandomObjects/RandomVector.h"
#include "CLHEP/RandomObjects/RandomVector.icc"
#include "CLHEP/RandomObjects/defs.h"
#include "CLHEP/RefCount/ZMhandleTo.h"
#include "CLHEP/RefCount/ZMhandleTo.icc"
#include "CLHEP/RefCount/ZMuseCount.h"
#include "CLHEP/RefCount/ZMuseCount.icc"
#include "CLHEP/RefCount/defs.h"
#include "CLHEP/Units/GlobalPhysicalConstants.h"
#include "CLHEP/Units/GlobalSystemOfUnits.h"
#include "CLHEP/Units/PhysicalConstants.h"
#include "CLHEP/Units/SystemOfUnits.h"
#include "CLHEP/Units/defs.h"
#include "CLHEP/Utility/atomic_int.h"
#include "CLHEP/Utility/defs.h"
#include "CLHEP/Utility/keywords.h"
#include "CLHEP/Utility/memory.h"
#include "CLHEP/Utility/noncopyable.h"
#include "CLHEP/Utility/thread_local.h"
#include "CLHEP/Vector/AxisAngle.h"
#include "CLHEP/Vector/AxisAngle.icc"
#include "CLHEP/Vector/Boost.h"
#include "CLHEP/Vector/Boost.icc"
#include "CLHEP/Vector/BoostX.h"
#include "CLHEP/Vector/BoostX.icc"
#include "CLHEP/Vector/BoostY.h"
#include "CLHEP/Vector/BoostY.icc"
#include "CLHEP/Vector/BoostZ.h"
#include "CLHEP/Vector/BoostZ.icc"
#include "CLHEP/Vector/EulerAngles.h"
#include "CLHEP/Vector/EulerAngles.icc"
#include "CLHEP/Vector/LorentzRotation.h"
#include "CLHEP/Vector/LorentzRotation.icc"
#include "CLHEP/Vector/LorentzVector.h"
#include "CLHEP/Vector/LorentzVector.icc"
#include "CLHEP/Vector/Rotation.h"
#include "CLHEP/Vector/Rotation.icc"
#include "CLHEP/Vector/RotationInterfaces.h"
#include "CLHEP/Vector/RotationInterfaces.icc"
#include "CLHEP/Vector/RotationX.h"
#include "CLHEP/Vector/RotationX.icc"
#include "CLHEP/Vector/RotationY.h"
#include "CLHEP/Vector/RotationY.icc"
#include "CLHEP/Vector/RotationZ.h"
#include "CLHEP/Vector/RotationZ.icc"
#include "CLHEP/Vector/Sqr.h"
#include "CLHEP/Vector/ThreeVector.h"
#include "CLHEP/Vector/ThreeVector.icc"
#include "CLHEP/Vector/TwoVector.h"
#include "CLHEP/Vector/TwoVector.icc"
#include "CLHEP/Vector/ZMxpv.h"
#include "CLHEP/Vector/defs.h"
#include "clhep.modulemap"