![]() |
GosSiP
1.32
|
#include <PhotonSource.h>
Public Member Functions | |
PhotonSource () | |
~PhotonSource () | |
PhotonList | GeneratePhotons () |
void | SetFluctuation (bool fluct) |
void | SetNgamma (int nGamma) |
void | SetPulse (string Pulse) |
void | SetPulse (TH1 *h_time) |
void | SetRiseTime (double Trise) |
void | SetShape (string Shape) |
void | SetShape (TH2 *h_shape) |
void | SetTime (double T) |
void | SetTimeWidth (double Twidth) |
void | SetXY (double X, double Y) |
void | SetXYWidth (double Xwidth, double Ywidth) |
Simple simulation of a pulsed light source
PhotonSource::PhotonSource | ( | ) |
|
inline |
PhotonList PhotonSource::GeneratePhotons | ( | ) |
Generates a photon list
|
inline |
Enables poisson smearing of number of photons in the pulse
|
inline |
Sets mean number of photons in the pulse
|
inline |
Sets time distribution. Options are "gaus","flat","exp","exp2"
|
inline |
Sets time distribution from a TH1
|
inline |
Sets rise of light pulse. Only for "exp2" option
|
inline |
Sets light spot shape. Options are "square","elliptic"
|
inline |
Sets light spot shape from a TH2
|
inline |
Sets initial time of light pulse
|
inline |
Sets duration of light pulse. For "gaus": sigma, "flat": width, "exp": time constant
|
inline |
Sets x,y position in mm of light spot center
|
inline |
Sets width of light spot in x,y in mm