Jpp test-rotations-old-533-g2bdbdb559
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
17 *
18 * Struct for storing spark removal summary data.
19 * \author vcarretero
20 */
21
23 // Reconstruction information, requires jshower
24 double Dmin = std::numeric_limits<double>::max(); ///< Minimum distance from reconstructed shower vertex to any DOM [m]
25 int Dmin_ModuleID = -1; ///< DOM ID corresponding to the DOM at Dmin_DOM
26
27 // Hit-information
28 size_t nMaxPMT_snapshot = 0; ///< maximum number of PMT with at least one hit in any DOM
29 int nMaxPMT_snapshot_ModuleID = -1; ///< DOM ID with maximum number of PMT hits in the snapshot
30 size_t nMaxPMT_trigger = 0; ///< maximum number of PMT with at least one triggered hit in any DOM
31 int nMaxPMT_trigger_ModuleID = -1; ///< DOM ID with maximum number of PMT triggered
32
34 };
35
36 static std::string TTREE_SPARKSUMMARY = "JSparkSummary";
37 static std::string TBRANCH_SPARKSUMMARY = "JSpark";
39 static int BASKET_SIZE_SPARKSUMMARY = 5000000;
40 static int SPLIT_LEVEL_SPARKSUMMARY = 1;
42 /*
43 * \param type data type
44 * \return TTree parameters
45 */
50}
51#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.