20#include "TFitResult.h"
45 catch(
const exception &error) {
71 out_csv <<
"String,Ref_floor,Tgt_floor,T0,Error" <<
endl;
97 if( in.GetListOfKeys()->Contains(
hist_str.c_str()) ){
106 if(
h1D->GetEntries() < 1 ){
continue; }
125 for(
size_t i = 0, max =
T0s.size(); i != max; ++i ){
147 for(
int j = 0;
j<
n;
j++ ){
166 module->getPMT(pmt).addT0(weighted_T0);
174 cout <<
" Overwriting the detectorfile" <<
endl;
KM3NeT DAQ constants, bit handling, etc.
Data structure for detector geometry and calibration.
int main(int argc, char **argv)
Direct access to module in detector data structure.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Router for direct addressing of module data in detector data structure.
const JModule & getModule(const JObjectID &id) const
Get module parameters.
Template definition of a multi-dimensional oscillation probability interpolation table.
JMODEL::JString getString(const JFit &fit)
Get model parameters of string.
int getNumberOfFloors(const JDetector &detector)
Get number of floors.
void load(const std::string &file_name, JDetector &detector)
Load detector from input file.
void store(const std::string &file_name, const JDetector &detector)
Store detector to output file.
static const JStringCounter getNumberOfStrings
Function object to count unique strings.
std::string to_string(const T &value)
Convert value to string.
TFitResultPtr Fit(TH1D *h)
bool comparepair(const pair_type &A, const pair_type &B)
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
KM3NeT DAQ data structures and auxiliaries.
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
std::map< int, range_type > map_type