snowstorm C++ API Reference¶
-
class Composite : public snowstorm::Distribution¶
- #include <Composite.h>
Public Functions
-
Composite()¶
-
virtual ~Composite()¶
-
void add(const DistributionPtr &element)¶
-
virtual std::vector<double> Sample(I3RandomService&) const override¶
Draw a sample from the distribution.
-
virtual size_t size() const override¶
Get the number of dimensions.
Friends
- friend class icecube::serialization::access
-
Composite()¶
-
class DeltaDistribution : public snowstorm::Distribution¶
- #include <DeltaDistribution.h>
Public Functions
-
virtual ~DeltaDistribution()¶
-
virtual std::vector<double> Sample(I3RandomService&) const override¶
Draw a sample from the distribution.
-
inline virtual size_t size() const override¶
Get the number of dimensions.
Private Functions
-
DeltaDistribution()¶
Friends
- friend class icecube::serialization::access
-
virtual ~DeltaDistribution()¶
-
class Distribution : public I3FrameObject¶
- #include <Distribution.h>
Subclassed by snowstorm::Composite, snowstorm::DeltaDistribution, snowstorm::MultivariateNormal, snowstorm::UniformDistribution
Public Functions
-
virtual ~Distribution()¶
-
virtual std::vector<double> Sample(I3RandomService&) const = 0¶
Draw a sample from the distribution.
-
virtual size_t size() const = 0¶
Get the number of dimensions.
Friends
- friend class icecube::serialization::access
-
virtual ~Distribution()¶
-
class MultivariateNormal : public snowstorm::Distribution¶
- #include <MultivariateNormal.h>
Public Functions
-
virtual ~MultivariateNormal()¶
-
virtual std::vector<double> Sample(I3RandomService&) const override¶
Draw a sample from the distribution.
-
inline virtual size_t size() const override¶
Get the number of dimensions.
Private Functions
-
MultivariateNormal()¶
Friends
- friend class icecube::serialization::access
-
virtual ~MultivariateNormal()¶
-
class UniformDistribution : public snowstorm::Distribution¶
- #include <UniformDistribution.h>
Public Functions
-
virtual ~UniformDistribution()¶
-
virtual std::vector<double> Sample(I3RandomService&) const override¶
Draw a sample from the distribution.
-
inline virtual size_t size() const override¶
Get the number of dimensions.
Private Functions
-
UniformDistribution()¶
Friends
- friend class icecube::serialization::access
-
virtual ~UniformDistribution()¶
-
namespace [anonymous]
-
namespace snowstorm¶
Functions
-
I3_POINTER_TYPEDEFS(DeltaDistribution)¶
-
I3_POINTER_TYPEDEFS(Distribution)¶
-
I3_POINTER_TYPEDEFS(MultivariateNormal)¶
-
I3_POINTER_TYPEDEFS(UniformDistribution)¶
-
I3_POINTER_TYPEDEFS(DeltaDistribution)¶
-
namespace std
STL namespace.
- file Composite.cxx
- #include <icetray/I3Logging.h>#include “snowstorm/Composite.h”
- file Composite.h
- #include <vector>#include “snowstorm/Distribution.h”
Functions
- I3_CLASS_VERSION (snowstorm::Composite, 0)
- file DeltaDistribution.cxx
- #include <icetray/I3Logging.h>#include “snowstorm/DeltaDistribution.h”
Functions
-
I3_SERIALIZABLE(snowstorm::DeltaDistribution)¶
-
I3_SERIALIZABLE(snowstorm::DeltaDistribution)¶
- file DeltaDistribution.h
- #include <vector>#include <boost/numeric/ublas/triangular.hpp>#include <dataclasses/I3Matrix.h>#include “snowstorm/Distribution.h”
Functions
- I3_CLASS_VERSION (snowstorm::DeltaDistribution, 0)
- file Distribution.cxx
- #include <icetray/I3Logging.h>#include <dataclasses/I3Vector.h>#include “snowstorm/Distribution.h”
Functions
-
I3_SERIALIZABLE(snowstorm::Distribution)¶
-
I3_SERIALIZABLE(snowstorm::Distribution)¶
- file Distribution.h
- #include <vector>#include <icetray/serialization.h>#include <icetray/I3PointerTypedefs.h>#include <icetray/I3FrameObject.h>
- file MultivariateNormal.cxx
- #include <gsl/gsl_linalg.h>#include <gsl/gsl_blas.h>#include <icetray/I3Logging.h>#include <phys-services/I3RandomService.h>#include “snowstorm/MultivariateNormal.h”
Functions
-
I3_SERIALIZABLE(snowstorm::MultivariateNormal)¶
-
I3_SERIALIZABLE(snowstorm::MultivariateNormal)¶
- file MultivariateNormal.h
- #include <vector>#include <boost/numeric/ublas/triangular.hpp>#include <dataclasses/I3Matrix.h>#include “snowstorm/Distribution.h”
Functions
- I3_CLASS_VERSION (snowstorm::MultivariateNormal, 0)
- file UniformDistribution.cxx
- #include <icetray/I3Logging.h>#include <phys-services/I3RandomService.h>#include “snowstorm/UniformDistribution.h”
Functions
-
I3_SERIALIZABLE(snowstorm::UniformDistribution)¶
-
I3_SERIALIZABLE(snowstorm::UniformDistribution)¶
- file UniformDistribution.h
- #include <vector>#include <boost/numeric/ublas/triangular.hpp>#include <dataclasses/I3Matrix.h>#include “snowstorm/Distribution.h”
Functions
- I3_CLASS_VERSION (snowstorm::UniformDistribution, 0)
- dir icetray
- dir private
- dir public
- dir snowstorm
- dir snowstorm
- dir snowstorm