Public Member Functions | Public Attributes | List of all members
genie::TabulatedHadronTensorModelI::HadronTensorID Struct Reference

Struct used to provide a unique ID for each tensor object. More...

#include <TabulatedHadronTensorModelI.h>

Public Member Functions

 HadronTensorID (int pdg=0, HadronTensorType_t typ=kHT_Undefined)
 
bool operator< (const HadronTensorID &other) const
 

Public Attributes

int target_pdg
 
HadronTensorType_t type
 

Detailed Description

Struct used to provide a unique ID for each tensor object.

Definition at line 62 of file TabulatedHadronTensorModelI.h.

Constructor & Destructor Documentation

genie::TabulatedHadronTensorModelI::HadronTensorID::HadronTensorID ( int  pdg = 0,
HadronTensorType_t  typ = kHT_Undefined 
)
inline

Member Function Documentation

bool genie::TabulatedHadronTensorModelI::HadronTensorID::operator< ( const HadronTensorID other) const
inline

Definition at line 69 of file TabulatedHadronTensorModelI.h.

69  {
70  return (target_pdg < other.target_pdg)
71  || (target_pdg == other.target_pdg && type < other.type);
72  }

Member Data Documentation

int genie::TabulatedHadronTensorModelI::HadronTensorID::target_pdg

Definition at line 65 of file TabulatedHadronTensorModelI.h.

HadronTensorType_t genie::TabulatedHadronTensorModelI::HadronTensorID::type

Definition at line 66 of file TabulatedHadronTensorModelI.h.


The documentation for this struct was generated from the following file: