mue C++ API Reference¶
-
struct cpdf : public intfunction¶
Public Functions
-
inline void init(double wv)¶
-
inline double cpandel(double d, double t)¶
-
inline void destroy()¶
-
inline virtual ~cpdf()¶
-
inline virtual double ifunction(double d, double t)¶
-
inline cpdf(double l, double la, double tau, double jit, double lf, double ls, double laf, double las, double wv, bool iflag, const char *rname)¶
-
inline void lx(double x)¶
-
inline void ll(double x1, double x2)¶
Public Members
-
double l¶
-
double la¶
-
double tau¶
-
double jit¶
-
double wv¶
-
double np¶
-
double ng¶
-
int size¶
-
double dh¶
-
double hmin¶
-
double hmax¶
-
double *abs¶
-
double *sca¶
-
double *abs_sum¶
-
double *sca_sum¶
-
double lf¶
-
double ls¶
-
double laf¶
-
double las¶
-
bool kurt¶
-
bool cpandel_flag¶
Public Static Attributes
-
static const int verbose = 0¶
-
static double udf = 1.e-5¶
-
static double thmax = 100¶
-
static bool updown = true¶
-
static bool invert = false¶
-
static const double le = 0.3¶
-
static const double lr = 0.6¶
-
static const double rlen = 0¶
-
static const double elen = 0¶
-
static const double th0 = 90¶
-
static const double dd0 = 0¶
-
static const double c = 0.299792458¶
-
static const double lm = 0.5e-6¶
-
static const double a1 = 0.84¶
-
static const double a00 = 3.1¶
-
static const double a01 = -3.9¶
-
static const double a02 = 4.6¶
-
static const double a2 = 0.3¶
-
static const double at = 1.¶
-
static const double ts1 = 5¶
-
static const double ts2 = 25¶
-
static const double pmin = 1.e-50¶
-
static const double pre = 1.e-2¶
-
static const double dmin = -150¶
-
static const double dmax = 1050¶
-
static const double admin = -100¶
-
static const double admax = 1000¶
-
static const double tmin = -150¶
-
static const double tmax = 3050¶
-
static const double atmin = -100¶
-
static const double atmax = 3000¶
-
static const bool fixdir = true¶
-
static const bool lcflag = true¶
-
static const bool mnball = true¶
-
static const bool nnhit = false¶
-
static const int om_pad = 1¶
-
static const int dnum = 1000¶
-
static const int tnum = 1000¶
-
inline void init(double wv)¶
-
struct cpdf¶
Public Functions
-
inline cpdf(double ita, double sig, double ef, double es, double af, double as)¶
-
inline double lnscat(double d, double t, double Q)¶
-
inline void relax()¶
-
inline void restore()¶
Private Functions
-
inline double gaus(double x, double sig)¶
-
inline double student(double x, double sig)¶
-
inline double addn(double x, double t)¶
-
inline void set(double d)¶
-
inline double pandel(double t)¶
-
inline double cpandel(double t)¶
-
inline double cf(double t)¶
-
inline double dcf(double t, double s)¶
-
inline double dcf(double t, double s, double Q)¶
-
inline double npandel(double t, double Q)¶
-
inline cpdf(double ita, double sig, double ef, double es, double af, double as)¶
-
struct dir¶
Subclassed by MUEX::vert
Public Members
-
double n[3]¶
-
double n[3]¶
-
struct epar¶
-
struct evless¶
-
struct face¶
-
struct hit¶
-
class I3mue : public I3ConditionalModule¶
- #include <I3mue.h>
This module performs reconstruction of IceCube events.
class: I3mue
Version $Id$
Date: Tue November 1 2005
(c) 2005 IceCube Collaboration
- Author
dima
Public Functions
- SET_LOGGER ("I3mue")
-
virtual ~I3mue()¶
-
void Configure()¶
-
void Physics(I3FramePtr frame)¶
-
void Geometry(I3FramePtr frame)¶
-
void Calibration(I3FramePtr frame)¶
-
void DetectorStatus(I3FramePtr frame)¶
-
struct Ice¶
Public Functions
-
inline Ice()¶
-
inline ~Ice()¶
-
inline void lx(double x, double y, double z)¶
-
inline void ll(double x1, double y1, double z1, double x2, double y2, double z2)¶
-
inline void set(double le, double la)¶
-
inline double flux(double d, double coseta, bool type)¶
-
inline double aprof(double cospsi, double dd)¶
-
inline Ice()¶
-
class interpol : private intfunction¶
- #include <interpol.h>
Public Functions
-
interpol(int, double, double, int, double, double, double (*)(double, double))¶
-
interpol(int, double, double, int, double, double, intfunction*)¶
-
virtual ~interpol()¶
-
double interpolate(double, double)¶
Private Functions
-
inline virtual double ifunction(double x, double y)¶
-
void init(int, double, double, int, double, double, intfunction*)¶
-
double interpolate(double, int)¶
-
double interpolate(double)¶
-
interpol(int, double, double, int, double, double, double (*)(double, double))¶
-
struct intfunction¶
- #include <interpol.h>
Subclassed by I3FRreco::cpdf, interpol
Public Members
-
const char *rname¶
-
const char *rname¶
-
struct line¶
Subclassed by MUEX::vtemp
-
template<int d>
class Miniball¶ - #include <miniball.h>
Public Types
Public Functions
-
inline Miniball()¶
-
void build()¶
-
double squared_radius() const¶
-
int nr_points() const¶
-
int nr_support_points() const¶
-
double accuracy(double &slack) const¶
-
bool is_valid(double tolerance = 1e-15) const¶
-
inline Miniball()
-
void build()
-
double squared_radius() const
-
int nr_points() const
-
Cit points_begin() const
-
Cit points_end() const
-
int nr_support_points() const
-
Cit support_points_begin() const
-
Cit support_points_end() const
-
double accuracy(double &slack) const
-
bool is_valid(double tolerance = 1e-15) const
-
inline Miniball()¶
-
template<int d>
class Miniball¶ Public Types
Public Functions
-
inline Miniball()¶
-
void build()¶
-
double squared_radius() const¶
-
int nr_points() const¶
-
int nr_support_points() const¶
-
double accuracy(double &slack) const¶
-
bool is_valid(double tolerance = 1e-15) const¶
Private Functions
-
inline Miniball()¶
-
template<int d>
class Miniball_b¶ - #include <miniball.h>
Public Functions
-
inline Miniball_b()¶
-
const double *center() const¶
-
double squared_radius() const¶
-
int size() const¶
-
int support_size() const¶
-
void reset()¶
-
void pop()¶
-
double slack() const¶
-
inline Miniball_b()
-
const double *center() const
-
double squared_radius() const
-
int size() const
-
int support_size() const
-
void reset()
-
void pop()
-
double slack() const
-
inline Miniball_b()¶
-
template<int d>
class Miniball_b¶
-
class muex : public I3ConditionalModule¶
Public Functions
-
inline void Configure()¶
-
inline void Physics(I3FramePtr frame)¶
-
inline void Geometry(I3FramePtr frame)¶
-
inline void Calibration(I3FramePtr frame)¶
-
inline void DetectorStatus(I3FramePtr frame)¶
Private Functions
- SET_LOGGER ("muex")
-
inline void Configure()¶
-
struct mydom¶
-
struct mykey¶
-
struct otemp¶
-
template<int d>
class Point¶
-
template<int d>
class Point¶ - #include <miniball.h>
Public Functions
-
inline Point()¶
-
inline Point(const double *p)¶
-
inline double &operator[](int i)¶
-
inline const double &operator[](int i) const¶
-
inline const double *begin() const¶
-
inline const double *end() const¶
-
inline Point()
-
inline Point(const Point &p)
-
inline Point(const double *p)
-
inline double &operator[](int i)
-
inline const double &operator[](int i) const
-
inline const double *begin() const
-
inline const double *end() const
-
inline Point()¶
-
struct preco¶
- #include <reader.h>
Public Members
-
int type¶
-
int hits¶
-
int wforms¶
-
int hitdoms¶
-
int strings¶
-
double rllh¶
-
double t0¶
-
double z0¶
-
double th¶
-
double dd¶
-
double ph¶
-
double az¶
-
double x0¶
-
double y0¶
-
double n0¶
-
double ne¶
-
double nl¶
-
double t0_min¶
-
double z0_min¶
-
double th_min¶
-
double dd_min¶
-
double n0_min¶
-
double ph_min¶
-
double az_min¶
-
double x0_min¶
-
double y0_min¶
-
double t0_max¶
-
double z0_max¶
-
double th_max¶
-
double dd_max¶
-
double n0_max¶
-
double ph_max¶
-
double az_max¶
-
double x0_max¶
-
double y0_max¶
-
short dir¶
-
short ddf¶
-
short en¶
-
short sp¶
-
int type¶
-
struct rrt¶
-
struct sens¶
-
struct sens¶
-
struct set¶
Subclassed by MUEX::vtemp::setq, MUEX::vtemp::sett
-
struct spq¶
-
struct Tilt¶
-
struct vtemp¶
-
struct vtemp : public MUEX::line¶
Public Functions
-
inline vtemp(I3RecoPulseSeriesMapConstPtr pmap, bool type, unsigned int lcsp, unsigned int unc, bool mpe, bool en, gsl_rng *G = NULL)¶
-
inline double illt(bool reset = true, bool all = true)¶
-
inline void set_t0(double n[])¶
-
inline double llh(double n[])¶
-
inline void fastini()¶
-
inline void recoini()¶
-
inline void advance(double r)¶
-
inline double llh()¶
-
inline void set_gsl(const gsl_vector *x)¶
-
inline double solve(int r)¶
-
inline double Solve(int ini)¶
-
inline double solve(double *xi, const double num)¶
-
inline double rllt()¶
-
inline double lle(double n)¶
-
inline double sign(double x, double y)¶
-
inline double square(double x)¶
-
inline void g1(double a, double b, double &cterm, double &sterm, double &sig)¶
-
inline void h12(int mode, int lpivot, int l1, int m, double u[], int iue, double &up, double c[], int ice, int icv, int ncv)¶
-
inline int nnls(double a[], int mda, int m, int n, double b[], double x[], double &rnorm, double w[], double zz[], int index[], int &nsetp)¶
-
inline double dlle(bool flag)¶
-
inline double ille(bool type)¶
-
inline void setParticle(double shift, double energy)¶
-
inline double rlle(bool type)¶
-
inline bool set_track(const I3ParticleConstPtr &track)¶
Public Members
-
bool type¶
-
bool en¶
-
bool mpe¶
-
unsigned int lcsp¶
-
unsigned int unc¶
-
double nn¶
-
double na¶
-
double xc¶
-
double yc¶
-
double zc¶
-
double tc¶
-
double dc¶
-
double rn¶
-
double qtot¶
-
double norm¶
-
double step¶
-
double ares¶
-
double dres¶
-
bool useall¶
-
unsigned int nhits¶
-
unsigned int hitdoms¶
-
unsigned int strings¶
-
int rmode¶
-
I3VectorI3Particle elist¶
-
I3Particle muon¶
-
inline vtemp(I3RecoPulseSeriesMapConstPtr pmap, bool type, unsigned int lcsp, unsigned int unc, bool mpe, bool en, gsl_rng *G = NULL)¶
-
struct XL¶
-
namespace [anonymous]
-
namespace I3FRreco¶
Functions
-
void pp_start(int h)¶
-
void pp_stop()¶
-
void pp_setpars(double udf, double thmax, bool invert)¶
-
double tfit(double t, double z, double th, double dd, double ddp)¶
-
double cfit(double t, double z, double dd, double ddp)¶
-
double vector_get(const void *par, const gsl_vector *x, int i)¶
-
double illh(const gsl_vector *x, gsl_vector *df, void *par, bool flag)¶
-
double tllh(const gsl_vector *x, gsl_vector *df, void *par, bool flag)¶
-
double llh_f(const gsl_vector *x, void *par)¶
-
void llh_df(const gsl_vector *x, void *par, gsl_vector *df)¶
-
void llh_fdf(const gsl_vector *x, void *par, double *f, gsl_vector *df)¶
-
double llh_fx(double x, void *par)¶
-
void errors(void *par, double val, gsl_vector *x, gsl_vector *xmin, gsl_vector *xmax)¶
-
void order(double &x, double &y)¶
-
int indoms()¶
-
const map<int, int> &mystrings()¶
-
static void new_dom(unsigned long long cid)¶
-
static void output()¶
-
int mdata()¶
-
int data()¶
-
int getinterpo()¶
-
void amain(unsigned int rnuma, int intra)¶
-
void setgeo(unsigned long long domid, int om, int str, double x, double y, double z, double hv)¶
-
int get_itop()¶
-
int get_inic()¶
-
int get_itsn()¶
-
int get_icsn()¶
-
unsigned int get_rmsk()¶
-
int get_strn()¶
Variables
-
static bool ppstf = false¶
-
static int freco¶
-
static int vnum¶
-
static int vnux¶
-
static bool rspe¶
-
static bool tfix = false¶
-
static bool rfx = true¶
-
static double rfx_th = 0¶
-
static double rfx_ph = 0¶
-
static double rfx_ct = 0¶
-
static double lle¶
-
static double dlle¶
-
static double nllr¶
-
double (*llh)(const gsl_vector*, gsl_vector*, void*, bool)¶
-
static bool extf = true¶
-
map<unsigned long long, double> qdoms¶
-
bool parinic = false¶
-
bool reco_reset = true¶
-
static int itopreco = 2¶
-
static bool itopdok0 = false¶
-
static double tAmean¶
-
static double tArms¶
-
bool paritop = false¶
-
static int ndoms = 0¶
-
static map<int, int> istrings¶
-
static unsigned long long ev_t0 = 0¶
-
static const long long ONESEC = 10000000000LL¶
-
static bool nnd = false¶
-
unsigned long maxevents = 0¶
-
static unsigned long evoutcount¶
-
static unsigned long fullevents¶
-
static vector<unsigned long long> dreq¶
-
static unsigned long xnum = (unsigned long)1.e6¶
-
static unsigned long long gt0 = 0¶
-
static unsigned long long Ggt = 0¶
-
static bool efl = false¶
-
static unsigned int rnum¶
-
static int interpo = 0¶
-
void pp_start(int h)¶
-
namespace MUEX¶
Functions
- struct MUEX::Ico ico (2)
-
void check(double &x)¶
- struct MUEX::cpdf pdf (0, 15, 1.0, 35., 1.0, 100)
-
inline double mb_sqr(double r)¶
-
void normalize(double n[3])¶
-
double flle(double, void*)¶
-
double fllh(const gsl_vector*, void*)¶
Variables
-
bool compat = false¶
-
static const double dr = 0.16510¶
-
static const double pmin = 1e-9¶
-
static const double dura = 2.e3¶
-
static const double nois = 0.5e-6¶
-
static const double efcr = 0.75 * 0.9¶
-
static const double zoff = 1948.07¶
-
static const double rho = 0.9216¶
-
static const double SQRT2PI = M_SQRT2 * M_SQRTPI¶
-
namespace std
STL namespace.
- file I3mue.cxx
- #include “mue/I3mue.h”#include “reader.h”#include “llhreco.h”#include “dataclasses/geometry/I3Geometry.h”#include “dataclasses/status/I3DetectorStatus.h”#include “dataclasses/physics/I3RecoPulse.h”#include “dataclasses/physics/I3Particle.h”#include <sstream>
- file I3mue.h
- #include <icetray/OMKey.h>#include <icetray/I3ConditionalModule.h>#include <icetray/I3Frame.h>#include <icetray/I3Logging.h>
- file interpol.cxx
- #include <cmath>#include <cstdlib>#include “reader.h”#include “interpol.h”#include <fcntl.h>#include <unistd.h>#include <iostream>#include <cstdio>#include <sys/stat.h>
Defines
-
FILESAVE¶
This code is a c++ version of the simplified java class Interpolate of mmc.
-
FILESAVE¶
- file interpol.h
- file llhreco.cxx
- #include <cmath>#include <gsl/gsl_errno.h>#include <gsl/gsl_sf_gamma.h>#include <gsl/gsl_sf_hyperg.h>#include <gsl/gsl_multimin.h>#include <gsl/gsl_roots.h>#include <fstream>#include “reader.h”#include “llhreco.h”#include “interpol.h”#include “miniball.h”
- file /llhreco.cxx
- #include “miniball.h”#include “nnls.cxx”
Functions
-
Ico(int num)¶
-
cpdf(double ita, double sig, double ef, double es, double af, double as)¶
-
double lnscat(double d, double t, double Q)¶
-
void relax()¶
-
void restore()¶
-
double gaus(double x, double sig)¶
-
double student(double x, double sig)¶
-
double addn(double x, double t)¶
-
void set(double d)¶
-
double pandel(double t)¶
-
double cpandel(double t)¶
-
double cf(double t)¶
-
double dcf(double t, double s)¶
-
double dcf(double t, double s, double Q)¶
-
double npandel(double t, double Q)¶
-
Ico(int num)¶
- file llhreco.h
- file miniball.h
- #include <cstdlib>#include <cassert>#include <cmath>#include <iostream>#include <list>
- file /miniball.h
Defines
-
MINIBALL_H_INCLUDED¶
-
MINIBALL_H_INCLUDED¶
- file muex.cxx
- #include <icetray/I3ConditionalModule.h>#include <dataclasses/I3Double.h>#include <dataclasses/physics/I3MCTree.h>#include <dataclasses/physics/I3MCTreeUtils.h>#include <dataclasses/physics/I3RecoPulse.h>#include <dataclasses/physics/I3Particle.h>#include <dataclasses/geometry/I3Geometry.h>#include <dataclasses/status/I3DetectorStatus.h>#include <dataclasses/calibration/I3Calibration.h>#include <gsl/gsl_errno.h>#include <gsl/gsl_sf_gamma.h>#include <gsl/gsl_sf_hyperg.h>#include <gsl/gsl_sf_lambert.h>#include <gsl/gsl_randist.h>#include <gsl/gsl_multimin.h>#include <fstream>#include <limits.h>#include “llhreco.cxx”
- file nnls.cxx
Defines
-
c(x)¶
-
u(x, y)¶
-
b(x)¶
-
x(y)¶
-
w(x)¶
-
zz(x)¶
-
index(x)¶
-
a(x, y)¶
-
c(x)
-
u(x, y)
-
b(x)
-
x(y)
-
w(x)
-
zz(x)
-
index(x)
-
a(x, y)
Functions
-
double sign(double x, double y)¶
-
double square(double x)¶
-
void g1(double a, double b, double &cterm, double &sterm, double &sig)¶
-
void h12(int mode, int lpivot, int l1, int m, double u[], int iue, double &up, double c[], int ice, int icv, int ncv)¶
-
int nnls(double a[], int mda, int m, int n, double b[], double x[], double &rnorm, double w[], double zz[], int index[], int &nsetp)¶
-
c(x)¶
- file reader.cxx
- #include <cstdio>#include <fcntl.h>#include <unistd.h>#include <getopt.h>#include <cerrno>#include <cstring>#include <cstdlib>#include <sys/stat.h>#include <sys/mman.h>#include <sys/types.h>#include <cmath>#include <fstream>#include <algorithm>#include “reader.h”#include “llhreco.h”#include <gsl/gsl_sf_erf.h>#include <gsl/gsl_multimin.h>
- file reader.h
- #include <map>#include <deque>#include <vector>#include <iostream>#include <cstring>
- dir icetray
- dir mue
- dir mue
- dir mue
- dir muex
- dir private
- dir public