cramer-rao C++ API Reference

class CramerRao : public I3ConditionalModule
#include <CramerRao.h>

calculates estimator

This module calculates an estimator for track resolution using Cramer-Rao inequality. Further informations can be found on http://butler.physik.uni-mainz.de/I3Wiki/index.php/Estimation_of_resolution_and_likelihood_as_cut_parameter

Author

Jan Luenemann jan.luenemann@uni-mainz.de,Kai Schatto

options:

InputResponse: Name of PulseSeries or HitSeries

InputTrack: Name of InputTrack

OutputResult: Name of output

AllHits: if this option is selected DOMs are weighted with number of hits

z_dependent_scatter: if this option is selected a depth dependent scatterlenght is used

PathToTable: If I3_SRC is set at your system, you don’t need this. Else you have to copy the tables that are used for calculation somewhere and than set the path directory. The tables are in resources/data/.

DoubleOutput: if this option is selected the estimated standard deviations “cramer_rao_theta” and “cramer_rao_phi” are written out as doubles. These can be easily included into flat-ntuples.

Public Functions

CramerRao(const I3Context &context)
void Configure()
void Physics(I3FramePtr frame)

Private Functions

CramerRaoParams GetParams(const I3Geometry&, const I3RecoPulseSeriesMap&, const I3Particle&)
SET_LOGGER ("CramerRao")

Private Members

std::string inputHits_
std::string inputTrack_
std::string outputResult_
std::string pathToTable_
bool allHits_
bool doubleOutput_
bool z_dependent_scatter_
double gamma_value_[400][122]
struct throw_gsl_errors

Public Functions

inline throw_gsl_errors()
inline ~throw_gsl_errors()

Public Members

gsl_error_handler_t *old_handler_

Public Static Functions

static inline void handler(const char *reason, const char *file, int line, int gsl_errno)
namespace std

STL namespace.

file CramerRao.cxx
#include “cramer-rao/CramerRao.h
#include “recclasses/CramerRaoParams.h”
#include <dataclasses/physics/I3Particle.h>
#include <dataclasses/geometry/I3Geometry.h>
#include <dataclasses/physics/I3RecoPulse.h>
#include <dataclasses/I3Double.h>
#include <icetray/I3Frame.h>
#include <fstream>
#include <gsl/gsl_linalg.h>
#include <vector>

Functions

I3_MODULE(CramerRao)
file CramerRao.h
#include <icetray/I3ConditionalModule.h>
#include <dataclasses/I3Map.h>
#include <dataclasses/physics/I3RecoPulse.h>
dir cramer-rao
dir cramer-rao
dir cramer-rao
dir icetray
dir private
dir public