Jpp
20.0.0-rc.9-29-gccc23c492-D
the software that should make you happy
Loading...
Searching...
No Matches
software
JAcoustics
JSupport.hh
Go to the documentation of this file.
1
#ifndef __JACOUSTICS__JSUPPORT__
2
#define __JACOUSTICS__JSUPPORT__
3
4
#include "JLang/JType.hh"
5
#include "JLang/JTypeList.hh"
6
#include "JROOT/JTreeParameters.hh"
7
8
9
/**
10
* \file
11
*
12
* ROOT TTree parameter settings.\n
13
* \author mdejong
14
*/
15
16
using
JLANG::JType;
17
using
JROOT::JTreeParameters;
18
19
/**
20
* Auxiliary classes and methods for acoustic position calibration.
21
*/
22
namespace
JACOUSTICS
{
23
24
struct
JToA;
25
struct
JEvent;
26
struct
JEvt;
27
struct
JSuperEvt;
28
struct
JTriggerParameters;
29
struct
JFitParameters;
30
31
32
/**
33
* \param type data type
34
* \return TTree parameters
35
*/
36
inline
JTreeParameters
getTreeParameters
(
const
JType<JToA>& type)
37
{
38
return
JTreeParameters(
"TOA"
,
"toa"
,
""
, 2);
39
}
40
41
42
/**
43
* \param type data type
44
* \return TTree parameters
45
*/
46
inline
JTreeParameters
getTreeParameters
(
const
JType<JEvent>& type)
47
{
48
return
JTreeParameters(
"ACOUSTICS"
,
"acoustics_event"
,
""
, 2, 65536, 2);
49
}
50
51
/**
52
* \param type data type
53
* \return TTree parameters
54
*/
55
inline
JTreeParameters
getTreeParameters
(
const
JType<JEvt>& type)
56
{
57
return
JTreeParameters(
"ACOUSTICS_FIT"
,
"acoustics_fit"
,
""
, 2, 65536, 2);
58
}
59
60
/**
61
* \param type data type
62
* \return TTree parameters
63
*/
64
inline
JTreeParameters
getTreeParameters
(
const
JType<JSuperEvt>& type)
65
{
66
return
JTreeParameters(
"ACOUSTICS_SUPER_FIT"
,
"acoustics_super_fit"
,
""
, 2, 65536, 2);
67
}
68
}
69
70
/**
71
* Type list of acoustics data types for I/O.
72
*/
73
typedef
JLANG::JTYPELIST<
JACOUSTICS::JToA
,
74
JACOUSTICS::JEvent
,
75
JACOUSTICS::JEvt
,
76
JACOUSTICS::JSuperEvt
,
77
JACOUSTICS::JTriggerParameters
,
78
JACOUSTICS::JFitParameters
>::typelist
JAcousticsTypes_t
;
79
80
#endif
JAcousticsTypes_t
JLANG::JTYPELIST< JACOUSTICS::JToA, JACOUSTICS::JEvent, JACOUSTICS::JEvt, JACOUSTICS::JSuperEvt, JACOUSTICS::JTriggerParameters, JACOUSTICS::JFitParameters >::typelist JAcousticsTypes_t
Type list of acoustics data types for I/O.
Definition
JSupport.hh:78
JACOUSTICS
Auxiliary classes and methods for acoustic position calibration.
Definition
JAbstractSoundVelocity.hh:10
JACOUSTICS::getTreeParameters
JTreeParameters getTreeParameters(const JType< JToA > &type)
Definition
JSupport.hh:36
JACOUSTICS::JEvent
Acoustic event.
Definition
JEvent.hh:43
JACOUSTICS::JEvt
Acoustic event fit.
Definition
JEvt.hh:310
JACOUSTICS::JFitParameters
Fit parameters.
Definition
JFitParameters.hh:37
JACOUSTICS::JSuperEvt
Acoustic super event fit.
Definition
JSuperEvt.hh:38
JACOUSTICS::JToA
Time-of-arrival data from acoustic piezo sensor or hydrophone.
Definition
JToA.hh:28
JACOUSTICS::JTriggerParameters
Trigger parameters.
Definition
JTriggerParameters.hh:28
Generated by
1.10.0