Jpp 20.0.0-27-g39925593c-D
the software that should make you happy
Loading...
Searching...
No Matches
JAnalysisSummary.hh
Go to the documentation of this file.
1#ifndef JANALYSISSUMMARY_INCLUDE
2#define JANALYSISSUMMARY_INCLUDE
3
4#include <string>
5#include <limits>
6
7#include "JLang/JType.hh"
8
10
11using JLANG::JType;
13namespace JRECONSTRUCTION {
14
15 /**
16 * Struct for storing analysis variables. It includes spark-removal variables and visible energy variables, the idea is to be expandable.
17 * \author vcarretero
18 */
19
21 // Spark-removal. Reconstruction information, requires jshower
22 double Dmin = std::numeric_limits<double>::max(); ///< Minimum distance from reconstructed shower vertex to any DOM [m]
23 int Dmin_ModuleID = -1; ///< DOM ID corresponding to the DOM at Dmin_DOM
24
25 // Spark-removal. Hit-information.
26 size_t nMaxPMT_snapshot = 0; ///< maximum number of PMT with at least one hit in any DOM
27 int nMaxPMT_snapshot_ModuleID = -1; ///< DOM ID with maximum number of PMT hits in the snapshot
28 size_t nMaxPMT_trigger = 0; ///< maximum number of PMT with at least one triggered hit in any DOM
29 int nMaxPMT_trigger_ModuleID = -1; ///< DOM ID with maximum number of PMT triggered
30
31 //Visible energy. True MC information, requires a cylinder
35
37 };
38
39 static std::string TTREE_ANALYSISSUMMARY = "JAnalysisSummary";
40 static std::string TBRANCH_ANALYSISSUMMARY = "JAnalysis";
42 static int BASKET_SIZE_ANALYSISSUMMARY = 5000000;
45 /*
46 * \param type data type
47 * \return TTree parameters
48 */
53}
54#endif
JROOT::JTreeParameters getTreeParameters(JLANG::JType< JRECONSTRUCTION::JEvt >)
Get TTree parameters for given data type.
Data structure for TTree parameters.
static int BASKET_SIZE_ANALYSISSUMMARY
static int COMPRESSION_LEVEL_ANALYSISSUMMARY
static int AUTOFLUSH_LEVEL_ANALYSISSUMMARY
static std::string TBRANCH_ANALYSISSUMMARY
static std::string TTREE_ANALYSISSUMMARY
static int SPLIT_LEVEL_ANALYSISSUMMARY
Auxiliary class for a type holder.
Definition JType.hh:19
Struct for storing analysis variables.
size_t nMaxPMT_snapshot
maximum number of PMT with at least one hit in any DOM
ClassDefNV(JAnalysisSummary, 1)
double Dmin
Minimum distance from reconstructed shower vertex to any DOM [m].
size_t nMaxPMT_trigger
maximum number of PMT with at least one triggered hit in any DOM
int nMaxPMT_snapshot_ModuleID
DOM ID with maximum number of PMT hits in the snapshot.
int nMaxPMT_trigger_ModuleID
DOM ID with maximum number of PMT triggered.
int Dmin_ModuleID
DOM ID corresponding to the DOM at Dmin_DOM.