Public Types | Public Member Functions | Public Attributes | List of all members
novaddt::TDC Struct Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-04-18/DDTBaseDataProducts/BaseProducts.h"

Public Types

typedef unsigned long long value_type
 
typedef uint8_t fraction_type
 

Public Member Functions

 TDC ()=default
 
 TDC (uint64_t const a)
 
 TDC (uint64_t const a, uint8_t f)
 
double fraction () const
 

Public Attributes

value_type val
 
fraction_type frac
 

Detailed Description

Definition at line 24 of file BaseProducts.h.

Member Typedef Documentation

typedef uint8_t novaddt::TDC::fraction_type

Definition at line 33 of file BaseProducts.h.

typedef unsigned long long novaddt::TDC::value_type

Definition at line 32 of file BaseProducts.h.

Constructor & Destructor Documentation

novaddt::TDC::TDC ( )
default
novaddt::TDC::TDC ( uint64_t const  a)
inline

Definition at line 28 of file BaseProducts.h.

28 :val(a),frac(0){}
fraction_type frac
Definition: BaseProducts.h:35
value_type val
Definition: BaseProducts.h:34
const double a
novaddt::TDC::TDC ( uint64_t const  a,
uint8_t  f 
)
inline

Definition at line 29 of file BaseProducts.h.

29 :val(a),frac(f){}
fraction_type frac
Definition: BaseProducts.h:35
value_type val
Definition: BaseProducts.h:34
const double a

Member Function Documentation

double novaddt::TDC::fraction ( ) const
inline

Definition at line 37 of file BaseProducts.h.

Referenced by deltaTDC(), DT(), and novaddt::Multiplet::HitCorrection().

37 { return double(frac) / 100; }
fraction_type frac
Definition: BaseProducts.h:35

Member Data Documentation

fraction_type novaddt::TDC::frac
value_type novaddt::TDC::val

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