Jpp
18.3.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
/**
20
* Auxiliary classes and methods for orientation calibration based on compasses.
21
*/
22
namespace
JCOMPASS {
23
24
struct
JOrientation;
25
struct
JEvt
;
26
27
28
/**
29
* \param type data type
30
* \return TTree parameters
31
*/
32
inline
JTreeParameters
getTreeParameters
(
const
JType<JOrientation>
& type)
33
{
34
return
JTreeParameters
(
"ORIENTATION"
,
"orientation"
,
""
, 2, 65536, 2);
35
}
36
37
/**
38
* \param type data type
39
* \return TTree parameters
40
*/
41
inline
JTreeParameters
getTreeParameters
(
const
JType<JEvt>
& type)
42
{
43
return
JTreeParameters
(
"COMPASS"
,
"compass"
,
""
, 2, 65536, 2);
44
}
45
}
46
47
/**
48
* Type list of compass data types for I/O.
49
*/
50
typedef
JLANG::JTYPELIST
<
JCOMPASS::JOrientation
,
51
JCOMPASS::JEvt
>::typelist
JCompassTypes_t
;
52
53
#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:467
JCompassTypes_t
JLANG::JTYPELIST< JCOMPASS::JOrientation, JCOMPASS::JEvt >::typelist JCompassTypes_t
Type list of compass data types for I/O.
Definition:
JCompass/JSupport.hh:51
JTreeParameters.hh
JCOMPASS::getTreeParameters
JTreeParameters getTreeParameters(const JType< JOrientation > &type)
Definition:
JCompass/JSupport.hh:32
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