Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-10-04 09:03:43

0001 // AUTOMATICALLY GENERATED FILE - DO NOT EDIT
0002 
0003 #ifndef EDM4HEP_ParticleIDDATA_H
0004 #define EDM4HEP_ParticleIDDATA_H
0005 
0006 #include <cstdint>
0007 
0008 namespace edm4hep {
0009 
0010 /** @class ParticleIDData
0011  *  ParticleID
0012  *  @author: EDM4hep authors
0013  */
0014 class ParticleIDData {
0015 public:
0016   std::int32_t type{};          ///< userdefined type
0017   std::int32_t PDG{};           ///< PDG code of this id - ( 999999 ) if unknown
0018   std::int32_t algorithmType{}; ///< type of the algorithm/module that created this hypothesis
0019   float likelihood{};           ///< likelihood of this hypothesis - in a user defined normalization
0020 
0021   unsigned int parameters_begin{};
0022   unsigned int parameters_end{};
0023 };
0024 
0025 namespace v6 {
0026   using ParticleIDData = edm4hep::ParticleIDData;
0027 } // namespace v6
0028 
0029 // Definition for older versions
0030 namespace v5 {
0031   class ParticleIDData {
0032   public:
0033     std::int32_t type{};          ///< userdefined type
0034     std::int32_t PDG{};           ///< PDG code of this id - ( 999999 ) if unknown
0035     std::int32_t algorithmType{}; ///< type of the algorithm/module that created this hypothesis
0036     float likelihood{};           ///< likelihood of this hypothesis - in a user defined normalization
0037 
0038     unsigned int parameters_begin{};
0039     unsigned int parameters_end{};
0040   };
0041 } // namespace v5
0042 namespace v4 {
0043   class ParticleIDData {
0044   public:
0045     std::int32_t type{};          ///< userdefined type
0046     std::int32_t PDG{};           ///< PDG code of this id - ( 999999 ) if unknown
0047     std::int32_t algorithmType{}; ///< type of the algorithm/module that created this hypothesis
0048     float likelihood{};           ///< likelihood of this hypothesis - in a user defined normalization
0049 
0050     unsigned int parameters_begin{};
0051     unsigned int parameters_end{};
0052   };
0053 } // namespace v4
0054 namespace v3 {
0055   class ParticleIDData {
0056   public:
0057     std::int32_t type{};          ///< userdefined type
0058     std::int32_t PDG{};           ///< PDG code of this id - ( 999999 ) if unknown
0059     std::int32_t algorithmType{}; ///< type of the algorithm/module that created this hypothesis
0060     float likelihood{};           ///< likelihood of this hypothesis - in a user defined normalization
0061 
0062     unsigned int parameters_begin{};
0063     unsigned int parameters_end{};
0064   };
0065 } // namespace v3
0066 namespace v2 {
0067   class ParticleIDData {
0068   public:
0069     std::int32_t type{};          ///< userdefined type
0070     std::int32_t PDG{};           ///< PDG code of this id - ( 999999 ) if unknown
0071     std::int32_t algorithmType{}; ///< type of the algorithm/module that created this hypothesis
0072     float likelihood{};           ///< likelihood of this hypothesis - in a user defined normalization
0073 
0074     unsigned int parameters_begin{};
0075     unsigned int parameters_end{};
0076   };
0077 } // namespace v2
0078 
0079 } // namespace edm4hep
0080 
0081 #endif