Jpp
17.1.1
the software that should make you happy
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
software
JAcoustics
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
class
JEvent
;
25
class
JEvt
;
26
class
JTriggerParameters;
27
class
JFitParameters;
28
29
30
/**
31
* \param type data type
32
* \return TTree parameters
33
*/
34
inline
JTreeParameters
getTreeParameters
(
const
JType<JEvent>
& type)
35
{
36
return
JTreeParameters
(
"ACOUSTICS"
,
"acoustics_event"
,
""
, 2, 65536, 2);
37
}
38
39
/**
40
* \param type data type
41
* \return TTree parameters
42
*/
43
inline
JTreeParameters
getTreeParameters
(
const
JType<JEvt>
& type)
44
{
45
return
JTreeParameters
(
"ACOUSTICS_FIT"
,
"acoustics_fit"
,
""
, 2, 65536, 2);
46
}
47
}
48
49
/**
50
* Type list of acoustics data types for I/O.
51
*/
52
typedef
JLANG::JTYPELIST
<
JACOUSTICS::JEvent
,
53
JACOUSTICS::JEvt
,
54
JACOUSTICS::JTriggerParameters
,
55
JACOUSTICS::JFitParameters
>::typelist
JAcousticsTypes_t
;
56
57
#endif
JACOUSTICS::JTriggerParameters
Trigger parameters.
Definition:
JAcoustics/JTriggerParameters.hh:26
JACOUSTICS::getTreeParameters
JTreeParameters getTreeParameters(const JType< JEvent > &type)
Definition:
JAcoustics/JSupport.hh:34
JLANG::JType
Auxiliary class for a type holder.
Definition:
JType.hh:19
JTypeList.hh
JRECONSTRUCTION::JEvent
JFIT::JEvent JEvent
Definition:
JHistory.hh:353
JAcousticsTypes_t
JLANG::JTYPELIST< JACOUSTICS::JEvent, JACOUSTICS::JEvt, JACOUSTICS::JTriggerParameters, JACOUSTICS::JFitParameters >::typelist JAcousticsTypes_t
Type list of acoustics data types for I/O.
Definition:
JAcoustics/JSupport.hh:55
JLANG::JTYPELIST
Auxiliary class for recursive type list generation.
Definition:
JTypeList.hh:351
JACOUSTICS::JFitParameters
Fit parameters.
Definition:
JFitParameters.hh:35
JRECONSTRUCTION::JEvt
JFIT::JEvt JEvt
Definition:
JReconstruction/JEvt.hh:467
JTreeParameters.hh
JROOT::JTreeParameters
Data structure for TTree parameters.
Definition:
JTreeParameters.hh:29
JType.hh
JEvent
Data structure for start_event tag.
Definition:
JProperties.cc:14
Generated by
1.8.5