1#ifndef __JSUPPORT__JSUPPORTTOOLKIT__
2#define __JSUPPORT__JSUPPORTTOOLKIT__
82 return in.
next()->getRunNumber();
98 return JFrameIndexRange(in.begin()->getFrameIndex(), in.rbegin()->getFrameIndex());
115 TDirectory* dir = TDirectory::CurrentDirectory();
161 return JDAQUTCTimeRange(in.begin()->getTimesliceStart(), in.rbegin()->getTimesliceStart());
178 TDirectory* dir = TDirectory::CurrentDirectory();
189 result.include(in.next()->getTimesliceStart());
204 template<
class JTypelist_t>
257 for (T i = __begin; i != __end; ++i) {
282 TDirectory* dir = TDirectory::CurrentDirectory();
297 catch(
const std::exception& error) {}
319 for (T i = __begin; i != __end; ++i) {
335 return getLivetime(file_list.begin(), file_list.end());
ROOT TTree parameter settings.
Specifications of file name extensions.
Scanning of objects from multiple files according a format that follows from the extension of each fi...
Auxiliary class to define a range between two values.
Object reading from file.
Auxiliary interface for direct access of elements in ROOT TChain.
Template definition for direct access of elements in ROOT TChain.
Data structure for all trigger parameters.
JPrescaler writeSummary
write JDAQSummaryslice
Data structure for UTC time.
void for_each(JObject_t &object, JType< JTypeList< JHead_t, JTail_t > > typelist)
For each data type method.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Support classes and methods for experiment specific I/O.
double getTimeDuration(const JDAQUTCTimeRange &utc)
Get time duration of given UTC time range.
JTOOLS::JRange< JDAQUTCExtended > JDAQUTCTimeRange
Type definition for DAQ UTC time range.
double getLivetime(const std::string &file_name)
Get data taking live time.
bool isROOTFile(const char *file_name)
Check file format.
JDAQUTCTimeRange getUTCTimeRange()
Get UTC time range.
JTriggerParameters getTriggerParameters(const JMultipleFileScanner_t &file_list)
Get trigger parameters.
int getRunNumber(const std::string &file_name)
Get run number for given file name of data taking run.
JTOOLS::JRange< int > JFrameIndexRange
Type definition for frame index range.
JFrameIndexRange getFrameIndexRange(JTreeScannerInterface< T, KM3NETDAQ::JDAQEvaluator > &in)
Get range of frame indices.
Auxiliary classes and methods for triggering.
KM3NeT DAQ data structures and auxiliaries.
double getFrameTime()
Get frame time duration.
Normalisation of MUPAGE events.
virtual const pointer_type & next() override
Get next element.
virtual bool hasNext() override
Check availability of next element.
Auxiliary class for recursive type list generation.
Auxiliary class for a type holder.
Auxiliary base class for list of file names.
Auxiliary class to extract UTC time range for list of data types.
void operator()(const JType< T > &type)
Process internal file for given data type.
JMultiplexDAQUTCTimeRange(const std::string &file_name)
Constructor.
Timeslice data structure for L1 data.
Timeslice data structure for L2 data.
Timeslice data structure for SN data.