Jpp  18.0.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 1161 of file JHead.hh.

Constructor & Destructor Documentation

JAANET::primary::primary ( )
inline

Default constructor.

Definition at line 1165 of file JHead.hh.

1165  :
1166  type(0)
1167  {}
int type
Particle type.
Definition: JHead.hh:1191

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 1175 of file JHead.hh.

1176  {
1177  return type < object.type;
1178  }
int type
Particle type.
Definition: JHead.hh:1191
bool JAANET::primary::match ( const primary object) const
inline

Test match.

Parameters
objectprimary particle
Returns
true if matches; else false

Definition at line 1186 of file JHead.hh.

1187  {
1188  return (type == object.type);
1189  }
int type
Particle type.
Definition: JHead.hh:1191
JAANET::primary::ClassDefNV ( primary  ,
 
)

Member Data Documentation

int JAANET::primary::type

Particle type.

Definition at line 1191 of file JHead.hh.


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