Jpp 20.0.0-195-g190c9e876
the software that should make you happy
Loading...
Searching...
No Matches
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"
7
8
9/**
10 * \file
11 *
12 * ROOT TTree parameter settings.\n
13 * \author mdejong
14 */
15
16using JLANG::JType;
18
19/**
20 * Auxiliary classes and methods for acoustic position calibration.
21 */
22namespace JACOUSTICS {
23
24 struct JToA;
25 struct JEvent;
26 struct JEvt;
27 struct JSuperEvt;
28 struct JTriggerParameters;
29 struct JFitParameters;
30 struct JDetectorMechanics_t;
31
32
33 /**
34 * \param type data type
35 * \return TTree parameters
36 */
38 {
39 return JTreeParameters("TOA", "toa", "", 2);
40 }
41
42
43 /**
44 * \param type data type
45 * \return TTree parameters
46 */
48 {
49 return JTreeParameters("ACOUSTICS", "acoustics_event", "", 2, 65536, 2);
50 }
51
52 /**
53 * \param type data type
54 * \return TTree parameters
55 */
57 {
58 return JTreeParameters("ACOUSTICS_FIT", "acoustics_fit", "", 2, 65536, 2);
59 }
60
61 /**
62 * \param type data type
63 * \return TTree parameters
64 */
66 {
67 return JTreeParameters("ACOUSTICS_SUPER_FIT", "acoustics_super_fit", "", 2, 65536, 2);
68 }
69}
70
71/**
72 * Type list of acoustics data types for I/O.
73 */
81
82#endif
JLANG::JTYPELIST< JACOUSTICS::JToA, JACOUSTICS::JEvent, JACOUSTICS::JEvt, JACOUSTICS::JSuperEvt, JACOUSTICS::JTriggerParameters, JACOUSTICS::JFitParameters, JACOUSTICS::JDetectorMechanics_t >::typelist JAcousticsTypes_t
Type list of acoustics data types for I/O.
JROOT::JTreeParameters getTreeParameters(JLANG::JType< JRECONSTRUCTION::JEvt >)
Get TTree parameters for given data type.
Data structure for TTree parameters.
Auxiliary classes and methods for acoustic position calibration.
Auxiliary data structure for mechanical model parameters of strings in a given detector.
Acoustic event fit.
Acoustic super event fit.
Definition JSuperEvt.hh:38
Time-of-arrival data from acoustic piezo sensor or hydrophone.
Definition JToA.hh:28
Data structure for start_event tag.
Auxiliary class for recursive type list generation.
Definition JTypeList.hh:351
Auxiliary class for a type holder.
Definition JType.hh:19