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

Constructor & Destructor Documentation

◆ norma()

JAANET::norma::norma ( )
inline

Default constructor.

Definition at line 555 of file JHead.hh.

555  :
556  primaryFlux(0),
558  {}

Member Function Documentation

◆ match()

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

Test match.

Parameters
objectnormalisation
Returns
true if matches; else false

Definition at line 566 of file JHead.hh.

567  {
568  return (primaryFlux == object.primaryFlux);
569  }

◆ add()

norma& JAANET::norma::add ( const norma object)
inline

Addition.

Parameters
objectnormalisation
Returns
this normalisation

Definition at line 577 of file JHead.hh.

578  {
579  numberOfPrimaries += object.numberOfPrimaries;
580 
581  return *this;
582  }

◆ ClassDefNV()

JAANET::norma::ClassDefNV ( norma  ,
 
)

Member Data Documentation

◆ primaryFlux

double JAANET::norma::primaryFlux

Primary flux.

Definition at line 584 of file JHead.hh.

◆ numberOfPrimaries

double JAANET::norma::numberOfPrimaries

Number of primaries.

Definition at line 585 of file JHead.hh.


The documentation for this struct was generated from the following file:
JAANET::norma::numberOfPrimaries
double numberOfPrimaries
Number of primaries.
Definition: JHead.hh:585
JAANET::norma::primaryFlux
double primaryFlux
Primary flux.
Definition: JHead.hh:584