Jpp  18.6.0-rc.1
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 /**
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  */
33  {
34  return JTreeParameters("ORIENTATION", "orientation", "", 2, 65536, 2);
35  }
36 
37  /**
38  * \param type data type
39  * \return TTree parameters
40  */
42  {
43  return JTreeParameters("COMPASS", "compass", "", 2, 65536, 2);
44  }
45 }
46 
47 /**
48  * Type list of compass data types for I/O.
49  */
52 
53 #endif
Compass single fit.
Auxiliary class for a type holder.
Definition: JType.hh:19
then set_variable PMT_FILE set_variable DAQ_FILE set_variable OUTPUT_FILE set_variable DETECTOR else fatal Wrong number of arguments fi JPrintTree f $DAQ_FILE type
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.