Jpp  15.0.1-rc.1-highQE
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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"
7 
8 
9 /**
10  * \file
11  *
12  * ROOT TTree parameter settings.\n
13  * \author mdejong
14  */
15 
16 using JLANG::JType;
18 
19 namespace JCOMPASS {
20 
21  class JOrientation;
22  class JEvt;
23 
24 
25  /**
26  * \param type data type
27  * \return TTree parameters
28  */
30  {
31  return JTreeParameters("ORIENTATION", "orientation", "", 2, 65536, 2);
32  }
33 
34  /**
35  * \param type data type
36  * \return TTree parameters
37  */
39  {
40  return JTreeParameters("COMPASS", "compass", "", 2, 65536, 2);
41  }
42 }
43 
44 /**
45  * Type list of compass data types for I/O.
46  */
49 
50 #endif
Compass single fit.
Auxiliary class for a type holder.
Definition: JType.hh:19
Auxiliary class for recursive type list generation.
Definition: JTypeList.hh:351
JLANG::JTYPELIST< JCOMPASS::JOrientation, JCOMPASS::JEvt >::typelist JCompassTypes_t
Type list of compass data types for I/O.
JTreeParameters getTreeParameters(const JType< JOrientation > &type)
Data structure for TTree parameters.
Orientation of module.