Jpp  17.1.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
JAANET::primary Struct Reference

Primary particle. More...

#include <JHead.hh>

Public Member Functions

 primary ()
 Default constructor. More...
 
bool less (const primary &object) const
 Comparison. More...
 
bool match (const primary &object) const
 Test match. More...
 
 ClassDefNV (primary, 1)
 

Public Attributes

int type
 Particle type. More...
 

Detailed Description

Primary particle.

Definition at line 1107 of file JHead.hh.

Constructor & Destructor Documentation

JAANET::primary::primary ( )
inline

Default constructor.

Definition at line 1111 of file JHead.hh.

1111  :
1112  type(0)
1113  {}
int type
Particle type.
Definition: JHead.hh:1137

Member Function Documentation

bool JAANET::primary::less ( const primary object) const
inline

Comparison.

Parameters
objectprimary particle
Returns
true if this primary particle is less than given primary particle; else false

Definition at line 1121 of file JHead.hh.

1122  {
1123  return type < object.type;
1124  }
int type
Particle type.
Definition: JHead.hh:1137
bool JAANET::primary::match ( const primary object) const
inline

Test match.

Parameters
objectprimary particle
Returns
true if matches; else false

Definition at line 1132 of file JHead.hh.

1133  {
1134  return (type == object.type);
1135  }
int type
Particle type.
Definition: JHead.hh:1137
JAANET::primary::ClassDefNV ( primary  ,
 
)

Member Data Documentation

int JAANET::primary::type

Particle type.

Definition at line 1137 of file JHead.hh.


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