Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
JSupportToolkit.hh File Reference

Support methods. More...

Go to the source code of this file.

Classes

struct  JSUPPORT::JMultiplexDAQUTCTimeRange< JTypelist_t >
 Auxiliary class to extract UTC time range for list of data types. More...
 

Namespaces

namespace  JSUPPORT
 Support classes and methods for experiment specific I/O.
 
namespace  JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 

Typedefs

typedef JTOOLS::JRange< int > JSUPPORT::JFrameIndexRange
 Type definition for frame index range.
 
typedef JTOOLS::JRange< JDAQUTCExtendedJSUPPORT::JDAQUTCTimeRange
 Type definition for DAQ UTC time range.
 

Functions

double JSUPPORT::getTimeDuration (const JDAQUTCTimeRange &utc)
 Get time duration of given UTC time range.
 
template<class T >
int JSUPPORT::getRunNumber (const std::string &file_name)
 Get run number for given file name of data taking run.
 
template<class T >
JFrameIndexRange JSUPPORT::getFrameIndexRange (JTreeScannerInterface< T, KM3NETDAQ::JDAQEvaluator > &in)
 Get range of frame indices.
 
template<class T >
JFrameIndexRange JSUPPORT::getFrameIndexRange (const std::string &file_name)
 Get range of frame indices for given file name of data taking run.
 
JDAQUTCTimeRange JSUPPORT::getUTCTimeRange ()
 Get UTC time range.
 
template<class T >
JDAQUTCTimeRange JSUPPORT::getUTCTimeRange (JTreeScannerInterface< T, KM3NETDAQ::JDAQEvaluator > &in)
 Get UTC time range.
 
template<class T >
JDAQUTCTimeRange JSUPPORT::getUTCTimeRange (const std::string &file_name)
 Get UTC time range for given file name of data taking run.
 
template<class T >
JDAQUTCTimeRange JSUPPORT::getUTCTimeRange (T __begin, T __end)
 Get UTC time range for given file names of data taking runs.
 
double JSUPPORT::getLivetime (const std::string &file_name)
 Get data taking live time.
 
template<class T >
double JSUPPORT::getLivetime (T __begin, T __end)
 Get data taking live time.
 
double JSUPPORT::getLivetime (const JMultipleFileScanner_t &file_list)
 Get data taking live time.
 

Detailed Description

Support methods.

Author
mdejong

Definition in file JSupportToolkit.hh.