13#include "TFitResult.h"
44int main(
int argc,
char **argv) {
58 JParser<> zap(
"Auxiliary program to build supernova background from JKexing2D output");
69 catch(
const exception &error) {
79 TFile in(inputFile.c_str(),
"exist");
83 in.GetObject(
"RUNNR", runNumber);
102 string title =
"MD_" + (*f) +
"_%";
106 const int nx = 1 + NUMBER_OF_PMTS;
107 const double xmin = -0.5;
108 const double xmax =
nx - 0.5;
114 double epsilon = 1e-4;
125 TH1D*
LT =
new TH1D(
"LIVETIME_ACF",
NULL, 100, epsilon, 1 + epsilon);
138 for (
int M = 0;
M <= NUMBER_OF_PMTS;
M++) {
148 const TH1* px = projectHistogram(*
MT[*f],
M,
M,
'x');
182 int RUNNR = runNumber->GetVal();
219 int peak = px->GetMaximum();
229 double BI = (
ST[
"PMT"]->GetSumOfWeights() /
ST[
"PMT"]->GetEntries());
250 mmap[*f].Write(*dir);
static const char *const status_p
static const char *const mul_p
Dynamic ROOT object management.
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
I/O formatting auxiliaries.
int main(int argc, char **argv)
Auxiliary class to define a range between two values.
Template definition of a multi-dimensional oscillation probability interpolation table.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).