12 #ifndef EVGB_CRYHELPER_H 13 #define EVGB_CRYHELPER_H 16 #include "CLHEP/Random/RandEngine.h" 18 namespace simb {
class MCTruth; }
35 double const& surfaceY,
36 double const& detectorLength,
42 void WorldBox(
double* xlo_cm,
47 double* zhi_cm)
const;
53 double &zlo,
double &zhi,
74 static double rng(
void);
77 static double (
T::*m_func)(
void);
85 m_obj = object; m_func =
func;
91 #endif // EVGB_CRYHELPER_H double fSampleTime
Amount of time to sample (seconds)
Interface to the CRY cosmic-ray generator.
CRYSetup * fSetup
CRY configuration.
std::string fLatitude
Latitude of detector need space after value.
CRYGenerator * fGen
The CRY generator.
std::string fWorldVolume
Name of the world volume.
std::string fAltitude
Altitude of detector need space after value.
double func(double x, double y)
bool fSingleEventMode
flag to turn on producing only a single cosmic ray
This class describes a particle created in the detector Monte Carlo simulation.
std::string fSubBoxL
Length of subbox (m) need space after value.
double fEthresh
Cut on kinetic energy (GeV)
Physics generators for neutrinos, cosmic rays, and others.
void ProjectToBoxEdge(const double xyz[], const double dxyz[], double xlo, double xhi, double ylo, double yhi, double zlo, double zhi, double xyzout[])
Project along a direction from a particular starting point to the edge of a box.
Event generator information.
typedef void(XMLCALL *XML_ElementDeclHandler)(void *userData
double fToffset
Shift in time of particles (s)