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

Constructor & Destructor Documentation

◆ primary()

JAANET::primary::primary ( )
inline

Default constructor.

Definition at line 770 of file JHead.hh.

770  :
771  type(0)
772  {}

Member Function Documentation

◆ less()

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

781  {
782  return type < object.type;
783  }

◆ match()

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

Test match.

Parameters
objectprimary particle
Returns
true if matches; else false

Definition at line 791 of file JHead.hh.

792  {
793  return (type == object.type);
794  }

◆ ClassDefNV()

JAANET::primary::ClassDefNV ( primary  ,
 
)

Member Data Documentation

◆ type

int JAANET::primary::type

Particle type.

Definition at line 796 of file JHead.hh.


The documentation for this struct was generated from the following file:
JAANET::primary::type
int type
Particle type.
Definition: JHead.hh:796