Jpp
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::JTYPELIST
;
17
using
JLANG::JType
;
18
using
JROOT::JTreeParameters
;
19
20
namespace
JACOUSTICS {
21
class
JEvent
;
22
}
23
24
/**
25
* \param type data type
26
* \return TTree parameters
27
*/
28
inline
JTreeParameters
getTreeParameters
(
const
JType<JACOUSTICS::JEvent>
&
type
)
29
{
30
return
JTreeParameters
(
"ACOUSTICS"
,
"acoustics_event"
,
""
, 2);
31
}
32
33
#endif
JLANG::JType
Auxiliary class for a type holder.
Definition:
JType.hh:19
JEvent::type
int type
Definition:
JProperties.cc:16
JTypeList.hh
JLANG::JTYPELIST
Auxiliary class for recursive type list generation.
Definition:
JTypeList.hh:351
getTreeParameters
JROOT::JTreeParameters getTreeParameters(JLANG::JType< JRECONSTRUCTION::JEvt >)
Get TTree parameters for given data type.
Definition:
JEvt.hh:406
JTreeParameters.hh
JROOT::JTreeParameters
Data structure for TTree parameters.
Definition:
JTreeParameters.hh:26
JType.hh
JEvent
Data structure for start_event tag.
Definition:
JProperties.cc:14
Generated by
1.8.5