Jpp 20.0.0-rc.8
the software that should make you happy
Loading...
Searching...
No Matches
JSparkSummary.hh
Go to the documentation of this file.
1#ifndef JSPARKSUMMARY_INCLUDE
2#define JSPARKSUMMARY_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 spark removal summary data.
17 * \author vcarretero
18 */
19
21 // 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 // 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
32 };
33
34 static std::string TTREE_SPARKSUMMARY = "JSparkSummary";
35 static std::string TBRANCH_SPARKSUMMARY = "JSpark";
37 static int BASKET_SIZE_SPARKSUMMARY = 5000000;
38 static int SPLIT_LEVEL_SPARKSUMMARY = 1;
40 /*
41 * \param type data type
42 * \return TTree parameters
43 */
48}
49#endif
JROOT::JTreeParameters getTreeParameters(JLANG::JType< JRECONSTRUCTION::JEvt >)
Get TTree parameters for given data type.
Data structure for TTree parameters.
static int AUTOFLUSH_LEVEL_SPARKSUMMARY
static int SPLIT_LEVEL_SPARKSUMMARY
static std::string TBRANCH_SPARKSUMMARY
static std::string TTREE_SPARKSUMMARY
static int COMPRESSION_LEVEL_SPARKSUMMARY
static int BASKET_SIZE_SPARKSUMMARY
Auxiliary class for a type holder.
Definition JType.hh:19
Struct for storing spark removal summary data.
int nMaxPMT_trigger_ModuleID
DOM ID with maximum number of PMT triggered.
size_t nMaxPMT_trigger
maximum number of PMT with at least one triggered hit in any DOM
size_t nMaxPMT_snapshot
maximum number of PMT with at least one hit in any DOM
double Dmin
Minimum distance from reconstructed shower vertex to any DOM [m].
ClassDefNV(JSparkSummary, 1)
int Dmin_ModuleID
DOM ID corresponding to the DOM at Dmin_DOM.
int nMaxPMT_snapshot_ModuleID
DOM ID with maximum number of PMT hits in the snapshot.