Jpp  17.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::norma Struct Reference

Normlisation of CORSIKA events. More...

#include <JHead.hh>

Public Member Functions

 norma ()
 Default constructor. More...
 
bool match (const norma &object) const
 Test match. More...
 
normaadd (const norma &object)
 Addition. More...
 
 ClassDefNV (norma, 1)
 

Public Attributes

double primaryFlux
 Primary flux. More...
 
double numberOfPrimaries
 Number of primaries. More...
 

Detailed Description

Normlisation of CORSIKA events.

Definition at line 777 of file JHead.hh.

Constructor & Destructor Documentation

JAANET::norma::norma ( )
inline

Default constructor.

Definition at line 781 of file JHead.hh.

781  :
782  primaryFlux(0),
784  {}
double numberOfPrimaries
Number of primaries.
Definition: JHead.hh:811
double primaryFlux
Primary flux.
Definition: JHead.hh:810

Member Function Documentation

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

Test match.

Parameters
objectnormalisation
Returns
true if matches; else false

Definition at line 792 of file JHead.hh.

793  {
794  return (primaryFlux == object.primaryFlux);
795  }
double primaryFlux
Primary flux.
Definition: JHead.hh:810
norma& JAANET::norma::add ( const norma object)
inline

Addition.

Parameters
objectnormalisation
Returns
this normalisation

Definition at line 803 of file JHead.hh.

804  {
805  numberOfPrimaries += object.numberOfPrimaries;
806 
807  return *this;
808  }
double numberOfPrimaries
Number of primaries.
Definition: JHead.hh:811
JAANET::norma::ClassDefNV ( norma  ,
 
)

Member Data Documentation

double JAANET::norma::primaryFlux

Primary flux.

Definition at line 810 of file JHead.hh.

double JAANET::norma::numberOfPrimaries

Number of primaries.

Definition at line 811 of file JHead.hh.


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