12 #ifndef EVGB_CRYHELPER_H 13 #define EVGB_CRYHELPER_H 16 #include "CLHEP/Random/RandEngine.h" 18 namespace simb {
class MCTruth; }
30 CLHEP::HepRandomEngine& engine,
35 double const& surfaceY,
36 double const& detectorLength,
42 void WorldBox(
double* xlo_cm,
47 double* zhi_cm)
const;
51 double &xlo,
double &xhi,
52 double &ylo,
double &yhi,
53 double &zlo,
double &zhi,
73 static void set(
T* object, double (
T::*
func)(void));
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.
bool fSingleEventMode
flag to turn on producing only a single cosmic ray
Base utilities and modules for event generation and detector 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[])
Event generator information.
double fToffset
Shift in time of particles (s)