Jpp  18.2.1
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::K40 Struct Reference

Livetime of noise data. More...

#include <JHead.hh>

Public Member Functions

 K40 ()
 Default constructor. More...
 
bool less (const K40 &object) const
 Comparison. More...
 
bool match (const K40 &object) const
 Test match. More...
 
K40add (const K40 &object)
 Addition. More...
 
 ClassDefNV (K40, 1)
 

Public Attributes

double livetime_s
 Live time [s]. More...
 

Detailed Description

Livetime of noise data.

Definition at line 1062 of file JHead.hh.

Constructor & Destructor Documentation

JAANET::K40::K40 ( )
inline

Default constructor.

Definition at line 1067 of file JHead.hh.

1067  :
1068  livetime_s(0.0)
1069  {}
double livetime_s
Live time [s].
Definition: JHead.hh:1107

Member Function Documentation

bool JAANET::K40::less ( const K40 object) const
inline

Comparison.

Parameters
objectK40
Returns
true if this K40 is less than given K40; else false

Definition at line 1077 of file JHead.hh.

1078  {
1079  return livetime_s < object.livetime_s;
1080  }
double livetime_s
Live time [s].
Definition: JHead.hh:1107
bool JAANET::K40::match ( const K40 object) const
inline

Test match.

Parameters
objectK40
Returns
true if matches; else false

Definition at line 1088 of file JHead.hh.

1089  {
1090  return ((livetime_s == 0.0 && object.livetime_s == 0.0) ||
1091  (livetime_s > 0.0 && object.livetime_s > 0.0));
1092  }
double livetime_s
Live time [s].
Definition: JHead.hh:1107
K40& JAANET::K40::add ( const K40 object)
inline

Addition.

Parameters
objectK40
Returns
this K40

Definition at line 1100 of file JHead.hh.

1101  {
1102  livetime_s += object.livetime_s;
1103 
1104  return *this;
1105  }
double livetime_s
Live time [s].
Definition: JHead.hh:1107
JAANET::K40::ClassDefNV ( K40  ,
 
)

Member Data Documentation

double JAANET::K40::livetime_s

Live time [s].

Definition at line 1107 of file JHead.hh.


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