Jpp
15.0.0
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
JCompass
JCompass/JSupport.hh
Go to the documentation of this file.
1
#ifndef __JCOMPASS__JSUPPORT__
2
#define __JCOMPASS__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
namespace
JCOMPASS {
20
21
class
JOrientation;
22
class
JEvt
;
23
24
25
/**
26
* \param type data type
27
* \return TTree parameters
28
*/
29
inline
JTreeParameters
getTreeParameters
(
const
JType<JOrientation>
& type)
30
{
31
return
JTreeParameters
(
"ORIENTATION"
,
"orientation"
,
""
, 2, 65536, 2);
32
}
33
34
/**
35
* \param type data type
36
* \return TTree parameters
37
*/
38
inline
JTreeParameters
getTreeParameters
(
const
JType<JEvt>
& type)
39
{
40
return
JTreeParameters
(
"COMPASS"
,
"compass"
,
""
, 2, 65536, 2);
41
}
42
}
43
44
/**
45
* Type list of compass data types for I/O.
46
*/
47
typedef
JLANG::JTYPELIST
<
JCOMPASS::JOrientation
,
48
JCOMPASS::JEvt
>::typelist
JCompassTypes_t
;
49
50
#endif
JCOMPASS::JEvt
Compass single fit.
Definition:
JCompass/JEvt.hh:207
JLANG::JType
Auxiliary class for a type holder.
Definition:
JType.hh:19
JTypeList.hh
JLANG::JTYPELIST
Auxiliary class for recursive type list generation.
Definition:
JTypeList.hh:351
JRECONSTRUCTION::JEvt
JFIT::JEvt JEvt
Definition:
JReconstruction/JEvt.hh:454
JCompassTypes_t
JLANG::JTYPELIST< JCOMPASS::JOrientation, JCOMPASS::JEvt >::typelist JCompassTypes_t
Type list of compass data types for I/O.
Definition:
JCompass/JSupport.hh:48
JTreeParameters.hh
JCOMPASS::getTreeParameters
JTreeParameters getTreeParameters(const JType< JOrientation > &type)
Definition:
JCompass/JSupport.hh:29
JROOT::JTreeParameters
Data structure for TTree parameters.
Definition:
JTreeParameters.hh:29
JType.hh
JCOMPASS::JOrientation
Orientation of module.
Definition:
JCompass/JEvt.hh:91
Generated by
1.8.5