ppc C++ API Reference¶
-
struct aniz¶
-
struct aniz¶
-
struct asens¶
-
struct cable¶
-
struct dat¶
Public Functions
-
inline bool isok(double t)¶
-
inline void prep(double t0)¶
-
inline void pfill()¶
-
inline void fill(double dt)¶
-
inline double llh(double dt, double nsim)¶
-
inline void clear()¶
-
inline double G(double L, double D)¶
-
inline void optimize()¶
-
inline void join()¶
-
inline void bins()¶
-
inline bool in()¶
-
inline bool good()¶
-
inline bool isok(double t)¶
-
struct dats¶
Public Members
-
unsigned int hidx¶
-
unsigned int tn¶
-
unsigned int tx¶
-
unsigned int ab¶
-
unsigned int mp¶
-
short bmp[4]¶
-
short blockIdx¶
-
short gridDim¶
-
unsigned int gdev¶
-
unsigned int gnum¶
-
unsigned int gini¶
-
unsigned int gspc¶
-
unsigned int gtot¶
-
unsigned int gdiv¶
-
float rx¶
-
float hifl¶
-
unsigned int hnum¶
-
int size¶
-
int rsize¶
-
int gsize¶
-
short tmod¶
-
short vthk¶
-
float dh¶
-
float rdh¶
-
float hmin¶
-
float ocv¶
-
float sf¶
-
float g¶
-
float gr¶
-
float xR¶
-
float SF¶
-
float G¶
-
float GR¶
-
float hr¶
-
float hr2¶
-
float hs¶
-
float ha¶
-
float azx¶
-
float azy¶
-
int cn[2]¶
-
float cl[2]¶
-
float crst[2]¶
-
float cb[2][2]¶
-
int lnum¶
-
int lpts¶
-
int l0¶
-
float lmin¶
-
float lrdz¶
-
float r0¶
-
float lnx¶
-
float lny¶
-
float lr[LMAX]¶
-
float mmin[2]¶
-
float mstp[2]¶
-
int mnum[2]¶
-
int mcut[2]¶
-
float k1¶
-
float k2¶
-
float kz¶
-
float fr¶
-
unsigned short ls[NSTR]¶
-
unsigned short is[CX][CY]¶
-
char mcol[CTX][CTY]¶
-
float sum¶
-
float bfr[12]¶
-
cl_uint hidx
-
cl_uint ab
-
cl_uint gdev
-
cl_uint gnum
-
cl_uint gini
-
cl_uint gspc
-
cl_uint gtot
-
cl_uint gdiv
-
cl_float rx
-
cl_float hifl
-
cl_uint hnum
-
cl_int size
-
cl_int rsize
-
cl_int gsize
-
cl_short tmod
-
cl_short vthk
-
cl_float dh
-
cl_float rdh
-
cl_float hmin
-
cl_float ocv
-
cl_float sf
-
cl_float g
-
cl_float gr
-
cl_float xR
-
cl_float SF
-
cl_float G
-
cl_float GR
-
cl_float hr
-
cl_float hr2
-
cl_float hs
-
cl_float ha
-
cl_float azx
-
cl_float azy
-
cl_int cn[2]
-
cl_float cl[2]
-
cl_float crst[2]
-
cl_float cb[2][2]
-
cl_int lnum
-
cl_int lpts
-
cl_int l0
-
cl_float lmin
-
cl_float lrdz
-
cl_float r0
-
cl_float lnx
-
cl_float lny
-
cl_float lr[LMAX]
-
cl_float mmin[2]
-
cl_float mstp[2]
-
cl_int mnum[2]
-
cl_int mcut[2]
-
cl_float k1
-
cl_float k2
-
cl_float kz
-
cl_float fr
-
cl_ushort ls[NSTR]
-
cl_ushort is[CX][CY]
-
cl_char mcol[CTX][CTY]
-
cl_float sum
-
cl_float bfr[12]
-
unsigned int hidx¶
-
struct dats¶
Public Members
-
cl_uint hidx¶
-
cl_uint ab¶
-
cl_uint gdev¶
-
cl_uint gnum¶
-
cl_uint gini¶
-
cl_uint gspc¶
-
cl_uint gtot¶
-
cl_uint gdiv¶
-
cl_float rx¶
-
cl_float hifl¶
-
cl_uint hnum¶
-
cl_int size¶
-
cl_int rsize¶
-
cl_int gsize¶
-
cl_short tmod¶
-
cl_short vthk¶
-
cl_float dh¶
-
cl_float rdh¶
-
cl_float hmin¶
-
cl_float ocv¶
-
cl_float sf¶
-
cl_float g¶
-
cl_float gr¶
-
cl_float xR¶
-
cl_float SF¶
-
cl_float G¶
-
cl_float GR¶
-
cl_float hr¶
-
cl_float hr2¶
-
cl_float hs¶
-
cl_float ha¶
-
cl_float azx¶
-
cl_float azy¶
-
cl_int cn[2]¶
-
cl_float cl[2]¶
-
cl_float crst[2]¶
-
cl_float cb[2][2]¶
-
cl_int lnum¶
-
cl_int lpts¶
-
cl_int l0¶
-
cl_float lmin¶
-
cl_float lrdz¶
-
cl_float r0¶
-
cl_float lnx¶
-
cl_float lny¶
-
cl_float lr[LMAX]¶
-
cl_float mmin[2]¶
-
cl_float mstp[2]¶
-
cl_int mnum[2]¶
-
cl_int mcut[2]¶
-
cl_float k1¶
-
cl_float k2¶
-
cl_float kz¶
-
cl_float fr¶
-
cl_ushort ls[NSTR]¶
-
cl_ushort is[CX][CY]¶
-
cl_char mcol[CTX][CTY]¶
-
cl_float sum¶
-
cl_float bfr[12]¶
-
cl_uint hidx¶
-
struct datz¶
-
struct datz¶
-
struct dir
-
struct doms¶
-
struct doms¶
-
struct face¶
-
class framedata¶
-
struct gpu¶
Public Functions
-
inline gpu(int device)¶
-
inline void ini()¶
-
inline void fin()¶
-
inline void set()¶
-
inline void my_wait()¶
-
inline void kernel_i()¶
-
inline void kernel_c()¶
-
inline void kernel_f()¶
-
inline void stop()¶
-
inline void ini_f(unsigned int &c, unsigned int t, unsigned int div = 1)¶
Public Members
-
int device¶
-
int mult¶
-
cl_uint nblk¶
-
size_t nthr¶
-
size_t ntot¶
-
unsigned int npho¶
-
unsigned int pmax¶
-
unsigned int pmxo¶
-
unsigned int old¶
-
unsigned int num¶
-
float deviceTime¶
-
cl_event event¶
-
cl_platform_id pfID¶
-
cl_device_id devID¶
-
cl_context ctx¶
-
cl_command_queue cq¶
-
cl_program program¶
-
cl_kernel clkernel¶
-
cl_mem ed¶
-
cl_mem ez¶
-
cl_mem eh¶
-
cl_mem ep¶
-
cl_mem bf¶
-
cl_mem eo¶
-
inline gpu(int device)¶
-
struct hit¶
-
class I3CLSimStepToPhotonConverterPPC : public I3StepToPhotonConverter¶
- #include <I3CLSimStepToPhotonConverterPPC.h>
Public Functions
-
I3CLSimStepToPhotonConverterPPC(const I3CLSimStepToPhotonConverterPPC&) = delete¶
-
I3CLSimStepToPhotonConverterPPC(const I3CLSimStepToPhotonConverterPPC&&) = delete¶
-
virtual ~I3CLSimStepToPhotonConverterPPC()¶
-
inline virtual void SetWlenGenerators(const std::vector<I3CLSimRandomValueConstPtr> &wlenGenerators)¶
Sets the wavelength generators. The first generator (index 0) is assumed to return a Cherenkov spectrum that may have a bias applied to it. This bias factor needs to be set using SetWlenBias(). All other generator indices are assumed to be for flasher/laser light generation. During generation, no Cherenkov angle rotation will be applied to those photons with indices >= 1. Will throw if used after the call to Initialize().
-
inline virtual void SetWlenBias(I3CLSimFunctionConstPtr wlenBias)¶
Sets the wavelength weights. Set this to a constant value of 1 if you do not need biased photon generation. The wavelength spectrum set with SetWlenGenerator() is assumed to have a biassing factor already applied to it. This call sets this factor in order to be able to assign correct weights. Will throw if used after the call to Initialize().
-
inline virtual void SetMediumProperties(I3CLSimMediumPropertiesConstPtr mediumProperties)¶
Sets the medium properties. Will throw if used after the call to Initialize().
-
inline virtual void SetGeometry(I3SimpleGeometryConstPtr geometry)¶
Sets the geometry. Will throw if used after the call to Initialize().
-
virtual void Initialize()¶
Initializes the simulation. Will throw if already initialized.
-
inline virtual bool IsInitialized() const¶
Returns true if initialized. Never throws.
-
virtual void EnqueueSteps(I3SimStepSeriesConstPtr steps, uint32_t identifier)¶
Adds a new I3SimStepSeries to the queue. The resulting I3CLSimPhotonSeries can be retrieved from the I3StepToPhotonConverter_ after some processing time.
Enqueuing a vector after calling EnqueueBarrier will throw if not all photons have been retrieved.
Will throw if not initialized.
-
inline virtual std::size_t QueueSize() const¶
Reports the current queue size. The queue works asynchronously, so this value will probably have changed once you use it.
Will throw if not initialized.
-
inline virtual bool MorePhotonsAvailable() const¶
Returns true if more photons are available. If the return value is false, the current simulation is finished and a new step vector may be set.
Will throw if not initialized.
-
virtual ConversionResult_t GetConversionResult()¶
Returns a bunch of photons stored in a vector<I3CLSimPhoton>.
The return value is a pair<uint, vector<I3CLSimPhoton> >. The integer is the same identifier as specified in the call to EnqueueSteps().
Might block if no photons are available.
Will throw if not initialized.
Public Static Functions
-
static boost::shared_ptr<I3CLSimStepToPhotonConverterPPC> GetInstance()¶
Get the global shared instance
Private Functions
-
I3CLSimStepToPhotonConverterPPC()¶
Private Members
-
bool isInitialized_¶
-
I3SimpleGeometryConstPtr geometry_¶
-
I3CLSimFunctionConstPtr wavelenthBias_¶
-
size_t workgroupSize_¶
-
size_t maxBunchSize_¶
-
I3CLSimQueue<std::pair<I3SimStepSeriesConstPtr, uint32_t>> inbox_¶
-
stats_bundle stats_¶
Private Static Attributes
-
static boost::weak_ptr<I3CLSimStepToPhotonConverterPPC> instance_¶
-
I3CLSimStepToPhotonConverterPPC(const I3CLSimStepToPhotonConverterPPC&) = delete¶
-
class i3ppc : public I3ConditionalModule¶
Public Functions
- SET_LOGGER ("i3ppc")
-
inline ~i3ppc()¶
-
inline void Configure()¶
-
inline void DAQ(I3FramePtr frame)¶
-
inline void Finish()¶
Private Functions
-
inline void popframes(int fx)¶
-
inline void pushframe()¶
-
inline bool isinside(double x, double y, double z)¶
-
inline bool isinside(double x, double y, double z, double nx, double ny, double nz, double l)¶
-
inline int iType(const I3Particle &p)¶
-
inline double CalculateEnergyLoss(double beta, bool cDensityCorrection)¶
-
inline float directCherenkovLightUnnormalizedyield(double beta)¶
-
inline float indirectCherenkovLightUnnormalizedyield(double beta)¶
-
inline float luminescenceLightUnnormalizedyield(double beta, double dnde)¶
-
inline double setParticleProbabilities(double directCherenkov, double indirectCherenkov, double luminescence)¶
-
inline void addp_monopole(float rx, float ry, float rz, float t, float E, float length, float beta)¶
Private Members
-
bool ini¶
-
bool verbose¶
-
bool save_photons¶
-
bool save_pseries¶
-
std::map<std::pair<int, unsigned long long>, const I3MMCTrack*> i3mmctracks¶
-
bool cyl¶
-
bool keep_¶
-
int gpu¶
-
double nph¶
-
double wid¶
-
double efficiency_scaling_¶
-
unsigned oversize_¶
-
double charge_¶
-
int fb¶
-
int fe¶
-
I3MapStringDoublePtr ppcinfo¶
-
double Radius¶
-
double Top¶
-
double Bottom¶
-
double Padding¶
-
struct ices¶
-
struct ices¶
-
struct Ico
-
struct ini¶
-
struct ini¶
-
struct irde¶
Public Functions
-
inline irde()¶
-
inline void addr(float r)¶
-
inline float wav(float i)¶
-
inline float binf(float p)¶
-
inline float v(const vector<float> &x, int i)¶
-
inline float vlo(const vector<float> &x, int i)¶
-
inline float vhi(const vector<float> &x, int i)¶
-
inline float u(const vector<float> &x, int i)¶
-
inline void read(const vector<float> &qw, const vector<float> &qf, float blo = -1.f, float bhi = -1.f)¶
-
inline irde()
-
inline void addr(float r)
-
inline float wav(float i)
-
inline float binf(float p)
-
inline float v(const vector<float> &x, int i)
-
inline float vlo(const vector<float> &x, int i)
-
inline float vhi(const vector<float> &x, int i)
-
inline float u(const vector<float> &x, int i)
-
inline void read(const vector<float> &qw, const vector<float> &qf, float blo = -1.f, float bhi = -1.f)
-
inline irde()¶
-
struct irde¶
Public Functions
-
inline irde()¶
-
inline void addr(float r)¶
-
inline float wav(float i)¶
-
inline float binf(float p)¶
-
inline float v(const vector<float> &x, int i)¶
-
inline float vlo(const vector<float> &x, int i)¶
-
inline float vhi(const vector<float> &x, int i)¶
-
inline float u(const vector<float> &x, int i)¶
-
inline void read(const vector<float> &qw, const vector<float> &qf, float blo = -1.f, float bhi = -1.f)¶
-
inline irde()¶
-
struct itype¶
Public Functions
-
inline itype()¶
-
inline void add(float th, float ph)¶
-
inline float aS(float x)¶
-
inline float f(float x)¶
-
inline float xarea(float dot)¶
-
inline void fraq()¶
-
inline itype()
-
inline void add(string file)
-
inline void add(float th, float ph)
-
inline float aS(float x)
-
inline float f(float x)
-
inline float xarea(float dot)
-
inline void fraq()
-
inline itype()¶
-
struct itype¶
-
struct line¶
-
struct line¶
-
struct mcid : public std::pair<int, unsigned long long>, public std::pair<int, unsigned long long>¶
- #include <ppc.h>
Public Functions
-
inline bool operator<(const mcid &rhs) const
-
inline bool operator<(const mcid &rhs) const
-
struct mesh¶
-
struct mesh¶
-
struct OM : public xppc::DOM, public xppc::ikey, public xppc::DOM, public xppc::ikey, public xppc::DOM, public xppc::ikey¶
- #include <ppc.h>
-
struct pbuf¶
-
struct pbuf¶
-
struct photon : public myvect¶
Public Functions
-
inline photon()¶
-
inline photon(double x, double y, double z)¶
-
inline void advance(double r)¶
Public Members
-
double n¶
-
float4 r¶
-
float4 n
-
unsigned int q¶
-
unsigned int num¶
-
int type¶
-
float f¶
-
float a¶
-
float b¶
-
float beta¶
-
float tau¶
-
float ka¶
-
float up¶
-
float fldr¶
-
short fla¶
-
short ofla¶
-
int4 c¶
-
cl_float4 r
-
cl_float4 n
-
cl_uint q
-
cl_uint num
-
cl_int type
-
cl_float f
-
cl_float a
-
cl_float b
-
cl_float beta
-
cl_float tau
-
cl_float ka
-
cl_float up
-
cl_float fldr
-
cl_short fla
-
cl_short ofla
-
cl_int4 c
-
inline photon()¶
-
struct photon¶
-
template<int n>
class V¶
-
template<int n>
class V¶
-
namespace LSSL¶
Functions
-
double llh_stat(double *x, double *dx)¶
-
double llh_syst(double *x, double *dx)¶
-
double llh(double *x, double *dx = NULL)¶
-
double lnllh(double *x, double *dx = NULL)¶
-
void wref_fdf(const gsl_vector *x, void *par, double *f, gsl_vector *df)¶
-
void wref_df(const gsl_vector *x, void *par, gsl_vector *df)¶
-
double wref_f(const gsl_vector *x, void *par)¶
-
double wllh(double *A, double *D, double *X, double *S, int N, int M)¶
-
double wref(double *A, double *D, double *V, double *S, int N, int M, double trs = 0, double *as = NULL, double xmin = 0, double xmax = 1, double *XA = NULL, double *XS = NULL)¶
-
double llh_stat(double *x, double *dx)¶
-
namespace NNLS¶
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)¶
-
double nnls(double a[], double b[], double x[], int m, int n)¶
-
double nsum(double a[], double b[], double x[], int m, int n)¶
-
double sign(double x, double y)¶
-
namespace std
STL namespace.
-
namespace xppc¶
-
Functions
-
float xrnd()¶
-
float grnd()¶
-
void start()¶
-
void stop()¶
-
void choose(int)¶
-
void ini()
-
void fin()¶
-
void eout()¶
-
void flone(unsigned long long)¶
-
size_t getMaxBunchSize()¶
-
size_t getWorkgroupSize()¶
-
float getTotalDeviceTime()¶
-
void initialize(float)¶
-
const float *fldir()¶
-
void flshift(float[], float[], float* = NULL)¶
-
void set_res(float)¶
-
void set_res(float, float)¶
-
void efin()¶
-
void addp(float, float, float, float, float, float, int, float = 1)¶
-
void addp_clst(float, float, float, float, unsigned long long, float, float)¶
-
void addp_mopo(float, float, float, float, float, float, float, float, float)¶
-
float square(float x)¶
- int findcol (__local dats *d, int x, int y)
- float zshift (__local dats *d, float4 r, float *dz, __global datz *p)
-
float cherenkov(float wva)¶
-
unsigned short sname(int n)¶
-
void rs_ini()¶
-
void setq()¶
-
void checkError(cl_int result)¶
-
int gcd(int a, int b)¶
-
int lcm(int a, int b)¶
-
void listDevices()¶
-
void print()¶
-
void kernel(unsigned int num)¶
-
float yield(float E, float dr, int type)¶
-
int hcmp(const void *a, const void *b)¶
-
void output()¶
-
void addh(unsigned long long num)¶
-
double gammln(double xx)¶
-
unsigned long long poidev(double xm)¶
-
unsigned long long bnldev(unsigned long long n, double pp)¶
-
void finc()¶
-
void f2k()¶
-
void flasher(int str, int dom, unsigned long long num, int itr)¶
-
void addp_clst(float, float, float, float, unsigned long long, float, float)
Variables
-
bool nextgen = false¶
-
static const float omav = 0.335822¶
-
static const float dppm = 2450.08¶
-
static const float fcv = FPI / 180.f¶
-
static unsigned int ovr = 1¶
-
map<int, pair<float, float>> strs¶
-
static const float zoff = 1948.07¶
-
unsigned int sv = 0¶
-
unsigned int pmax¶
-
unsigned int pmxo¶
-
unsigned int pn¶
-
unsigned int pk¶
-
unsigned int hquo¶
-
bool xgpu = false¶
-
vector<pair<cl_platform_id, cl_device_id>> all¶
-
static unsigned int old = 0¶
-
static const float rho = 0.9216f¶
-
static const float m0 = 0.105658389f¶
-
unsigned int flnb = 0¶
-
unsigned int flne = 0¶
-
unsigned int flnd = 0¶
-
float xrnd()¶
- file bfr.cxx
- #include <cmath>#include <cstdlib>#include <vector>#include <fstream>#include <iostream>#include <gsl/gsl_multifit.h>
- file gpu/f2k.cxx
Functions
-
float xrnd()
-
float grnd()¶
-
float yield(float E, float dr, int type)¶
-
int hcmp(const void *a, const void *b)¶
-
void print()¶
-
void output()¶
-
void addh(unsigned long long num)¶
-
double gammln(double xx)¶
-
unsigned long long poidev(double xm)¶
-
unsigned long long bnldev(unsigned long long n, double pp)¶
-
void addp(float rx, float ry, float rz, float t, float E, float dr, int type, float scale = 1)¶
-
void finc()¶
-
void eout()¶
-
void f2k()¶
-
void flone(unsigned long long num)¶
-
void flasher(int str, int dom, unsigned long long num, int itr)¶
-
float xrnd()
- file ocl/f2k.cxx
Functions
-
float xrnd()
-
float grnd()
-
float yield(float E, float dr, int type)
-
int hcmp(const void *a, const void *b)
-
void print()
-
void output()
-
void addh(unsigned long long num)
-
double gammln(double xx)
-
unsigned long long poidev(double xm)
-
unsigned long long bnldev(unsigned long long n, double pp)
-
void addp(float rx, float ry, float rz, float t, float E, float dr, int type, float scale = 1)
-
void finc()
-
void eout()
-
void f2k()
-
void flone(unsigned long long num)
-
const DOM &flset(int str, int dom)
-
void flasher(int str, int dom, unsigned long long num, int itr)
-
float xrnd()
- file I3CLSimStepToPhotonConverterPPC.cxx
- #include “ppc/I3CLSimStepToPhotonConverterPPC.h”#include “ppc.h”
- file I3CLSimStepToPhotonConverterPPC.h
- #include <chrono>#include “sim-services/I3StepToPhotonConverter.h”#include “simclasses/I3CLSimQueue.h”
- file i3ppc.cxx
- #include <icetray/I3Frame.h>#include <icetray/I3ConditionalModule.h>#include <simclasses/I3MMCTrack.h>#include <simclasses/I3MCPE.h>#include <dataclasses/physics/I3MCTree.h>#include <dataclasses/physics/I3MCTreeUtils.h>#include <dataclasses/geometry/I3Geometry.h>#include <dataclasses/calibration/I3Calibration.h>#include <dataclasses/status/I3DetectorStatus.h>#include <phys-services/I3RandomService.h>#include <simclasses/I3SimStep.h>#include <boost/foreach.hpp>#include <simclasses/I3Photon.h>#include <dataclasses/ModuleKey.h>#include “ppc.h”
- file ico.cxx
- #include <map>#include <set>#include <vector>#include <cmath>#include <iostream>#include <algorithm>
- file gpu/ini.cxx
Defines
-
LMAX
-
LYRS
-
CTX
-
CTY
-
DIR1
-
DIR2
-
CX¶
-
CY¶
-
NSTR¶
-
OVER¶
-
NPHO¶
-
WNUM¶
-
MAXLYS¶
-
MAXGEO¶
-
MAXRND¶
-
XXX¶
-
FPI¶
-
OMR¶
-
LMAX
- file ocl/ini.cxx
Functions
-
float cherenkov(float wva)
-
unsigned short sname(int n)
-
void rs_ini()
Variables
-
static const float omav = 0.335822
-
static const float dppm = 2450.08
-
static const float fcv = FPI / 180.f
-
static unsigned int ovr = 1
-
vector<OM> i3oms
-
map<int, pair<float, float>> strs
-
struct mesh ico
-
bool nextgen = false
-
map<ikey, int> omts
-
map<int, itype> types
-
map<pair<int, int>, irde> irdes
-
irde env
-
map<ikey, float> hvs
-
map<ikey, pair<float, int>> rdes
-
map<ikey, float> dx
-
dats d
-
datz z
-
struct doms q
-
static const float zoff = 1948.07
-
unsigned int sv = 0
-
struct ini m
-
float cherenkov(float wva)
- file inv.cxx
- #include <string>#include <sstream>#include <fstream>#include <iostream>#include <map>#include <vector>#include <gsl/gsl_linalg.h>#include <gsl/gsl_multifit.h>#include <gsl/gsl_multimin.h>#include <gsl/gsl_sf_gamma.h>#include “../llh/nnls.cxx”#include “../llh/lssl.cxx”
Typedefs
-
typedef pair<int, int> key¶
Functions
-
main(int arg_c, char *arg_a[])
-
typedef pair<int, int> key¶
- file llh.cxx
- #include <set>#include <map>#include <vector>#include <cmath>#include <cstdio>#include <cstdlib>#include <sstream>#include <fstream>#include <iostream>#include <gsl/gsl_linalg.h>#include <gsl/gsl_multifit.h>#include <gsl/gsl_multimin.h>#include <gsl/gsl_sf_gamma.h>#include <gsl/gsl_rng.h>#include <gsl/gsl_randist.h>#include <gsl/gsl_permutation.h>#include “ppc.h”#include “nnls.cxx”#include “lssl.cxx”
Defines
-
ANUM¶
Typedefs
-
typedef pair<int, int> key
Functions
-
void step()¶
-
double square(double x)
-
double xrnd()
-
double cab(double*, double*)¶
-
void cab_fdf(const gsl_vector *x, void *par, double *f, gsl_vector *df)¶
-
void cab_df(const gsl_vector *x, void *par, gsl_vector *df)¶
-
double cab_f(const gsl_vector *x, void *par)¶
-
double qint(double q)¶
-
float spe()¶
-
float spe(unsigned int n)¶
-
float delay()¶
-
double fllh(double dt, double nsim)¶
-
double fllh(const gsl_vector *x, void *p)¶
-
double fllt(double x, void *p)¶
-
double pv(double y1, double y2, double y3)¶
-
void half()¶
-
int main(int arg_c, char *arg_a[])
Variables
-
double fdur = 70.14¶
-
double tau = 4.00¶
-
bool norm = false¶
-
bool fail = false¶
-
bool fast = false¶
-
bool oldf = true¶
-
bool mlpd = false¶
-
bool unfm = true¶
-
bool flasher = false
-
int munf = 0¶
-
int srep = 1¶
-
int drep = 1¶
-
int cnum = 1¶
-
const int num = 200¶
-
const bool cutz = true¶
-
const double bin = 25¶
-
const double qmin = 0.1¶
-
double qsat = 500¶
-
bool sumw = false¶
-
const double nsrt = 500e-9¶
-
vector<double> noise
-
vector<double> noise_q¶
-
int fsep = 1¶
-
int loop = 1000
-
double rr = 0¶
-
double dR = 10¶
-
double dA = 30¶
-
double dI = 0¶
-
double LX = 0¶
-
const double cv = M_PI / 180¶
-
const double sol = 0.299792458¶
-
const double OMR = 0.16510¶
-
float fln[3] = {0, 0, 1}¶
-
unsigned int nchn = 1¶
-
unsigned int ndof = 1¶
-
double COG[3] = {0}¶
-
double qdat = 0¶
-
double qsim = 0¶
-
double nohit = 0¶
-
double tshift = 0¶
-
bool unh = false¶
-
int lcsp = 0¶
-
bool spef = false¶
-
bool nois = false¶
-
bool pass = false¶
-
ANUM¶
- file lssl.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)
- file ppc.cxx
- #include <map>#include <deque>#include <vector>#include <sstream>#include <fstream>#include <iostream>#include <unistd.h>#include <algorithm>#include <sys/time.h>#include <cmath>#include <cstring>#include <CL/opencl.h>#include “pro.cxx”#include “ini.cxx”#include “f2k.cxx”
Defines
-
CL_USE_DEPRECATED_OPENCL_1_2_APIS¶
-
log_info_stream(msg)¶
-
LMAX
-
LYRS
-
CTX
-
CTY
-
DIR1
-
DIR2
-
CX
-
CY
-
NSTR
-
OVER
-
NPHO
-
WNUM
-
MAXLYS
-
MAXGEO
-
MAXRND
-
XXX
-
FPI
-
OMR
-
BUG_with_Unload¶
-
SHRT¶
Variables
-
float zdh¶
-
CL_USE_DEPRECATED_OPENCL_1_2_APIS¶
- file llh/ppc.h
- file ppc.h
- file pro.cxx
Defines
-
__local¶
-
__global¶
-
convert_int_sat_rtn¶
-
clamp(x, y, z)¶
-
int2¶
-
int3¶
-
float2¶
-
float3¶
-
float4¶
-
STRINGIFY(A)¶
-
XTRINGIFY(A)¶
-
sin¶
-
cos¶
-
pow¶
-
exp¶
-
log¶
-
exp2¶
-
sqrt¶
-
rsqrt¶
-
clamp(x, y, z)
-
__local
-
__global
-
convert_int_sat_rtn
-
clamp(x, y, z)
-
int2
-
int3
-
float2
-
float3
-
float4
Functions
-
float square(float x)¶
- int findcol (__local dats *d, int x, int y)
- float zshift (__local dats *d, float4 r, float *dz, __global datz *p)
-
__local¶
- file pybindings.cxx
- #include “pybindings.hpp”#include “ppc/I3CLSimStepToPhotonConverterPPC.h”#include <icetray/load_project.h>
- dir bfr
- dir gpu
- dir icetray
- dir llh
- dir ocl
- dir ppc
- dir ppc
- dir private