File indexing completed on 2026-09-25 09:17:05
0001
0002
0003
0004
0005 #pragma once
0006 #include <cstdint>
0007 #include <ostream>
0008
0009 #define JANA2_HAVE_PODIO 1
0010 #define JANA2_HAVE_ROOT 1
0011 #define JANA2_HAVE_XERCES 0
0012 #define JANA2_HAVE_PERFETTO 0
0013
0014 #define JANA2_COMMIT_HASH ""
0015 #define JANA2_COMMIT_DATE ""
0016 #define JANA2_INSTALL_PREFIX "/opt/software/linux-x86_64_v2/jana2-2026.03.01-wg4z33kaqyktxtyigvhxefkco7c3rng2"
0017
0018
0019 struct JVersion {
0020
0021 static const uint64_t major = 2026;
0022 static const uint64_t minor = 03;
0023 static const uint64_t patch = 01;
0024
0025 static const bool is_unknown = 1;
0026 static const bool is_release = 1;
0027 static const bool is_modified = 0;
0028
0029 static constexpr uint64_t GetMajorNumber() { return major; }
0030 static constexpr uint64_t GetMinorNumber() { return minor; }
0031 static constexpr uint64_t GetPatchNumber() { return patch; }
0032
0033 static std::string GetCommitHash() { return JANA2_COMMIT_HASH; }
0034 static std::string GetCommitDate() { return JANA2_COMMIT_DATE; }
0035 static std::string GetInstallDir() { return JANA2_INSTALL_PREFIX; }
0036
0037 static constexpr bool HasPodio() { return JANA2_HAVE_PODIO; }
0038 static constexpr bool HasROOT() { return JANA2_HAVE_ROOT; }
0039 static constexpr bool HasXerces() { return JANA2_HAVE_XERCES; }
0040 static constexpr bool HasPerfetto() { return JANA2_HAVE_PERFETTO; }
0041
0042 static std::string GetVersion();
0043 static constexpr uint64_t GetVersionNumber();
0044
0045 static void PrintSplash(std::ostream& os);
0046 static void PrintVersionNumbers(std::ostream& os);
0047 static void PrintVersionDescription(std::ostream& os);
0048
0049 };
0050
0051
0052