Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
JAANET::norma Struct Reference

Normlisation of CORSIKA events. More...

#include <JHead.hh>

Public Member Functions

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

Public Attributes

double primaryFlux
 Primary flux.
 
double numberOfPrimaries
 Number of primaries.
 

Detailed Description

Normlisation of CORSIKA events.

Definition at line 792 of file JHead.hh.

Constructor & Destructor Documentation

◆ norma()

JAANET::norma::norma ( )
inline

Default constructor.

Definition at line 796 of file JHead.hh.

796 :
797 primaryFlux(0),
799 {}
double numberOfPrimaries
Number of primaries.
Definition JHead.hh:826
double primaryFlux
Primary flux.
Definition JHead.hh:825

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

808 {
809 return (primaryFlux == object.primaryFlux);
810 }

◆ add()

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

Addition.

Parameters
objectnormalisation
Returns
this normalisation

Definition at line 818 of file JHead.hh.

819 {
820 numberOfPrimaries += object.numberOfPrimaries;
821
822 return *this;
823 }

◆ ClassDefNV()

JAANET::norma::ClassDefNV ( norma ,
1  )

Member Data Documentation

◆ primaryFlux

double JAANET::norma::primaryFlux

Primary flux.

Definition at line 825 of file JHead.hh.

◆ numberOfPrimaries

double JAANET::norma::numberOfPrimaries

Number of primaries.

Definition at line 826 of file JHead.hh.


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