#ifndef __JANTARES__JSUPPORT__ #define __JANTARES__JSUPPORT__ #include "JLang/JType.hh" #include "JROOT/JTreeParameters.hh" /** * \file * * ROOT TTree parameter settings.\n * \author mdejong */ // Antares DAQ data structures class Status_TimeSlice; class RTS_TimeSlice; class CRM_TimeSlice; class SPE_TimeSlice; class AWF_TimeSlice; class DWF_TimeSlice; class Summary_TimeSlice; class ExtendedSummary_TimeSlice; class PhysicsEvent; using JLANG::JType; using JROOT::JTreeParameters; // ----------------------------------------------------------------------------------------------------- // // Define TTree parameters for each data type. // // ----------------------------------------------------------------------------------------------------- /** * \param type data type * \return TTree parameters */ inline JTreeParameters getTreeParameters(const JType& type) { return JTreeParameters("STATUS", "status_timeslice", "", 0); } /** * \param type data type * \return TTree parameters */ inline JTreeParameters getTreeParameters(const JType& type) { return JTreeParameters("RTS", "rts_timeslice", "", 0); } /** * \param type data type * \return TTree parameters */ inline JTreeParameters getTreeParameters(const JType& type) { return JTreeParameters("CRM", "crm_timeslice", "", 0); } /** * \param type data type * \return TTree parameters */ inline JTreeParameters getTreeParameters(const JType& type) { return JTreeParameters("SPE", "spe_timeslice", "", 0); } /** * \param type data type * \return TTree parameters */ inline JTreeParameters getTreeParameters(const JType& type) { return JTreeParameters("AWF", "awf_timeslice", "", 0); } /** * \param type data type * \return TTree parameters */ inline JTreeParameters getTreeParameters(const JType& type) { return JTreeParameters("DWF", "dwf_timeslice", "", 0); } /** * \param type data type * \return TTree parameters */ inline JTreeParameters getTreeParameters(const JType& type) { return JTreeParameters("SUMMARY", "summary_timeslice", "", 0); } /** * \param type data type * \return TTree parameters */ inline JTreeParameters getTreeParameters(const JType& type) { return JTreeParameters("EXTENDED_SUMMARY", "extended_summary_timeslice", "", 0); } /** * \param type data type * \return TTree parameters */ inline JTreeParameters getTreeParameters(const JType& type) { return JTreeParameters("PHYSICS", "PhysicsEvent", "", 0); } #endif