Public Member Functions | Public Attributes | List of all members
fnex::POTLiveTime Struct Reference

Public Member Functions

 POTLiveTime ()
 
 POTLiveTime (double const &p, double const &l)
 
void operator+= (POTLiveTime const &o)
 

Public Attributes

double pot
 
double liveTime
 

Detailed Description

Definition at line 65 of file CAFToEventList_module.cc.

Constructor & Destructor Documentation

fnex::POTLiveTime::POTLiveTime ( )
inline

Definition at line 67 of file CAFToEventList_module.cc.

68  : pot (-1.)
69  , liveTime(-1.)
70  {}
fnex::POTLiveTime::POTLiveTime ( double const &  p,
double const &  l 
)
inline

Definition at line 72 of file CAFToEventList_module.cc.

74  : pot (p)
75  , liveTime(l)
76  {}
const char * p
Definition: xmltok.h:285

Member Function Documentation

void fnex::POTLiveTime::operator+= ( POTLiveTime const &  o)
inline

Definition at line 81 of file CAFToEventList_module.cc.

References liveTime, and pot.

81 { pot = o.pot; liveTime = o.liveTime; }

Member Data Documentation

double fnex::POTLiveTime::liveTime

Definition at line 79 of file CAFToEventList_module.cc.

Referenced by operator+=().

double fnex::POTLiveTime::pot

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